From dae6b9e3d377b36e421536801d59d2702a9e2bbe Mon Sep 17 00:00:00 2001 From: Arthur O'Dwyer Date: Sun, 29 Oct 2017 12:04:27 -0700 Subject: [PATCH 1/3] Consistently use "space" for the "pop this menu" option in all submenus. The "pop this menu" option's *text* is still highly variable among all the different menus, which could make it hard to navigate, but at least if you're using the keyboard it's now easy to "go back". Plus, the rogueviz menu incorrectly reported "(v) exit menu" when actually `v` was already in use by an earlier option. This is now fixed. --- config.cpp | 22 ++++++++++++---------- conformal.cpp | 2 +- dialogs.cpp | 2 +- hyper.h | 2 ++ mapeditor.cpp | 2 +- menus.cpp | 7 +++---- netgen.cpp | 2 +- rogueviz.cpp | 2 +- rug.cpp | 2 +- scores.cpp | 2 +- shmup.cpp | 2 +- tour.cpp | 2 +- 12 files changed, 26 insertions(+), 23 deletions(-) diff --git a/config.cpp b/config.cpp index 73b76894..11f521da 100644 --- a/config.cpp +++ b/config.cpp @@ -527,7 +527,7 @@ void loadConfig() { void showAllConfig() { dialog::addBreak(50); - dialog::addItem(XLAT("exit configuration"), 'v'); + dialog::addItem(XLAT("exit configuration"), ' '); #if CAP_CONFIG dialog::addItem(XLAT("save the current config"), 's'); if(getcstat == 's') @@ -538,7 +538,7 @@ void showAllConfig() { void handleAllConfig(int sym, int uni) { if(sym == SDLK_F1 || uni == 'h') gotoHelp(help); - else if(uni == 'v') popScreen(); + else if(uni == ' ') popScreen(); else if(sym == SDLK_ESCAPE) popScreen(); #if CAP_CONFIG else if(uni == 's') saveConfig(); @@ -624,6 +624,8 @@ void showGraphConfig() { char xuni = uni | 96; + if(uni >= 32 && uni < 64) xuni = uni; + if(xuni == 'u') vid.particles = !vid.particles; if(xuni == 'd') vid.graphglyph = (1+vid.graphglyph)%3; @@ -849,12 +851,12 @@ void showJoyConfig() { dialog::addSelItem(XLAT("second joystick: pan threshold"), its(vid.joypanthreshold), 'c'); dialog::addSelItem(XLAT("second joystick: panning speed"), fts(vid.joypanspeed * 1000), 'd'); - dialog::addItem(XLAT("back"), 'v'); + dialog::addItem(XLAT("back"), ' '); dialog::display(); keyhandler = [] (int sym, int uni) { dialog::handleNavigation(sym, uni); - char xuni = uni | 96; + char xuni = uni | 32; if(xuni == 'p') autojoy = !autojoy; else if(xuni == 'a') dialog::editNumber(vid.joyvalue, 0, 32768, 100, 4800, XLAT("first joystick: movement threshold"), ""); @@ -1003,7 +1005,7 @@ void show3D() { else dialog::addInfo(XLAT("parameters set correctly")); dialog::addBreak(50); - dialog::addItem(XLAT("exit 3D configuration"), 'v'); + dialog::addItem(XLAT("exit 3D configuration"), ' '); dialog::display(); keyhandler = [] (int sym, int uni) { @@ -1104,7 +1106,7 @@ void showCustomizeChar() { if(numplayers() > 1) dialog::addSelItem(XLAT("player"), its(shmup::cpid+1), 'a'); dialog::addBreak(50); - dialog::addItem(XLAT("return to the game"), 'v'); + dialog::addItem(XLAT("return to the game"), ' '); dialog::display(); int firsty = dialog::items[0].position / 2; @@ -1119,7 +1121,7 @@ void showCustomizeChar() { keyhandler = [] (int sym, int uni) { dialog::handleNavigation(sym, uni); - char xuni = uni | 96; + char xuni = uni | 32; if(shmup::on || multi::players) shmup::cpid = shmup::cpid_edit % shmup::players; charstyle& cs = getcs(); @@ -1137,7 +1139,7 @@ void showCustomizeChar() { if(xuni == 'd') switchcolor(cs.dresscolor, cat ? haircolors : dresscolors); if(xuni == 'f') switchcolor(cs.dresscolor2, dresscolors2); if(xuni == 'u') switchcolor(cs.uicolor, eyecolors); - if(xuni == 'v' || sym == SDLK_ESCAPE) popScreen(); + if(uni == ' ' || sym == SDLK_ESCAPE) popScreen(); }; } @@ -1189,7 +1191,7 @@ void selectLanguageScreen() { dialog::addBreak(50); vid.language = -1; dialog::addBoolItem(XLAT("default") + ": " + XLAT("EN"), v == -1, '0'); - dialog::addItem(XLAT("exit configuration"), '1'); + dialog::addItem(XLAT("exit configuration"), ' '); dialog::addBreak(50); @@ -1216,7 +1218,7 @@ void selectLanguageScreen() { keyhandler = [] (int sym, int uni) { dialog::handleNavigation(sym, uni); - char xuni = uni | 96; + char xuni = uni | 32; if(uni == '0') { vid.language = -1; ANDROID_SETTINGS; diff --git a/conformal.cpp b/conformal.cpp index 9ef71b2a..9682ce1d 100644 --- a/conformal.cpp +++ b/conformal.cpp @@ -591,7 +591,7 @@ namespace conformal { } #endif - dialog::addItem(XLAT("exit this menu"), 'q'); + dialog::addItem(XLAT("exit this menu"), ' '); dialog::display(); mouseovers = XLAT("see http://www.roguetemple.com/z/hyper/conformal.php"); keyhandler = handleKeyC; diff --git a/dialogs.cpp b/dialogs.cpp index 2b5e6e1f..7694fe2f 100644 --- a/dialogs.cpp +++ b/dialogs.cpp @@ -769,7 +769,7 @@ namespace dialog { getcstat = '2'; if(pages) if(displayfrZ(xr*40, i0, 1, vid.fsize, IFM("3 - ") + XLAT("all"), nlpage == 1 ? 0xD8D8C0 : 0xC0C0C0, 8)) getcstat = '3'; - if(i&1) if(displayfrZ(xr*56, i0, 1, vid.fsize, IFM("0 - ") + XLAT("return"), 0xC0C0C0, 8)) + if(i&1) if(displayfrZ(xr*56, i0, 1, vid.fsize, IFM(keyname(' ') + " - ") + XLAT("return"), 0xC0C0C0, 8)) getcstat = '0'; if(i&2) if(displayfrZ(xr*72, i0, 1, vid.fsize, IFM("F1 - ") + XLAT("help"), 0xC0C0C0, 8)) getcstat = SDLK_F1; diff --git a/hyper.h b/hyper.h index c500371e..d66ccc20 100644 --- a/hyper.h +++ b/hyper.h @@ -820,6 +820,8 @@ namespace dialog { item& lastItem(); extern unsigned int *palette; + + string keyname(int k); void addSelItem(string body, string value, int key); void addBoolItem(string body, bool value, int key); diff --git a/mapeditor.cpp b/mapeditor.cpp index 9d8ebf28..92a6df8f 100644 --- a/mapeditor.cpp +++ b/mapeditor.cpp @@ -2247,7 +2247,7 @@ lessalphaif(col, behindsphere(V), behindsphere(gmatrix[c2])) dialog::addColorItem(XLAT(patterns[numpat].lpname), patterns[numpat].color, 'a'+numpat); dialog::addBreak(50); - dialog::addItem(XLAT("exit menu"), 'v'); + dialog::addItem(XLAT("exit menu"), ' '); dialog::addBreak(50); dialog::addInfo("change the alpha parameter to show the lines"); diff --git a/menus.cpp b/menus.cpp index f99f202c..12897c20 100644 --- a/menus.cpp +++ b/menus.cpp @@ -448,14 +448,14 @@ void showChangeMode() { dialog::addBreak(50); - dialog::addItem(XLAT("return to the game"), 'v'); + dialog::addItem(XLAT("return to the game"), ' '); dialog::display(); keyhandler = [] (int sym, int uni) { dialog::handleNavigation(sym, uni); char xuni = uni; - - if(xuni == 'v' || sym == SDLK_ESCAPE) popScreen(); + + if(xuni == ' ' || sym == SDLK_ESCAPE) popScreen(); else if(uni == 'c') { if(tactic::on && gold()) { @@ -773,4 +773,3 @@ void setAppropriateOverview() { pushScreen(showOverview); } } - diff --git a/netgen.cpp b/netgen.cpp index f82f5fdf..72afd32e 100644 --- a/netgen.cpp +++ b/netgen.cpp @@ -656,7 +656,7 @@ namespace netgen { dialog::addItem(XLAT("synchronize net and map"), 's'); dialog::addItem(XLAT("display the scope"), 't'); dialog::addItem(XLAT("create the model"), 'c'); - dialog::addItem(XLAT("back to HyperRogue"), 'q'); + dialog::addItem(XLAT("back to HyperRogue"), ' '); dialog::addItem(XLAT("design the net"), 'd'); dialog::display(); diff --git a/rogueviz.cpp b/rogueviz.cpp index c85fc8a7..528a5171 100644 --- a/rogueviz.cpp +++ b/rogueviz.cpp @@ -1739,7 +1739,7 @@ void showMenu() { kohonen::showMenu(); dialog::addBreak(50); - dialog::addItem(XLAT("exit menu"), 'v'); + dialog::addItem(XLAT("exit menu"), ' '); dialog::display(); diff --git a/rug.cpp b/rug.cpp index 52e9fb6a..91d7f3e2 100644 --- a/rug.cpp +++ b/rug.cpp @@ -661,7 +661,7 @@ void show() { dialog::init(XLAT("hypersian rug mode"), iinf[itPalace].color, 150, 100); dialog::addItem(XLAT("what's this?"), 'h'); - dialog::addItem(XLAT("take me back"), 'q'); + dialog::addItem(XLAT("take me back"), ' '); dialog::addItem(XLAT("enable the Hypersian Rug mode"), 'u'); dialog::addBoolItem(XLAT("render the texture only once"), (renderonce), 'o'); dialog::addBoolItem(XLAT("render texture without OpenGL"), (rendernogl), 'g'); diff --git a/scores.cpp b/scores.cpp index 6842adcb..4d65caa0 100644 --- a/scores.cpp +++ b/scores.cpp @@ -238,7 +238,7 @@ void show() { displayButton(xr*10, i0, IFM("s - ") + XLAT("sort"), 's', 8); displayButton(xr*30, i0, IFM("t - ") + XLAT("choose"), 't', 8); - displayButton(xr*50, i0, IFM("0 - ") + XLAT("play"), '0', 8); + displayButton(xr*50, i0, IFM(dialog::keyname(' ') + " - ") + XLAT("play"), '0', 8); keyhandler = [] (int sym, int uni) { if(sym == SDLK_LEFT || sym == SDLK_KP4 || sym == 'h' || sym == 'a') { diff --git a/shmup.cpp b/shmup.cpp index 96d0d6f4..09969b12 100644 --- a/shmup.cpp +++ b/shmup.cpp @@ -300,7 +300,7 @@ void showShmupConfig() { dialog::addItem(XLAT("help"), 'h'); - dialog::addItem(XLAT("exit configuration"), 'v'); + dialog::addItem(XLAT("exit configuration"), ' '); dialog::display(); } diff --git a/tour.cpp b/tour.cpp index 6268c439..b4ff9cbd 100644 --- a/tour.cpp +++ b/tour.cpp @@ -249,7 +249,7 @@ namespace ss { } dialog::addBreak(50); if(size(slideshows) > 1) dialog::addItem(XLAT("change slideshow"), '1'); - dialog::addItem(XLAT("exit menu"), '0'); + dialog::addItem(XLAT("exit menu"), ' '); dialog::display(); keyhandler = [] (int sym, int uni) { if(uni >= 'a' && uni < 'a' + sssize) { From 43cb9c0bf44d9585e1c9dbbb9c4f144db4908530 Mon Sep 17 00:00:00 2001 From: Arthur O'Dwyer Date: Sun, 29 Oct 2017 12:16:29 -0700 Subject: [PATCH 2/3] Change every "pop this menu" option text to the two words "go back". And add translations for "go back", copied from the existing translations for the word "return". --- config.cpp | 11 ++++++----- conformal.cpp | 2 +- debug.cpp | 4 ++-- dialogs.cpp | 4 ++-- language-cz.cpp | 1 + language-de.cpp | 1 + language-pl.cpp | 1 + language-ru.cpp | 3 ++- language-tr.cpp | 1 + mapeditor.cpp | 2 +- menus.cpp | 2 +- netgen.cpp | 3 ++- rogueviz.cpp | 2 +- rug.cpp | 2 +- scores.cpp | 2 +- shmup.cpp | 2 +- tour.cpp | 2 +- 17 files changed, 26 insertions(+), 19 deletions(-) diff --git a/config.cpp b/config.cpp index 11f521da..51ee26f6 100644 --- a/config.cpp +++ b/config.cpp @@ -527,7 +527,7 @@ void loadConfig() { void showAllConfig() { dialog::addBreak(50); - dialog::addItem(XLAT("exit configuration"), ' '); + dialog::addItem(XLAT("go back"), ' '); #if CAP_CONFIG dialog::addItem(XLAT("save the current config"), 's'); if(getcstat == 's') @@ -851,7 +851,8 @@ void showJoyConfig() { dialog::addSelItem(XLAT("second joystick: pan threshold"), its(vid.joypanthreshold), 'c'); dialog::addSelItem(XLAT("second joystick: panning speed"), fts(vid.joypanspeed * 1000), 'd'); - dialog::addItem(XLAT("back"), ' '); + dialog::addBreak(50); + dialog::addItem(XLAT("go back"), ' '); dialog::display(); keyhandler = [] (int sym, int uni) { @@ -1005,7 +1006,7 @@ void show3D() { else dialog::addInfo(XLAT("parameters set correctly")); dialog::addBreak(50); - dialog::addItem(XLAT("exit 3D configuration"), ' '); + dialog::addItem(XLAT("go back"), ' '); dialog::display(); keyhandler = [] (int sym, int uni) { @@ -1106,7 +1107,7 @@ void showCustomizeChar() { if(numplayers() > 1) dialog::addSelItem(XLAT("player"), its(shmup::cpid+1), 'a'); dialog::addBreak(50); - dialog::addItem(XLAT("return to the game"), ' '); + dialog::addItem(XLAT("go back"), ' '); dialog::display(); int firsty = dialog::items[0].position / 2; @@ -1191,7 +1192,7 @@ void selectLanguageScreen() { dialog::addBreak(50); vid.language = -1; dialog::addBoolItem(XLAT("default") + ": " + XLAT("EN"), v == -1, '0'); - dialog::addItem(XLAT("exit configuration"), ' '); + dialog::addItem(XLAT("go back"), ' '); dialog::addBreak(50); diff --git a/conformal.cpp b/conformal.cpp index 9682ce1d..3e79eed7 100644 --- a/conformal.cpp +++ b/conformal.cpp @@ -591,7 +591,7 @@ namespace conformal { } #endif - dialog::addItem(XLAT("exit this menu"), ' '); + dialog::addItem(XLAT("go back"), ' '); dialog::display(); mouseovers = XLAT("see http://www.roguetemple.com/z/hyper/conformal.php"); keyhandler = handleKeyC; diff --git a/debug.cpp b/debug.cpp index 2f32876e..514cf81a 100644 --- a/debug.cpp +++ b/debug.cpp @@ -310,8 +310,6 @@ void debugScreen() { void showCheatMenu() { gamescreen(1); dialog::init("cheat menu"); - dialog::addItem(XLAT("return to the game"), ' '); - dialog::addBreak(50); dialog::addItem(XLAT("gain orb powers"), 'F'); dialog::addItem(XLAT("summon treasure"), 'T'); dialog::addItem(XLAT("summon dead orbs"), 'D'); @@ -331,6 +329,8 @@ void showCheatMenu() { dialog::addItem(XLAT("switch ghost timer"), 'G'-64); dialog::addItem(XLAT("switch web display"), 'W'-64); dialog::addItem(XLAT("peaceful mode"), 'P'-64); + dialog::addBreak(50); + dialog::addItem(XLAT("go back"), ' '); dialog::display(); keyhandler = [] (int sym, int uni) { dialog::handleNavigation(sym, uni); diff --git a/dialogs.cpp b/dialogs.cpp index 7694fe2f..2d50c58e 100644 --- a/dialogs.cpp +++ b/dialogs.cpp @@ -646,7 +646,7 @@ namespace dialog { addBreak(100); #endif - addItem("return", ' '); + addItem("go back", ' '); addSelItem("default value", disp(ne.dft), SDLK_HOME); addBreak(100); @@ -769,7 +769,7 @@ namespace dialog { getcstat = '2'; if(pages) if(displayfrZ(xr*40, i0, 1, vid.fsize, IFM("3 - ") + XLAT("all"), nlpage == 1 ? 0xD8D8C0 : 0xC0C0C0, 8)) getcstat = '3'; - if(i&1) if(displayfrZ(xr*56, i0, 1, vid.fsize, IFM(keyname(' ') + " - ") + XLAT("return"), 0xC0C0C0, 8)) + if(i&1) if(displayfrZ(xr*56, i0, 1, vid.fsize, IFM(keyname(' ') + " - ") + XLAT("go back"), 0xC0C0C0, 8)) getcstat = '0'; if(i&2) if(displayfrZ(xr*72, i0, 1, vid.fsize, IFM("F1 - ") + XLAT("help"), 0xC0C0C0, 8)) getcstat = SDLK_F1; diff --git a/language-cz.cpp b/language-cz.cpp index 91792fd7..7b1a6c52 100644 --- a/language-cz.cpp +++ b/language-cz.cpp @@ -4351,6 +4351,7 @@ S("Watch the Minkowski hyperboloid or the hypersian rug mode with the " S("0 - return", "0 - návrat") S("return", "návrat") +S("go back", "návrat") S("F1 - help", "F1 - nápověda") // for the conformal polynomial diff --git a/language-de.cpp b/language-de.cpp index 1eb2465a..9bb0bf3b 100644 --- a/language-de.cpp +++ b/language-de.cpp @@ -898,6 +898,7 @@ S("Shift=random, Ctrl=mix", "Shift=Zufällig, Ctrl=Mischen") S("Euclidean mode", "Euklidischer Modus") S("Return to the hyperbolic world", "Zur hyperbolischen Welt zurückkehren") +S("go back", "zurück") S("Choose from the lands visited this game.", "Wähle aus den Ländern, die diese Sitzung besucht wurden.") S("Scores and achievements are not", "Im euklidischem Modus werden"); S("saved in the Euclidean mode!", "Punkte und Errungenschaften nicht gespeichert!"); diff --git a/language-pl.cpp b/language-pl.cpp index f411e310..a6c33099 100644 --- a/language-pl.cpp +++ b/language-pl.cpp @@ -4266,6 +4266,7 @@ S("Watch the Minkowski hyperboloid or the hypersian rug mode with the " S("0 - return", "0 - powrót") S("return", "powrót") +S("go back", "powrót") S("F1 - help", "F1 - pomoc") // for the conformal polynomial diff --git a/language-ru.cpp b/language-ru.cpp index ee065902..e009ec6e 100644 --- a/language-ru.cpp +++ b/language-ru.cpp @@ -4418,6 +4418,7 @@ S("Watch the Minkowski hyperboloid or the hypersian rug mode with the " S("0 - return", "0 - вернуться") S("return", "вернуться") +S("go back", "вернуться") S("F1 - help", "F1 - помощь") // for the conformal polynomial @@ -6065,4 +6066,4 @@ S( #undef Orb - \ No newline at end of file + diff --git a/language-tr.cpp b/language-tr.cpp index 85cf1837..cf51bb7e 100644 --- a/language-tr.cpp +++ b/language-tr.cpp @@ -1639,6 +1639,7 @@ S("You are killed by %the1!", "%1 tarafından öldürüldün!") N("Great Wall", GEN_M, "Büyük Duvar", "Büyük Duvarları", "Büyük Duvarı", "Büyük Duvarda") S("(v) menu", "(v) menü") +S("go back", "dön") S("return to the game", "oyuna dön") S("or 'v' to see the main menu", "veya ana menüyü görmek için 'v'ye bas.") diff --git a/mapeditor.cpp b/mapeditor.cpp index 92a6df8f..da05b649 100644 --- a/mapeditor.cpp +++ b/mapeditor.cpp @@ -2247,7 +2247,7 @@ lessalphaif(col, behindsphere(V), behindsphere(gmatrix[c2])) dialog::addColorItem(XLAT(patterns[numpat].lpname), patterns[numpat].color, 'a'+numpat); dialog::addBreak(50); - dialog::addItem(XLAT("exit menu"), ' '); + dialog::addItem(XLAT("go back"), ' '); dialog::addBreak(50); dialog::addInfo("change the alpha parameter to show the lines"); diff --git a/menus.cpp b/menus.cpp index 12897c20..d56d9630 100644 --- a/menus.cpp +++ b/menus.cpp @@ -448,7 +448,7 @@ void showChangeMode() { dialog::addBreak(50); - dialog::addItem(XLAT("return to the game"), ' '); + dialog::addItem(XLAT("go back"), ' '); dialog::display(); keyhandler = [] (int sym, int uni) { diff --git a/netgen.cpp b/netgen.cpp index 72afd32e..ba45fe42 100644 --- a/netgen.cpp +++ b/netgen.cpp @@ -656,8 +656,9 @@ namespace netgen { dialog::addItem(XLAT("synchronize net and map"), 's'); dialog::addItem(XLAT("display the scope"), 't'); dialog::addItem(XLAT("create the model"), 'c'); - dialog::addItem(XLAT("back to HyperRogue"), ' '); dialog::addItem(XLAT("design the net"), 'd'); + dialog::addBreak(50); + dialog::addItem(XLAT("go back"), ' '); dialog::display(); } diff --git a/rogueviz.cpp b/rogueviz.cpp index 528a5171..34a15a1a 100644 --- a/rogueviz.cpp +++ b/rogueviz.cpp @@ -1739,7 +1739,7 @@ void showMenu() { kohonen::showMenu(); dialog::addBreak(50); - dialog::addItem(XLAT("exit menu"), ' '); + dialog::addItem(XLAT("go back"), ' '); dialog::display(); diff --git a/rug.cpp b/rug.cpp index 91d7f3e2..38dff107 100644 --- a/rug.cpp +++ b/rug.cpp @@ -661,7 +661,7 @@ void show() { dialog::init(XLAT("hypersian rug mode"), iinf[itPalace].color, 150, 100); dialog::addItem(XLAT("what's this?"), 'h'); - dialog::addItem(XLAT("take me back"), ' '); + dialog::addItem(XLAT("go back"), ' '); dialog::addItem(XLAT("enable the Hypersian Rug mode"), 'u'); dialog::addBoolItem(XLAT("render the texture only once"), (renderonce), 'o'); dialog::addBoolItem(XLAT("render texture without OpenGL"), (rendernogl), 'g'); diff --git a/scores.cpp b/scores.cpp index 4d65caa0..348620d8 100644 --- a/scores.cpp +++ b/scores.cpp @@ -238,7 +238,7 @@ void show() { displayButton(xr*10, i0, IFM("s - ") + XLAT("sort"), 's', 8); displayButton(xr*30, i0, IFM("t - ") + XLAT("choose"), 't', 8); - displayButton(xr*50, i0, IFM(dialog::keyname(' ') + " - ") + XLAT("play"), '0', 8); + displayButton(xr*50, i0, IFM(dialog::keyname(' ') + " - ") + XLAT("go back"), '0', 8); keyhandler = [] (int sym, int uni) { if(sym == SDLK_LEFT || sym == SDLK_KP4 || sym == 'h' || sym == 'a') { diff --git a/shmup.cpp b/shmup.cpp index 09969b12..4917faba 100644 --- a/shmup.cpp +++ b/shmup.cpp @@ -300,7 +300,7 @@ void showShmupConfig() { dialog::addItem(XLAT("help"), 'h'); - dialog::addItem(XLAT("exit configuration"), ' '); + dialog::addItem(XLAT("go back"), ' '); dialog::display(); } diff --git a/tour.cpp b/tour.cpp index b4ff9cbd..4417b965 100644 --- a/tour.cpp +++ b/tour.cpp @@ -249,7 +249,7 @@ namespace ss { } dialog::addBreak(50); if(size(slideshows) > 1) dialog::addItem(XLAT("change slideshow"), '1'); - dialog::addItem(XLAT("exit menu"), ' '); + dialog::addItem(XLAT("go back"), ' '); dialog::display(); keyhandler = [] (int sym, int uni) { if(uni >= 'a' && uni < 'a' + sssize) { From 2fde42ce3f238aa3db0f1f849f9d36f0d3430e90 Mon Sep 17 00:00:00 2001 From: Arthur O'Dwyer Date: Sun, 29 Oct 2017 13:14:39 -0700 Subject: [PATCH 3/3] Remove no-longer-used messages from the translations. All these messages now consistently use the phrase "go back". Before: int transcompleteness[NUMLAN] = {2057, 2057, 1229, 2053, 2053, 1555, 384, }; After: int transcompleteness[NUMLAN] = {2051, 2051, 1227, 2047, 2047, 1551, 383, }; --- language-cz.cpp | 7 ------- language-de.cpp | 5 ----- language-pl.cpp | 7 ------- language-ptbr.cpp | 7 ------- language-ru.cpp | 7 ------- language-tr.cpp | 3 --- 6 files changed, 36 deletions(-) diff --git a/language-cz.cpp b/language-cz.cpp index 7b1a6c52..3e800157 100644 --- a/language-cz.cpp +++ b/language-cz.cpp @@ -415,7 +415,6 @@ S("heptagonal game board", "sedmiúhelníková herní deska") S("triangular game board", "Trojúhelníková herní deska") S("HyperRogue game board", "herní deska HyperRogue") S("first page [Space]", "první stránka [mezerník]") -S("exit configuration", "opustit nastavení") S("Configuration:", "Nastavení:") S("video resolution", "rozlišení") S("fullscreen mode", "zobrazení na celou obrazovku") @@ -442,7 +441,6 @@ S("use Shift to decrease and Ctrl to fine tune ", "použij Shift ke zmenšení a S("(e.g. Shift+Ctrl+Z)", "ladění (například Shift+Ctrl+Z)") S("the second page [Space]", "druhá stránka [mezerník]") S("special features [Space]", "zvláštní možnosti [mezerník]") -S("exit configuration", "opustit nastavení") S("see the help screen", "zobrazit obrazovku s nápovědou") S("save the current config", "uložit současné nastavení") S("(v) config", "(v) nast.") @@ -2867,7 +2865,6 @@ S("paper model creator", "generátor papírových modelů") S("synchronize net and map", "synchronizuj síť a mapu") S("display the scope", "zobraz rozsah") S("create the model", "vytvoř model") -S("back to HyperRogue", "zpět do HyperRogue") S("design the net", "vytvoř síť") S("The paper model created as papermodel-*.bmp", "Papírový model byl vytvořen jako papermodel-*.bmp") @@ -3381,7 +3378,6 @@ S( "Model se otáčí šipkami a lze ho zoomovat klávesami Page Up/Down.") S("what's this?", "co to je?") -S("take me back", "návrat do menu") S("enable the Hypersian Rug mode", "aktivuj mód hyperského koberce") S("render the texture only once", "renderuj textury pouze jednou") S("render texture without OpenGL", "renderuj textury bez OpenGL") @@ -3643,7 +3639,6 @@ S("band width", "šířka pásu") S("length of a segment", "délka segmentu") S("spiral on rendering", "spirála při renderování") S("render now (length: %1)", "renderovat hned (délka: %1)") -S("exit this menu", "ven z menu") S("Enable cheat mode or GAME OVER to use this", "Dostupné pouze v cheat módu nebo po skončení hry") // remember to note it's in English @@ -4350,7 +4345,6 @@ S("Watch the Minkowski hyperboloid or the hypersian rug mode with the " "koberce s pomocí červenomodrých 3D brýlí.") S("0 - return", "0 - návrat") -S("return", "návrat") S("go back", "návrat") S("F1 - help", "F1 - nápověda") @@ -4545,7 +4539,6 @@ S("Level of water bottom", "Úroveň dna") S("set 3D monsters or walls in basic config first", "nejprve musíš nastavit 3D netvory nebo zdi v základní konfiguraci") S("parameters set correctly", "správně nastavené parametry") -S("exit 3D configuration", "opustit 3D konfiguraci") S("Objects at distance less than %1 absolute units " "from the center will be displayed with high " diff --git a/language-de.cpp b/language-de.cpp index 9bb0bf3b..fbb5535b 100644 --- a/language-de.cpp +++ b/language-de.cpp @@ -382,7 +382,6 @@ S("heptagonal game board", "Heptagonales Spielbrett") S("triangular game board", "Triangulares Spielbrett") S("HyperRogue game board", "HyperRogue-Spielbrett") S("first page [Space]", "Erste Seite [LEER]") -S("exit configuration", "Einstellungen verlassen") S("Configuration:", "Einstellungen:") S("video resolution", "Videoauflösung") S("fullscreen mode", "Vollbild") @@ -409,7 +408,6 @@ S("use Shift to decrease and Ctrl to fine tune ", "Shift zum Verringern, Strg zu S("(e.g. Shift+Ctrl+Z)", "Ändern (z.B. Strg+Shift+Z)") S("the second page [Space]", "Zweite Seite [LEER]") S("special features [Space]", "Spezielle Features [LEER]") -S("exit configuration", "Einstellungen verlassen") S("see the help screen", "siehe Hilfe Bildschirm") S("save the current config", "momentane Einstellungen speichern") S("(v) config", "(v) Konfig.") @@ -2634,7 +2632,6 @@ S("paper model creator", "Papiermodell-Schöpfer") S("synchronize net and map", "Synchronisier Netz und Karte") S("display the scope", "Bereich anzeigen") S("create the model", "Erzeuge das Modell") -S("back to HyperRogue", "Zurück zu HyperRogue") S("design the net", "entwirf das Netz") S("The paper model created as papermodel-*.bmp", "Das Papiermodell wurde als papermodel-*.bmp erzeugt") @@ -3117,7 +3114,6 @@ S("In this mode, HyperRogue is played on a 3D model of a part of the hyperbolic "Verwende die Pfeiltasten zum Rotieren, Bild auf/ab zum Zoomen.") S("what's this?", "Was ist das?") -S("take me back", "Bring mich zurück") S("enable the Hypersian Rug mode", "Aktiviere den Hypersischen-Teppich-Modus") S("render the texture only once", "Rendere die Textur nur einmal") S("render texture without OpenGL", "Rendere die Textur ohne OpenGL") @@ -3356,7 +3352,6 @@ S("band width", "Bandbreite") S("length of a segment", "Länge eines Segments") S("spiral on rendering", "Spirale beim Rendering") S("render now (length: %1)", "rendere jetzt (Länge: %1)") -S("exit this menu", "Menü verlassen") S("Enable cheat mode or GAME OVER to use this", "Aktivere den Cheat-Modus oder GAME OVER um diese Funktion zu nutzen") S("see http://www.roguetemple.com/z/hyper/conformal.php", "siehe http://www.roguetemple.com/z/hyper/conformal.php (in Englisch)") diff --git a/language-pl.cpp b/language-pl.cpp index a6c33099..347af036 100644 --- a/language-pl.cpp +++ b/language-pl.cpp @@ -387,7 +387,6 @@ S("heptagonal game board", "plansza do gry z siedmiokątów") S("triangular game board", "plansza do gry z trójkątów") S("HyperRogue game board", "plansza do gry HyperRogue") S("first page [Space]", "pierwsza strona [Space]") -S("exit configuration", "wyjdź z konfiguracji") S("Configuration:", "Konfiguracja:") S("video resolution", "rozdzielczość obrazu") S("fullscreen mode", "tryb pełnoekranowy") @@ -414,7 +413,6 @@ S("use Shift to decrease and Ctrl to fine tune ", "użyj Shift by zmniejszyć, C S("(e.g. Shift+Ctrl+Z)", " (na przykład Shift+Ctrl+Z)") S("the second page [Space]", "druga strona [Space]") S("special features [Space]", "opcje specjalne [Space]") -S("exit configuration", "wyjdź z konfiguracji") S("see the help screen", "obejrzyj ekran pomocy") S("save the current config", "zapisz obecną konfigurację") S("(v) config", "(v) ust.") @@ -2809,7 +2807,6 @@ S("paper model creator", "kreator modeli papierowych") S("synchronize net and map", "synchronizuj siatkę z mapą") S("display the scope", "pokaż zasięg") S("create the model", "twórz model") -S("back to HyperRogue", "powrót do HyperRogue") S("design the net", "projektuj siatkę") S("The paper model created as papermodel-*.bmp", "Model stworzony jako papermodel-*.bmp") @@ -3315,7 +3312,6 @@ S( "klawiszami Page Up/Down.") S("what's this?", "co to jest?") -S("take me back", "powrót do menu") S("enable the Hypersian Rug mode", "włącz tryb hiperskiego dywanu") S("render the texture only once", "renderuj teksturę tylko raz") S("render texture without OpenGL", "renderuj teksturę bez OpenGL") @@ -3556,7 +3552,6 @@ S("band width", "szerokość wstęgi") S("length of a segment", "długość segmentu") S("spiral on rendering", "spirala przy renderowaniu") S("render now (length: %1)", "rysuj teraz (długość: %1)") -S("exit this menu", "wyjdź") S("Enable cheat mode or GAME OVER to use this", "Dostępne tylko po końcu gry albo w trybie oszusta") // remember to note it's in English @@ -4265,7 +4260,6 @@ S("Watch the Minkowski hyperboloid or the hypersian rug mode with the " "Oglądaj hiperboloidę Minkowskiego albo tryb hiperskiego dywanu przez czerwono-turkusowe okulary 3D.") S("0 - return", "0 - powrót") -S("return", "powrót") S("go back", "powrót") S("F1 - help", "F1 - pomoc") @@ -4457,7 +4451,6 @@ S("Level of water bottom", "Poziom dna wody") S("set 3D monsters or walls in basic config first", "najpierw ustaw 3D potwory/ściany w konfiguracji podstawowej") S("parameters set correctly", "parametry prawidłowe") -S("exit 3D configuration", "wyjdź z konfiguracji 3D") S("Objects at distance less than %1 absolute units " "from the center will be displayed with high " diff --git a/language-ptbr.cpp b/language-ptbr.cpp index d87a8338..ed986ddc 100644 --- a/language-ptbr.cpp +++ b/language-ptbr.cpp @@ -390,7 +390,6 @@ S("heptagonal game board", "tabuleiro de jogo heptagonal") S("triangular game board", "tabuleiro de jogo triangular") S("HyperRogue game board", "tabuleiro de jogo HyperRogue") S("first page [Space]", "primeira página [Space]") -S("exit configuration", "sair das configurações") S("Configuration:", "Configuração:") S("video resolution", "resolução de vídeo") S("fullscreen mode", "modo de tela cheia") @@ -417,7 +416,6 @@ S("use Shift to decrease and Ctrl to fine tune ", "use Shift para diminuir e Ctr S("(e.g. Shift+Ctrl+Z)", " (ex: Shift+Ctrl+Z)") S("the second page [Space]", "a segunda página [Space]") S("special features [Space]", "características especiais [Space]") -S("exit configuration", "sair das configurações") S("see the help screen", "veja a tela de ajuda") S("save the current config", "salvar as configurações") S("(v) config", "(v) configurações") @@ -2909,7 +2907,6 @@ S("paper model creator", "kreator modeli papierowych") S("synchronize net and map", "synchronizuj siatkę z mapą") S("display the scope", "pokaż zasięg") S("create the model", "twórz model") -S("back to HyperRogue", "powrót do HyperRogue") S("design the net", "projektuj siatkę") S("The paper model created as papermodel-*.bmp", "Model stworzony jako papermodel-*.bmp") @@ -3415,7 +3412,6 @@ S( "klawiszami Page Up/Down.") S("what's this?", "co to jest?") -S("take me back", "powrót do menu") S("enable the Hypersian Rug mode", "włącz tryb hiperskiego dywanu") S("render the texture only once", "renderuj teksturę tylko raz") S("render texture without OpenGL", "renderuj teksturę bez OpenGL") @@ -3656,7 +3652,6 @@ S("band width", "szerokość wstęgi") S("length of a segment", "długość segmentu") S("spiral on rendering", "spirala przy renderowaniu") S("render now (length: %1)", "rysuj teraz (długość: %1)") -S("exit this menu", "wyjdź") S("Enable cheat mode or GAME OVER to use this", "Dostępne tylko po końcu gry albo w trybie oszusta") // remember to note it's in English @@ -4365,7 +4360,6 @@ S("Watch the Minkowski hyperboloid or the hypersian rug mode with the " "Oglądaj hiperboloidę Minkowskiego albo tryb hiperskiego dywanu przez czerwono-turkusowe okulary 3D.") S("0 - return", "0 - powrót") -S("return", "powót") S("F1 - help", "F1 - pomoc") // for the conformal polynomial @@ -4556,7 +4550,6 @@ S("Level of water bottom", "Poziom dna wody") S("set 3D monsters or walls in basic config first", "najpierw ustaw 3D potwory/ściany w konfiguracji podstawowej") S("parameters set correctly", "parametry prawidłowe") -S("exit 3D configuration", "wyjdź z konfiguracji 3D") S("Objects at distance less than %1 absolute units " "from the center will be displayed with high " diff --git a/language-ru.cpp b/language-ru.cpp index e009ec6e..aacb066a 100644 --- a/language-ru.cpp +++ b/language-ru.cpp @@ -388,7 +388,6 @@ S("heptagonal game board", "семиугольная игровая доска") S("triangular game board", "треугольная игровая доска") S("HyperRogue game board", "игровая доска HyperRogue") S("first page [Space]", "первая страница [пробел]") -S("exit configuration", "выйти из настроек") S("Configuration:", "Настройки:") S("video resolution", "видео разрешение") S("fullscreen mode", "полноэкранный режим") @@ -415,7 +414,6 @@ S("use Shift to decrease and Ctrl to fine tune ", "используйте Shift S("(e.g. Shift+Ctrl+Z)", "Ctrl для тонкой настройки") // (например, Shift+Ctrl+Z)") S("the second page [Space]", "вторая страница [Пробел]") S("special features [Space]", "специальные опции [Пробел]") -S("exit configuration", "выйти из настроек") S("see the help screen", "смотри экран помощи") S("save the current config", "сохранить текущие настройки") S("(v) config", "(v) настр.") @@ -2844,7 +2842,6 @@ S("paper model creator", "создатель бумажных моделей") S("synchronize net and map", "синхронизовать сеть и карту") S("display the scope", "показать охват") S("create the model", "создать модель") -S("back to HyperRogue", "вернуться в игру") S("design the net", "разработать сеть") S("The paper model created as papermodel-*.bmp", "Модель сохранена как papermodel-*.bmp") @@ -3403,7 +3400,6 @@ S( "Используйте стрелки для вращения, Page Up/Down для изменения масштаба.") S("what's this?", "что это?") -S("take me back", "вернуться в меню") S("enable the Hypersian Rug mode", "включить режим гиперсидского ковра") S("render the texture only once", "отрисовать один раз") S("render texture without OpenGL", "не использовать OpenGL") @@ -3695,7 +3691,6 @@ S("band width", "ширина ленты") S("length of a segment", "длина отрезка") S("spiral on rendering", "спираль отрисовки") S("render now (length: %1)", "рисуется сейчас (длина: %1)") -S("exit this menu", "выход") S("Enable cheat mode or GAME OVER to use this", "Доступно только в конце игры и в режиме обманщика") // remember to note it's in English @@ -4417,7 +4412,6 @@ S("Watch the Minkowski hyperboloid or the hypersian rug mode with the " "Смотреть гиперболоид Минковского или режим гиперсидского через красно-голубые 3D очки.") S("0 - return", "0 - вернуться") -S("return", "вернуться") S("go back", "вернуться") S("F1 - help", "F1 - помощь") @@ -4630,7 +4624,6 @@ S("Level of water bottom", "Уровень дна водоёма") S("set 3D monsters or walls in basic config first", "сначала выставлять монстров или стены в режиме 3D ") S("parameters set correctly", "параметры корректны") -S("exit 3D configuration", "выйти из настроек 3D") S("Objects at distance less than %1 absolute units " "from the center will be displayed with high " diff --git a/language-tr.cpp b/language-tr.cpp index cf51bb7e..013bd089 100644 --- a/language-tr.cpp +++ b/language-tr.cpp @@ -369,7 +369,6 @@ S("heptagonal game board", "yedigensel tahta") S("triangular game board", "üçgensel tahta") S("HyperRogue game board", "HyperRogue tahta") S("first page [Space]", "ilk sayfa [Space]") -S("exit configuration", "ayarlardan çık") S("Configuration:", "AYARLAR:") S("video resolution", "çözünürlük") S("fullscreen mode", "tam ekran modu") @@ -396,7 +395,6 @@ S("use Shift to decrease and Ctrl to fine tune ", "Shift'le azalt, Ctrl ile ince S("(e.g. Shift+Ctrl+Z)", " (Meselâ Shift+Ctrl+Z)") S("the second page [Space]", "ikinci sayfa [Space]") S("special features [Space]", "özel seçenekler [Space]") -S("exit configuration", "ayarlardan çık.") S("see the help screen", "yardım ekranına bak.") S("save the current config", "mevcut ayarları kaydet") S("(v) config", "(v) ayarlar") @@ -2731,7 +2729,6 @@ S("paper model creator", "kâğıt modeli üreticisi") S("synchronize net and map", "haritayı ve ağı eşle") S("display the scope", "odağı göster") S("create the model", "modeli üret") -S("back to HyperRogue", "HyperRogue'a geri dön") S("design the net", "ağı tasarla") S("The paper model created as papermodel-*.bmp", "Kâğıt model papermodel-*.bmp şeklinde üretildi")