Error Log Translations

This commit is contained in:
Konloch 2021-07-23 09:20:23 -07:00
parent 23d6e64a66
commit 05e69c5bb8
3 changed files with 7 additions and 2 deletions

View file

@ -13,6 +13,7 @@ import the.bytecode.club.bytecodeviewer.BytecodeViewer;
import the.bytecode.club.bytecodeviewer.Configuration;
import the.bytecode.club.bytecodeviewer.gui.components.JFrameConsole;
import the.bytecode.club.bytecodeviewer.resources.IconResources;
import the.bytecode.club.bytecodeviewer.translation.TranslatedStrings;
import static the.bytecode.club.bytecodeviewer.Constants.*;
@ -123,8 +124,8 @@ public class ExceptionUI extends JFrameConsole
{
String fatJar = FAT_JAR ? " [Fat Jar]" : "";
return "Please send this error log to " + author +
"\nIf you hold appropriate legal rights to the relevant class/jar/apk file please include that as well." +
return TranslatedStrings.PLEASE_SEND_THIS_ERROR_LOG_TO.toString() + " " + author +
"\n" + TranslatedStrings.PLEASE_SEND_RESOURCES.toString() +
"\nBytecode Viewer Version: " + VERSION + fatJar +
", OS: " + System.getProperty("os.name") +
", Java: " + System.getProperty("java.version");

View file

@ -75,6 +75,8 @@ public enum TranslatedStrings
PLUGIN_CONSOLE_TITLE,
CLOSE_ALL_BUT_THIS,
CLOSE_TAB,
PLEASE_SEND_THIS_ERROR_LOG_TO,
PLEASE_SEND_RESOURCES,
YES,

View file

@ -254,6 +254,8 @@
"PLUGIN_CONSOLE_TITLE": "{PRODUCT_NAME} - Plugin Console",
"CLOSE_ALL_BUT_THIS": "Close All But This",
"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",