Skip to content

Commit

Permalink
Qt: Enable Swedish translation
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Nov 10, 2024
1 parent 160c27e commit 3a271ff
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/duckstation-qt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ set(TS_FILES
translations/duckstation-qt_pt-BR.ts
translations/duckstation-qt_pt-PT.ts
translations/duckstation-qt_ru.ts
translations/duckstation-qt_sv.ts
translations/duckstation-qt_tr.ts
translations/duckstation-qt_zh-CN.ts
)
Expand Down
1 change: 1 addition & 0 deletions src/duckstation-qt/duckstation-qt.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@
<FileType>Document</FileType>
</QtUi>
<None Include="translations\duckstation-qt_es-es.ts" />
<None Include="translations\duckstation-qt_sv.ts" />
<None Include="translations\duckstation-qt_tr.ts" />
</ItemGroup>
<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions src/duckstation-qt/duckstation-qt.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,9 @@
<None Include="translations\duckstation-qt_es-es.ts">
<Filter>translations</Filter>
</None>
<None Include="translations\duckstation-qt_sv.ts">
<Filter>translations</Filter>
</None>
</ItemGroup>
<ItemGroup>
<QtTs Include="translations\duckstation-qt_de.ts">
Expand Down
1 change: 1 addition & 0 deletions src/duckstation-qt/qttranslations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ std::span<const std::pair<const char*, const char*>> Host::GetAvailableLanguageL
{"Português (Pt)", "pt-PT"},
{"Português (Br)", "pt-BR"},
{"Русский", "ru"},
{"Svenska", "sv"},
{"Türkçe", "tr"},
{"简体中文", "zh-CN"}};

Expand Down

0 comments on commit 3a271ff

Please sign in to comment.