Révision 1304
tmp/org.txm.translate.rcp/src/org/txm/rcp/translate/i18n/PluginMessagesManager.java (revision 1304) | ||
---|---|---|
220 | 220 |
if (line2.startsWith("public static String")) { |
221 | 221 |
int idx = line2.indexOf("//"); |
222 | 222 |
if (idx > 0 && line2.contains("\"")) { // remove comment from line |
223 |
System.out.println("COMMENT DETECTED AFTER KEY: line="+line2+" IN "+javaMessageFile); |
|
223 |
//System.out.println("COMMENT DETECTED AFTER KEY: line="+line2+" IN "+javaMessageFile);
|
|
224 | 224 |
line2 = line2.substring(0, idx).trim(); |
225 | 225 |
} |
226 | 226 |
if (line2.endsWith(";") && !line2.contains("=") && !line2.contains("\"")) { |
tmp/org.txm.translate.rcp/src/org/txm/rcp/translate/i18n/WorkspaceMessagesManager.java (revision 1304) | ||
---|---|---|
297 | 297 |
*/ |
298 | 298 |
public static void main(String[] args) throws UnsupportedEncodingException, FileNotFoundException, IOException { |
299 | 299 |
WorkspaceMessagesManager wmm = new WorkspaceMessagesManager(); |
300 |
wmm.dumpUsedKeysFilesIndex(); |
|
300 |
//wmm.dumpUsedKeysFilesIndex(); |
|
301 |
wmm.saveKeyModificationsInSources(); |
|
301 | 302 |
} |
302 | 303 |
} |
Formats disponibles : Unified diff