Index: maven-i18n-plugin/src/java/org/codelutin/i18n/plugin/ui/KeysModifier.java diff -u maven-i18n-plugin/src/java/org/codelutin/i18n/plugin/ui/KeysModifier.java:1.2 maven-i18n-plugin/src/java/org/codelutin/i18n/plugin/ui/KeysModifier.java:1.3 --- maven-i18n-plugin/src/java/org/codelutin/i18n/plugin/ui/KeysModifier.java:1.2 Fri Nov 2 10:28:08 2007 +++ maven-i18n-plugin/src/java/org/codelutin/i18n/plugin/ui/KeysModifier.java Fri Nov 2 15:02:59 2007 @@ -17,7 +17,6 @@ import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; -import javax.swing.JTextArea; import javax.swing.JTextField; import org.codelutin.i18n.plugin.core.ParserEvent; @@ -37,7 +36,6 @@ protected JLabel name = new JLabel(); protected JLabel path = new JLabel(); protected JTextField key = new JTextField(); - protected JTextArea translate = new JTextArea("tututututututu\ntututututut"); protected JButton next = new JButton("Next >>"); public KeysModifier(String patternLeft, String patternRight) { @@ -62,9 +60,6 @@ pane.add(new JLabel("Key :")); pane.add(key); - pane.add(new JLabel("Translate :")); - pane.add(translate); - pane.add(new JLabel()); pane.add(next); @@ -107,7 +102,11 @@ content = matcher.replaceFirst("$1" + realKey + "$3"); } - System.out.println(content); // FIXME: A supprimer + try { + FileUtil.writeString(file, content); + } catch (IOException e) { + throw new ParserException(e); + } } public synchronized void eventChangeKey(String keyI18n) {