Tweak NSLocalizedString; Keep split display mode

Tweak NSLocalizedString to return English if not yet localized.
Keep Split display mode between rotations.
New debug option: skip JIT wait, for #423
This commit is contained in:
Duy Tran Khanh committed 2022-11-17 21:46:38 +07:00
1 parent 0a88ed672b
commit 1af09ca02d
21 files changed
+207 -176

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ NSString* environmentFailsafes(int minVersion) {
}
if (javaHome == nil) {
showDialog(currentVC(), NSLocalizedString(@"Error", nil), [NSString stringWithFormat:@"Minecraft %@ requires Java %d in order to run. Please install it first.", getPreference(@"selected_version"), minVersion]);
showDialog(currentVC(), localize(@"Error", nil), [NSString stringWithFormat:@"Minecraft %@ requires Java %d in order to run. Please install it first.", getPreference(@"selected_version"), minVersion]);
}
return javaHome;