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
|
||||
translations/zh_CN.ts
|
||||
translations/fa_IR.ts
|
||||
translations/ru_RU.ts
|
||||
)
|
||||
if (${QT_VERSION_MAJOR} GREATER_EQUAL 6)
|
||||
qt_add_lupdate(nekoray TS_FILES ${TS_FILES})
|
||||
|
||||
@@ -236,6 +236,9 @@ int main(int argc, char* argv[]) {
|
||||
case 3:
|
||||
locale = "fa_IR"; // farsi(iran)
|
||||
break;
|
||||
case 4:
|
||||
locale = "ru_RU"; // Russian
|
||||
break;
|
||||
default:
|
||||
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">
|
||||
<file>zh_CN.qm</file>
|
||||
<file>fa_IR.qm</file>
|
||||
<file>ru_RU.qm</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
@@ -340,6 +340,11 @@
|
||||
<string notr="true">فارسی</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string notr="true">Русский</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
||||
Reference in New Issue
Block a user