mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-24 16:07:07 +00:00
deconfused translation checker
This commit is contained in:
parent
a79a7f63a1
commit
7802194248
@ -1878,7 +1878,7 @@ EX void menuitem_sightrange_bonus(char c) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
EX void edit_sightrange_3d(char key, bool fog) {
|
EX void edit_sightrange_3d(char key, bool fog) {
|
||||||
dialog::addSelItem(XLAT(fog ? "3D sight range for the fog effect" : "3D sight range"), fts(sightranges[geometry]), key);
|
dialog::addSelItem(fog ? XLAT("3D sight range for the fog effect") : ("3D sight range"), fts(sightranges[geometry]), key);
|
||||||
dialog::add_action([] {
|
dialog::add_action([] {
|
||||||
dialog::editNumber(sightranges[geometry], 0, TAU, 0.5, M_PI, XLAT("3D sight range"),
|
dialog::editNumber(sightranges[geometry], 0, TAU, 0.5, M_PI, XLAT("3D sight range"),
|
||||||
XLAT(
|
XLAT(
|
||||||
@ -3821,7 +3821,8 @@ void list_setting::show_edit_option(int key) {
|
|||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
|
|
||||||
if(need_list >= 1 && options[get_value()].second != "") {
|
if(need_list >= 1 && options[get_value()].second != "") {
|
||||||
dialog::addHelp(XLAT(options[get_value()].second));
|
string text = options[get_value()].second;
|
||||||
|
dialog::addHelp(XLAT(text));
|
||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
}
|
}
|
||||||
dialog::addBack();
|
dialog::addBack();
|
||||||
|
@ -788,7 +788,7 @@ EX void show_portals() {
|
|||||||
dialog::add_action([cw] { unconnected.push_back(cw); });
|
dialog::add_action([cw] { unconnected.push_back(cw); });
|
||||||
dialog::start_list(500, 500, '1');
|
dialog::start_list(500, 500, '1');
|
||||||
for(auto p: unconnected) {
|
for(auto p: unconnected) {
|
||||||
dialog::addItem(XLAT("connect " + lalign(0, p)), dialog::list_fake_key++);
|
dialog::addItem(XLAT("connect ") + lalign(0, p), dialog::list_fake_key++);
|
||||||
dialog::add_action([p, cw] {
|
dialog::add_action([p, cw] {
|
||||||
connect_portal(cw, p, edit_spin);
|
connect_portal(cw, p, edit_spin);
|
||||||
mapeditor::map_version++;
|
mapeditor::map_version++;
|
||||||
|
@ -924,7 +924,7 @@ EX void load_official_track() {
|
|||||||
void track_chooser(bool official) {
|
void track_chooser(bool official) {
|
||||||
cmode = sm::NOSCR;
|
cmode = sm::NOSCR;
|
||||||
gamescreen();
|
gamescreen();
|
||||||
dialog::init(XLAT(official ? "Official tracks" : "Generate a racing track"));
|
dialog::init(official ? XLAT("play on an official track") : XLAT("generate a random track"));
|
||||||
|
|
||||||
map<char, eLand> landmap;
|
map<char, eLand> landmap;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user