Skip to content

Commit

Permalink
Add russian translation
Browse files Browse the repository at this point in the history
  • Loading branch information
uprtdev committed Jul 17, 2023
1 parent 359c630 commit e8452a8
Show file tree
Hide file tree
Showing 5 changed files with 1,659 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down
3 changes: 3 additions & 0 deletions main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
Loading

0 comments on commit e8452a8

Please sign in to comment.