1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00

score/kills on screen is translated now

This commit is contained in:
Zeno Rogue 2017-12-03 09:54:40 +01:00
parent c0fca6e665
commit 6d83664ba5
5 changed files with 11 additions and 3 deletions

View File

@ -499,7 +499,7 @@ void drawStats() {
string s0; string s0;
if(!peace::on) { if(!peace::on) {
if(displayButtonS(vid.xres - 8, vid.fsize, "score: " + its(gold()), forecolor, 16, vid.fsize)) { if(displayButtonS(vid.xres - 8, vid.fsize, XLAT("score: %1", its(gold())), forecolor, 16, vid.fsize)) {
mouseovers = XLAT("Your total wealth"), mouseovers = XLAT("Your total wealth"),
instat = true, instat = true,
getcstat = SDLK_F1, getcstat = SDLK_F1,
@ -512,7 +512,7 @@ void drawStats() {
"Orbs of Yendor are worth 50 $$$ each.\n\n" "Orbs of Yendor are worth 50 $$$ each.\n\n"
); );
} }
if(displayButtonS(8, vid.fsize, "kills: " + its(tkills()), forecolor, 0, vid.fsize)) { if(displayButtonS(8, vid.fsize, XLAT("kills: %1", its(tkills())), forecolor, 0, vid.fsize)) {
instat = true, instat = true,
getcstat = SDLK_F1, getcstat = SDLK_F1,
mouseovers = XLAT("Your total kills")+": " + its(tkills()), mouseovers = XLAT("Your total kills")+": " + its(tkills()),
@ -524,7 +524,7 @@ void drawStats() {
"but are not counted in the total kill count."); "but are not counted in the total kill count.");
} }
} }
if(displayButtonS(4, vid.yres - 4 - vid.fsize/2, s0+VER+ " fps: " + its(calcfps()), 0x202020, 0, vid.fsize/2)) { if(displayButtonS(4, vid.yres - 4 - vid.fsize/2, s0+VER+ XLAT(" fps: ") + its(calcfps()), 0x202020, 0, vid.fsize/2)) {
mouseovers = XLAT("frames per second"), mouseovers = XLAT("frames per second"),
getcstat = SDLK_F1, getcstat = SDLK_F1,
instat = true, instat = true,

View File

@ -6437,4 +6437,6 @@ S("This makes sense only in hyperbolic or Torus geometry.", "To dává smysl jen
#undef Orb #undef Orb
S("score: ", "skóre: ")
S("kills: ", "zabitých netvorů: ")

View File

@ -4004,3 +4004,5 @@ S("A petrified creature.", "Eine versteinerte Kreatur.")
#undef Orb #undef Orb
S("score: ", "punkte: ")
S("kills: ", "kills: ")

View File

@ -6290,4 +6290,6 @@ S("This makes sense only in hyperbolic or Torus geometry.", "To ma sens tylko w
// for the map editor // for the map editor
N("Dragon Head", GEN_F, "Głowa Smoka", "Głowy Smoka", "Głowę Smoka", "Głową Smoka") N("Dragon Head", GEN_F, "Głowa Smoka", "Głowy Smoka", "Głowę Smoka", "Głową Smoka")
S("score: ", "wynik: ")
S("kills: ", "zabicia: ")

View File

@ -6508,4 +6508,6 @@ S("This makes sense only in hyperbolic or Torus geometry.", "Имеет смыс
#undef Orb #undef Orb
S("score: ", "Очки: ")
S("kills: ", "Убийства: ")