Skip to content

Commit

Permalink
Update scripts from WingetUI
Browse files Browse the repository at this point in the history
  • Loading branch information
panther7 committed Aug 1, 2023
1 parent f3f60b0 commit c22a91a
Show file tree
Hide file tree
Showing 18 changed files with 722 additions and 125 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/lang-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
uses: actions/checkout@v3
- name: Download Tolgee translations
run: |
cd elevenclock/lang
python download_translations.py --autocommit
python scripts/download_translations.py --autocommit
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env/
elevenclock.py
compile.py
build_BETA.bat
elevenclock/lang/APIKEY.txt
APIKEY.txt
ElevenClock.Installer.exe
__init__.exe
ElevenClock.Installer.exe.zip
Expand Down
1 change: 0 additions & 1 deletion build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ rmdir /Q /S tzdata
popd

pushd ElevenClockBin\lang
del APIKEY.txt
del download_translations.pyc
popd

Expand Down
3 changes: 0 additions & 3 deletions elevenclock/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
except ImportError:
importedPsutil = False
import win32gui
import pythoncom
import win32com.client
from PySide6.QtGui import *
from PySide6.QtCore import *
from PySide6.QtWidgets import *
Expand All @@ -43,7 +41,6 @@
from external.FramelessWindow import QFramelessDialog
from external.timezones import win_tz

from languages import *
from versions import *
import globals

Expand Down
163 changes: 163 additions & 0 deletions elevenclock/data/contributors.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
# Autogenerated file, do not modify it!!!

contributors = [
"marticliment",
"panther7",
"kirill-d-lappo",
"Lilobast",
"BoyceLig",
"sinusinu",
"Seeloewen",
"VenusGirl",
"noname-ctrl",
"ShintakuNobuhiro",
"xsm1997",
"wanderleihuttel",
"mmis1000",
"norway-yv",
"jameshamm",
"jmlcoliveira",
"richeyphu",
"viktak",
"MatousAdamu",
"SkebbZ",
"scrocquesel",
"domlobo",
"harel013",
"kinr0k",
"ppvnf",
"jstmrby"
]

contributorsInfo = [
{
"name": "marticliment",
"link": "https://github.com/marticliment",
"contributions": 1682
},
{
"name": "panther7",
"link": "https://github.com/panther7",
"contributions": 83
},
{
"name": "kirill-d-lappo",
"link": "https://github.com/kirill-d-lappo",
"contributions": 32
},
{
"name": "Lilobast",
"link": "https://github.com/Lilobast",
"contributions": 25
},
{
"name": "BoyceLig",
"link": "https://github.com/BoyceLig",
"contributions": 20
},
{
"name": "sinusinu",
"link": "https://github.com/sinusinu",
"contributions": 15
},
{
"name": "Seeloewen",
"link": "https://github.com/Seeloewen",
"contributions": 13
},
{
"name": "VenusGirl",
"link": "https://github.com/VenusGirl",
"contributions": 13
},
{
"name": "noname-ctrl",
"link": "https://github.com/noname-ctrl",
"contributions": 11
},
{
"name": "ShintakuNobuhiro",
"link": "https://github.com/ShintakuNobuhiro",
"contributions": 10
},
{
"name": "xsm1997",
"link": "https://github.com/xsm1997",
"contributions": 9
},
{
"name": "wanderleihuttel",
"link": "https://github.com/wanderleihuttel",
"contributions": 8
},
{
"name": "mmis1000",
"link": "https://github.com/mmis1000",
"contributions": 8
},
{
"name": "norway-yv",
"link": "https://github.com/norway-yv",
"contributions": 8
},
{
"name": "jameshamm",
"link": "https://github.com/jameshamm",
"contributions": 6
},
{
"name": "jmlcoliveira",
"link": "https://github.com/jmlcoliveira",
"contributions": 6
},
{
"name": "richeyphu",
"link": "https://github.com/richeyphu",
"contributions": 4
},
{
"name": "viktak",
"link": "https://github.com/viktak",
"contributions": 4
},
{
"name": "MatousAdamu",
"link": "https://github.com/MatousAdamu",
"contributions": 3
},
{
"name": "SkebbZ",
"link": "https://github.com/SkebbZ",
"contributions": 3
},
{
"name": "scrocquesel",
"link": "https://github.com/scrocquesel",
"contributions": 3
},
{
"name": "domlobo",
"link": "https://github.com/domlobo",
"contributions": 3
},
{
"name": "harel013",
"link": "https://github.com/harel013",
"contributions": 3
},
{
"name": "kinr0k",
"link": "https://github.com/kinr0k",
"contributions": 3
},
{
"name": "ppvnf",
"link": "https://github.com/ppvnf",
"contributions": 3
},
{
"name": "jstmrby",
"link": "https://github.com/jstmrby",
"contributions": 3
}
]
84 changes: 84 additions & 0 deletions elevenclock/data/translations.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Autogenerated file, do not modify it!!!

untranslatedPercentage = {
"ar": "69%",
"bg": "16%",
"bs": "5%",
"cs": "98%",
"da": "97%",
"de": "97%",
"el": "17%",
"es": "97%",
"et": "83%",
"fa": "5%",
"fi": "95%",
"he": "83%",
"hr": "79%",
"hu": "90%",
"id": "83%",
"it": "97%",
"ja": "90%",
"lt": "18%",
"lv": "55%",
"nb": "97%",
"nl": "83%",
"nn": "97%",
"pl": "97%",
"pt_BR": "97%",
"ro": "83%",
"ru": "98%",
"sk": "28%",
"sl": "97%",
"sr": "18%",
"sv": "69%",
"th": "73%",
"tr": "97%",
"ua": "90%",
"vi": "91%",
"zh_CN": "97%",
"zh_TW": "97%"
}

languageCredits = {
"ar": [],
"bg": [],
"bs": [],
"ca": [],
"cs": [],
"da": [],
"de": [],
"el": [],
"en": [],
"es": [],
"et": [],
"fa": [],
"fi": [],
"fr": [],
"he": [],
"hr": [],
"hu": [],
"id": [],
"it": [],
"ja": [],
"ko": [],
"lt": [],
"lv": [],
"nb": [],
"nl": [],
"nn": [],
"pl": [],
"pt_BR": [],
"pt_PT": [],
"ro": [],
"ru": [],
"sk": [],
"sl": [],
"sr": [],
"sv": [],
"th": [],
"tr": [],
"ua": [],
"vi": [],
"zh_CN": [],
"zh_TW": []
}
Loading

0 comments on commit c22a91a

Please sign in to comment.