DeepL Translate: Added Turkish and Indonesian

This commit is contained in:
Blu3train 2022-06-27 18:26:14 +02:00 committed by Akash Mozumdar
parent 72132239a5
commit 2cb45ab9e3

View File

@ -22,6 +22,7 @@ extern const QStringList languagesTo
"German", "German",
"Greek", "Greek",
"Hungarian", "Hungarian",
"Indonesian",
"Italian", "Italian",
"Japanese", "Japanese",
"Latvian", "Latvian",
@ -34,7 +35,8 @@ extern const QStringList languagesTo
"Slovak", "Slovak",
"Slovenian", "Slovenian",
"Spanish", "Spanish",
"Swedish" "Swedish",
"Turkish"
}, },
languagesFrom languagesFrom
{ {
@ -50,6 +52,7 @@ languagesFrom
"German", "German",
"Greek", "Greek",
"Hungarian", "Hungarian",
"Indonesian",
"Italian", "Italian",
"Japanese", "Japanese",
"Latvian", "Latvian",
@ -61,7 +64,8 @@ languagesFrom
"Slovak", "Slovak",
"Slovenian", "Slovenian",
"Spanish", "Spanish",
"Swedish" "Swedish",
"Turkish"
}; };
extern const std::unordered_map<std::wstring, std::wstring> codes extern const std::unordered_map<std::wstring, std::wstring> codes
{ {
@ -80,6 +84,7 @@ extern const std::unordered_map<std::wstring, std::wstring> codes
{ { L"German" }, { L"DE" } }, { { L"German" }, { L"DE" } },
{ { L"Greek" }, { L"EL" } }, { { L"Greek" }, { L"EL" } },
{ { L"Hungarian" }, { L"HU" } }, { { L"Hungarian" }, { L"HU" } },
{ { L"Indonesian" }, { L"ID" } },
{ { L"Italian" }, { L"IT" } }, { { L"Italian" }, { L"IT" } },
{ { L"Japanese" }, { L"JA" } }, { { L"Japanese" }, { L"JA" } },
{ { L"Latvian" }, { L"LV" } }, { { L"Latvian" }, { L"LV" } },
@ -94,6 +99,7 @@ extern const std::unordered_map<std::wstring, std::wstring> codes
{ { L"Slovenian" }, { L"SL" } }, { { L"Slovenian" }, { L"SL" } },
{ { L"Spanish" }, { L"ES" } }, { { L"Spanish" }, { L"ES" } },
{ { L"Swedish" }, { L"SV" } }, { { L"Swedish" }, { L"SV" } },
{ { L"Turkish" }, { L"TR" } },
{ { L"?" }, { L"auto" } } { { L"?" }, { L"auto" } }
}; };