Qt: Add Portuguese (Pt) translation
This commit is contained in:
parent
bd0c403672
commit
ba9ada1100
|
@ -6,7 +6,8 @@ The following people have contributed to the project in some way, and are credit
|
|||
- @ggrtk
|
||||
|
||||
## Translators
|
||||
- Anderson Cardoso - Portuguese
|
||||
- Anderson Cardoso - Portuguese (Br)
|
||||
- @bajolzas - Portuguese (Pt)
|
||||
|
||||
## Game Compatibility Database
|
||||
- @Zet-sensei
|
||||
|
|
|
@ -190,6 +190,10 @@
|
|||
<FileType>Document</FileType>
|
||||
</QtTs>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="translations\duckstation-qt_pt-br.ts" />
|
||||
<None Include="translations\duckstation-qt_pt-pt.ts" />
|
||||
</ItemGroup>
|
||||
<Target Name="CopyCommonDataFiles" AfterTargets="Build" Inputs="@(CommonDataFiles)" Outputs="@(CommonDataFiles -> '$(BinaryOutputDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||
<Message Text="Copying common data files" Importance="High" />
|
||||
<Copy SourceFiles="@(CommonDataFiles)" DestinationFolder="$(BinaryOutputDir)\%(RecursiveDir)" SkipUnchangedFiles="true" />
|
||||
|
|
|
@ -45,12 +45,12 @@
|
|||
<ClCompile Include="gamelistmodel.cpp" />
|
||||
<ClCompile Include="$(IntDir)moc_gamelistmodel.cpp" />
|
||||
<ClCompile Include="gamelistsearchdirectoriesmodel.cpp" />
|
||||
<ClCompile Include="$(IntDir)moc_gamelistsearchdirectoriesmodel.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="qtutils.h" />
|
||||
<ClInclude Include="settingwidgetbinder.h" />
|
||||
<ClInclude Include="resource.h" />
|
||||
<ClInclude Include="gamelistsearchdirectoriesmodel.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Filter Include="resources">
|
||||
|
@ -84,6 +84,7 @@
|
|||
<QtMoc Include="memorycardsettingswidget.h" />
|
||||
<QtMoc Include="inputbindingdialog.h" />
|
||||
<QtMoc Include="gamelistmodel.h" />
|
||||
<QtMoc Include="gamelistsearchdirectoriesmodel.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<QtUi Include="consolesettingswidget.ui" />
|
||||
|
@ -110,4 +111,12 @@
|
|||
<ItemGroup>
|
||||
<QtTs Include="translations\duckstation-qt_pt.ts" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="translations\duckstation-qt_pt-br.ts">
|
||||
<Filter>translations</Filter>
|
||||
</None>
|
||||
<None Include="translations\duckstation-qt_pt-pt.ts">
|
||||
<Filter>translations</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -53,7 +53,9 @@ const char* QtHostInterface::GetFrontendName() const
|
|||
|
||||
std::vector<std::pair<QString, QString>> QtHostInterface::getAvailableLanguageList()
|
||||
{
|
||||
return {{QStringLiteral("English"), QStringLiteral("")}, {QStringLiteral("Portuguese (Br)"), QStringLiteral("pt")}};
|
||||
return {{QStringLiteral("English"), QStringLiteral("")},
|
||||
{QStringLiteral("Portuguese (Pt)"), QStringLiteral("pt-pt")},
|
||||
{QStringLiteral("Portuguese (Br)"), QStringLiteral("pt-br")}};
|
||||
}
|
||||
|
||||
bool QtHostInterface::Initialize()
|
||||
|
|
|
@ -1742,42 +1742,42 @@ The URL was: %1</source>
|
|||
<context>
|
||||
<name>QtHostInterface</name>
|
||||
<message>
|
||||
<location filename="../qthostinterface.cpp" line="841"/>
|
||||
<location filename="../qthostinterface.cpp" line="843"/>
|
||||
<source>Resume</source>
|
||||
<translation>Resumir</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qthostinterface.cpp" line="844"/>
|
||||
<location filename="../qthostinterface.cpp" line="846"/>
|
||||
<source>Load State</source>
|
||||
<translation>Carregar Estado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qthostinterface.cpp" line="862"/>
|
||||
<location filename="../qthostinterface.cpp" line="864"/>
|
||||
<source>Resume (%1)</source>
|
||||
<translation>Resumir (%1)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qthostinterface.cpp" line="869"/>
|
||||
<location filename="../qthostinterface.cpp" line="871"/>
|
||||
<source>%1 Save %2 (%3)</source>
|
||||
<translation>%1 Salvar %2 (%3)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qthostinterface.cpp" line="869"/>
|
||||
<location filename="../qthostinterface.cpp" line="871"/>
|
||||
<source>Game</source>
|
||||
<translation>Jogo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qthostinterface.cpp" line="876"/>
|
||||
<location filename="../qthostinterface.cpp" line="878"/>
|
||||
<source>Delete Save States...</source>
|
||||
<translation>Apagar Jogos Salvos...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qthostinterface.cpp" line="883"/>
|
||||
<location filename="../qthostinterface.cpp" line="885"/>
|
||||
<source>Confirm Save State Deletion</source>
|
||||
<translation>Confirma deleção de Estado Salvo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qthostinterface.cpp" line="884"/>
|
||||
<location filename="../qthostinterface.cpp" line="886"/>
|
||||
<source>Are you sure you want to delete all save states for %1?
|
||||
|
||||
The saves will not be recoverable.</source>
|
File diff suppressed because it is too large
Load Diff
|
@ -1,2 +1,3 @@
|
|||
..\..\dep\msvc\qt\5.15.0\msvc2017_64\bin\lupdate.exe ./ -ts translations\duckstation-qt_pt.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
|
||||
pause
|
Loading…
Reference in New Issue