From a6a8e5430a64f89cc2809fd9d2feb1558e9fd995 Mon Sep 17 00:00:00 2001 From: Arthur O'Dwyer Date: Tue, 29 Jun 2021 06:26:40 -0400 Subject: [PATCH] Fix some low-hanging translation bugs. --- language-cz.cpp | 14 ++++++++------ language-pl.cpp | 9 ++++----- language-ptbr.cpp | 2 +- language-ru.cpp | 2 +- language-tr.cpp | 2 +- menus.cpp | 2 +- vr.cpp | 2 +- 7 files changed, 17 insertions(+), 16 deletions(-) diff --git a/language-cz.cpp b/language-cz.cpp index d01b05f6..f17fddac 100644 --- a/language-cz.cpp +++ b/language-cz.cpp @@ -8948,7 +8948,7 @@ S( "If the pointer length is 0.5m, the object pointed to is 0.5 meter from the controller. " "This is used in situations where the controller is used as a 3D mouse, e.g., " "the drawing tool in three-dimensional geometries. When pointing at two-dimensional surfaces, " - "this is not relevant (the pointer is as long as needed to hit the surface.)", + "this is not relevant (the pointer is as long as needed to hit the surface).", "Pokud je délka ukazatele 0,5 m, je objekt, na který ukazuje, 0,5 metru od ovladače. " "To se používá v situacích, kdy se ovladač používá jako 3D myš, např. " @@ -9050,11 +9050,7 @@ S( "x, y, z (hyperboloid/sphere/plane coordinates in non-crystal geometries)\n" "ex, ey, ez (in Euclidean geometries)\n" "x0, x1, x2... (crystal geometry only)\n" - "0 is black, 1 is white, rgb(1,0,0) is red, ifp(p-2,1,0) is blue (p=1 for red, 2 for green, 3 for blue)." - - "w (fourth coordinate)\n" - "wallif(condition, color)\n" - , + "0 is black, 1 is white, rgb(1,0,0) is red, ifp(p-2,1,0) is blue (p=1 for red, 2 for green, 3 for blue).", "Zde můžeš specifikovat barevný vzor jako funkci políčka. " "Dostupné parametry:\n\n" @@ -9062,6 +9058,12 @@ S( "ex, ey, ez (v eukleidovských geometriích)\n" "x0, x1, x2... (pouze v krystalové geometrii)\n" "0 je černá, 1 bílá, rbg(1,0,0) červená, ifp(p-2,1,0) modrá (p=1 pro červenou, 2 pro zelenou, 3 pro modrou)." + ) + +S( + "w (fourth coordinate)\n" + "wallif(condition, color)\n", + "w (čtvrtá souřadnice)\n" "wallif(podmínka, barva)\n" ) diff --git a/language-pl.cpp b/language-pl.cpp index c0e3edf0..45403d78 100644 --- a/language-pl.cpp +++ b/language-pl.cpp @@ -340,7 +340,7 @@ S("Your score: %1", "Twój wynik: %1") S("Enemies killed: %1", "Potwory pokonane: %1") S("Orbs of Yendor found: %1", "Znalezione Sfery Yendoru: %1") S("Collect %1 $$$ to access more worlds", "Znajdź %1 $$$, by iść do nowych krain") -S("Collect at least %1 treasures in each of 9 types to access Hell", "Znajdź po %1 skarbów w %2 typach, by się dostać do Piekła") +S("Collect at least %1 treasures in each of %2 types to access Hell", "Znajdź po %1 skarbów w %2 typach, by się dostać do Piekła") S("Collect at least %1 Demon Daisies to find the Orbs of Yendor", "Znajdź %1 Czarciego Ziela, by znaleźć Sfery Yendoru") S("Hyperstone Quest: collect at least %3 %1 in %the2", "Misja alternatywna: znajdź co najmniej %3 skarbów %abl2") S("Hyperstone Quest completed!", "Misja alternatywna zakończona!") @@ -1693,7 +1693,7 @@ S("Hell has these lakes everywhere... They are shaped like evil stars, and fille S("hardcore mode", "tryb hardcore") -S("One wrong move, and it is game over!", "Jeden fałszywy ruch i koniec gry!") +S("One wrong move and it is game over!", "Jeden fałszywy ruch i koniec gry!") S("Not so hardcore?", "Hardkor to nie to?") // Shoot'em up Mode @@ -8667,7 +8667,7 @@ S( "If the pointer length is 0.5m, the object pointed to is 0.5 meter from the controller. " "This is used in situations where the controller is used as a 3D mouse, e.g., " "the drawing tool in three-dimensional geometries. When pointing at two-dimensional surfaces, " - "this is not relevant (the pointer is as long as needed to hit the surface.).", + "this is not relevant (the pointer is as long as needed to hit the surface).", "Jeśli długość wskaźnika to 0.5m, wskazywany punkt jest 0.5 metra od kontrolera. " "Ma to znaczenie, gdy kontroler jest używany jako mysz 3D, np. narzędzie do rysowania w " @@ -8781,8 +8781,7 @@ S( S( "w (fourth coordinate)\n" - "wallif(condition, color)\n" - , + "wallif(condition, color)\n", "w (czwarta współrzędna)\n" "wallif(warunek, kolor)\n" diff --git a/language-ptbr.cpp b/language-ptbr.cpp index 64d8f63d..73849129 100644 --- a/language-ptbr.cpp +++ b/language-ptbr.cpp @@ -343,7 +343,7 @@ S("Your score: %1", "Sua pontuação: %1") S("Enemies killed: %1", "Inimigos mortos: %1") S("Orbs of Yendor found: %1", "Orbes de Yendor encontrados: %1") S("Collect %1 $$$ to access more worlds", "Colete %1 $$$, para acessar novos mundos") -S("Collect at least %1 treasures in each of 9 types to access Hell", "Colete pelo menos %1 tesouros de cada um dos 9 tipos para acessar o Inferno") +S("Collect at least %1 treasures in each of %2 types to access Hell", "Colete pelo menos %1 tesouros de cada um dos %2 tipos para acessar o Inferno") S("Collect at least 10 Demon Daisies to find the Orbs of Yendor", "Colete pelo menos 10 Margaridas Demônio para encontrar os Orbes de Yendor") S("Hyperstone Quest: collect at least %3 %1 in %the2", "Missão da Pedra do Ímpeto: colete pelo menos %3 %1 no-a %abl1") S("Hyperstone Quest completed!", "Missão da Pedra do Ímpeto completa!") diff --git a/language-ru.cpp b/language-ru.cpp index f7089e7b..0918a139 100644 --- a/language-ru.cpp +++ b/language-ru.cpp @@ -342,7 +342,7 @@ S("Your score: %1", "Ваш счёт: %1") S("Enemies killed: %1", "Врагов убито: %1") S("Orbs of Yendor found: %1", "Собрано сфер Йендора: %1") S("Collect %1 $$$ to access more worlds", "Соберите %1 $$$, чтобы открыть новые земли") -S("Collect at least %1 treasures in each of 9 types to access Hell", "Соберите хотя бы по %1 сокровищ %2 разных типов, чтобы попасть в Ад") +S("Collect at least %1 treasures in each of %2 types to access Hell", "Соберите хотя бы по %1 сокровищ %2 разных типов, чтобы попасть в Ад") S("Collect at least %1 Demon Daisies to find the Orbs of Yendor", "Соберите %1 адских ромашек, чтобы найти сферу Йендора") S("Hyperstone Quest: collect at least %3 %1 in %the2", "Миссия Гиперкамня: соберите %3 драгоценностей в %abl2") S("Hyperstone Quest completed!", "Миссия Гиперкамня закончена!") diff --git a/language-tr.cpp b/language-tr.cpp index 84fd7893..f45d65af 100644 --- a/language-tr.cpp +++ b/language-tr.cpp @@ -322,7 +322,7 @@ S("Enemies killed: %1", "Öldürülen Düşmanlar: %1") S("Orbs of Yendor found: %1", "Bulunan Yendor Küresi sayısı: %1") S("Collect %1 $$$ to access more worlds", "%1 $$$ toplayarak başka dünyalara eriş") // S("Collect %1 $$$ to access R'Lyeh and Dry Forest", "60 $$$ toplayarak R'Lyeh ve Kara Ormana eriş.") -S("Collect at least %1 treasures in each of 9 types to access Hell", "%2 hazine çeşidinin hepsinden %1'ar tane toplayarak Cehenneme erişebilirsin.") +S("Collect at least %1 treasures in each of %2 types to access Hell", "%2 hazine çeşidinin hepsinden %1'ar tane toplayarak Cehenneme erişebilirsin.") S("Collect at least %1 Demon Daisies to find the Orbs of Yendor", "%1 Şeytan Papatyası toplayarak Yendorun Kürelerini bulabilirsin.") S("Hyperstone Quest: collect at least %3 %1 in %the2", "Aşkıntaş Görevi: %2'de en az %3 hazine topla.") S("Hyperstone Quest completed!", "Aşkıntaş görevi tamamlandı.") diff --git a/menus.cpp b/menus.cpp index e9e76608..3a3731d4 100644 --- a/menus.cpp +++ b/menus.cpp @@ -398,7 +398,7 @@ EX void switchHardcore() { else if(hardcore && canmove) { hardcore = false; } else { hardcore = true; canmove = true; hardcoreAt = turncount; } if(hardcore) - addMessage(XLAT("One wrong move, and it is game over!")); + addMessage(XLAT("One wrong move and it is game over!")); else addMessage(XLAT("Not so hardcore?")); if(pureHardcore()) popScreenAll(); diff --git a/vr.cpp b/vr.cpp index 424779a3..6ef99d7d 100644 --- a/vr.cpp +++ b/vr.cpp @@ -1336,7 +1336,7 @@ EX void show_vr_settings() { "If the pointer length is 0.5m, the object pointed to is 0.5 meter from the controller. " "This is used in situations where the controller is used as a 3D mouse, e.g., " "the drawing tool in three-dimensional geometries. When pointing at two-dimensional surfaces, " - "this is not relevant (the pointer is as long as needed to hit the surface.)." + "this is not relevant (the pointer is as long as needed to hit the surface)." )); });