From 743b515f2423b63184a7535f08819ea340e77462 Mon Sep 17 00:00:00 2001 From: Konloch Date: Thu, 8 Jul 2021 18:58:27 -0700 Subject: [PATCH] Translation Fixes --- .../gui/resourcesearch/SearchBoxPane.java | 4 +++- .../bytecodeviewer/translation/Language.java | 3 +++ .../TranslatedDefaultMutableTreeNode.java | 22 ++++++++++++------- .../components/TranslatedJButton.java | 8 +------ .../components/TranslatedJCheckBox.java | 8 +------ .../TranslatedJCheckBoxMenuItem.java | 8 +------ .../components/TranslatedJLabel.java | 8 +------ .../components/TranslatedJMenu.java | 8 +------ .../components/TranslatedJMenuItem.java | 8 +------ .../TranslatedJRadioButtonMenuItem.java | 8 +------ .../components/TranslatedJTextField.java | 8 +------ .../TranslatedVisibleComponent.java | 8 +------ src/main/resources/translations/arabic.json | 4 +++- src/main/resources/translations/english.json | 3 +++ src/main/resources/translations/farsi.json | 5 ++++- src/main/resources/translations/finnish.json | 5 ++++- src/main/resources/translations/french.json | 4 +++- src/main/resources/translations/georgian.json | 5 ++++- src/main/resources/translations/german.json | 4 +++- src/main/resources/translations/greek.json | 5 ++++- src/main/resources/translations/hausa.json | 5 ++++- src/main/resources/translations/hebrew.json | 5 ++++- .../resources/translations/hungarian.json | 5 ++++- .../resources/translations/indonesian.json | 5 ++++- src/main/resources/translations/italian.json | 5 ++++- src/main/resources/translations/japanese.json | 4 +++- src/main/resources/translations/malay.json | 4 +++- src/main/resources/translations/mandarin.json | 4 +++- .../resources/translations/nederlands.json | 5 ++++- .../resources/translations/norwegian.json | 5 ++++- src/main/resources/translations/polish.json | 5 ++++- .../resources/translations/portuguese.json | 4 +++- src/main/resources/translations/russian.json | 4 +++- src/main/resources/translations/spanish.json | 4 +++- src/main/resources/translations/swahili.json | 5 ++++- src/main/resources/translations/swedish.json | 5 ++++- src/main/resources/translations/turkish.json | 5 ++++- .../resources/translations/ukrainian.json | 5 ++++- .../resources/translations/vietnamese.json | 5 ++++- 39 files changed, 127 insertions(+), 98 deletions(-) diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourcesearch/SearchBoxPane.java b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourcesearch/SearchBoxPane.java index 2ba5be63..e24b60aa 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourcesearch/SearchBoxPane.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourcesearch/SearchBoxPane.java @@ -14,6 +14,7 @@ import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTree; import javax.swing.tree.DefaultMutableTreeNode; +import javax.swing.tree.DefaultTreeModel; import org.objectweb.asm.tree.ClassNode; import the.bytecode.club.bytecodeviewer.BytecodeViewer; @@ -59,7 +60,7 @@ public class SearchBoxPane extends TranslatedVisibleComponent public static final SearchType[] SEARCH_TYPES = SearchType.values(); public final JCheckBox exact = new TranslatedJCheckBox("Exact", Translation.EXACT); - public final DefaultMutableTreeNode treeRoot = new TranslatedDefaultMutableTreeNode("Results", Translation.RESULTS); + public final TranslatedDefaultMutableTreeNode treeRoot = new TranslatedDefaultMutableTreeNode("Results", Translation.RESULTS); public final JTree tree; public final JComboBox typeBox; @@ -126,6 +127,7 @@ public class SearchBoxPane extends TranslatedVisibleComponent optionPanel.add(search, BorderLayout.SOUTH); this.tree = new JTree(treeRoot); + treeRoot.setTree((DefaultTreeModel) tree.getModel()); getContentPane().setLayout(new BorderLayout()); diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/translation/Language.java b/src/main/java/the/bytecode/club/bytecodeviewer/translation/Language.java index 90aee444..61f69c22 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/translation/Language.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/translation/Language.java @@ -112,7 +112,10 @@ public enum Language //skip translating if the language config is missing the translation key if(!translationMap.containsKey(text.key)) + { + System.err.println("MISSING TRANSLATION KEY: " + text.key); continue; + } //update translation text value text.value = translationMap.get(text.key); diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedDefaultMutableTreeNode.java b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedDefaultMutableTreeNode.java index f80e50d7..20c61a52 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedDefaultMutableTreeNode.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedDefaultMutableTreeNode.java @@ -4,6 +4,7 @@ import the.bytecode.club.bytecodeviewer.translation.TranslatedComponentReference import the.bytecode.club.bytecodeviewer.translation.Translation; import javax.swing.tree.DefaultMutableTreeNode; +import javax.swing.tree.DefaultTreeModel; /** * @author Konloch @@ -11,7 +12,7 @@ import javax.swing.tree.DefaultMutableTreeNode; */ public class TranslatedDefaultMutableTreeNode extends DefaultMutableTreeNode { - private final TranslatedComponentReference componentReference; + private DefaultTreeModel tree; public TranslatedDefaultMutableTreeNode(String text, Translation translation) { @@ -19,17 +20,22 @@ public class TranslatedDefaultMutableTreeNode extends DefaultMutableTreeNode if(translation != null) { - componentReference = translation.getTranslatedComponentReference(); + TranslatedComponentReference componentReference = translation.getTranslatedComponentReference(); componentReference.runOnUpdate.add(()-> { - if(componentReference.value != null && !componentReference.value.isEmpty()) - setUserObject(componentReference.value); + if(componentReference.value != null && !componentReference.value.isEmpty()) + { + setUserObject(componentReference.value); + if(tree != null) + tree.nodeChanged(this); + } }); componentReference.translate(); } - else - { - componentReference = null; - } + } + + public void setTree(DefaultTreeModel tree) + { + this.tree = tree; } } diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJButton.java b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJButton.java index da31cddc..bace2b44 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJButton.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJButton.java @@ -11,15 +11,13 @@ import javax.swing.*; */ public class TranslatedJButton extends JButton { - private final TranslatedComponentReference componentReference; - public TranslatedJButton(String text, Translation translation) { super(text); if(translation != null) { - componentReference = translation.getTranslatedComponentReference(); + TranslatedComponentReference componentReference = translation.getTranslatedComponentReference(); componentReference.runOnUpdate.add(()-> { if(componentReference.value != null && !componentReference.value.isEmpty()) @@ -27,9 +25,5 @@ public class TranslatedJButton extends JButton }); componentReference.translate(); } - else - { - componentReference = null; - } } } diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJCheckBox.java b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJCheckBox.java index 0b29e131..80cede84 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJCheckBox.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJCheckBox.java @@ -29,15 +29,13 @@ import javax.swing.*; */ public class TranslatedJCheckBox extends JCheckBox { - private final TranslatedComponentReference componentReference; - public TranslatedJCheckBox(String text, Translation translation) { super(text); if(translation != null) { - componentReference = translation.getTranslatedComponentReference(); + TranslatedComponentReference componentReference = translation.getTranslatedComponentReference(); componentReference.runOnUpdate.add(()-> { if(componentReference.value != null && !componentReference.value.isEmpty()) @@ -45,9 +43,5 @@ public class TranslatedJCheckBox extends JCheckBox }); componentReference.translate(); } - else - { - componentReference = null; - } } } diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJCheckBoxMenuItem.java b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJCheckBoxMenuItem.java index b0ba6a92..60309757 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJCheckBoxMenuItem.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJCheckBoxMenuItem.java @@ -29,15 +29,13 @@ import javax.swing.*; */ public class TranslatedJCheckBoxMenuItem extends JCheckBoxMenuItem { - private final TranslatedComponentReference componentReference; - public TranslatedJCheckBoxMenuItem(String text, Translation translation) { super(text); if(translation != null) { - componentReference = translation.getTranslatedComponentReference(); + TranslatedComponentReference componentReference = translation.getTranslatedComponentReference(); componentReference.runOnUpdate.add(()-> { if(componentReference.value != null && !componentReference.value.isEmpty()) @@ -45,9 +43,5 @@ public class TranslatedJCheckBoxMenuItem extends JCheckBoxMenuItem }); componentReference.translate(); } - else - { - componentReference = null; - } } } diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJLabel.java b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJLabel.java index c2aa2517..cf4a64bd 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJLabel.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJLabel.java @@ -11,15 +11,13 @@ import javax.swing.*; */ public class TranslatedJLabel extends JLabel { - private final TranslatedComponentReference componentReference; - public TranslatedJLabel(String text, Translation translation) { super(text); if(translation != null) { - componentReference = translation.getTranslatedComponentReference(); + TranslatedComponentReference componentReference = translation.getTranslatedComponentReference(); componentReference.runOnUpdate.add(()-> { if(componentReference.value != null && !componentReference.value.isEmpty()) @@ -27,9 +25,5 @@ public class TranslatedJLabel extends JLabel }); componentReference.translate(); } - else - { - componentReference = null; - } } } diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJMenu.java b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJMenu.java index 03da8ca0..9544f468 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJMenu.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJMenu.java @@ -29,15 +29,13 @@ import javax.swing.*; */ public class TranslatedJMenu extends JMenu { - private final TranslatedComponentReference componentReference; - public TranslatedJMenu(String text, Translation translation) { super(text); if(translation != null) { - componentReference = translation.getTranslatedComponentReference(); + TranslatedComponentReference componentReference = translation.getTranslatedComponentReference(); componentReference.runOnUpdate.add(()-> { if(componentReference.value != null && !componentReference.value.isEmpty()) @@ -45,9 +43,5 @@ public class TranslatedJMenu extends JMenu }); componentReference.translate(); } - else - { - componentReference = null; - } } } \ No newline at end of file diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJMenuItem.java b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJMenuItem.java index 0b1fc5ed..71ec4239 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJMenuItem.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJMenuItem.java @@ -29,15 +29,13 @@ import javax.swing.*; */ public class TranslatedJMenuItem extends JMenuItem { - private final TranslatedComponentReference componentReference; - public TranslatedJMenuItem(String text, Translation translation) { super(text); if(translation != null) { - componentReference = translation.getTranslatedComponentReference(); + TranslatedComponentReference componentReference = translation.getTranslatedComponentReference(); componentReference.runOnUpdate.add(()-> { if(componentReference.value != null && !componentReference.value.isEmpty()) @@ -45,9 +43,5 @@ public class TranslatedJMenuItem extends JMenuItem }); componentReference.translate(); } - else - { - componentReference = null; - } } } diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJRadioButtonMenuItem.java b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJRadioButtonMenuItem.java index bab8132b..976ce02d 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJRadioButtonMenuItem.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJRadioButtonMenuItem.java @@ -29,15 +29,13 @@ import javax.swing.*; */ public class TranslatedJRadioButtonMenuItem extends JRadioButtonMenuItem { - private final TranslatedComponentReference componentReference; - public TranslatedJRadioButtonMenuItem(String text, Translation translation) { super(text); if(translation != null) { - componentReference = translation.getTranslatedComponentReference(); + TranslatedComponentReference componentReference = translation.getTranslatedComponentReference(); componentReference.runOnUpdate.add(()-> { if(componentReference.value != null && !componentReference.value.isEmpty()) @@ -45,9 +43,5 @@ public class TranslatedJRadioButtonMenuItem extends JRadioButtonMenuItem }); componentReference.translate(); } - else - { - componentReference = null; - } } } diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJTextField.java b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJTextField.java index 84ffcf8b..93984d7a 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJTextField.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedJTextField.java @@ -11,15 +11,13 @@ import javax.swing.*; */ public class TranslatedJTextField extends JTextField { - private final TranslatedComponentReference componentReference; - public TranslatedJTextField(String text, Translation translation) { super(text); if(translation != null) { - componentReference = translation.getTranslatedComponentReference(); + TranslatedComponentReference componentReference = translation.getTranslatedComponentReference(); componentReference.runOnUpdate.add(()-> { if(componentReference.value != null && !componentReference.value.isEmpty()) @@ -27,9 +25,5 @@ public class TranslatedJTextField extends JTextField }); componentReference.translate(); } - else - { - componentReference = null; - } } } diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedVisibleComponent.java b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedVisibleComponent.java index 1e50ae26..c850d544 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedVisibleComponent.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/translation/components/TranslatedVisibleComponent.java @@ -10,15 +10,13 @@ import the.bytecode.club.bytecodeviewer.translation.Translation; */ public class TranslatedVisibleComponent extends VisibleComponent { - private final TranslatedComponentReference componentReference; - public TranslatedVisibleComponent(String title, Translation translation) { super(title); if(translation != null) { - componentReference = translation.getTranslatedComponentReference(); + TranslatedComponentReference componentReference = translation.getTranslatedComponentReference(); componentReference.runOnUpdate.add(()-> { if(componentReference.value != null && !componentReference.value.isEmpty()) @@ -26,9 +24,5 @@ public class TranslatedVisibleComponent extends VisibleComponent }); componentReference.translate(); } - else - { - componentReference = null; - } } } diff --git a/src/main/resources/translations/arabic.json b/src/main/resources/translations/arabic.json index cd7a228f..7cb2c1c8 100644 --- a/src/main/resources/translations/arabic.json +++ b/src/main/resources/translations/arabic.json @@ -108,5 +108,7 @@ "SUGGESTED_FIX_COMPILER_ERROR": "الإصلاح المقترح: جرب View> Pane> Krakatau> Bytecode وتمكين التحرير.", "SEARCH_REGEX": "البحث في Regex:", "NEW_JAVASCRIPT_PLUGIN": "البرنامج المساعد الجديد لجافا سكريبت", - "NEW_JAVA_PLUGIN": "البرنامج المساعد الجديد جافا" + "NEW_JAVA_PLUGIN": "البرنامج المساعد الجديد جافا", + "SAVE_AS": "حفظ باسم ...", + "SAVE": "يحفظ..." } diff --git a/src/main/resources/translations/english.json b/src/main/resources/translations/english.json index ed39820b..3abeb149 100644 --- a/src/main/resources/translations/english.json +++ b/src/main/resources/translations/english.json @@ -122,5 +122,8 @@ "OWNER": "Owner: ", "NAME": "Name: ", "DESC": "Desc: ", + "SAVE": "Save...", + "SAVE_AS": "Save As...", + "RESULTS": "Results", "REFRESH": "Refresh" } \ No newline at end of file diff --git a/src/main/resources/translations/farsi.json b/src/main/resources/translations/farsi.json index bd6e2d1d..fc6eeea2 100644 --- a/src/main/resources/translations/farsi.json +++ b/src/main/resources/translations/farsi.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "بارگیری مجدد منابع", "SAVE_AS_DEX": "ذخیره به عنوان DEX ...", "NEW_JAVASCRIPT_PLUGIN": "پلاگین Javascript جدید", - "NEW_JAVA_PLUGIN": "پلاگین جاوا جدید" + "NEW_JAVA_PLUGIN": "پلاگین جاوا جدید", + "SAVE_AS": "ذخیره به عنوان...", + "SAVE": "صرفه جویی...", + "RESULTS": "نتایج" } diff --git a/src/main/resources/translations/finnish.json b/src/main/resources/translations/finnish.json index 7a74f920..cdca58e3 100644 --- a/src/main/resources/translations/finnish.json +++ b/src/main/resources/translations/finnish.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "Lataa resurssit uudelleen", "SAVE_AS_DEX": "Tallenna nimellä DEX ...", "NEW_JAVASCRIPT_PLUGIN": "Uusi Javascript-laajennus", - "NEW_JAVA_PLUGIN": "Uusi Java-laajennus" + "NEW_JAVA_PLUGIN": "Uusi Java-laajennus", + "SAVE_AS": "Tallenna nimellä...", + "SAVE": "Tallentaa...", + "RESULTS": "Tulokset" } diff --git a/src/main/resources/translations/french.json b/src/main/resources/translations/french.json index 24f660a9..b47d370b 100644 --- a/src/main/resources/translations/french.json +++ b/src/main/resources/translations/french.json @@ -108,5 +108,7 @@ "SUGGESTED_FIX_COMPILER_ERROR": "Solution suggérée : essayez Affichage > Volet > Krakatau > Bytecode et activez Modifiable.", "SEARCH_REGEX": "Rechercher une expression régulière :", "NEW_JAVASCRIPT_PLUGIN": "Nouveau plugin Javascript", - "NEW_JAVA_PLUGIN": "Nouveau plugin Java" + "NEW_JAVA_PLUGIN": "Nouveau plugin Java", + "SAVE_AS": "Enregistrer sous...", + "SAVE": "Sauvegarder..." } diff --git a/src/main/resources/translations/georgian.json b/src/main/resources/translations/georgian.json index 1c6169dc..10812bd8 100644 --- a/src/main/resources/translations/georgian.json +++ b/src/main/resources/translations/georgian.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "გადატვირთეთ რესურსები", "SAVE_AS_DEX": "შეინახეთ როგორც DEX ...", "NEW_JAVASCRIPT_PLUGIN": "ახალი Javascript მოდული", - "NEW_JAVA_PLUGIN": "ახალი ჯავა მოდული" + "NEW_JAVA_PLUGIN": "ახალი ჯავა მოდული", + "SAVE_AS": "Შეინახე როგორც...", + "SAVE": "Გადარჩენა...", + "RESULTS": "შედეგები" } diff --git a/src/main/resources/translations/german.json b/src/main/resources/translations/german.json index 9a39d093..5e3a712c 100644 --- a/src/main/resources/translations/german.json +++ b/src/main/resources/translations/german.json @@ -108,5 +108,7 @@ "NAME": "Name: ", "SEARCH_REGEX": "Regex suchen: ", "NEW_JAVASCRIPT_PLUGIN": "Neues Javascript-Plugin", - "NEW_JAVA_PLUGIN": "Neues Java-Plugin" + "NEW_JAVA_PLUGIN": "Neues Java-Plugin", + "SAVE_AS": "Speichern als...", + "SAVE": "Speichern..." } diff --git a/src/main/resources/translations/greek.json b/src/main/resources/translations/greek.json index ec8bacaf..8d5d0f3e 100644 --- a/src/main/resources/translations/greek.json +++ b/src/main/resources/translations/greek.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "Επαναφόρτωση πόρων", "SAVE_AS_DEX": "Αποθήκευση ως DEX ...", "NEW_JAVASCRIPT_PLUGIN": "Νέα προσθήκη Javascript", - "NEW_JAVA_PLUGIN": "Νέα προσθήκη Java" + "NEW_JAVA_PLUGIN": "Νέα προσθήκη Java", + "SAVE_AS": "Αποθήκευση ως...", + "SAVE": "Σώσει...", + "RESULTS": "Αποτελέσματα" } diff --git a/src/main/resources/translations/hausa.json b/src/main/resources/translations/hausa.json index 1bb2db59..edd09cb1 100644 --- a/src/main/resources/translations/hausa.json +++ b/src/main/resources/translations/hausa.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "Sake shigar da Albarkatu", "SAVE_AS_DEX": "Ajiye As DEX ...", "NEW_JAVASCRIPT_PLUGIN": "Sabon Javascript Plugin", - "NEW_JAVA_PLUGIN": "Sabon fulogin Java" + "NEW_JAVA_PLUGIN": "Sabon fulogin Java", + "SAVE_AS": "Ajiye Kamar ...", + "SAVE": "Ajiye ...", + "RESULTS": "Sakamako" } diff --git a/src/main/resources/translations/hebrew.json b/src/main/resources/translations/hebrew.json index 627104ac..38336e4b 100644 --- a/src/main/resources/translations/hebrew.json +++ b/src/main/resources/translations/hebrew.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "טען משאבים מחדש", "SAVE_AS_DEX": "שמור כ- DEX ...", "NEW_JAVASCRIPT_PLUGIN": "תוסף Javascript חדש", - "NEW_JAVA_PLUGIN": "תוסף Java חדש" + "NEW_JAVA_PLUGIN": "תוסף Java חדש", + "SAVE_AS": "שמור כ...", + "SAVE": "להציל...", + "RESULTS": "תוצאות" } diff --git a/src/main/resources/translations/hungarian.json b/src/main/resources/translations/hungarian.json index 4312b924..455f0422 100644 --- a/src/main/resources/translations/hungarian.json +++ b/src/main/resources/translations/hungarian.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "Erőforrások újratöltése", "SAVE_AS_DEX": "Mentés DEX néven ...", "NEW_JAVASCRIPT_PLUGIN": "Új Javascript beépülő modul", - "NEW_JAVA_PLUGIN": "Új Java beépülő modul" + "NEW_JAVA_PLUGIN": "Új Java beépülő modul", + "SAVE_AS": "Mentés másként...", + "SAVE": "Mentés...", + "RESULTS": "Eredmények" } diff --git a/src/main/resources/translations/indonesian.json b/src/main/resources/translations/indonesian.json index 041da259..4614dc80 100644 --- a/src/main/resources/translations/indonesian.json +++ b/src/main/resources/translations/indonesian.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "Muat Ulang Sumber Daya", "SAVE_AS_DEX": "Simpan Sebagai DEX...", "NEW_JAVASCRIPT_PLUGIN": "Plugin Javascript baru", - "NEW_JAVA_PLUGIN": "Plugin Java Baru" + "NEW_JAVA_PLUGIN": "Plugin Java Baru", + "SAVE_AS": "Simpan Sebagai...", + "SAVE": "Menyimpan...", + "RESULTS": "Hasil" } diff --git a/src/main/resources/translations/italian.json b/src/main/resources/translations/italian.json index a09d6e00..df67eb70 100644 --- a/src/main/resources/translations/italian.json +++ b/src/main/resources/translations/italian.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "Ricarica risorse", "SAVE_AS_DEX": "Salva come DEX...", "NEW_JAVASCRIPT_PLUGIN": "Nuovo plugin Javascript", - "NEW_JAVA_PLUGIN": "Nuovo plugin Java" + "NEW_JAVA_PLUGIN": "Nuovo plugin Java", + "SAVE_AS": "Salva come...", + "SAVE": "Salva...", + "RESULTS": "Risultati" } diff --git a/src/main/resources/translations/japanese.json b/src/main/resources/translations/japanese.json index cdbdfe08..e778cb83 100644 --- a/src/main/resources/translations/japanese.json +++ b/src/main/resources/translations/japanese.json @@ -108,5 +108,7 @@ "SUGGESTED_FIX_COMPILER_ERROR": "推奨される修正:[表示]> [ペイン]> [Krakatau]> [バイトコード]を試して、[編集可能]を有効にします。", "SEARCH_REGEX": "正規表現の検索:", "NEW_JAVASCRIPT_PLUGIN": "新しいJavascriptプラグイン", - "NEW_JAVA_PLUGIN": "新しいJavaプラグイン" + "NEW_JAVA_PLUGIN": "新しいJavaプラグイン", + "SAVE_AS": "名前を付けて保存...", + "SAVE": "セーブ..." } diff --git a/src/main/resources/translations/malay.json b/src/main/resources/translations/malay.json index 44d36bfd..4d148297 100644 --- a/src/main/resources/translations/malay.json +++ b/src/main/resources/translations/malay.json @@ -108,5 +108,7 @@ "SUGGESTED_FIX_COMPILER_ERROR": "Pembaikan yang Disarankan: Cuba Lihat> Panel> Krakatau> Bytecode dan aktifkan Editable.", "SEARCH_REGEX": "Cari Regex: ", "NEW_JAVASCRIPT_PLUGIN": "Plugin Javascript Baru", - "NEW_JAVA_PLUGIN": "Plugin Java Baru" + "NEW_JAVA_PLUGIN": "Plugin Java Baru", + "SAVE_AS": "Simpan sebagai...", + "SAVE": "Jimat ..." } diff --git a/src/main/resources/translations/mandarin.json b/src/main/resources/translations/mandarin.json index c6709f67..062fd39b 100644 --- a/src/main/resources/translations/mandarin.json +++ b/src/main/resources/translations/mandarin.json @@ -108,5 +108,7 @@ "DESC": "描述:", "NAME": "名称:", "SEARCH_REGEX": "搜索正则表达式:", - "NEW_JAVA_PLUGIN": "新的 Java 插件" + "NEW_JAVA_PLUGIN": "新的 Java 插件", + "SAVE_AS": "另存为...", + "SAVE": "保存..." } diff --git a/src/main/resources/translations/nederlands.json b/src/main/resources/translations/nederlands.json index b5821c8a..4297fdf1 100644 --- a/src/main/resources/translations/nederlands.json +++ b/src/main/resources/translations/nederlands.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "Herlaad bronnen", "SAVE_AS_DEX": "Opslaan als DEX...", "NEW_JAVASCRIPT_PLUGIN": "Nieuwe Javascript-plug-in", - "NEW_JAVA_PLUGIN": "Nieuwe Java-plug-in" + "NEW_JAVA_PLUGIN": "Nieuwe Java-plug-in", + "SAVE_AS": "Opslaan als...", + "SAVE": "Sparen...", + "RESULTS": "Resultaten" } diff --git a/src/main/resources/translations/norwegian.json b/src/main/resources/translations/norwegian.json index 7bbb8ccc..1a281002 100644 --- a/src/main/resources/translations/norwegian.json +++ b/src/main/resources/translations/norwegian.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "Last inn ressurser på nytt", "SAVE_AS_DEX": "Lagre som DEX ...", "NEW_JAVASCRIPT_PLUGIN": "Ny Javascript-plugin", - "NEW_JAVA_PLUGIN": "Ny Java-plugin" + "NEW_JAVA_PLUGIN": "Ny Java-plugin", + "SAVE_AS": "Lagre som...", + "SAVE": "Lagre...", + "RESULTS": "Resultater" } diff --git a/src/main/resources/translations/polish.json b/src/main/resources/translations/polish.json index b8166d4a..44e24296 100644 --- a/src/main/resources/translations/polish.json +++ b/src/main/resources/translations/polish.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "Przeładuj zasoby", "SAVE_AS_DEX": "Zapisz jako DEX...", "NEW_JAVASCRIPT_PLUGIN": "Nowa wtyczka JavaScript", - "NEW_JAVA_PLUGIN": "Nowa wtyczka Java" + "NEW_JAVA_PLUGIN": "Nowa wtyczka Java", + "SAVE_AS": "Zapisz jako...", + "SAVE": "Zapisać...", + "RESULTS": "Wyniki" } diff --git a/src/main/resources/translations/portuguese.json b/src/main/resources/translations/portuguese.json index 93abe986..c6a4a560 100644 --- a/src/main/resources/translations/portuguese.json +++ b/src/main/resources/translations/portuguese.json @@ -108,5 +108,7 @@ "SUGGESTED_FIX_COMPILER_ERROR": "Correção sugerida: tente Exibir> Painel> Krakatau> Bytecode e habilite Editável.", "SEARCH_REGEX": "Pesquisar Regex: ", "NEW_JAVASCRIPT_PLUGIN": "Novo plugin Javascript", - "NEW_JAVA_PLUGIN": "Novo plugin Java" + "NEW_JAVA_PLUGIN": "Novo plugin Java", + "SAVE_AS": "Salvar como...", + "SAVE": "Salve ..." } diff --git a/src/main/resources/translations/russian.json b/src/main/resources/translations/russian.json index 1724684b..8dd8e4df 100644 --- a/src/main/resources/translations/russian.json +++ b/src/main/resources/translations/russian.json @@ -108,5 +108,7 @@ "SUGGESTED_FIX_COMPILER_ERROR": "Предлагаемое исправление: попробуйте «Просмотр»> «Панель»> «Кракатау»> «Байт-код» и включите «Редактируемый».", "SEARCH_REGEX": "Искать Regex: ", "NEW_JAVASCRIPT_PLUGIN": "Новый плагин Javascript", - "NEW_JAVA_PLUGIN": "Новый плагин Java" + "NEW_JAVA_PLUGIN": "Новый плагин Java", + "SAVE_AS": "Сохранить как...", + "SAVE": "Сохранить..." } diff --git a/src/main/resources/translations/spanish.json b/src/main/resources/translations/spanish.json index 550b3930..addf2654 100644 --- a/src/main/resources/translations/spanish.json +++ b/src/main/resources/translations/spanish.json @@ -108,5 +108,7 @@ "SUGGESTED_FIX_COMPILER_ERROR": "Solución sugerida: intente Ver> Panel> Krakatau> Bytecode y habilite Editable.", "SEARCH_REGEX": "Buscar Regex: ", "NEW_JAVASCRIPT_PLUGIN": "Nuevo complemento de Javascript", - "NEW_JAVA_PLUGIN": "Nuevo complemento de Java" + "NEW_JAVA_PLUGIN": "Nuevo complemento de Java", + "SAVE_AS": "Guardar como...", + "SAVE": "Ahorrar..." } diff --git a/src/main/resources/translations/swahili.json b/src/main/resources/translations/swahili.json index cbef5b40..a7743351 100644 --- a/src/main/resources/translations/swahili.json +++ b/src/main/resources/translations/swahili.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "Pakia Rasilimali", "SAVE_AS_DEX": "Hifadhi kama DEX ...", "NEW_JAVASCRIPT_PLUGIN": "Programu-jalizi mpya ya Javascript", - "NEW_JAVA_PLUGIN": "Programu-jalizi mpya ya Java" + "NEW_JAVA_PLUGIN": "Programu-jalizi mpya ya Java", + "SAVE_AS": "Hifadhi kama ...", + "SAVE": "Hifadhi ...", + "RESULTS": "Matokeo" } diff --git a/src/main/resources/translations/swedish.json b/src/main/resources/translations/swedish.json index b66f0f49..c90bd342 100644 --- a/src/main/resources/translations/swedish.json +++ b/src/main/resources/translations/swedish.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "Ladda om resurser", "SAVE_AS_DEX": "Spara som DEX ...", "NEW_JAVASCRIPT_PLUGIN": "Nytt Javascript-plugin", - "NEW_JAVA_PLUGIN": "Nytt Java-plugin" + "NEW_JAVA_PLUGIN": "Nytt Java-plugin", + "SAVE_AS": "Spara som...", + "SAVE": "Spara...", + "RESULTS": "Resultat" } diff --git a/src/main/resources/translations/turkish.json b/src/main/resources/translations/turkish.json index 650d506e..750de487 100644 --- a/src/main/resources/translations/turkish.json +++ b/src/main/resources/translations/turkish.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "Kaynakları Yeniden Yükle", "SAVE_AS_DEX": "DEX Olarak Kaydet...", "NEW_JAVASCRIPT_PLUGIN": "Yeni Javascript Eklentisi", - "NEW_JAVA_PLUGIN": "Yeni Java Eklentisi" + "NEW_JAVA_PLUGIN": "Yeni Java Eklentisi", + "SAVE_AS": "Farklı kaydet...", + "SAVE": "Kayıt etmek...", + "RESULTS": "Sonuçlar" } diff --git a/src/main/resources/translations/ukrainian.json b/src/main/resources/translations/ukrainian.json index ee4d6450..5d1803cc 100644 --- a/src/main/resources/translations/ukrainian.json +++ b/src/main/resources/translations/ukrainian.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "Перезавантажте ресурси", "SAVE_AS_DEX": "Зберегти як DEX ...", "NEW_JAVASCRIPT_PLUGIN": "Новий плагін Javascript", - "NEW_JAVA_PLUGIN": "Новий плагін Java" + "NEW_JAVA_PLUGIN": "Новий плагін Java", + "SAVE_AS": "Зберегти як...", + "SAVE": "Зберегти ...", + "RESULTS": "Результати" } diff --git a/src/main/resources/translations/vietnamese.json b/src/main/resources/translations/vietnamese.json index 54b49a5f..fefcfc02 100644 --- a/src/main/resources/translations/vietnamese.json +++ b/src/main/resources/translations/vietnamese.json @@ -107,5 +107,8 @@ "RELOAD_RESOURCES": "Tải lại tài nguyên", "SAVE_AS_DEX": "Lưu dưới dạng DEX ...", "NEW_JAVASCRIPT_PLUGIN": "Plugin Javascript mới", - "NEW_JAVA_PLUGIN": "Plugin Java mới" + "NEW_JAVA_PLUGIN": "Plugin Java mới", + "SAVE_AS": "Lưu thành...", + "SAVE": "Tiết kiệm...", + "RESULTS": "Các kết quả" }