mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 09:43:07 -07:00
parent
8e19f66b4f
commit
7092a98c93
7 changed files with 13563 additions and 0 deletions
|
@ -74,6 +74,7 @@ const char C_LOCALE_INDONESIAN[] = "Bahasa Indonesia";
|
||||||
const char C_LOCALE_ITALIAN[] = "Italiano";
|
const char C_LOCALE_ITALIAN[] = "Italiano";
|
||||||
const char C_LOCALE_JAPANESE[] = "日本語";
|
const char C_LOCALE_JAPANESE[] = "日本語";
|
||||||
const char C_LOCALE_KOREAN[] = "한글";
|
const char C_LOCALE_KOREAN[] = "한글";
|
||||||
|
const char C_LOCALE_LATGALIAN[] = "latgalīšu volūda";
|
||||||
const char C_LOCALE_LATVIAN[] = "latviešu valoda";
|
const char C_LOCALE_LATVIAN[] = "latviešu valoda";
|
||||||
const char C_LOCALE_LITHUANIAN[] = "Lietuvių";
|
const char C_LOCALE_LITHUANIAN[] = "Lietuvių";
|
||||||
const char C_LOCALE_MALAY[] = "بهاس ملايو";
|
const char C_LOCALE_MALAY[] = "بهاس ملايو";
|
||||||
|
|
|
@ -575,6 +575,10 @@ void OptionsDialog::initializeLanguageCombo()
|
||||||
// QLocale doesn't work with that locale. Esperanto isn't a "real" language.
|
// QLocale doesn't work with that locale. Esperanto isn't a "real" language.
|
||||||
languageName = QString::fromUtf8(C_LOCALE_ESPERANTO);
|
languageName = QString::fromUtf8(C_LOCALE_ESPERANTO);
|
||||||
}
|
}
|
||||||
|
else if (localeStr.startsWith("ltg", Qt::CaseInsensitive)) {
|
||||||
|
// QLocale doesn't work with that locale.
|
||||||
|
languageName = QString::fromUtf8(C_LOCALE_LATGALIAN);
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
QLocale locale(localeStr);
|
QLocale locale(localeStr);
|
||||||
languageName = languageToLocalizedString(locale);
|
languageName = languageToLocalizedString(locale);
|
||||||
|
@ -1549,6 +1553,9 @@ void OptionsDialog::setLocale(const QString &localeStr)
|
||||||
if (localeStr.startsWith("eo", Qt::CaseInsensitive)) {
|
if (localeStr.startsWith("eo", Qt::CaseInsensitive)) {
|
||||||
name = "eo";
|
name = "eo";
|
||||||
}
|
}
|
||||||
|
else if (localeStr.startsWith("ltg", Qt::CaseInsensitive)) {
|
||||||
|
name = "ltg";
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
QLocale locale(localeStr);
|
QLocale locale(localeStr);
|
||||||
if (locale.language() == QLocale::Uzbek)
|
if (locale.language() == QLocale::Uzbek)
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
<file>qbittorrent_ka.qm</file>
|
<file>qbittorrent_ka.qm</file>
|
||||||
<file>qbittorrent_ko.qm</file>
|
<file>qbittorrent_ko.qm</file>
|
||||||
<file>qbittorrent_lt.qm</file>
|
<file>qbittorrent_lt.qm</file>
|
||||||
|
<file>qbittorrent_ltg.qm</file>
|
||||||
<file>qbittorrent_lv_LV.qm</file>
|
<file>qbittorrent_lv_LV.qm</file>
|
||||||
<file>qbittorrent_ms_MY.qm</file>
|
<file>qbittorrent_ms_MY.qm</file>
|
||||||
<file>qbittorrent_nb.qm</file>
|
<file>qbittorrent_nb.qm</file>
|
||||||
|
|
10222
src/lang/qbittorrent_ltg.ts
Normal file
10222
src/lang/qbittorrent_ltg.ts
Normal file
File diff suppressed because it is too large
Load diff
|
@ -668,6 +668,7 @@
|
||||||
<option value="pl_PL">Polski</option>
|
<option value="pl_PL">Polski</option>
|
||||||
<option value="lv_LV">latviešu valoda</option>
|
<option value="lv_LV">latviešu valoda</option>
|
||||||
<option value="lt_LT">Lietuvių</option>
|
<option value="lt_LT">Lietuvių</option>
|
||||||
|
<option value="ltg">latgalīšu volūda</option>
|
||||||
<option value="ms_MY">بهاس ملايو</option>
|
<option value="ms_MY">بهاس ملايو</option>
|
||||||
<option value="cs_CZ">Čeština</option>
|
<option value="cs_CZ">Čeština</option>
|
||||||
<option value="sk_SK">Slovenčina</option>
|
<option value="sk_SK">Slovenčina</option>
|
||||||
|
|
3330
src/webui/www/translations/webui_ltg.ts
Normal file
3330
src/webui/www/translations/webui_ltg.ts
Normal file
File diff suppressed because it is too large
Load diff
|
@ -29,6 +29,7 @@
|
||||||
<file>webui_ka.qm</file>
|
<file>webui_ka.qm</file>
|
||||||
<file>webui_ko.qm</file>
|
<file>webui_ko.qm</file>
|
||||||
<file>webui_lt.qm</file>
|
<file>webui_lt.qm</file>
|
||||||
|
<file>webui_ltg.qm</file>
|
||||||
<file>webui_lv_LV.qm</file>
|
<file>webui_lv_LV.qm</file>
|
||||||
<file>webui_ms_MY.qm</file>
|
<file>webui_ms_MY.qm</file>
|
||||||
<file>webui_nb.qm</file>
|
<file>webui_nb.qm</file>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue