Qt: Connect Spanish translation
This commit is contained in:
parent
9c413275c2
commit
9bac40d6d8
|
@ -10,6 +10,8 @@ The following people have contributed to the project in some way, and are credit
|
||||||
- @bajolzas - Portuguese (Pt)
|
- @bajolzas - Portuguese (Pt)
|
||||||
- posix - @Richard-L - German
|
- posix - @Richard-L - German
|
||||||
- @phoe-nix - Chinese (Simplified)
|
- @phoe-nix - Chinese (Simplified)
|
||||||
|
- Sorer - @MojoJojoDojo - Hebrew
|
||||||
|
- Hipnosis183 - Spanish
|
||||||
|
|
||||||
## Game Compatibility Database
|
## Game Compatibility Database
|
||||||
- @Zet-sensei
|
- @Zet-sensei
|
||||||
|
|
|
@ -66,6 +66,7 @@ set(SRCS
|
||||||
|
|
||||||
set(TS_FILES
|
set(TS_FILES
|
||||||
translations/duckstation-qt_de.ts
|
translations/duckstation-qt_de.ts
|
||||||
|
translations/duckstation-qt_es.ts
|
||||||
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
|
||||||
|
|
|
@ -210,6 +210,9 @@
|
||||||
<FileType>Document</FileType>
|
<FileType>Document</FileType>
|
||||||
</QtUi>
|
</QtUi>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="translations\duckstation-qt_es.ts" />
|
||||||
|
</ItemGroup>
|
||||||
<Target Name="CopyCommonDataFiles" AfterTargets="Build" Inputs="@(CommonDataFiles)" Outputs="@(CommonDataFiles -> '$(BinaryOutputDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
<Target Name="CopyCommonDataFiles" AfterTargets="Build" Inputs="@(CommonDataFiles)" Outputs="@(CommonDataFiles -> '$(BinaryOutputDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||||
<Message Text="Copying common data files" Importance="High" />
|
<Message Text="Copying common data files" Importance="High" />
|
||||||
<Copy SourceFiles="@(CommonDataFiles)" DestinationFolder="$(BinaryOutputDir)\%(RecursiveDir)" SkipUnchangedFiles="true" />
|
<Copy SourceFiles="@(CommonDataFiles)" DestinationFolder="$(BinaryOutputDir)\%(RecursiveDir)" SkipUnchangedFiles="true" />
|
||||||
|
|
|
@ -113,19 +113,14 @@
|
||||||
<Image Include="duckstation-qt.ico" />
|
<Image Include="duckstation-qt.ico" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="translations\duckstation-qt_pt-br.ts">
|
<QtTs Include="translations\duckstation-qt_de.ts" />
|
||||||
<Filter>translations</Filter>
|
<QtTs Include="translations\duckstation-qt_he.ts" />
|
||||||
</None>
|
<QtTs Include="translations\duckstation-qt_pt-br.ts" />
|
||||||
<None Include="translations\duckstation-qt_pt-pt.ts">
|
<QtTs Include="translations\duckstation-qt_pt-pt.ts" />
|
||||||
<Filter>translations</Filter>
|
<QtTs Include="translations\duckstation-qt_zh-cn.ts" />
|
||||||
</None>
|
</ItemGroup>
|
||||||
<None Include="translations\duckstation-qt_de.ts">
|
<ItemGroup>
|
||||||
<Filter>translations</Filter>
|
<None Include="translations\duckstation-qt_es.ts">
|
||||||
</None>
|
|
||||||
<None Include="translations\duckstation-qt_he.ts">
|
|
||||||
<Filter>translations</Filter>
|
|
||||||
</None>
|
|
||||||
<None Include="translations\duckstation-qt_zh-cn.ts">
|
|
||||||
<Filter>translations</Filter>
|
<Filter>translations</Filter>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
@ -56,9 +56,10 @@ std::vector<std::pair<QString, QString>> QtHostInterface::getAvailableLanguageLi
|
||||||
{
|
{
|
||||||
return {{QStringLiteral("English"), QStringLiteral("")},
|
return {{QStringLiteral("English"), QStringLiteral("")},
|
||||||
{QStringLiteral("Deutsch"), QStringLiteral("de")},
|
{QStringLiteral("Deutsch"), QStringLiteral("de")},
|
||||||
|
{QStringLiteral("Español"), QStringLiteral("es")},
|
||||||
{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")}};
|
{QStringLiteral("简体中文"), QStringLiteral("zh-cn")}};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue