diff --git a/trunk/build.xml b/trunk/build.xml index c74578d50..4825300f6 100644 --- a/trunk/build.xml +++ b/trunk/build.xml @@ -18,8 +18,10 @@ - + + + @@ -37,6 +39,7 @@ + diff --git a/trunk/build_common.xml b/trunk/build_common.xml index 16fd9ba4f..d65043e90 100644 --- a/trunk/build_common.xml +++ b/trunk/build_common.xml @@ -175,6 +175,7 @@ + @@ -193,6 +194,10 @@ + + + + diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/AboutDialog.java b/trunk/src/com/jpexs/decompiler/flash/gui/AboutDialog.java index bccc0cbce..1a6f54e26 100644 --- a/trunk/src/com/jpexs/decompiler/flash/gui/AboutDialog.java +++ b/trunk/src/com/jpexs/decompiler/flash/gui/AboutDialog.java @@ -31,7 +31,7 @@ public class AboutDialog extends AppDialog { public AboutDialog() { setDefaultCloseOperation(HIDE_ON_CLOSE); - setSize(new Dimension(300, 270)); + setSize(new Dimension(300, 320)); setTitle(translate("dialog.title")); @@ -85,6 +85,15 @@ public class AboutDialog extends AppDialog { wwwLabel.setHorizontalAlignment(SwingConstants.CENTER); cp.add(wwwLabel); + + JLabel transAuthorLabel = new JLabel(translate("translation.author.label")); + transAuthorLabel.setPreferredSize(new Dimension(300, 20)); + transAuthorLabel.setHorizontalAlignment(SwingConstants.CENTER); + JLabel transAuthor = new JLabel(translate("translation.author")); + transAuthor.setPreferredSize(new Dimension(300, 20)); + transAuthor.setHorizontalAlignment(SwingConstants.CENTER); + cp.add(transAuthorLabel); + cp.add(transAuthor); JButton okButton = new JButton(translate("button.ok")); cp.add(okButton); okButton.addActionListener(new ActionListener() { diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/AppStrings.java b/trunk/src/com/jpexs/decompiler/flash/gui/AppStrings.java index 4cc5082e4..04279f91e 100644 --- a/trunk/src/com/jpexs/decompiler/flash/gui/AppStrings.java +++ b/trunk/src/com/jpexs/decompiler/flash/gui/AppStrings.java @@ -32,7 +32,7 @@ public class AppStrings { String name = cls.getName(); if (name.startsWith("com.jpexs.decompiler.flash.gui.")) { name = name.substring("com.jpexs.decompiler.flash.gui.".length()); - name = "com.jpexs.decompiler.flash.gui.resources." + name; + name = "com.jpexs.decompiler.flash.gui.locales." + name; } return name; } diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/AboutDialog.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/AboutDialog.properties similarity index 76% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/AboutDialog.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/AboutDialog.properties index 5bef4a6e1..d47ff7a0c 100644 --- a/trunk/src/com/jpexs/decompiler/flash/gui/resources/AboutDialog.properties +++ b/trunk/src/com/jpexs/decompiler/flash/gui/locales/AboutDialog.properties @@ -16,4 +16,8 @@ version = version by = by button.ok = OK -dialog.title = About \ No newline at end of file +dialog.title = About +#In the translation, replace "english" with target language name +translation.author.label = Author of english translation: +#In the translation, insert your name here +translation.author = JPEXS \ No newline at end of file diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/AboutDialog_cs.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/AboutDialog_cs.properties similarity index 85% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/AboutDialog_cs.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/AboutDialog_cs.properties index 277cfdd4d..dd707c37d 100644 --- a/trunk/src/com/jpexs/decompiler/flash/gui/resources/AboutDialog_cs.properties +++ b/trunk/src/com/jpexs/decompiler/flash/gui/locales/AboutDialog_cs.properties @@ -16,4 +16,6 @@ version = verze by = autor: button.ok = OK -dialog.title = O aplikaci \ No newline at end of file +dialog.title = O aplikaci +translation.author.label = Autor \u010desk\u00e9ho p\u0159ekladu: +translation.author = JPEXS \ No newline at end of file diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/ExportDialog.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/ExportDialog.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/ExportDialog_cs.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_cs.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/ExportDialog_cs.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_cs.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/GraphFrame.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/GraphFrame.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/GraphFrame.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/GraphFrame.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/GraphFrame_cs.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/GraphFrame_cs.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/GraphFrame_cs.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/GraphFrame_cs.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/GraphTreeFrame.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/GraphTreeFrame.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/GraphTreeFrame.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/GraphTreeFrame.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/LoadingDialog.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/LoadingDialog.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/LoadingDialog.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/LoadingDialog.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/LoadingDialog_cs.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/LoadingDialog_cs.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/LoadingDialog_cs.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/LoadingDialog_cs.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/MainFrame.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/MainFrame.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/MainFrame_cs.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/MainFrame_cs.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/ModeFrame.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/ModeFrame.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/ModeFrame.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/ModeFrame.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/ModeFrame_cs.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/ModeFrame_cs.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/ModeFrame_cs.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/ModeFrame_cs.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/NewVersionDialog.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/NewVersionDialog.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/NewVersionDialog.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/NewVersionDialog.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/NewVersionDialog_cs.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/NewVersionDialog_cs.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/NewVersionDialog_cs.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/NewVersionDialog_cs.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/RenameDialog.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/RenameDialog.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/RenameDialog.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/RenameDialog.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/RenameDialog_cs.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/RenameDialog_cs.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/RenameDialog_cs.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/RenameDialog_cs.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/SearchDialog.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/SearchDialog.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/SearchDialog.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/SearchDialog.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/SearchDialog_cs.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/SearchDialog_cs.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/SearchDialog_cs.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/SearchDialog_cs.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/SelectLanguageDialog.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/SelectLanguageDialog.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/SelectLanguageDialog.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/SelectLanguageDialog.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/SelectLanguageDialog_cs.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/SelectLanguageDialog_cs.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/SelectLanguageDialog_cs.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/SelectLanguageDialog_cs.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/abc/DeobfuscationDialog.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/abc/DeobfuscationDialog.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/abc/DeobfuscationDialog.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/abc/DeobfuscationDialog.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/abc/DeobfuscationDialog_cs.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/abc/DeobfuscationDialog_cs.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/abc/DeobfuscationDialog_cs.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/abc/DeobfuscationDialog_cs.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/abc/UsageFrame.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/abc/UsageFrame.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/abc/UsageFrame.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/abc/UsageFrame.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/abc/UsageFrame_cs.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/abc/UsageFrame_cs.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/abc/UsageFrame_cs.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/abc/UsageFrame_cs.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/proxy/ProxyFrame.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/proxy/ProxyFrame.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/proxy/ProxyFrame.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/proxy/ProxyFrame.properties diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/resources/proxy/ProxyFrame_cs.properties b/trunk/src/com/jpexs/decompiler/flash/gui/locales/proxy/ProxyFrame_cs.properties similarity index 100% rename from trunk/src/com/jpexs/decompiler/flash/gui/resources/proxy/ProxyFrame_cs.properties rename to trunk/src/com/jpexs/decompiler/flash/gui/locales/proxy/ProxyFrame_cs.properties