Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable newly added translations #1826

Merged
merged 1 commit into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions app/app.pro
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ RC_LANGS.de = --lang LANG_GERMAN --sublang SUBLANG_NEUTRAL

EXTRA_TRANSLATIONS += \
$$PWD/../translations/pencil_ar.ts \
$$PWD/../translations/pencil_bg.ts \
$$PWD/../translations/pencil_ca.ts \
$$PWD/../translations/pencil_cs.ts \
$$PWD/../translations/pencil_da.ts \
Expand All @@ -29,13 +30,17 @@ EXTRA_TRANSLATIONS += \
$$PWD/../translations/pencil_en.ts \
$$PWD/../translations/pencil_es.ts \
$$PWD/../translations/pencil_et.ts \
$$PWD/../translations/pencil_fa.ts \
$$PWD/../translations/pencil_fr.ts \
$$PWD/../translations/pencil_he.ts \
$$PWD/../translations/pencil_hu_HU.ts \
$$PWD/../translations/pencil_id.ts \
$$PWD/../translations/pencil_it.ts \
$$PWD/../translations/pencil_ja.ts \
$$PWD/../translations/pencil_kab.ts \
$$PWD/../translations/pencil_ko.ts \
$$PWD/../translations/pencil_nb.ts \
$$PWD/../translations/pencil_nl_NL.ts \
$$PWD/../translations/pencil_pl.ts \
$$PWD/../translations/pencil_pt.ts \
$$PWD/../translations/pencil_pt_BR.ts \
Expand All @@ -44,6 +49,7 @@ EXTRA_TRANSLATIONS += \
$$PWD/../translations/pencil_sv.ts \
$$PWD/../translations/pencil_tr.ts \
$$PWD/../translations/pencil_vi.ts \
$$PWD/../translations/pencil_yue.ts \
$$PWD/../translations/pencil_zh_CN.ts \
$$PWD/../translations/pencil_zh_TW.ts

Expand Down
6 changes: 6 additions & 0 deletions app/src/generalpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ GeneralPage::GeneralPage() : ui(new Ui::GeneralPage)
{
// translatable string, endonym, locale code
{ tr("Arabic"), QStringLiteral("العربية"), "ar" },
{ tr("Bulgarian"), QStringLiteral("Български"), "bg" },
{ tr("Catalan"), QStringLiteral("Català"), "ca" },
{ tr("Czech"), QStringLiteral("Čeština"), "cs" },
{ tr("Danish"), QStringLiteral("Dansk"), "da" },
Expand All @@ -43,13 +44,17 @@ GeneralPage::GeneralPage() : ui(new Ui::GeneralPage)
{ tr("English"), QStringLiteral("English"), "en" },
{ tr("Spanish"), QStringLiteral("Español"), "es" },
{ tr("Estonian"), QStringLiteral("Eesti"), "et" },
{ tr("Persian"), QStringLiteral("فارسی"), "fa" },
{ tr("French"), QStringLiteral("Français"), "fr" },
{ tr("Hebrew"), QStringLiteral("עברית"), "he" },
{ tr("Hungarian"), QStringLiteral("Magyar"), "hu_HU" },
{ tr("Indonesian"), QStringLiteral("Bahasa Indonesia"), "id" },
{ tr("Italian"), QStringLiteral("Italiano"), "it" },
{ tr("Japanese"), QStringLiteral("日本語"), "ja" },
{ tr("Kabyle"), QStringLiteral("Taqbaylit"), "kab" },
{ tr("Korean"), QStringLiteral("한국어"), "ko" },
{ tr("Norwegian Bokmål"), QStringLiteral("Norsk bokmål"), "nb" },
{ tr("Dutch \u2013 Netherlands"), QStringLiteral("Nederlands \u2013 Nederland"), "nl_NL" },
{ tr("Polish"), QStringLiteral("Polski"), "pl" },
{ tr("Portuguese \u2013 Portugal"), QStringLiteral("Português \u2013 Portugal"), "pt_PT" },
{ tr("Portuguese \u2013 Brazil"), QStringLiteral("Português \u2013 Brasil"), "pt_BR" },
Expand All @@ -58,6 +63,7 @@ GeneralPage::GeneralPage() : ui(new Ui::GeneralPage)
{ tr("Swedish"), QStringLiteral("Svenska"), "sv" },
{ tr("Turkish"), QStringLiteral("Türkçe"), "tr" },
{ tr("Vietnamese"), QStringLiteral("Tiếng Việt"), "vi" },
{ tr("Cantonese"), QStringLiteral("粵语"), "yue" },
{ tr("Chinese \u2013 China"), QStringLiteral("简体中文"), "zh_CN" },
{ tr("Chinese \u2013 Taiwan"), QStringLiteral("繁體中文"), "zh_TW" },
};
Expand Down
82 changes: 56 additions & 26 deletions translations/pencil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3399,136 +3399,166 @@
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="38"/>
<source>Catalan</source>
<source>Bulgarian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="39"/>
<source>Czech</source>
<source>Catalan</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="40"/>
<source>Danish</source>
<source>Czech</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="41"/>
<source>German</source>
<source>Danish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="42"/>
<source>Greek</source>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="43"/>
<source>English</source>
<source>Greek</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="44"/>
<source>Spanish</source>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="45"/>
<source>Estonian</source>
<source>Spanish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="46"/>
<source>French</source>
<source>Estonian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="47"/>
<source>Hebrew</source>
<source>Persian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="48"/>
<source>Hungarian</source>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="49"/>
<source>Indonesian</source>
<source>Hebrew</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="50"/>
<source>Italian</source>
<source>Hungarian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="51"/>
<source>Japanese</source>
<source>Indonesian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="52"/>
<source>Kabyle</source>
<source>Italian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="53"/>
<source>Polish</source>
<source>Japanese</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="54"/>
<source>Portuguese – Portugal</source>
<source>Kabyle</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="55"/>
<source>Portuguese – Brazil</source>
<source>Korean</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="56"/>
<source>Russian</source>
<source>Norwegian Bokmål</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="57"/>
<source>Slovene</source>
<source>Dutch – Netherlands</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="58"/>
<source>Swedish</source>
<source>Polish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="59"/>
<source>Turkish</source>
<source>Portuguese – Portugal</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="60"/>
<source>Vietnamese</source>
<source>Portuguese – Brazil</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="61"/>
<source>Chinese – China</source>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="62"/>
<source>Slovene</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="63"/>
<source>Swedish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="64"/>
<source>Turkish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="65"/>
<source>Vietnamese</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="66"/>
<source>Cantonese</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="67"/>
<source>Chinese – China</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="68"/>
<source>Chinese – Taiwan</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="195"/>
<location filename="../app/src/generalpage.cpp" line="201"/>
<source>Restart Required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../app/src/generalpage.cpp" line="196"/>
<location filename="../app/src/generalpage.cpp" line="202"/>
<source>The language change will take effect after a restart of Pencil2D</source>
<translation type="unfinished"></translation>
</message>
Expand Down
File renamed without changes.
Loading