diff --git a/NUSGet.py b/NUSGet.py index 8f79eb5..888c8e0 100644 --- a/NUSGet.py +++ b/NUSGet.py @@ -667,7 +667,6 @@ if __name__ == "__main__": # such fallback exists, and so this code manually implements that fallback, since for languages like Spanish NUSGet # doesn't use region-specific translations. locale = QLocale.system() - lang = locale.name() if not translator.load(QLocale.system(), 'nusget', '_', path): base_locale = QLocale(locale.language()) translator.load(base_locale, 'nusget', '_', path) diff --git a/README.md b/README.md index 2d73939..18a0ed9 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,7 @@ A huge thanks to all the wonderful translators who've helped make NUSGet availab - **Korean:** [@DDinghoya](https://github.com/DDinghoya) - **Norwegian:** [@Rolfie](https://github.com/rolfiee) - **Romanian:** [@NotImplementedLife](https://github.com/NotImplementedLife) + - **Spanish:** [@DarkMatterCore](https://github.com/DarkMatterCore) If your language isn't present or is out of date, and you'd like to contribute, you can check out [TRANSLATING.md](https://github.com/NinjaCheetah/NUSGet/blob/main/TRANSLATING.md) for directions on how to translate NUSGet. diff --git a/resources/translations/nusget_de.ts b/resources/translations/nusget_de.ts index b6e4005..c9e419e 100644 --- a/resources/translations/nusget_de.ts +++ b/resources/translations/nusget_de.ts @@ -72,7 +72,7 @@ Spanish (Español): <a href=https://github.com/DarkMatterCore style='color: #4a86e8; text-decoration: none;'><b>DarkMatterCore</b></a> - + Spanisch (Español): <a href=https://github.com/DarkMatterCore style='color: #4a86e8; text-decoration: none;'><b>DarkMatterCore</b></a> @@ -477,10 +477,6 @@ li.checked::marker { content: "\2612"; } About NUSGet Über NUSGet - - About - Über - About Qt diff --git a/resources/translations/nusget_fr.ts b/resources/translations/nusget_fr.ts index 1fd0f10..78e8b28 100644 --- a/resources/translations/nusget_fr.ts +++ b/resources/translations/nusget_fr.ts @@ -42,7 +42,7 @@ French (Français): <a href=https://github.com/rougets style='color: #4a86e8; text-decoration: none;'><b>rougets</b></a> - Français : <a href=https://github.com/rougets style='color: #4a86e8; text-decoration: none;'><b>rougets</b></a> + Français: <a href=https://github.com/rougets style='color: #4a86e8; text-decoration: none;'><b>rougets</b></a> @@ -72,7 +72,7 @@ Spanish (Español): <a href=https://github.com/DarkMatterCore style='color: #4a86e8; text-decoration: none;'><b>DarkMatterCore</b></a> - + Espagnol (Español): <a href=https://github.com/DarkMatterCore style='color: #4a86e8; text-decoration: none;'><b>DarkMatterCore</b></a> diff --git a/resources/translations/nusget_ko.ts b/resources/translations/nusget_ko.ts index 2e600af..ee40843 100644 --- a/resources/translations/nusget_ko.ts +++ b/resources/translations/nusget_ko.ts @@ -41,37 +41,37 @@ French (Français): <a href=https://github.com/rougets style='color: #4a86e8; text-decoration: none;'><b>rougets</b></a> - French (Français): <a href=https://github.com/rougets style='color: #4a86e8; text-decoration: none;'><b>rougets</b></a> + 프랑스어 (Français): <a href=https://github.com/rougets style='color: #4a86e8; text-decoration: none;'><b>rougets</b></a> German (Deutsch): <a href=https://github.com/yeah-its-gloria style='color: #4a86e8; text-decoration: none;'><b>yeah-its-gloria</b></a> - German (Deutsch): <a href=https://github.com/yeah-its-gloria style='color: #4a86e8; text-decoration: none;'><b>yeah-its-gloria</b></a> + 독일어 (Deutsch): <a href=https://github.com/yeah-its-gloria style='color: #4a86e8; text-decoration: none;'><b>yeah-its-gloria</b></a> Italian (Italiano): <a href=https://github.com/LNLenost style='color: #4a86e8; text-decoration: none;'><b>LNLenost</b></a> - Italian (Italiano): <a href=https://github.com/LNLenost style='color: #4a86e8; text-decoration: none;'><b>LNLenost</b></a> + 이탈리아어 (Italiano): <a href=https://github.com/LNLenost style='color: #4a86e8; text-decoration: none;'><b>LNLenost</b></a> Korean (한국어): <a href=https://github.com/DDinghoya style='color: #4a86e8; text-decoration: none;'><b>DDinghoya</b></a> - Korean (한국어): <a href=https://github.com/DDinghoya style='color: #4a86e8; text-decoration: none;'><b>DDinghoya</b></a> + 한국어: <a href=https://github.com/DDinghoya style='color: #4a86e8; text-decoration: none;'><b>DDinghoya</b></a> Norwegian (Norsk): <a href=https://github.com/rolfiee style='color: #4a86e8; text-decoration: none;'><b>rolfiee</b></a> - Norwegian (Norsk): <a href=https://github.com/rolfiee style='color: #4a86e8; text-decoration: none;'><b>rolfiee</b></a> + 노르웨이어 (Norsk): <a href=https://github.com/rolfiee style='color: #4a86e8; text-decoration: none;'><b>rolfiee</b></a> Romanian (Română): <a href=https://github.com/NotImplementedLife style='color: #4a86e8; text-decoration: none;'><b>NotImplementedLife</b></a> - Romanian (Română): <a href=https://github.com/NotImplementedLife style='color: #4a86e8; text-decoration: none;'><b>NotImplementedLife</b></a> + 루마니아어 (Română): <a href=https://github.com/NotImplementedLife style='color: #4a86e8; text-decoration: none;'><b>NotImplementedLife</b></a> Spanish (Español): <a href=https://github.com/DarkMatterCore style='color: #4a86e8; text-decoration: none;'><b>DarkMatterCore</b></a> - + 스페인어 (Español): <a href=https://github.com/DarkMatterCore style='color: #4a86e8; text-decoration: none;'><b>DarkMatterCore</b></a> diff --git a/resources/translations/nusget_nb.ts b/resources/translations/nusget_nb.ts index e5de158..480f799 100644 --- a/resources/translations/nusget_nb.ts +++ b/resources/translations/nusget_nb.ts @@ -56,7 +56,7 @@ Korean (한국어): <a href=https://github.com/DDinghoya style='color: #4a86e8; text-decoration: none;'><b>DDinghoya</b></a> - Koreansk 한국어): <a href=https://github.com/DDinghoya style='color: #4a86e8; text-decoration: none;'><b>DDinghoya</b></a> + Koreansk (한국어): <a href=https://github.com/DDinghoya style='color: #4a86e8; text-decoration: none;'><b>DDinghoya</b></a> @@ -71,7 +71,7 @@ Spanish (Español): <a href=https://github.com/DarkMatterCore style='color: #4a86e8; text-decoration: none;'><b>DarkMatterCore</b></a> - + Spansk (Español): <a href=https://github.com/DarkMatterCore style='color: #4a86e8; text-decoration: none;'><b>DarkMatterCore</b></a> diff --git a/resources/translations/nusget_no.ts b/resources/translations/nusget_no.ts index e5de158..480f799 100644 --- a/resources/translations/nusget_no.ts +++ b/resources/translations/nusget_no.ts @@ -56,7 +56,7 @@ Korean (한국어): <a href=https://github.com/DDinghoya style='color: #4a86e8; text-decoration: none;'><b>DDinghoya</b></a> - Koreansk 한국어): <a href=https://github.com/DDinghoya style='color: #4a86e8; text-decoration: none;'><b>DDinghoya</b></a> + Koreansk (한국어): <a href=https://github.com/DDinghoya style='color: #4a86e8; text-decoration: none;'><b>DDinghoya</b></a> @@ -71,7 +71,7 @@ Spanish (Español): <a href=https://github.com/DarkMatterCore style='color: #4a86e8; text-decoration: none;'><b>DarkMatterCore</b></a> - + Spansk (Español): <a href=https://github.com/DarkMatterCore style='color: #4a86e8; text-decoration: none;'><b>DarkMatterCore</b></a> diff --git a/resources/translations/nusget_ro.ts b/resources/translations/nusget_ro.ts index 450c2f4..bc37607 100644 --- a/resources/translations/nusget_ro.ts +++ b/resources/translations/nusget_ro.ts @@ -66,12 +66,12 @@ Romanian (Română): <a href=https://github.com/NotImplementedLife style='color: #4a86e8; text-decoration: none;'><b>NotImplementedLife</b></a> - Română (Română): <a href=https://github.com/NotImplementedLife style='color: #4a86e8; text-decoration: none;'><b>NotImplementedLife</b></a> + Română: <a href=https://github.com/NotImplementedLife style='color: #4a86e8; text-decoration: none;'><b>NotImplementedLife</b></a> Spanish (Español): <a href=https://github.com/DarkMatterCore style='color: #4a86e8; text-decoration: none;'><b>DarkMatterCore</b></a> - + Spaniolă (Español): <a href=https://github.com/DarkMatterCore style='color: #4a86e8; text-decoration: none;'><b>DarkMatterCore</b></a>