From 243c3ffcd40d5a787f91c537b37c785d6fa6b097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=C5=81api=C5=84ski?= Date: Fri, 17 Mar 2023 04:07:52 +0100 Subject: [PATCH] items.cpp: fix inconsistent localization for miscellanous items (#5890) * Update line 'Right-click to read, then left-click to target' * Update line 'Select from spell book, then\n cast spell to read' across languages --- Source/items.cpp | 2 +- Translations/bg.po | 17 +++++------------ Translations/cs.po | 16 ++++------------ Translations/da.po | 17 ++++------------- Translations/de.po | 16 ++++------------ Translations/devilutionx.pot | 13 ++----------- Translations/el.po | 16 ++++------------ Translations/es.po | 2 +- Translations/fr.po | 17 +++++------------ Translations/hr.po | 16 ++++------------ Translations/it.po | 2 +- Translations/ja.po | 2 +- Translations/ko.po | 16 ++++------------ Translations/pl.po | 16 ++++------------ Translations/pt_BR.po | 16 ++++------------ Translations/ro.po | 18 ++++-------------- Translations/ru.po | 16 ++++------------ Translations/sv.po | 16 ++++------------ Translations/uk.po | 2 +- Translations/zh_CN.po | 16 ++++------------ Translations/zh_TW.po | 18 ++++-------------- 21 files changed, 69 insertions(+), 201 deletions(-) diff --git a/Source/items.cpp b/Source/items.cpp index fdd9a8256..c8f2ccbb3 100644 --- a/Source/items.cpp +++ b/Source/items.cpp @@ -1762,7 +1762,7 @@ void printItemMiscGenericGamepad(const Item &item, const bool isOil, bool isCast AddPanelString(_("Activate to use")); } } else if (isCastOnTarget) { - AddPanelString(_("Select from spell book, then\ncast to read")); + AddPanelString(_("Select from spell book, then\ncast spell to read")); } else if (IsAnyOf(item._iMiscId, IMISC_BOOK, IMISC_NOTE, IMISC_SCROLL, IMISC_SCROLLT)) { AddPanelString(_("Activate to read")); } diff --git a/Translations/bg.po b/Translations/bg.po index 6c28c54d9..c3c3a9b16 100644 --- a/Translations/bg.po +++ b/Translations/bg.po @@ -4004,12 +4004,9 @@ msgid "Right-click to read" msgstr "Десен клик за прочитане" #: Source/items.cpp:1814 Source/items.cpp:1835 -msgid "Select from spell book, then" -msgstr "Изберете от книгата със заклинания," - -#: Source/items.cpp:1815 Source/items.cpp:1836 -msgid "cast spell to read" -msgstr "след това изричане на заклинанието за прочит " +msgid "Select from spell book, then\ncast spell to read" +msgstr "Изберете от книгата със заклинания,\nслед това изричане на " +"заклинанието за прочит" #: Source/items.cpp:1817 Source/items.cpp:1838 Source/items.cpp:1852 msgid "Open inventory to use" @@ -4020,12 +4017,8 @@ msgid "Activate to read" msgstr "Активиране за прочит" #: Source/items.cpp:1825 -msgid "Right-click to read, then" -msgstr "Десен клик за прочитане, " - -#: Source/items.cpp:1826 -msgid "left-click to target" -msgstr "следван от ляв клик върху цел" +msgid "Right-click to read, then\nleft-click to target" +msgstr "Десен клик за прочитане,\nследван от ляв клик върху цел" #: Source/items.cpp:1849 msgid "Right-click to use" diff --git a/Translations/cs.po b/Translations/cs.po index b36db4179..ca13f5e15 100644 --- a/Translations/cs.po +++ b/Translations/cs.po @@ -3996,12 +3996,8 @@ msgid "Right-click to read" msgstr "Přečtení - klikni Pravým" #: Source/items.cpp:1814 Source/items.cpp:1835 -msgid "Select from spell book, then" -msgstr "Vyber si z knihy kouzel, a poté" - -#: Source/items.cpp:1815 Source/items.cpp:1836 -msgid "cast spell to read" -msgstr "vyčaruj kouzlo pro přečtení" +msgid "Select from spell book, then\ncast spell to read" +msgstr "Vyber si z knihy kouzel, a poté\nvyčaruj kouzlo pro přečtení" #: Source/items.cpp:1817 Source/items.cpp:1838 Source/items.cpp:1852 msgid "Open inventory to use" @@ -4012,12 +4008,8 @@ msgid "Activate to read" msgstr "Aktivuj pro přečtení" #: Source/items.cpp:1825 -msgid "Right-click to read, then" -msgstr "Přečtení - klikni Pravým, poté" - -#: Source/items.cpp:1826 -msgid "left-click to target" -msgstr "klikni Levým na cíl" +msgid "Right-click to read, then\nleft-click to target" +msgstr "Přečtení - klikni Pravým, poté\nklikni Levým na cíl" #: Source/items.cpp:1849 msgid "Right-click to use" diff --git a/Translations/da.po b/Translations/da.po index 8bf6d9aa5..ab9f2156e 100644 --- a/Translations/da.po +++ b/Translations/da.po @@ -4212,12 +4212,8 @@ msgid "Right-click to read" msgstr "Skrivebeskyttet mappe fejl" #: Source/items.cpp:1814 Source/items.cpp:1835 -msgid "Select from spell book, then" -msgstr "" - -#: Source/items.cpp:1815 Source/items.cpp:1836 -msgid "cast spell to read" -msgstr "" +msgid "Select from spell book, then\ncast spell to read" +msgstr "Vælg fra stavebog, og\nkast derefter stave for at læse" #: Source/items.cpp:1817 Source/items.cpp:1838 Source/items.cpp:1852 msgid "Open inventory to use" @@ -4228,13 +4224,8 @@ msgid "Activate to read" msgstr "" #: Source/items.cpp:1825 -#, fuzzy -msgid "Right-click to read, then" -msgstr "Skrivebeskyttet mappe fejl" - -#: Source/items.cpp:1826 -msgid "left-click to target" -msgstr "" +msgid "Right-click to read, then\nleft-click to target" +msgstr "Højreklik for at læse, og\nvenstreklik derefter for at målrette" #: Source/items.cpp:1849 msgid "Right-click to use" diff --git a/Translations/de.po b/Translations/de.po index e05ff0fc6..ca1d6d4c0 100644 --- a/Translations/de.po +++ b/Translations/de.po @@ -4002,12 +4002,8 @@ msgid "Right-click to read" msgstr "Rechtsklick zum Lesen" #: Source/items.cpp:1814 Source/items.cpp:1835 -msgid "Select from spell book, then" -msgstr "Aus dem Zauberbuch wählen, dann" - -#: Source/items.cpp:1815 Source/items.cpp:1836 -msgid "cast spell to read" -msgstr "Zaubern zum Lesen" +msgid "Select from spell book, then\ncast spell to read" +msgstr "Aus dem Zauberbuch wählen, dann\nZaubern zum Lesen" #: Source/items.cpp:1817 Source/items.cpp:1838 Source/items.cpp:1852 msgid "Open inventory to use" @@ -4018,12 +4014,8 @@ msgid "Activate to read" msgstr "Linksklick zum Lesen" #: Source/items.cpp:1825 -msgid "Right-click to read, then" -msgstr "Rechtsklick zum Lesen, dann" - -#: Source/items.cpp:1826 -msgid "left-click to target" -msgstr "Linksklick zum Zielen" +msgid "Right-click to read, then\nleft-click to target" +msgstr "Rechtsklick zum Lesen, dann Linksklick zum Zielen" #: Source/items.cpp:1849 msgid "Right-click to use" diff --git a/Translations/devilutionx.pot b/Translations/devilutionx.pot index 4d7193b4b..7e133c217 100644 --- a/Translations/devilutionx.pot +++ b/Translations/devilutionx.pot @@ -3845,19 +3845,10 @@ msgid "Activate to read" msgstr "" #: Source/items.cpp:1837 -msgid "Right-click to read, then" -msgstr "" - -#: Source/items.cpp:1838 -msgid "left-click to target" -msgstr "" +msgid "Right-click to read, then\nleft-click to target" #: Source/items.cpp:1841 -msgid "Select from spell book, then" -msgstr "" - -#: Source/items.cpp:1842 -msgid "cast spell to read" +msgid "Select from spell book, then\ncast spell to read" msgstr "" #: Source/items.cpp:1855 diff --git a/Translations/el.po b/Translations/el.po index 2029280de..3b9388ae4 100644 --- a/Translations/el.po +++ b/Translations/el.po @@ -4040,20 +4040,12 @@ msgid "Activate to read" msgstr "" #: Source/items.cpp:1822 -msgid "Right-click to read, then" -msgstr "Δεξί-κλικ για διάβασμα, και" - -#: Source/items.cpp:1823 -msgid "left-click to target" -msgstr "αριστερό-κλικ στον στόχο" +msgid "Right-click to read, then\nleft-click to target" +msgstr "Δεξί-κλικ για διάβασμα, και\nαριστερό-κλικ στον στόχο" #: Source/items.cpp:1826 -msgid "Select from spell book, then" -msgstr "" - -#: Source/items.cpp:1827 -msgid "cast spell to read" -msgstr "" +msgid "Select from spell book, then\ncast spell to read" +msgstr "Επιλέξτε από το βιβλίο με τα ξόρκια και μετά\nκάντε ξόρκι για ανάγνωση" #: Source/items.cpp:1840 msgid "Right-click to use" diff --git a/Translations/es.po b/Translations/es.po index 2bc4c5fc3..2fa9fb010 100644 --- a/Translations/es.po +++ b/Translations/es.po @@ -4290,7 +4290,7 @@ msgstr "Activar para usar" #: Source/items.cpp:1743 msgid "" "Select from spell book, then\n" -"cast to read" +"cast spell to read" msgstr "" "Seleccione del libro de hechizos, luego\n" "lance para leer" diff --git a/Translations/fr.po b/Translations/fr.po index 9d5619869..2801331b3 100644 --- a/Translations/fr.po +++ b/Translations/fr.po @@ -4020,20 +4020,13 @@ msgid "Activate to read" msgstr "Activer pour lire" #: Source/items.cpp:1794 -msgid "Right-click to read, then" -msgstr "Clic-droit pour lire, puis" - -#: Source/items.cpp:1795 -msgid "left-click to target" -msgstr "clic-gauche pour la cible" +msgid "Right-click to read, then\nleft-click to target" +msgstr "Clic-droit pour lire, puis\nclic-gauche pour la cible" #: Source/items.cpp:1798 -msgid "Select from spell book, then" -msgstr "Sélectionner depuis le livre des sorts, puis" - -#: Source/items.cpp:1799 -msgid "cast spell to read" -msgstr "lancer le sort pour le lire" +msgid "Select from spell book, then\ncast spell to read" +msgstr "Sélectionner depuis le livre des sorts, puis\nlancer le sort pour " +"le lire" #: Source/items.cpp:1812 msgid "Right-click to use" diff --git a/Translations/hr.po b/Translations/hr.po index 12377b2e1..94a3e82a1 100644 --- a/Translations/hr.po +++ b/Translations/hr.po @@ -4024,20 +4024,12 @@ msgid "Activate to read" msgstr "Aktiviraj za čitanje" #: Source/items.cpp:1798 -msgid "Right-click to read, then" -msgstr "Desno klikni za čitanje, zatim" - -#: Source/items.cpp:1799 -msgid "left-click to target" -msgstr "lijevo klikni na metu" +msgid "Right-click to read, then\nleft-click to target" +msgstr "Desno klikni za čitanje, zatim\nlijevo klikni na metu" #: Source/items.cpp:1802 -msgid "Select from spell book, then" -msgstr "Odaberi iz knjige čarolije, zatim" - -#: Source/items.cpp:1803 -msgid "cast spell to read" -msgstr "bacite čaroliju za čitanje" +msgid "Select from spell book, then\ncast spell to read" +msgstr "Odaberi iz knjige čarolije, zatim\nbacite čaroliju za čitanje" #: Source/items.cpp:1816 msgid "Right-click to use" diff --git a/Translations/it.po b/Translations/it.po index c363b8292..f14671a33 100644 --- a/Translations/it.po +++ b/Translations/it.po @@ -4289,7 +4289,7 @@ msgstr "Attiva per usare" #: Source/items.cpp:1765 msgid "" "Select from spell book, then\n" -"cast to read" +"cast spell to read" msgstr "" "Seleziona dal libro di magia, poi\n" "lancia per leggere" diff --git a/Translations/ja.po b/Translations/ja.po index 9da741023..cf1f99b75 100644 --- a/Translations/ja.po +++ b/Translations/ja.po @@ -4242,7 +4242,7 @@ msgstr "アクティベート​し​て​使う" #: Source/items.cpp:1764 msgid "" "Select from spell book, then\n" -"cast to read" +"cast spell to read" msgstr "" "スペル​ブック​から​選択​し​\n" "​読ん​で​キャスト" diff --git a/Translations/ko.po b/Translations/ko.po index 074ceb5c4..92a033e13 100644 --- a/Translations/ko.po +++ b/Translations/ko.po @@ -3988,20 +3988,12 @@ msgstr "활성화해서 읽기" # 조합 방식 확인 필요 #: Source/items.cpp:1837 -msgid "Right-click to read, then" -msgstr "우클릭으로 읽고" - -#: Source/items.cpp:1838 -msgid "left-click to target" -msgstr "좌클릭으로 목표 지정" +msgid "Right-click to read, then\nleft-click to target" +msgstr "우클릭으로 읽고\n좌클릭으로 목표 지정" #: Source/items.cpp:1841 -msgid "Select from spell book, then" -msgstr "주문서에서 선택 후" - -#: Source/items.cpp:1842 -msgid "cast spell to read" -msgstr "주문 시전" +msgid "Select from spell book, then\ncast spell to read" +msgstr "주문서에서 선택 후\n주문 시전" #: Source/items.cpp:1855 msgid "Right-click to use" diff --git a/Translations/pl.po b/Translations/pl.po index 71d997ab4..31e15ea4a 100644 --- a/Translations/pl.po +++ b/Translations/pl.po @@ -4003,20 +4003,12 @@ msgid "Activate to read" msgstr "Aktywuj, aby przeczytać" #: Source/items.cpp:1837 -msgid "Right-click to read, then" -msgstr "PPM by odczytać, następnie" - -#: Source/items.cpp:1838 -msgid "left-click to target" -msgstr "LPM na cel" +msgid "Right-click to read, then\nleft-click to target" +msgstr "PPM by odczytać, następnie\nLPM na cel" #: Source/items.cpp:1841 -msgid "Select from spell book, then" -msgstr "Wybierz z księgi zaklęć, a następnie" - -#: Source/items.cpp:1842 -msgid "cast spell to read" -msgstr "rzuć zaklęcie, aby przeczytać" +msgid "Select from spell book, then\ncast spell to read" +msgstr "Wybierz z księgi zaklęć, a następnie\nrzuć zaklęcie, aby przeczytać" #: Source/items.cpp:1855 msgid "Right-click to use" diff --git a/Translations/pt_BR.po b/Translations/pt_BR.po index 36e3687ef..e673c580e 100644 --- a/Translations/pt_BR.po +++ b/Translations/pt_BR.po @@ -4005,12 +4005,8 @@ msgid "Right-click to read" msgstr "Clique direito para ler" #: Source/items.cpp:1814 Source/items.cpp:1835 -msgid "Select from spell book, then" -msgstr "Selecionar feitiço atual, então" - -#: Source/items.cpp:1815 Source/items.cpp:1836 -msgid "cast spell to read" -msgstr "lance o feitiço para ler" +msgid "Select from spell book, then\ncast spell to read" +msgstr "Selecionar feitiço atual, então\nlance o feitiço para ler" #: Source/items.cpp:1817 Source/items.cpp:1838 Source/items.cpp:1852 #, fuzzy @@ -4023,12 +4019,8 @@ msgid "Activate to read" msgstr "Ative para ler" #: Source/items.cpp:1825 -msgid "Right-click to read, then" -msgstr "Clique direito para ler e então" - -#: Source/items.cpp:1826 -msgid "left-click to target" -msgstr "clique esquerdo para golpear" +msgid "Right-click to read, then\nleft-click to target" +msgstr "Clique direito para ler e então\nclique esquerdo para golpear" #: Source/items.cpp:1849 msgid "Right-click to use" diff --git a/Translations/ro.po b/Translations/ro.po index 33bfbb9fe..f4bb66454 100644 --- a/Translations/ro.po +++ b/Translations/ro.po @@ -4088,14 +4088,8 @@ msgid "Right-click to read" msgstr "Clic-dreapta citire" #: Source/items.cpp:1814 Source/items.cpp:1835 -#, fuzzy -#| msgid "Select current spell button" -msgid "Select from spell book, then" -msgstr "Selectați buton curent de vrajă" - -#: Source/items.cpp:1815 Source/items.cpp:1836 -msgid "cast spell to read" -msgstr "" +msgid "Select from spell book, then\ncast spell to read" +msgstr "Selectați din cartea de vrăji, apoi\nvrăjiți pentru a citi" #: Source/items.cpp:1817 Source/items.cpp:1838 Source/items.cpp:1852 #, fuzzy @@ -4108,12 +4102,8 @@ msgid "Activate to read" msgstr "" #: Source/items.cpp:1825 -msgid "Right-click to read, then" -msgstr "Clic-dreapta citire, și apoi" - -#: Source/items.cpp:1826 -msgid "left-click to target" -msgstr "clic-stânga țintire" +msgid "Right-click to read, then\nleft-click to target" +msgstr "Clic-dreapta citire, și apoi\nclic-stânga țintire" #: Source/items.cpp:1849 msgid "Right-click to use" diff --git a/Translations/ru.po b/Translations/ru.po index 99ad81532..bd8b4ba5a 100644 --- a/Translations/ru.po +++ b/Translations/ru.po @@ -4054,12 +4054,8 @@ msgstr "Правый клик для чтения" # Оставил именно этот вариант, так как полностью корректный перевод в игре выглядит глупо. #: Source/items.cpp:1814 Source/items.cpp:1835 -msgid "Select from spell book, then" -msgstr "Выберите в книге заклинаний, затем" - -#: Source/items.cpp:1815 Source/items.cpp:1836 -msgid "cast spell to read" -msgstr "произнесите заклинание для чтения" +msgid "Select from spell book, then\ncast spell to read" +msgstr "Выберите в книге заклинаний, затем\nпроизнесите заклинание для чтения" #: Source/items.cpp:1817 Source/items.cpp:1838 Source/items.cpp:1852 msgid "Open inventory to use" @@ -4070,12 +4066,8 @@ msgid "Activate to read" msgstr "Активируйте для чтения" #: Source/items.cpp:1825 -msgid "Right-click to read, then" -msgstr "Правый клик для чтения, затем" - -#: Source/items.cpp:1826 -msgid "left-click to target" -msgstr "левый клик по цели" +msgid "Right-click to read, then\nleft-click to target" +msgstr "Правый клик для чтения, затем\nлевый клик по цели" #: Source/items.cpp:1849 msgid "Right-click to use" diff --git a/Translations/sv.po b/Translations/sv.po index 3a4dbd560..504689b1c 100644 --- a/Translations/sv.po +++ b/Translations/sv.po @@ -3997,12 +3997,8 @@ msgid "Right-click to read" msgstr "Högerklicka för att läsa" #: Source/items.cpp:1814 Source/items.cpp:1835 -msgid "Select from spell book, then" -msgstr "Välj från magibok, därefter" - -#: Source/items.cpp:1815 Source/items.cpp:1836 -msgid "cast spell to read" -msgstr "använd trollformel för att läsa" +msgid "Select from spell book, then\ncast spell to read" +msgstr "Välj från magibok, därefter\nanvänd trollformel för att läsa" #: Source/items.cpp:1817 Source/items.cpp:1838 Source/items.cpp:1852 msgid "Open inventory to use" @@ -4013,12 +4009,8 @@ msgid "Activate to read" msgstr "Aktivera för att läsa" #: Source/items.cpp:1825 -msgid "Right-click to read, then" -msgstr "Högerklicka för att läsa, därefter" - -#: Source/items.cpp:1826 -msgid "left-click to target" -msgstr "vänsterklicka för att ange mål" +msgid "Right-click to read, then\nleft-click to target" +msgstr "Högerklicka för att läsa, därefter\nvänsterklicka för att ange mål" #: Source/items.cpp:1849 msgid "Right-click to use" diff --git a/Translations/uk.po b/Translations/uk.po index fcf393bef..9b58cb767 100644 --- a/Translations/uk.po +++ b/Translations/uk.po @@ -4276,7 +4276,7 @@ msgstr "Активуйте щоб використати" #: Source/items.cpp:1765 msgid "" "Select from spell book, then\n" -"cast to read" +"cast spell to read" msgstr "" "Виберіть з книги чарувань, а потім\n" "чаруйте, щоб прочитати" diff --git a/Translations/zh_CN.po b/Translations/zh_CN.po index 93954deae..f66929e5f 100644 --- a/Translations/zh_CN.po +++ b/Translations/zh_CN.po @@ -3956,12 +3956,8 @@ msgid "Right-click to read" msgstr "右击​阅读" #: Source/items.cpp:1814 Source/items.cpp:1835 -msgid "Select from spell book, then" -msgstr "从​法术​书​中​选择,之后" - -#: Source/items.cpp:1815 Source/items.cpp:1836 -msgid "cast spell to read" -msgstr "施放​法术​进行​阅读" +msgid "Select from spell book, then\ncast spell to read" +msgstr "从​法术​书​中​选择,之后\n施放​法术​进行​阅读" #: Source/items.cpp:1817 Source/items.cpp:1838 Source/items.cpp:1852 msgid "Open inventory to use" @@ -3972,12 +3968,8 @@ msgid "Activate to read" msgstr "激活​阅读" #: Source/items.cpp:1825 -msgid "Right-click to read, then" -msgstr "右击​阅读,然后" - -#: Source/items.cpp:1826 -msgid "left-click to target" -msgstr "左击​目标" +msgid "Right-click to read, then\nleft-click to target" +msgstr "右击​阅读,然后\n左击​目标" #: Source/items.cpp:1849 msgid "Right-click to use" diff --git a/Translations/zh_TW.po b/Translations/zh_TW.po index 2e9fe6671..ec2540323 100644 --- a/Translations/zh_TW.po +++ b/Translations/zh_TW.po @@ -4083,14 +4083,8 @@ msgid "Right-click to read" msgstr "右​擊閱讀" #: Source/items.cpp:1814 Source/items.cpp:1835 -#, fuzzy -#| msgid "Select current spell button" -msgid "Select from spell book, then" -msgstr "選​擇​目前​法術​按​鈕" - -#: Source/items.cpp:1815 Source/items.cpp:1836 -msgid "cast spell to read" -msgstr "" +msgid "Select from spell book, then\ncast spell to read" +msgstr "從拼寫書中選擇​, 然後\n施放拼寫來閱讀" #: Source/items.cpp:1817 Source/items.cpp:1838 Source/items.cpp:1852 msgid "Open inventory to use" @@ -4101,12 +4095,8 @@ msgid "Activate to read" msgstr "" #: Source/items.cpp:1825 -msgid "Right-click to read, then" -msgstr "右​擊​閱讀,然​後" - -#: Source/items.cpp:1826 -msgid "left-click to target" -msgstr "左​擊目標" +msgid "Right-click to read, then\nleft-click to target" +msgstr "右​擊​閱讀, 然​後\n左​擊目標" #: Source/items.cpp:1849 msgid "Right-click to use"