Révision 1275
tmp/org.txm.translate.rcp/src/org/txm/rcp/translate/i18n/PluginMessages.java (revision 1275) | ||
---|---|---|
476 | 476 |
} |
477 | 477 |
public void saveChanges(boolean replaceFiles) throws IOException { |
478 | 478 |
|
479 |
if (javaMessageFile == null) return; |
|
480 |
|
|
479 | 481 |
//Write prop File |
480 | 482 |
for (File propFile : langs.keySet()) { |
481 | 483 |
|
... | ... | |
501 | 503 |
} |
502 | 504 |
|
503 | 505 |
// write message File |
504 |
if (javaMessageFile == null) return; |
|
505 |
|
|
506 | 506 |
File newJavaMessageFile = new File(javaMessageFile.getParentFile(), javaMessageFile.getName()+".new"); |
507 | 507 |
if (replaceFiles) { |
508 | 508 |
javaMessageFile.delete(); |
Formats disponibles : Unified diff