mirror of
https://github.com/stenzek/duckstation.git
synced 2024-11-26 23:50:31 +00:00
Qt: Add Chinese (Simplified) translation
This commit is contained in:
parent
16a4398fdb
commit
cd0ac1a2bc
@ -9,6 +9,7 @@ The following people have contributed to the project in some way, and are credit
|
||||
- Anderson Cardoso - Portuguese (Br)
|
||||
- @bajolzas - Portuguese (Pt)
|
||||
- posix - @Richard-L - German
|
||||
- @phoe-nix - Chinese (Simplified)
|
||||
|
||||
## Game Compatibility Database
|
||||
- @Zet-sensei
|
||||
|
@ -69,6 +69,7 @@ set(TS_FILES
|
||||
translations/duckstation-qt_he.ts
|
||||
translations/duckstation-qt_pt-br.ts
|
||||
translations/duckstation-qt_pt-pt.ts
|
||||
translations/duckstation-qt_zh-cn.ts
|
||||
)
|
||||
|
||||
set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/translations")
|
||||
|
@ -201,6 +201,9 @@
|
||||
<QtTs Include="translations\duckstation-qt_pt-pt.ts">
|
||||
<FileType>Document</FileType>
|
||||
</QtTs>
|
||||
<QtTs Include="translations\duckstation-qt_zh-cn.ts">
|
||||
<FileType>Document</FileType>
|
||||
</QtTs>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<QtUi Include="autoupdaterdialog.ui">
|
||||
|
@ -125,5 +125,8 @@
|
||||
<None Include="translations\duckstation-qt_he.ts">
|
||||
<Filter>translations</Filter>
|
||||
</None>
|
||||
<None Include="translations\duckstation-qt_zh-cn.ts">
|
||||
<Filter>translations</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -58,7 +58,8 @@ std::vector<std::pair<QString, QString>> QtHostInterface::getAvailableLanguageLi
|
||||
{QStringLiteral("Deutsch"), QStringLiteral("de")},
|
||||
{QStringLiteral("עברית"), QStringLiteral("he")},
|
||||
{QStringLiteral("português (Pt)"), QStringLiteral("pt-pt")},
|
||||
{QStringLiteral("português (Br)"), QStringLiteral("pt-br")}};
|
||||
{QStringLiteral("português (Br)"), QStringLiteral("pt-br")},
|
||||
{QStringLiteral("简体中文"), QStringLiteral("zh-cn")}};
|
||||
}
|
||||
|
||||
bool QtHostInterface::Initialize()
|
||||
|
2046
src/duckstation-qt/translations/duckstation-qt_zh-cn.ts
Normal file
2046
src/duckstation-qt/translations/duckstation-qt_zh-cn.ts
Normal file
File diff suppressed because it is too large
Load Diff
@ -2,4 +2,5 @@
|
||||
..\..\dep\msvc\qt\5.15.0\msvc2017_64\bin\lupdate.exe ./ -ts translations\duckstation-qt_he.ts
|
||||
..\..\dep\msvc\qt\5.15.0\msvc2017_64\bin\lupdate.exe ./ -ts translations\duckstation-qt_pt-br.ts
|
||||
..\..\dep\msvc\qt\5.15.0\msvc2017_64\bin\lupdate.exe ./ -ts translations\duckstation-qt_pt-pt.ts
|
||||
..\..\dep\msvc\qt\5.15.0\msvc2017_64\bin\lupdate.exe ./ -ts translations\duckstation-qt_zh-cn.ts
|
||||
pause
|
||||
|
Loading…
Reference in New Issue
Block a user