Qt: Add German/Deutsch translation

This commit is contained in:
Connor McLaughlin 2020-08-03 13:27:20 +10:00
parent 8b4624a98e
commit e198e31598
6 changed files with 1848 additions and 0 deletions

View File

@ -8,6 +8,7 @@ The following people have contributed to the project in some way, and are credit
## Translators ## Translators
- Anderson Cardoso - Portuguese (Br) - Anderson Cardoso - Portuguese (Br)
- @bajolzas - Portuguese (Pt) - @bajolzas - Portuguese (Pt)
- posix - @Richard-L - German
## Game Compatibility Database ## Game Compatibility Database
- @Zet-sensei - @Zet-sensei

View File

@ -62,6 +62,7 @@ set(SRCS
) )
set(TS_FILES set(TS_FILES
translations/duckstation-qt_de.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
) )

View File

@ -191,6 +191,7 @@
</QtTs> </QtTs>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="translations\duckstation-qt_de.ts" />
<None Include="translations\duckstation-qt_pt-br.ts" /> <None Include="translations\duckstation-qt_pt-br.ts" />
<None Include="translations\duckstation-qt_pt-pt.ts" /> <None Include="translations\duckstation-qt_pt-pt.ts" />
</ItemGroup> </ItemGroup>

View File

@ -118,5 +118,8 @@
<None Include="translations\duckstation-qt_pt-pt.ts"> <None Include="translations\duckstation-qt_pt-pt.ts">
<Filter>translations</Filter> <Filter>translations</Filter>
</None> </None>
<None Include="translations\duckstation-qt_de.ts">
<Filter>translations</Filter>
</None>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -54,6 +54,7 @@ const char* QtHostInterface::GetFrontendName() const
std::vector<std::pair<QString, QString>> QtHostInterface::getAvailableLanguageList() std::vector<std::pair<QString, QString>> QtHostInterface::getAvailableLanguageList()
{ {
return {{QStringLiteral("English"), QStringLiteral("")}, return {{QStringLiteral("English"), QStringLiteral("")},
{QStringLiteral("Deutsch"), QStringLiteral("de")},
{QStringLiteral("Portuguese (Pt)"), QStringLiteral("pt-pt")}, {QStringLiteral("Portuguese (Pt)"), QStringLiteral("pt-pt")},
{QStringLiteral("Portuguese (Br)"), QStringLiteral("pt-br")}}; {QStringLiteral("Portuguese (Br)"), QStringLiteral("pt-br")}};
} }

File diff suppressed because it is too large Load Diff