v3.2.4: (English only atm) changed fullscreen settings text on mobile
This commit is contained in:
committed by
Evan Debenham
parent
399da145f3
commit
f83cd78243
@@ -285,8 +285,8 @@ windows.wndscorebreakdown.old_score_desc=Games started prior to v1.3 have fewer
|
|||||||
|
|
||||||
windows.wndsettings$displaytab.title=Display Settings
|
windows.wndsettings$displaytab.title=Display Settings
|
||||||
windows.wndsettings$displaytab.fullscreen=Fullscreen
|
windows.wndsettings$displaytab.fullscreen=Fullscreen
|
||||||
windows.wndsettings$displaytab.saver=Power Saver
|
windows.wndsettings$displaytab.hide_nav=Hide Navigation Bar
|
||||||
windows.wndsettings$displaytab.saver_desc=Power Saver mode draws the game at a reduced size and scales it up to fit your screen.\n\nThis will make graphics less crisp and enlarge the UI slightly, but will also improve performance and battery life.\n\nYou may need to restart the game for changes to take effect.
|
windows.wndsettings$displaytab.hide_gesture=Hide Gesture Bar
|
||||||
windows.wndsettings$displaytab.okay=Okay
|
windows.wndsettings$displaytab.okay=Okay
|
||||||
windows.wndsettings$displaytab.cancel=Cancel
|
windows.wndsettings$displaytab.cancel=Cancel
|
||||||
windows.wndsettings$displaytab.landscape=Force landscape
|
windows.wndsettings$displaytab.landscape=Force landscape
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ public class SPDSettings extends GameSettings {
|
|||||||
|
|
||||||
//Display
|
//Display
|
||||||
|
|
||||||
public static final String KEY_FULLSCREEN = "fullscreen";
|
public static final String KEY_FULLSCREEN = "fullscreen"; //used to hide navbars on mobile
|
||||||
public static final String KEY_LANDSCAPE = "force_landscape";
|
public static final String KEY_LANDSCAPE = "force_landscape";
|
||||||
public static final String KEY_ZOOM = "zoom";
|
public static final String KEY_ZOOM = "zoom";
|
||||||
public static final String KEY_BRIGHTNESS = "brightness";
|
public static final String KEY_BRIGHTNESS = "brightness";
|
||||||
|
|||||||
@@ -236,7 +236,16 @@ public class WndSettings extends WndTabbed {
|
|||||||
sep1 = new ColorBlock(1, 1, 0xFF000000);
|
sep1 = new ColorBlock(1, 1, 0xFF000000);
|
||||||
add(sep1);
|
add(sep1);
|
||||||
|
|
||||||
chkFullscreen = new CheckBox( Messages.get(this, "fullscreen") ) {
|
String fullscreenText = Messages.get(this, "fullscreen");
|
||||||
|
//TODO English only for now, make sure to translate later
|
||||||
|
if (Messages.lang() == Languages.ENGLISH){
|
||||||
|
if (DeviceCompat.isAndroid()){
|
||||||
|
fullscreenText = Messages.get(this, "hide_navigation");
|
||||||
|
} else if (DeviceCompat.isiOS()){
|
||||||
|
fullscreenText = Messages.get(this, "hide_gesture");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
chkFullscreen = new CheckBox( fullscreenText ) {
|
||||||
@Override
|
@Override
|
||||||
protected void onClick() {
|
protected void onClick() {
|
||||||
super.onClick();
|
super.onClick();
|
||||||
|
|||||||
Reference in New Issue
Block a user