Qt: Add translation by Hackjjang

This commit is contained in:
Stenzek 2023-08-19 22:47:49 +10:00
parent a2e31c3052
commit d0cddc2a23
5 changed files with 9312 additions and 1 deletions

View File

@ -156,6 +156,7 @@ set(TS_FILES
translations/duckstation-qt_he.ts translations/duckstation-qt_he.ts
translations/duckstation-qt_it.ts translations/duckstation-qt_it.ts
translations/duckstation-qt_ja.ts translations/duckstation-qt_ja.ts
translations/duckstation-qt_ko.ts
translations/duckstation-qt_nl.ts translations/duckstation-qt_nl.ts
translations/duckstation-qt_pl.ts translations/duckstation-qt_pl.ts
translations/duckstation-qt_pt-br.ts translations/duckstation-qt_pt-br.ts

View File

@ -302,6 +302,9 @@
<QtTs Include="translations\duckstation-qt_ja.ts"> <QtTs Include="translations\duckstation-qt_ja.ts">
<FileType>Document</FileType> <FileType>Document</FileType>
</QtTs> </QtTs>
<QtTs Include="translations\duckstation-qt_ko.ts">
<FileType>Document</FileType>
</QtTs>
<QtTs Include="translations\duckstation-qt_nl.ts"> <QtTs Include="translations\duckstation-qt_nl.ts">
<FileType>Document</FileType> <FileType>Document</FileType>
</QtTs> </QtTs>

View File

@ -260,5 +260,8 @@
<QtTs Include="translations\duckstation-qt_pl.ts"> <QtTs Include="translations\duckstation-qt_pl.ts">
<Filter>translations</Filter> <Filter>translations</Filter>
</QtTs> </QtTs>
<QtTs Include="translations\duckstation-qt_ko.ts">
<Filter>translations</Filter>
</QtTs>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -4,9 +4,9 @@
#include "common/log.h" #include "common/log.h"
#include "common/string_util.h" #include "common/string_util.h"
#include "fmt/format.h" #include "fmt/format.h"
#include "util/imgui_manager.h"
#include "imgui.h" #include "imgui.h"
#include "qthost.h" #include "qthost.h"
#include "util/imgui_manager.h"
#include <QtCore/QFile> #include <QtCore/QFile>
#include <QtCore/QTranslator> #include <QtCore/QTranslator>
#include <QtGui/QGuiApplication> #include <QtGui/QGuiApplication>
@ -134,6 +134,7 @@ std::vector<std::pair<QString, QString>> QtHost::GetAvailableLanguageList()
{QStringLiteral("Français"), QStringLiteral("fr")}, {QStringLiteral("Français"), QStringLiteral("fr")},
{QStringLiteral("עברית"), QStringLiteral("he")}, {QStringLiteral("עברית"), QStringLiteral("he")},
{QStringLiteral("日本語"), QStringLiteral("ja")}, {QStringLiteral("日本語"), QStringLiteral("ja")},
{QStringLiteral("한국어"), QStringLiteral("ko")},
{QStringLiteral("Italiano"), QStringLiteral("it")}, {QStringLiteral("Italiano"), QStringLiteral("it")},
{QStringLiteral("Nederlands"), QStringLiteral("nl")}, {QStringLiteral("Nederlands"), QStringLiteral("nl")},
{QStringLiteral("Polski"), QStringLiteral("pl")}, {QStringLiteral("Polski"), QStringLiteral("pl")},

File diff suppressed because it is too large Load Diff