mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 07:35:41 +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)
|
- Anderson Cardoso - Portuguese (Br)
|
||||||
- @bajolzas - Portuguese (Pt)
|
- @bajolzas - Portuguese (Pt)
|
||||||
- posix - @Richard-L - German
|
- posix - @Richard-L - German
|
||||||
|
- @phoe-nix - Chinese (Simplified)
|
||||||
|
|
||||||
## Game Compatibility Database
|
## Game Compatibility Database
|
||||||
- @Zet-sensei
|
- @Zet-sensei
|
||||||
|
|
|
@ -69,6 +69,7 @@ set(TS_FILES
|
||||||
translations/duckstation-qt_he.ts
|
translations/duckstation-qt_he.ts
|
||||||
translations/duckstation-qt_pt-br.ts
|
translations/duckstation-qt_pt-br.ts
|
||||||
translations/duckstation-qt_pt-pt.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")
|
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">
|
<QtTs Include="translations\duckstation-qt_pt-pt.ts">
|
||||||
<FileType>Document</FileType>
|
<FileType>Document</FileType>
|
||||||
</QtTs>
|
</QtTs>
|
||||||
|
<QtTs Include="translations\duckstation-qt_zh-cn.ts">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
</QtTs>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<QtUi Include="autoupdaterdialog.ui">
|
<QtUi Include="autoupdaterdialog.ui">
|
||||||
|
|
|
@ -125,5 +125,8 @@
|
||||||
<None Include="translations\duckstation-qt_he.ts">
|
<None Include="translations\duckstation-qt_he.ts">
|
||||||
<Filter>translations</Filter>
|
<Filter>translations</Filter>
|
||||||
</None>
|
</None>
|
||||||
|
<None Include="translations\duckstation-qt_zh-cn.ts">
|
||||||
|
<Filter>translations</Filter>
|
||||||
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
|
@ -58,7 +58,8 @@ std::vector<std::pair<QString, QString>> QtHostInterface::getAvailableLanguageLi
|
||||||
{QStringLiteral("Deutsch"), QStringLiteral("de")},
|
{QStringLiteral("Deutsch"), QStringLiteral("de")},
|
||||||
{QStringLiteral("עברית"), QStringLiteral("he")},
|
{QStringLiteral("עברית"), QStringLiteral("he")},
|
||||||
{QStringLiteral("português (Pt)"), QStringLiteral("pt-pt")},
|
{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()
|
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_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-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_pt-pt.ts
|
||||||
|
..\..\dep\msvc\qt\5.15.0\msvc2017_64\bin\lupdate.exe ./ -ts translations\duckstation-qt_zh-cn.ts
|
||||||
pause
|
pause
|
||||||
|
|
Loading…
Reference in a new issue