mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-08 10:14:08 +00:00
added XLAT in some places where it was missing
This commit is contained in:
parent
928ab73fff
commit
a79a7f63a1
@ -2855,7 +2855,7 @@ EX void show3D() {
|
|||||||
|
|
||||||
#if MAXMDIM >=4
|
#if MAXMDIM >=4
|
||||||
if(WDIM == 2) {
|
if(WDIM == 2) {
|
||||||
dialog::addSelItem("3D style", geom3::spatial_embedding_options[shown_spatial_embedding()].first, 'E');
|
dialog::addSelItem(XLAT("3D style"), XLAT(geom3::spatial_embedding_options[shown_spatial_embedding()].first), 'E');
|
||||||
dialog::add_action_push(show_spatial_embedding);
|
dialog::add_action_push(show_spatial_embedding);
|
||||||
|
|
||||||
display_embedded_errors();
|
display_embedded_errors();
|
||||||
@ -2891,7 +2891,7 @@ EX void show3D() {
|
|||||||
|
|
||||||
dialog::addBreak(50);
|
dialog::addBreak(50);
|
||||||
add_edit(vid.wall_height);
|
add_edit(vid.wall_height);
|
||||||
dialog::addSelItem("height details", "", 'D');
|
dialog::addSelItem(XLAT("3D detailed settings"), "", 'D');
|
||||||
dialog::add_action_push(show3D_height_details);
|
dialog::add_action_push(show3D_height_details);
|
||||||
|
|
||||||
if(scale_used())
|
if(scale_used())
|
||||||
|
21
fake.cpp
21
fake.cpp
@ -724,11 +724,12 @@ EX void configure() {
|
|||||||
underlying_cgip = cgip;
|
underlying_cgip = cgip;
|
||||||
around = around_orig();
|
around = around_orig();
|
||||||
}
|
}
|
||||||
dialog::editNumber(around, 2.01, 10, 1, around, "fake curvature",
|
dialog::editNumber(around, 2.01, 10, 1, around, XLAT("fake curvature"),
|
||||||
|
XLAT(
|
||||||
"This feature lets you construct the same tiling, but "
|
"This feature lets you construct the same tiling, but "
|
||||||
"from shapes of different curvature.\n\n"
|
"from shapes of different curvature.\n\n"
|
||||||
"The number you give here is (2D) vertex degree or (3D) "
|
"The number you give here is (2D) vertex degree or (3D) "
|
||||||
"the number of cells around an edge.\n\n"
|
"the number of cells around an edge.\n\n")
|
||||||
);
|
);
|
||||||
if(fake::in())
|
if(fake::in())
|
||||||
dialog::get_di().reaction = change_around;
|
dialog::get_di().reaction = change_around;
|
||||||
@ -736,33 +737,33 @@ EX void configure() {
|
|||||||
dialog::get_di().reaction_final = change_around;
|
dialog::get_di().reaction_final = change_around;
|
||||||
dialog::get_di().extra_options = [] {
|
dialog::get_di().extra_options = [] {
|
||||||
ld e = compute_euclidean();
|
ld e = compute_euclidean();
|
||||||
dialog::addSelItem("Euclidean", fts(e), 'E');
|
dialog::addSelItem(XLAT("Euclidean"), fts(e), 'E');
|
||||||
dialog::add_action([e] {
|
dialog::add_action([e] {
|
||||||
around = e;
|
around = e;
|
||||||
popScreen();
|
popScreen();
|
||||||
change_around();
|
change_around();
|
||||||
});
|
});
|
||||||
|
|
||||||
dialog::addSelItem("original", fts(around_orig()), 'O');
|
dialog::addSelItem(XLAT("original"), fts(around_orig()), 'O');
|
||||||
dialog::add_action([] {
|
dialog::add_action([] {
|
||||||
around = around_orig();
|
around = around_orig();
|
||||||
popScreen();
|
popScreen();
|
||||||
change_around();
|
change_around();
|
||||||
});
|
});
|
||||||
|
|
||||||
dialog::addSelItem("double original", fts(2 * around_orig()), 'D');
|
dialog::addSelItem(XLAT("double original"), fts(2 * around_orig()), 'D');
|
||||||
dialog::add_action([] {
|
dialog::add_action([] {
|
||||||
around = 2 * around_orig();
|
around = 2 * around_orig();
|
||||||
popScreen();
|
popScreen();
|
||||||
change_around();
|
change_around();
|
||||||
});
|
});
|
||||||
|
|
||||||
dialog::addBoolItem_action("draw all if multiple of original", multiple_special_draw, 'M');
|
dialog::addBoolItem_action(XLAT("draw all if multiple of original"), multiple_special_draw, 'M');
|
||||||
dialog::addBoolItem_action("draw copies (2D only)", recursive_draw, 'C');
|
dialog::addBoolItem_action(XLAT("draw copies (2D only)"), recursive_draw, 'C');
|
||||||
|
|
||||||
dialog::addBoolItem_choice("unordered", ordered_mode, 0, 'U');
|
dialog::addBoolItem_choice(XLAT("unordered"), ordered_mode, 0, 'U');
|
||||||
dialog::addBoolItem_choice("pre-ordered", ordered_mode, 1, 'P');
|
dialog::addBoolItem_choice(XLAT("pre-ordered"), ordered_mode, 1, 'P');
|
||||||
dialog::addBoolItem_choice("post-ordered", ordered_mode, 2, 'Q');
|
dialog::addBoolItem_choice(XLAT("post-ordered"), ordered_mode, 2, 'Q');
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
18
menus.cpp
18
menus.cpp
@ -388,10 +388,10 @@ EX void show_chaos() {
|
|||||||
chaosUnlocked = chaosUnlocked || autocheat;
|
chaosUnlocked = chaosUnlocked || autocheat;
|
||||||
|
|
||||||
dialog::addHelp(
|
dialog::addHelp(
|
||||||
"In the Chaos mode, lands change very often, and "
|
XLAT("In the Chaos mode, lands change very often, and "
|
||||||
"there are no walls between them. "
|
"there are no walls between them. "
|
||||||
"Some lands are incompatible with this."
|
"Some lands are incompatible with this."
|
||||||
"\n\nYou need to reach Crossroads IV to unlock the Chaos mode."
|
"\n\nYou need to reach Crossroads IV to unlock the Chaos mode.")
|
||||||
);
|
);
|
||||||
|
|
||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
@ -422,17 +422,17 @@ EX void show_chaos() {
|
|||||||
|
|
||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
if(ineligible_starting_land)
|
if(ineligible_starting_land)
|
||||||
dialog::addInfo("this starting land is not eligible for achievements");
|
dialog::addInfo(XLAT("this starting land is not eligible for achievements"));
|
||||||
else if(land_structure == lsNiceWalls)
|
else if(land_structure == lsNiceWalls)
|
||||||
dialog::addInfo("eligible for most achievements");
|
dialog::addInfo(XLAT("eligible for most achievements"));
|
||||||
else if(land_structure == lsChaos)
|
else if(land_structure == lsChaos)
|
||||||
dialog::addInfo("eligible for Chaos mode achievements");
|
dialog::addInfo(XLAT("eligible for Chaos mode achievements"));
|
||||||
else if(land_structure == lsSingle)
|
else if(land_structure == lsSingle)
|
||||||
dialog::addInfo("eligible for special achievements");
|
dialog::addInfo(XLAT("eligible for special achievements"));
|
||||||
else
|
else
|
||||||
dialog::addInfo("not eligible for achievements");
|
dialog::addInfo(XLAT("not eligible for achievements"));
|
||||||
if(cheater) dialog::addInfo("(but the cheat mode is on)");
|
if(cheater) dialog::addInfo(XLAT("(but the cheat mode is on)"));
|
||||||
if(casual) dialog::addInfo("(but the casual mode is on)");
|
if(casual) dialog::addInfo(XLAT("(but the casual mode is on)"));
|
||||||
|
|
||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
if(ls::horodisk_structure())
|
if(ls::horodisk_structure())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user