Skip to content

Commit 8bfb60b

Browse files
committed
update translations script
1 parent 292cd10 commit 8bfb60b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+395
-98
lines changed

WingetUI.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "WingetUI"
5-
#define MyAppVersion "3.0-beta0"
5+
#define MyAppVersion "3.0.0-beta1"
66
#define MyAppPublisher "Martí Climent"
77
#define MyAppURL "https://github.com/marticliment/WingetUI"
88
#define MyAppExeName "WingetUI.exe"

readme.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -113,47 +113,47 @@ In order to translate WingetUI to other languages or to update an old translatio
113113
<!-- Autogenerated translations -->
114114
| Language | Translated | Translator(s) |
115115
| :-- | :-- | --- |
116-
| <img src='https://flagcdn.com/sa.svg' width=20> &nbsp; Arabic - عربي‎ | 67% | [Abdu11ahAS](https://github.com/Abdu11ahAS), [FancyCookin](https://github.com/FancyCookin), [mo9a7i](https://github.com/mo9a7i) |
117-
| <img src='https://flagcdn.com/bg.svg' width=20> &nbsp; Bulgarian - български | 64% | Vasil Kolev |
118-
| <img src='https://flagcdn.com/bd.svg' width=20> &nbsp; Bangla - বাংলা | 71% | [fluentmoheshwar](https://github.com/fluentmoheshwar), [itz-rj-here](https://github.com/itz-rj-here), Mushfiq Iqbal Rayon, Nilavra Bhattacharya |
116+
| <img src='https://flagcdn.com/sa.svg' width=20> &nbsp; Arabic - عربي‎ | 66% | [Abdu11ahAS](https://github.com/Abdu11ahAS), [FancyCookin](https://github.com/FancyCookin), [mo9a7i](https://github.com/mo9a7i) |
117+
| <img src='https://flagcdn.com/bg.svg' width=20> &nbsp; Bulgarian - български | 63% | Vasil Kolev |
118+
| <img src='https://flagcdn.com/bd.svg' width=20> &nbsp; Bangla - বাংলা | 70% | [fluentmoheshwar](https://github.com/fluentmoheshwar), [itz-rj-here](https://github.com/itz-rj-here), Mushfiq Iqbal Rayon, Nilavra Bhattacharya |
119119
| <img src='https://flagcdn.com/ad.svg' width=20> &nbsp; Catalan - Català | 100% | [marticliment](https://github.com/marticliment) |
120-
| <img src='https://flagcdn.com/cz.svg' width=20> &nbsp; Czech - Čeština | 71% | [panther7](https://github.com/panther7) |
120+
| <img src='https://flagcdn.com/cz.svg' width=20> &nbsp; Czech - Čeština | 70% | [panther7](https://github.com/panther7) |
121121
| <img src='https://flagcdn.com/dk.svg' width=20> &nbsp; Danish - Dansk | 20% | [mikkolukas](https://github.com/mikkolukas), [yrjarv](https://github.com/yrjarv) |
122-
| <img src='https://flagcdn.com/de.svg' width=20> &nbsp; German - Deutsch | 71% | [CanePlayz](https://github.com/CanePlayz), [Datacra5H](https://github.com/Datacra5H), [ebnater](https://github.com/ebnater), [michaelmairegger](https://github.com/michaelmairegger), [Seeloewen](https://github.com/Seeloewen) |
123-
| <img src='https://flagcdn.com/gr.svg' width=20> &nbsp; Greek - Ελληνικά | 51% | [antwnhsx](https://github.com/antwnhsx), [wobblerrrgg](https://github.com/wobblerrrgg) |
122+
| <img src='https://flagcdn.com/de.svg' width=20> &nbsp; German - Deutsch | 70% | [CanePlayz](https://github.com/CanePlayz), [Datacra5H](https://github.com/Datacra5H), [ebnater](https://github.com/ebnater), [michaelmairegger](https://github.com/michaelmairegger), [Seeloewen](https://github.com/Seeloewen) |
123+
| <img src='https://flagcdn.com/gr.svg' width=20> &nbsp; Greek - Ελληνικά | 50% | [antwnhsx](https://github.com/antwnhsx), [wobblerrrgg](https://github.com/wobblerrrgg) |
124124
| <img src='https://flagcdn.com/gb.svg' width=20> &nbsp; English - English | 100% | [marticliment](https://github.com/marticliment), [ppvnf](https://github.com/ppvnf) |
125-
| <img src='https://flagcdn.com/es.svg' width=20> &nbsp; Spanish - Castellano | 71% | [apazga](https://github.com/apazga), [dalbitresb12](https://github.com/dalbitresb12), [evaneliasyoung](https://github.com/evaneliasyoung), [guplem](https://github.com/guplem), [JMoreno97](https://github.com/JMoreno97), [marticliment](https://github.com/marticliment), [rubnium](https://github.com/rubnium), [uKER](https://github.com/uKER) |
126-
| <img src='https://flagcdn.com/ir.svg' width=20> &nbsp; Persian - فارسی‎ | 50% | [itsarian](https://github.com/itsarian), [Mahdi-Hazrati](https://github.com/Mahdi-Hazrati), [smsi2001](https://github.com/smsi2001) |
127-
| <img src='https://flagcdn.com/fr.svg' width=20> &nbsp; French - Français | 71% | Evans Costa, Rémi Guerrero, [W1L7dev](https://github.com/W1L7dev) |
125+
| <img src='https://flagcdn.com/es.svg' width=20> &nbsp; Spanish - Castellano | 70% | [apazga](https://github.com/apazga), [dalbitresb12](https://github.com/dalbitresb12), [evaneliasyoung](https://github.com/evaneliasyoung), [guplem](https://github.com/guplem), [JMoreno97](https://github.com/JMoreno97), [marticliment](https://github.com/marticliment), [rubnium](https://github.com/rubnium), [uKER](https://github.com/uKER) |
126+
| <img src='https://flagcdn.com/ir.svg' width=20> &nbsp; Persian - فارسی‎ | 49% | [itsarian](https://github.com/itsarian), [Mahdi-Hazrati](https://github.com/Mahdi-Hazrati), [smsi2001](https://github.com/smsi2001) |
127+
| <img src='https://flagcdn.com/fr.svg' width=20> &nbsp; French - Français | 99% | Evans Costa, Rémi Guerrero, [W1L7dev](https://github.com/W1L7dev) |
128128
| <img src='https://flagcdn.com/in.svg' width=20> &nbsp; Hindi - हिंदी | 57% | [atharva_xoxo](https://github.com/atharva_xoxo), [satanarious](https://github.com/satanarious) |
129-
| <img src='https://flagcdn.com/hr.svg' width=20> &nbsp; Croatian - Hrvatski | 61% | Stjepan Treger |
130-
| <img src='https://flagcdn.com/il.svg' width=20> &nbsp; Hebrew - עִבְרִית‎ | 51% | Oryan |
131-
| <img src='https://flagcdn.com/hu.svg' width=20> &nbsp; Hungarian - Magyar | 71% | [gidano](https://github.com/gidano) |
132-
| <img src='https://flagcdn.com/it.svg' width=20> &nbsp; Italian - Italiano | 95% | David Senoner, [giacobot](https://github.com/giacobot), [maicol07](https://github.com/maicol07), [mapi68](https://github.com/mapi68), [mrfranza](https://github.com/mrfranza), Rosario Di Mauro |
133-
| <img src='https://flagcdn.com/id.svg' width=20> &nbsp; Indonesian - Bahasa Indonesia | 62% | [arthackrc](https://github.com/arthackrc), [joenior](https://github.com/joenior) |
134-
| <img src='https://flagcdn.com/jp.svg' width=20> &nbsp; Japanese - 日本語 | 71% | [nob-swik](https://github.com/nob-swik), sho9029, Takaki IEKURA, Yuki Takase |
135-
| <img src='https://flagcdn.com/kr.svg' width=20> &nbsp; Korean - 한국어 | 71% | [minbert](https://github.com/minbert), [shblue21](https://github.com/shblue21) |
136-
| <img src='https://flagcdn.com/mk.svg' width=20> &nbsp; Macedonian - Македонски | 67% | LordDeatHunter |
137-
| <img src='https://flagcdn.com/no.svg' width=20> &nbsp; Norwegian (bokmål) | 71% | [jonaskm](https://github.com/jonaskm), [yrjarv](https://github.com/yrjarv) |
138-
| <img src='https://flagcdn.com/no.svg' width=20> &nbsp; Norwegian (nynorsk) | 71% | YrjarV |
139-
| <img src='https://flagcdn.com/nl.svg' width=20> &nbsp; Dutch - Nederlands | 95% | [abbydiode](https://github.com/abbydiode), [Stephan-P](https://github.com/Stephan-P) |
140-
| <img src='https://flagcdn.com/pl.svg' width=20> &nbsp; Polish - Polski | 71% | [KamilZielinski](https://github.com/KamilZielinski), [kwiateusz](https://github.com/kwiateusz), [RegularGvy13](https://github.com/RegularGvy13) |
141-
| <img src='https://flagcdn.com/br.svg' width=20> &nbsp; Portuguese (Brazil) | 68% | [maisondasilva](https://github.com/maisondasilva), [ppvnf](https://github.com/ppvnf), [wanderleihuttel](https://github.com/wanderleihuttel) |
142-
| <img src='https://flagcdn.com/pt.svg' width=20> &nbsp; Portuguese (Portugal) | 68% | [PoetaGA](https://github.com/PoetaGA), [ppvnf](https://github.com/ppvnf) |
143-
| <img src='https://flagcdn.com/ro.svg' width=20> &nbsp; Romanian - Română | 71% | Mihai Vasiliu, TZACANEL |
129+
| <img src='https://flagcdn.com/hr.svg' width=20> &nbsp; Croatian - Hrvatski | 60% | Stjepan Treger |
130+
| <img src='https://flagcdn.com/il.svg' width=20> &nbsp; Hebrew - עִבְרִית‎ | 50% | Oryan |
131+
| <img src='https://flagcdn.com/hu.svg' width=20> &nbsp; Hungarian - Magyar | 70% | [gidano](https://github.com/gidano) |
132+
| <img src='https://flagcdn.com/it.svg' width=20> &nbsp; Italian - Italiano | 99% | David Senoner, [giacobot](https://github.com/giacobot), [maicol07](https://github.com/maicol07), [mapi68](https://github.com/mapi68), [mrfranza](https://github.com/mrfranza), Rosario Di Mauro |
133+
| <img src='https://flagcdn.com/id.svg' width=20> &nbsp; Indonesian - Bahasa Indonesia | 61% | [arthackrc](https://github.com/arthackrc), [joenior](https://github.com/joenior) |
134+
| <img src='https://flagcdn.com/jp.svg' width=20> &nbsp; Japanese - 日本語 | 74% | [nob-swik](https://github.com/nob-swik), sho9029, [tacostea](https://github.com/tacostea), Yuki Takase |
135+
| <img src='https://flagcdn.com/kr.svg' width=20> &nbsp; Korean - 한국어 | 72% | [minbert](https://github.com/minbert), [shblue21](https://github.com/shblue21) |
136+
| <img src='https://flagcdn.com/mk.svg' width=20> &nbsp; Macedonian - Македонски | 66% | LordDeatHunter |
137+
| <img src='https://flagcdn.com/no.svg' width=20> &nbsp; Norwegian (bokmål) | 70% | [jonaskm](https://github.com/jonaskm), [yrjarv](https://github.com/yrjarv) |
138+
| <img src='https://flagcdn.com/no.svg' width=20> &nbsp; Norwegian (nynorsk) | 70% | YrjarV |
139+
| <img src='https://flagcdn.com/nl.svg' width=20> &nbsp; Dutch - Nederlands | 99% | [abbydiode](https://github.com/abbydiode), [Stephan-P](https://github.com/Stephan-P) |
140+
| <img src='https://flagcdn.com/pl.svg' width=20> &nbsp; Polish - Polski | 70% | [KamilZielinski](https://github.com/KamilZielinski), [kwiateusz](https://github.com/kwiateusz), [RegularGvy13](https://github.com/RegularGvy13) |
141+
| <img src='https://flagcdn.com/br.svg' width=20> &nbsp; Portuguese (Brazil) | 67% | [maisondasilva](https://github.com/maisondasilva), [ppvnf](https://github.com/ppvnf), [wanderleihuttel](https://github.com/wanderleihuttel) |
142+
| <img src='https://flagcdn.com/pt.svg' width=20> &nbsp; Portuguese (Portugal) | 67% | [PoetaGA](https://github.com/PoetaGA), [ppvnf](https://github.com/ppvnf) |
143+
| <img src='https://flagcdn.com/ro.svg' width=20> &nbsp; Romanian - Română | 70% | Mihai Vasiliu, TZACANEL |
144144
| <img src='https://flagcdn.com/ru.svg' width=20> &nbsp; Russian - Русский | 63% | [bropines](https://github.com/bropines), [flatron4eg](https://github.com/flatron4eg), [katrovsky](https://github.com/katrovsky), Sergey, sklart |
145-
| <img src='https://flagcdn.com/rs.svg' width=20> &nbsp; Serbian - Srpski | 71% | [daVinci13](https://github.com/daVinci13), Nemanja Djurcic |
145+
| <img src='https://flagcdn.com/rs.svg' width=20> &nbsp; Serbian - Srpski | 70% | [daVinci13](https://github.com/daVinci13), Nemanja Djurcic |
146146
| <img src='https://flagcdn.com/lk.svg' width=20> &nbsp; Sinhala - සිංහල | 6% | [SashikaSandeepa](https://github.com/SashikaSandeepa) |
147-
| <img src='https://flagcdn.com/si.svg' width=20> &nbsp; Slovene - Slovenščina | 71% | [rumplin](https://github.com/rumplin) |
147+
| <img src='https://flagcdn.com/si.svg' width=20> &nbsp; Slovene - Slovenščina | 70% | [rumplin](https://github.com/rumplin) |
148148
| <img src='https://flagcdn.com/ph.svg' width=20> &nbsp; Tagalog - Tagalog | 15% | lasersPew |
149-
| <img src='https://flagcdn.com/th.svg' width=20> &nbsp; Thai - ภาษาไทย | 71% | [apaeisara](https://github.com/apaeisara), [dulapahv](https://github.com/dulapahv) |
150-
| <img src='https://flagcdn.com/tr.svg' width=20> &nbsp; Turkish - Türkçe | 60% | [ahmetozmtn](https://github.com/ahmetozmtn), [gokberkgs](https://github.com/gokberkgs) |
149+
| <img src='https://flagcdn.com/th.svg' width=20> &nbsp; Thai - ภาษาไทย | 70% | [apaeisara](https://github.com/apaeisara), [dulapahv](https://github.com/dulapahv) |
150+
| <img src='https://flagcdn.com/tr.svg' width=20> &nbsp; Turkish - Türkçe | 59% | [ahmetozmtn](https://github.com/ahmetozmtn), [gokberkgs](https://github.com/gokberkgs) |
151151
| <img src='https://flagcdn.com/ua.svg' width=20> &nbsp; Ukranian - Yкраї́нська | 59% | Artem Moldovanenko, Operator404 |
152-
| <img src='https://flagcdn.com/vn.svg' width=20> &nbsp; Vietnamese - Tiếng Việt | 71% | [legendsjoon](https://github.com/legendsjoon), [txavlog](https://github.com/txavlog) |
153-
| <img src='https://flagcdn.com/cn.svg' width=20> &nbsp; Simplified Chinese (China) | 71% | Aaron Liu, adfnekc, BUGP Association, ciaran, CnYeSheng, Cololi |
154-
| <img src='https://flagcdn.com/tw.svg' width=20> &nbsp; Traditional Chinese (Taiwan) | 73% | Aaron Liu, CnYeSheng, Cololi, [yrctw](https://github.com/yrctw) |
152+
| <img src='https://flagcdn.com/vn.svg' width=20> &nbsp; Vietnamese - Tiếng Việt | 70% | [legendsjoon](https://github.com/legendsjoon), [txavlog](https://github.com/txavlog) |
153+
| <img src='https://flagcdn.com/cn.svg' width=20> &nbsp; Simplified Chinese (China) | 70% | Aaron Liu, adfnekc, BUGP Association, ciaran, CnYeSheng, Cololi |
154+
| <img src='https://flagcdn.com/tw.svg' width=20> &nbsp; Traditional Chinese (Taiwan) | 72% | Aaron Liu, CnYeSheng, Cololi, [yrctw](https://github.com/yrctw) |
155155

156-
Last updated: Thu Mar 7 07:49:01 2024
156+
Last updated: Thu Mar 7 23:22:49 2024
157157
<!-- END Autogenerated translations -->
158158

159159

scripts/Languages/LangData.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
import json
1111

1212
if os.path.exists("../src/wingetui/Assets/Data/Contributors.list"):
13-
f = open("../src/wingetui/Assets/Data/Contributors.list", "r")
13+
f = open("../src/wingetui/Assets/Data/Contributors.list", "r", encoding="utf-8")
1414
contributors = f.readlines()
1515
else:
1616
print("No contributors file!")
1717
contributors = []
1818

1919
if os.path.exists("../src/wingetui/Assets/Data/Translators.json"):
20-
f = open("../src/wingetui/Assets/Data/Translators.json", "r")
20+
f = open("../src/wingetui/Assets/Data/Translators.json", "r", encoding="utf-8")
2121
languageCredits = json.load(f)
2222
else:
2323
print("No translators file!")
2424
languageCredits = {}
2525

2626
if os.path.exists("../src/wingetui/Assets/Data/TranslatedPercentages.json"):
27-
f = open("../src/wingetui/Assets/Data/TranslatedPercentages.json", "r")
27+
f = open("../src/wingetui/Assets/Data/TranslatedPercentages.json", "r", encoding="utf-8")
2828
untranslatedPercentage = json.load(f)
2929
else:
3030
print("No translated percent file!")

scripts/download_translations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@
133133
# languageCredits = {json.dumps(langCredits, indent=2, ensure_ascii=False)}
134134
# """
135135

136-
with open(os.path.join(root_dir, "src/wingetui/Assets/Data/Translators.json"), "w") as f:
136+
with open(os.path.join(root_dir, "src/wingetui/Assets/Data/Translators.json"), "w", encoding="utf-8") as f:
137137
f.write(json.dumps(langCredits, indent=2, ensure_ascii=False))
138138

139-
with open(os.path.join(root_dir, "src/wingetui/Assets/Data/TranslatedPercentages.json"), "w") as f:
139+
with open(os.path.join(root_dir, "src/wingetui/Assets/Data/TranslatedPercentages.json"), "w", encoding="utf-8") as f:
140140
f.write(json.dumps(langPerc, indent=2, ensure_ascii=False))
141141

142142
# translations_filepath = os.path.normpath(os.path.join(root_dir, "wingetui/Core/Data/Translations.py"))
Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,42 @@
11
{
2-
"ar": "67%",
3-
"bg": "64%",
4-
"bn": "71%",
5-
"cs": "71%",
2+
"ar": "66%",
3+
"bg": "63%",
4+
"bn": "70%",
5+
"cs": "70%",
66
"da": "20%",
7-
"de": "71%",
8-
"el": "51%",
9-
"es": "71%",
10-
"fa": "50%",
7+
"de": "70%",
8+
"el": "50%",
9+
"es": "70%",
10+
"fa": "49%",
1111
"fi": "0%",
12-
"he": "51%",
12+
"fr": "99%",
13+
"he": "50%",
1314
"hi": "57%",
14-
"hr": "61%",
15-
"hu": "71%",
16-
"id": "62%",
17-
"ja": "71%",
18-
"ko": "73%",
19-
"mk": "67%",
20-
"nb": "71%",
21-
"nn": "71%",
22-
"pl": "71%",
23-
"pt_BR": "68%",
24-
"pt_PT": "68%",
25-
"ro": "71%",
15+
"hr": "60%",
16+
"hu": "70%",
17+
"id": "61%",
18+
"it": "99%",
19+
"ja": "74%",
20+
"ko": "72%",
21+
"mk": "66%",
22+
"nb": "70%",
23+
"nl": "99%",
24+
"nn": "70%",
25+
"pl": "70%",
26+
"pt_BR": "67%",
27+
"pt_PT": "67%",
28+
"ro": "70%",
2629
"ru": "63%",
2730
"si": "6%",
28-
"sl": "71%",
29-
"sr": "71%",
31+
"sl": "70%",
32+
"sr": "70%",
3033
"sv": "0%",
3134
"tg": "15%",
32-
"th": "71%",
33-
"tr": "60%",
35+
"th": "70%",
36+
"tr": "59%",
3437
"ua": "59%",
3538
"ur": "0%",
36-
"vi": "71%",
37-
"zh_CN": "71%",
38-
"zh_TW": "73%"
39+
"vi": "70%",
40+
"zh_CN": "70%",
41+
"zh_TW": "72%"
3942
}

src/wingetui/Assets/Data/Translators.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
"link": ""
157157
},
158158
{
159-
"name": "Rémi Guerrero",
159+
"name": "Rémi Guerrero",
160160
"link": ""
161161
},
162162
{
@@ -238,8 +238,8 @@
238238
"link": ""
239239
},
240240
{
241-
"name": "Takaki IEKURA",
242-
"link": ""
241+
"name": "tacostea",
242+
"link": "https://github.com/tacostea"
243243
},
244244
{
245245
"name": "Yuki Takase",

0 commit comments

Comments
 (0)