Revision 2246 tmp/org.txm.groovy.core/src/groovy/org/txm/scripts/importer/transcriber/importer.groovy

importer.groovy (revision 2246)
133 133
		if (metadatas != null) {
134 134
			if (metadatas.getHeadersList().size() > 0) {
135 135

  
136
				println "Injecting metadatas "+metadatas.getHeadersList()+" in "+trsfiles.size()+" files"
136
				println "Injecting metadata "+metadatas.getHeadersList()+" in "+trsfiles.size()+" files"
137 137

  
138 138
				trsfiles = txmDir.listFiles();
139 139
				trsfiles.sort()
......
142 142
					if (metadatas != null && metadatas.isInitialized()) {
143 143
						print "."
144 144
						if (!metadatas.injectMetadatasInXml(infile, outfile, "text")) {
145
							println("Failed to inject metadatas in "+infile)
145
							println("Failed to inject metadata in "+infile)
146 146
							outfile.delete()
147 147
						}
148 148
						if (!infile.delete()) {

Also available in: Unified diff