Revision 6260 trunk/libraries/libInternationalization/src-utils/org/gvsig/i18n/utils/Keys.java

View differences:

Keys.java
113 113
		for (int currentLang=0; currentLang<config.languages.length; currentLang++) {
114 114
			lang = config.languages[currentLang];
115 115
			
116
			keys = loadKeysFromSources(project.dir, keys);
116
			for (int i=0; i<project.srcDirs.length; i++) {
117
				try {
118
					keys = loadKeysFromSources(ConfigOptions.getAbsolutePath(File.separator, project.dir+File.separator+project.srcDirs[i]), keys);
119
				}
120
				catch (IOException ex) {
121
					// It there was an error reading the directory, just warn and skip the dir
122
					System.err.println(project.dir +" -- Aviso: no se pudo leer el directorio "+project.dir+File.separator+project.srcDirs[i]);
123
				}
124
			}
117 125
			Properties currentDict = (Properties) dictionaries.get(lang);
118 126
			Iterator keysIterator = keys.iterator();
119 127
			String key;

Also available in: Unified diff