diff --git a/core/src/main/assets/messages/windows/windows.properties b/core/src/main/assets/messages/windows/windows.properties index a9d9d3502..225d261cc 100644 --- a/core/src/main/assets/messages/windows/windows.properties +++ b/core/src/main/assets/messages/windows/windows.properties @@ -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.fullscreen=Fullscreen -windows.wndsettings$displaytab.saver=Power Saver -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_nav=Hide Navigation Bar +windows.wndsettings$displaytab.hide_gesture=Hide Gesture Bar windows.wndsettings$displaytab.okay=Okay windows.wndsettings$displaytab.cancel=Cancel windows.wndsettings$displaytab.landscape=Force landscape diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/SPDSettings.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/SPDSettings.java index 614af1a65..16f7221f2 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/SPDSettings.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/SPDSettings.java @@ -49,7 +49,7 @@ public class SPDSettings extends GameSettings { //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_ZOOM = "zoom"; public static final String KEY_BRIGHTNESS = "brightness"; diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndSettings.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndSettings.java index 22109af64..e5c2736d8 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndSettings.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndSettings.java @@ -236,7 +236,16 @@ public class WndSettings extends WndTabbed { sep1 = new ColorBlock(1, 1, 0xFF000000); 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 protected void onClick() { super.onClick();