From 1fb03177cba917addb15e02d5233f0501d9d8966 Mon Sep 17 00:00:00 2001 From: Nick Ufer Date: Tue, 29 Jun 2021 23:50:26 +0200 Subject: [PATCH 1/3] feat: more german translation --- .../bytecodeviewer/translation/Language.java | 2 +- src/main/resources/translations/german.json | 101 +++++++++++++++++- 2 files changed, 98 insertions(+), 5 deletions(-) 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 9856a515..5c8e0209 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/translation/Language.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/translation/Language.java @@ -28,7 +28,7 @@ public enum Language FRENCH("/translations/french.json", "fr"), ARABIC("/translations/arabic.json", "ab"), RUSSIAN("/translations/russian.json", "ru"),*/ - GERMAN("/translations/german.json", "Deutsche", "de"), + GERMAN("/translations/german.json", "Deutsch", "de"), ; private static final HashedMap languageCodeLookup; diff --git a/src/main/resources/translations/german.json b/src/main/resources/translations/german.json index 343ca6b9..117de632 100644 --- a/src/main/resources/translations/german.json +++ b/src/main/resources/translations/german.json @@ -2,9 +2,102 @@ "FILE": "Datei", "ADD": "Hinzufügen...", "NEW_WORKSPACE": "Neuer Arbeitsbereich", - "RELOAD_RESOURCES": "Ressourcen Neu Laden", - "RUN": "Lauf", + "RELOAD_RESOURCES": "Ressourcen neu laden", + "RUN": "Ausführen", "COMPILE": "Kompilieren", - "ABOUT": "Über", - "EXIT": "Verlassen" + "SAVE_AS_RUNNABLE_JAR": "Speichern als ausführbare Jar...", + "SAVE_AS_ZIP": "Speichern als Zip...", + "SAVE_AS_DEX": "Speichern als DEX...", + "SAVE_AS_APK": "Speichern als APK...", + "DECOMPILE_SAVE_OPENED_CLASSES": "Alle geöffneten Klassen dekompilieren & speichern", + "DECOMPILE_SAVE_ALL_CLASSES": "Alle Klassen dekompilieren & speichern", + "RECENT_FILES": "Letzte geöffnete Dateien", + "ABOUT": "Über Bytecode Viewer", + "EXIT": "Bytecode Viewer beenden", + + "VIEW": "Ansicht", + "VISUAL_SETTINGS": "Visuelle Einstellungen", + "LANGUAGE": "Sprache", + + "TODO1": "Diese existieren nur als Enums", + "WINDOW_THEME": "Fenster Erscheinungsbild", + "SYSTEM_THEME": "Wie Betriebssystem", + "DARK_THEME": "Dark-Mode", + "LIGHT_THEME": "Light-Mode", + "TEXT_AREA_THEME": "Textbereich Erscheinungsbild", + "DEFAULT_RECOMMENDED_LIGHT": "Hell (Empfohlener Light-Mode)", + "DARK_RECOMMENDED_DARK": "Dunkel (Empfohlener Dark-Mode)", + "DEFAULT_ALT": "Standard Alternativ", + "ECLIPSE": "Eclipse", + "INTELLIJ": "Intellij", + "VISUAL_STUDIO": "Visual Studio", + "DRUID_DARK": "Druid (Dark-Mode)", + "MONOKAI_DARK": "Monokai (Dark-Mode)", + "TODO2": "Ende", + + "FONT_SIZE": "Schriftgröße", + "SHOW_TAB_FILE_IN_TAB_TITLE": "Dateinamen in Reiter-Titel anzeigen", + "SIMPLIFY_NAME_IN_TAB_TITLE": "Namen in Reiter-Titel simplifizieren", + "SYNCHRONIZED_VIEWING": "Synchronisierte Ansicht", + "SHOW_CLASS_METHODS": "Zeige Klassenmethoden", + + "PANE_1": "Fenster 1", + "PANE_2": "Fenster 2", + "PANE_3": "Fenster 3", + "NONE": "Keins", + "EDITABLE": "Editierbar", + + "SETTINGS": "Einstellungen", + "COMPILE_ON_SAVE": "Bei Speichern kompilieren", + "COMPILE_ON_REFRESH": "Bei Aktualisierung kompilieren", + "REFRESH_ON_VIEW_CHANGE": "Aktualisieren bei Änderung der Ansicht", + "DECODE_APK_RESOURCES": "APK Ressourcen dekodieren", + "APK_CONVERSION": "APK Umwandlung", + "DEX_TO_JAR": "Dex2Jar", + "ENJARIFY": "Enjarify", + "UPDATE_CHECK": "Nach Updates suchen", + "DELETE_UNKNOWN_LIBS": "Delete Foreign/Outdated Libs", + "FORCE_PURE_ASCII_AS_TEXT": "Ascii als Zeichenkodierung erzwingen", + "SET_PYTHON_27_EXECUTABLE": "Ausführbare Python 2.7 Datei festlegen", + "SET_PYTHON_30_EXECUTABLE": "Ausführbare Python 3.X Datei festlegen", + "SET_JRE_RT_LIBRARY": "JRE RT Bibliothek festlegen", + "SET_OPTIONAL_LIBRARY_FOLDER": "Optionalen Bibliothekenordner festlegen", + "SET_JAVAC_EXECUTABLE": "Ausführbare Javac Datei festlegen", + + "TODO3": "Diese existieren nur als Key/Value-Paare", + "TODO4": "Ende", + + "BYTECODE_DECOMPILER": "Bytecode Dekompilierer", + "DEBUG_HELPERS": "Debug Helfer", + "APPEND_BRACKETS_TO_LABEL": "Klammern zu Label hinzufügen", + + "PLUGINS": "Plugins", + "OPEN_PLUGIN": "Plugin öffnen...", + "RECENT_PLUGINS": "Zuletzt verwendete Plugins", + "CODE_SEQUENCE_DIAGRAM": "Code-Ablaufdiagramm anzeigen", + "MALICIOUS_CODE_SCANNER": "Scanner für bösartigen Code öffnen", + "SHOW_MAIN_METHODS": "Main-Methoden anzeigen", + "SHOW_ALL_STRINGS": "Alle Strings anzeigen", + "REPLACE_STRINGS": "Strings ersetzen", + "STACK_FRAMES_REMOVER": "Stack-Frames-Entferner ausführen", + "ZKM_STRING_DECRYPTER": "ZKM-String-Decrypter ausführen", + "ALLATORI_STRING_DECRYPTER": "Allatori-String-Decrypter ausführen", + "ZSTRINGARRAY_DECRYPTER": "ZStringArray-Decrypter ausführen", + + "TODO5": "Diese existieren nur als Key/Value-Paare", + "PROCYON_DECOMPILER": "Procyon Dekompilierer", + "CRF_DECOMPILER": "CFR Dekompilierer", + "FERNFLOWER_DECOMPILER": "FernFlower Dekompilierer", + "JADX_DECOMPILER": "JADX Dekompilierer", + "JD_DECOMPILER": "JD-GUI Dekompilierer", + "BYTECODE_DISASSEMBLER": "Bytecode Disassembler", + + "FILES": "Dateien", + "QUICK_FILE_SEARCH_NO_FILE_EXTENSION": "Dateien Schnellsuche öffnen (ohne Dateiendungen)", + "WORK_SPACE": "Arbeitsbereich", + "EXACT": "Exakt", + "SEARCH": "Suchen", + "RESULTS": "Ergebnisse", + "REFRESH": "Aktualisieren", + "TODO6": "Ende" } \ No newline at end of file From bacf7c40473a3508d37ab183d10562846187bc3d Mon Sep 17 00:00:00 2001 From: Nick Ufer Date: Tue, 29 Jun 2021 23:58:39 +0200 Subject: [PATCH 2/3] feat: add forgotten translation --- src/main/resources/translations/german.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/translations/german.json b/src/main/resources/translations/german.json index 117de632..c71dffe3 100644 --- a/src/main/resources/translations/german.json +++ b/src/main/resources/translations/german.json @@ -56,7 +56,7 @@ "DEX_TO_JAR": "Dex2Jar", "ENJARIFY": "Enjarify", "UPDATE_CHECK": "Nach Updates suchen", - "DELETE_UNKNOWN_LIBS": "Delete Foreign/Outdated Libs", + "DELETE_UNKNOWN_LIBS": "Unbekannte/Veraltete Bibliotheken löschen", "FORCE_PURE_ASCII_AS_TEXT": "Ascii als Zeichenkodierung erzwingen", "SET_PYTHON_27_EXECUTABLE": "Ausführbare Python 2.7 Datei festlegen", "SET_PYTHON_30_EXECUTABLE": "Ausführbare Python 3.X Datei festlegen", From 85c2da1b6f15852b0d0223f88ff6c008484a74da Mon Sep 17 00:00:00 2001 From: NickUfer Date: Wed, 30 Jun 2021 10:06:57 +0200 Subject: [PATCH 3/3] german translation: Apply suggestions from code review Co-authored-by: Nico Mexis --- src/main/resources/translations/german.json | 46 ++++++++++----------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/src/main/resources/translations/german.json b/src/main/resources/translations/german.json index c71dffe3..932f1d51 100644 --- a/src/main/resources/translations/german.json +++ b/src/main/resources/translations/german.json @@ -16,23 +16,23 @@ "EXIT": "Bytecode Viewer beenden", "VIEW": "Ansicht", - "VISUAL_SETTINGS": "Visuelle Einstellungen", + "VISUAL_SETTINGS": "Grafikeinstellungen", "LANGUAGE": "Sprache", "TODO1": "Diese existieren nur als Enums", - "WINDOW_THEME": "Fenster Erscheinungsbild", + "WINDOW_THEME": "Fenster-Erscheinungsbild", "SYSTEM_THEME": "Wie Betriebssystem", - "DARK_THEME": "Dark-Mode", - "LIGHT_THEME": "Light-Mode", - "TEXT_AREA_THEME": "Textbereich Erscheinungsbild", - "DEFAULT_RECOMMENDED_LIGHT": "Hell (Empfohlener Light-Mode)", - "DARK_RECOMMENDED_DARK": "Dunkel (Empfohlener Dark-Mode)", + "DARK_THEME": "Dunkler Modus", + "LIGHT_THEME": "Heller Modus", + "TEXT_AREA_THEME": "Textbereich-Erscheinungsbild", + "DEFAULT_RECOMMENDED_LIGHT": "Hell (Empfohlen bei hellem Modus)", + "DARK_RECOMMENDED_DARK": "Dunkel (Empfohlen bei dunklem Modus)", "DEFAULT_ALT": "Standard Alternativ", "ECLIPSE": "Eclipse", - "INTELLIJ": "Intellij", + "INTELLIJ": "IntelliJ", "VISUAL_STUDIO": "Visual Studio", - "DRUID_DARK": "Druid (Dark-Mode)", - "MONOKAI_DARK": "Monokai (Dark-Mode)", + "DRUID_DARK": "Druid (Dunkler Modus)", + "MONOKAI_DARK": "Monokai (Dunkler Modus)", "TODO2": "Ende", "FONT_SIZE": "Schriftgröße", @@ -50,14 +50,14 @@ "SETTINGS": "Einstellungen", "COMPILE_ON_SAVE": "Bei Speichern kompilieren", "COMPILE_ON_REFRESH": "Bei Aktualisierung kompilieren", - "REFRESH_ON_VIEW_CHANGE": "Aktualisieren bei Änderung der Ansicht", + "REFRESH_ON_VIEW_CHANGE": "Bei Änderung der Ansicht aktualisieren", "DECODE_APK_RESOURCES": "APK Ressourcen dekodieren", - "APK_CONVERSION": "APK Umwandlung", + "APK_CONVERSION": "APK-Umwandlung", "DEX_TO_JAR": "Dex2Jar", "ENJARIFY": "Enjarify", "UPDATE_CHECK": "Nach Updates suchen", "DELETE_UNKNOWN_LIBS": "Unbekannte/Veraltete Bibliotheken löschen", - "FORCE_PURE_ASCII_AS_TEXT": "Ascii als Zeichenkodierung erzwingen", + "FORCE_PURE_ASCII_AS_TEXT": "ASCII als Zeichenkodierung erzwingen", "SET_PYTHON_27_EXECUTABLE": "Ausführbare Python 2.7 Datei festlegen", "SET_PYTHON_30_EXECUTABLE": "Ausführbare Python 3.X Datei festlegen", "SET_JRE_RT_LIBRARY": "JRE RT Bibliothek festlegen", @@ -67,8 +67,8 @@ "TODO3": "Diese existieren nur als Key/Value-Paare", "TODO4": "Ende", - "BYTECODE_DECOMPILER": "Bytecode Dekompilierer", - "DEBUG_HELPERS": "Debug Helfer", + "BYTECODE_DECOMPILER": "Bytecode-Dekompilierer", + "DEBUG_HELPERS": "Debug-Helfer", "APPEND_BRACKETS_TO_LABEL": "Klammern zu Label hinzufügen", "PLUGINS": "Plugins", @@ -85,19 +85,19 @@ "ZSTRINGARRAY_DECRYPTER": "ZStringArray-Decrypter ausführen", "TODO5": "Diese existieren nur als Key/Value-Paare", - "PROCYON_DECOMPILER": "Procyon Dekompilierer", - "CRF_DECOMPILER": "CFR Dekompilierer", - "FERNFLOWER_DECOMPILER": "FernFlower Dekompilierer", - "JADX_DECOMPILER": "JADX Dekompilierer", - "JD_DECOMPILER": "JD-GUI Dekompilierer", - "BYTECODE_DISASSEMBLER": "Bytecode Disassembler", + "PROCYON_DECOMPILER": "Procyon-Dekompilierer", + "CRF_DECOMPILER": "CFR-Dekompilierer", + "FERNFLOWER_DECOMPILER": "FernFlower-Dekompilierer", + "JADX_DECOMPILER": "JADX-Dekompilierer", + "JD_DECOMPILER": "JD-GUI-Dekompilierer", + "BYTECODE_DISASSEMBLER": "Bytecode-Disassembler", "FILES": "Dateien", - "QUICK_FILE_SEARCH_NO_FILE_EXTENSION": "Dateien Schnellsuche öffnen (ohne Dateiendungen)", + "QUICK_FILE_SEARCH_NO_FILE_EXTENSION": "Dateien-Schnellsuche öffnen (ohne Dateiendungen)", "WORK_SPACE": "Arbeitsbereich", "EXACT": "Exakt", "SEARCH": "Suchen", "RESULTS": "Ergebnisse", "REFRESH": "Aktualisieren", "TODO6": "Ende" -} \ No newline at end of file +}