Error Log Translations
This commit is contained in:
parent
23d6e64a66
commit
05e69c5bb8
3 changed files with 7 additions and 2 deletions
|
@ -13,6 +13,7 @@ import the.bytecode.club.bytecodeviewer.BytecodeViewer;
|
||||||
import the.bytecode.club.bytecodeviewer.Configuration;
|
import the.bytecode.club.bytecodeviewer.Configuration;
|
||||||
import the.bytecode.club.bytecodeviewer.gui.components.JFrameConsole;
|
import the.bytecode.club.bytecodeviewer.gui.components.JFrameConsole;
|
||||||
import the.bytecode.club.bytecodeviewer.resources.IconResources;
|
import the.bytecode.club.bytecodeviewer.resources.IconResources;
|
||||||
|
import the.bytecode.club.bytecodeviewer.translation.TranslatedStrings;
|
||||||
|
|
||||||
import static the.bytecode.club.bytecodeviewer.Constants.*;
|
import static the.bytecode.club.bytecodeviewer.Constants.*;
|
||||||
|
|
||||||
|
@ -123,8 +124,8 @@ public class ExceptionUI extends JFrameConsole
|
||||||
{
|
{
|
||||||
String fatJar = FAT_JAR ? " [Fat Jar]" : "";
|
String fatJar = FAT_JAR ? " [Fat Jar]" : "";
|
||||||
|
|
||||||
return "Please send this error log to " + author +
|
return TranslatedStrings.PLEASE_SEND_THIS_ERROR_LOG_TO.toString() + " " + author +
|
||||||
"\nIf you hold appropriate legal rights to the relevant class/jar/apk file please include that as well." +
|
"\n" + TranslatedStrings.PLEASE_SEND_RESOURCES.toString() +
|
||||||
"\nBytecode Viewer Version: " + VERSION + fatJar +
|
"\nBytecode Viewer Version: " + VERSION + fatJar +
|
||||||
", OS: " + System.getProperty("os.name") +
|
", OS: " + System.getProperty("os.name") +
|
||||||
", Java: " + System.getProperty("java.version");
|
", Java: " + System.getProperty("java.version");
|
||||||
|
|
|
@ -75,6 +75,8 @@ public enum TranslatedStrings
|
||||||
PLUGIN_CONSOLE_TITLE,
|
PLUGIN_CONSOLE_TITLE,
|
||||||
CLOSE_ALL_BUT_THIS,
|
CLOSE_ALL_BUT_THIS,
|
||||||
CLOSE_TAB,
|
CLOSE_TAB,
|
||||||
|
PLEASE_SEND_THIS_ERROR_LOG_TO,
|
||||||
|
PLEASE_SEND_RESOURCES,
|
||||||
|
|
||||||
|
|
||||||
YES,
|
YES,
|
||||||
|
|
|
@ -254,6 +254,8 @@
|
||||||
"PLUGIN_CONSOLE_TITLE": "{PRODUCT_NAME} - Plugin Console",
|
"PLUGIN_CONSOLE_TITLE": "{PRODUCT_NAME} - Plugin Console",
|
||||||
"CLOSE_ALL_BUT_THIS": "Close All But This",
|
"CLOSE_ALL_BUT_THIS": "Close All But This",
|
||||||
"CLOSE_TAB": "Close Tab",
|
"CLOSE_TAB": "Close Tab",
|
||||||
|
"PLEASE_SEND_THIS_ERROR_LOG_TO": "Please send this error log to",
|
||||||
|
"PLEASE_SEND_RESOURCES": "If you hold appropriate legal rights to the relevant class/jar/apk file please include that as well.",
|
||||||
|
|
||||||
|
|
||||||
"FILES": "Files",
|
"FILES": "Files",
|
||||||
|
|
Loading…
Reference in a new issue