summaryrefslogtreecommitdiff
path: root/enigma/src/main/resources
diff options
context:
space:
mode:
authorGravatar 2xsaiko2020-06-03 20:16:10 +0200
committerGravatar GitHub2020-06-03 19:16:10 +0100
commit5a286d58e740f1aa5944488c602f5abc1318f6ca (patch)
treedfde9eff0c744906b3571390af0f6a6e3be92a91 /enigma/src/main/resources
parentRefactor MenuBar (#251) (diff)
downloadenigma-fork-5a286d58e740f1aa5944488c602f5abc1318f6ca.tar.gz
enigma-fork-5a286d58e740f1aa5944488c602f5abc1318f6ca.tar.xz
enigma-fork-5a286d58e740f1aa5944488c602f5abc1318f6ca.zip
Editor tabs (#238)
* Split into modules * Add validation utils from patch-1 branch * Tabs, iteration 1 * Delete RefreshMode * Load initial code asynchronously * Formatting * Don't do anything when close() gets called multiple times * Add scroll pane to editor * Fix getActiveEditor() * Rename components to more descriptive editorScrollPanes * Move ClassHandle and related types out of gui package * Fix tab title bar and other files not updating when changing mappings * Fix compilation errors * Start adding renaming functionality to new panel * Scale validation error marker * Make most user input validation use ValidationContext * Fix line numbers not displaying * Move CodeReader.navigateToToken into PanelEditor * Add close button on tabs * Remove TODO, it's fast enough * Remove JS script action for 2 seconds faster startup * Add comment on why the action is removed * ClassHandle/ClassHandleProvider documentation * Fix language file formatting * Bulk tab closing operations * Fix crash when renaming class and not connected to server * Fix caret jumping to the end of the file when opening * Increase identifier panel size * Make popup menu text translatable * Fix formatting * Fix compilation issues * CovertTextField -> ConvertingTextField * Retain formatting using spaces * Add de_de.json * Better decompilation error handling * Fix some caret related NPEs * Localization * Close editor on classhandle delete & fix onInvalidate not running on the Swing thread * Fix crash when trying to close a tab from onDeleted class handle listener Co-authored-by: Runemoro <runemoro1@gmail.com>
Diffstat (limited to 'enigma/src/main/resources')
-rw-r--r--enigma/src/main/resources/lang/de_de.json26
-rw-r--r--enigma/src/main/resources/lang/en_us.json27
2 files changed, 50 insertions, 3 deletions
diff --git a/enigma/src/main/resources/lang/de_de.json b/enigma/src/main/resources/lang/de_de.json
new file mode 100644
index 0000000..ef41da1
--- /dev/null
+++ b/enigma/src/main/resources/lang/de_de.json
@@ -0,0 +1,26 @@
1{
2 "language": "German",
3
4 "general.retry": "Wiederholen",
5
6 "popup_menu.editor_tab.close": "Schließen",
7 "popup_menu.editor_tab.close_all": "Alle schließen",
8 "popup_menu.editor_tab.close_others": "Andere schließen",
9 "popup_menu.editor_tab.close_left": "Alle links hiervon schließen",
10 "popup_menu.editor_tab.close_right": "Alle rechts hiervon schließen",
11
12 "editor.decompiling": "Dekompiliere...",
13 "editor.decompile_error": "Ein Fehler ist während des Dekompilierens aufgetreten.",
14
15 "validation.message.empty_field": "Dieses Feld muss ausgefüllt werden.",
16 "validation.message.not_int": "Wert muss eine ganze Zahl sein.",
17 "validation.message.field_out_of_range_int": "Wert muss eine ganze Zahl zwischen %d und %d sein.",
18 "validation.message.field_length_out_of_range": "Wert muss kürzer als %d Zeichen sein.",
19 "validation.message.nonunique_name_class": "Name „%s“ ist in „%s“ nicht eindeutig.",
20 "validation.message.nonunique_name": "Name „%s“ ist nicht eindeutig.",
21 "validation.message.illegal_class_name": "„%s“ ist kein gültiger Klassenname.",
22 "validation.message.illegal_identifier": "„%s“ ist kein gültiger Name.",
23 "validation.message.illegal_identifier.long": "Ungültiges Zeichen „%2$s“ an Position %3$d.",
24 "validation.message.illegal_doc_comment_end": "Javadoc-Kommentar darf die Zeichenfolge „*/“ nicht enthalten.",
25 "validation.message.reserved_identifier": "„%s“ ist ein reservierter Name."
26} \ No newline at end of file
diff --git a/enigma/src/main/resources/lang/en_us.json b/enigma/src/main/resources/lang/en_us.json
index dbf4b93..b8db4b0 100644
--- a/enigma/src/main/resources/lang/en_us.json
+++ b/enigma/src/main/resources/lang/en_us.json
@@ -1,6 +1,8 @@
1{ 1{
2 "language": "English", 2 "language": "English",
3 3
4 "general.retry": "Retry",
5
4 "mapping_format.enigma_file": "Enigma File", 6 "mapping_format.enigma_file": "Enigma File",
5 "mapping_format.enigma_directory": "Enigma Directory", 7 "mapping_format.enigma_directory": "Enigma Directory",
6 "mapping_format.enigma_zip": "Enigma ZIP", 8 "mapping_format.enigma_zip": "Enigma ZIP",
@@ -69,6 +71,14 @@
69 "popup_menu.zoom.in": "Zoom in", 71 "popup_menu.zoom.in": "Zoom in",
70 "popup_menu.zoom.out": "Zoom out", 72 "popup_menu.zoom.out": "Zoom out",
71 "popup_menu.zoom.reset": "Reset zoom", 73 "popup_menu.zoom.reset": "Reset zoom",
74 "popup_menu.editor_tab.close": "Close",
75 "popup_menu.editor_tab.close_all": "Close All",
76 "popup_menu.editor_tab.close_others": "Close Others",
77 "popup_menu.editor_tab.close_left": "Close All to the Left",
78 "popup_menu.editor_tab.close_right": "Close All to the Right",
79
80 "editor.decompiling": "Decompiling...",
81 "editor.decompile_error": "An error was encountered while decompiling.",
72 82
73 "info_panel.classes.obfuscated": "Obfuscated Classes", 83 "info_panel.classes.obfuscated": "Obfuscated Classes",
74 "info_panel.classes.deobfuscated": "De-obfuscated Classes", 84 "info_panel.classes.deobfuscated": "De-obfuscated Classes",
@@ -79,8 +89,8 @@
79 "info_panel.identifier.method": "Method", 89 "info_panel.identifier.method": "Method",
80 "info_panel.identifier.constructor": "Constructor", 90 "info_panel.identifier.constructor": "Constructor",
81 "info_panel.identifier.class": "Class", 91 "info_panel.identifier.class": "Class",
82 "info_panel.identifier.type_descriptor": "TypeDescriptor", 92 "info_panel.identifier.type_descriptor": "Type Descriptor",
83 "info_panel.identifier.method_descriptor": "MethodDescriptor", 93 "info_panel.identifier.method_descriptor": "Method Descriptor",
84 "info_panel.identifier.modifier": "Modifier", 94 "info_panel.identifier.modifier": "Modifier",
85 "info_panel.identifier.index": "Index", 95 "info_panel.identifier.index": "Index",
86 "info_panel.editor.class.decompiling": "(decompiling...)", 96 "info_panel.editor.class.decompiling": "(decompiling...)",
@@ -149,12 +159,23 @@
149 "message.mark_deobf.text": "%s marked %s as deobfuscated", 159 "message.mark_deobf.text": "%s marked %s as deobfuscated",
150 "message.remove_mapping.text": "%s removed mappings for %s", 160 "message.remove_mapping.text": "%s removed mappings for %s",
151 "message.rename.text": "%s renamed %s to %s", 161 "message.rename.text": "%s renamed %s to %s",
152
153 "status.disconnected": "Disconnected.", 162 "status.disconnected": "Disconnected.",
154 "status.connected": "Connected.", 163 "status.connected": "Connected.",
155 "status.connected_user_count": "Connected (%d users).", 164 "status.connected_user_count": "Connected (%d users).",
156 "status.ready": "Ready.", 165 "status.ready": "Ready.",
157 166
167 "validation.message.empty_field": "This field is required.",
168 "validation.message.not_int": "Value must be an integer.",
169 "validation.message.field_out_of_range_int": "Value must be an integer between %d and %d.",
170 "validation.message.field_length_out_of_range": "Value must be less than %d characters long.",
171 "validation.message.nonunique_name_class": "Name '%s' is not unique in '%s'.",
172 "validation.message.nonunique_name": "Name '%s' is not unique.",
173 "validation.message.illegal_class_name": "'%s' is not a valid class name.",
174 "validation.message.illegal_identifier": "'%s' is not a valid identifier.",
175 "validation.message.illegal_identifier.long": "Invalid character '%2$s' at position %3$d.",
176 "validation.message.illegal_doc_comment_end": "Javadoc comment cannot contain the character sequence '*/'.",
177 "validation.message.reserved_identifier": "'%s' is a reserved identifier.",
178
158 "crash.title": "%s - Crash Report", 179 "crash.title": "%s - Crash Report",
159 "crash.summary": "%s has crashed! =(", 180 "crash.summary": "%s has crashed! =(",
160 "crash.export": "Export", 181 "crash.export": "Export",