mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
Merge #714
This commit is contained in:
@@ -307,6 +307,7 @@ set_target_properties(nekoray PROPERTIES
|
|||||||
set(TS_FILES
|
set(TS_FILES
|
||||||
translations/zh_CN.ts
|
translations/zh_CN.ts
|
||||||
translations/fa_IR.ts
|
translations/fa_IR.ts
|
||||||
|
translations/ru_RU.ts
|
||||||
)
|
)
|
||||||
if (${QT_VERSION_MAJOR} GREATER_EQUAL 6)
|
if (${QT_VERSION_MAJOR} GREATER_EQUAL 6)
|
||||||
qt_add_lupdate(nekoray TS_FILES ${TS_FILES})
|
qt_add_lupdate(nekoray TS_FILES ${TS_FILES})
|
||||||
|
|||||||
@@ -236,6 +236,9 @@ int main(int argc, char* argv[]) {
|
|||||||
case 3:
|
case 3:
|
||||||
locale = "fa_IR"; // farsi(iran)
|
locale = "fa_IR"; // farsi(iran)
|
||||||
break;
|
break;
|
||||||
|
case 4:
|
||||||
|
locale = "ru_RU"; // Russian
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
locale = QLocale().name();
|
locale = QLocale().name();
|
||||||
}
|
}
|
||||||
|
|||||||
1649
translations/ru_RU.ts
Normal file
1649
translations/ru_RU.ts
Normal file
File diff suppressed because it is too large
Load Diff
@@ -2,5 +2,6 @@
|
|||||||
<qresource prefix="/translations">
|
<qresource prefix="/translations">
|
||||||
<file>zh_CN.qm</file>
|
<file>zh_CN.qm</file>
|
||||||
<file>fa_IR.qm</file>
|
<file>fa_IR.qm</file>
|
||||||
|
<file>ru_RU.qm</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
@@ -340,6 +340,11 @@
|
|||||||
<string notr="true">فارسی</string>
|
<string notr="true">فارسی</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string notr="true">Русский</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
|||||||
Reference in New Issue
Block a user