l10n updates
This commit is contained in:
parent
a55b0c6a80
commit
43bc79c899
@ -2,6 +2,14 @@
|
||||
System properties used by OpenRocket:
|
||||
=====================================
|
||||
|
||||
General options
|
||||
---------------
|
||||
|
||||
openrocket.locale
|
||||
Select the default locale to be used, for example "en_US".
|
||||
If set to "xx", the logical keys will be displayed instead of the translated strings.
|
||||
|
||||
|
||||
|
||||
Logging options
|
||||
---------------
|
||||
|
@ -14,6 +14,7 @@ import java.net.URI;
|
||||
import java.net.URISyntaxException;
|
||||
import java.net.URLEncoder;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.SortedSet;
|
||||
import java.util.TreeSet;
|
||||
|
||||
@ -257,6 +258,7 @@ public class BugReportDialog extends JDialog {
|
||||
sb.append("OpenRocket version: " + Prefs.getVersion() + "\n");
|
||||
sb.append("OpenRocket source: " + Prefs.getBuildSource() + "\n");
|
||||
sb.append("OpenRocket location: " + JarUtil.getCurrentJarFile() + "\n");
|
||||
sb.append("Current default locale: " + Locale.getDefault() + "\n");
|
||||
sb.append("System properties:\n");
|
||||
|
||||
// Sort the keys
|
||||
|
@ -104,11 +104,17 @@ public class Startup {
|
||||
|
||||
private static void checkDebugStatus() {
|
||||
if (System.getProperty("openrocket.debug") != null) {
|
||||
System.setProperty("openrocket.log.stdout", "VBOSE");
|
||||
System.setProperty("openrocket.log.tracelevel", "VBOSE");
|
||||
System.setProperty("openrocket.debug.menu", "true");
|
||||
System.setProperty("openrocket.debug.mutexlocation", "true");
|
||||
System.setProperty("openrocket.debug.motordigest", "true");
|
||||
setPropertyIfNotSet("openrocket.log.stdout", "VBOSE");
|
||||
setPropertyIfNotSet("openrocket.log.tracelevel", "VBOSE");
|
||||
setPropertyIfNotSet("openrocket.debug.menu", "true");
|
||||
setPropertyIfNotSet("openrocket.debug.mutexlocation", "true");
|
||||
setPropertyIfNotSet("openrocket.debug.motordigest", "true");
|
||||
}
|
||||
}
|
||||
|
||||
private static void setPropertyIfNotSet(String key, String value) {
|
||||
if (System.getProperty(key) == null) {
|
||||
System.setProperty(key, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user