Remove the counter from the fetching campaigns step

This commit is contained in:
DevilXD committed 2022-11-22 09:02:20 +01:00
1 parent 0f538482c7
commit d308fad51c
5 files changed
+12 -18

No files matched your search

+2 -3
View File
@@ -242,7 +242,7 @@ default_translation: Translation = {
"gathering": "Gathering channels...",
"switching": "Switching the channel...",
"fetching_inventory": "Fetching inventory...",
"fetching_campaigns": "Fetching campaigns... {counter}",
"fetching_campaigns": "Fetching campaigns...",
"adding_campaigns": "Adding campaigns to inventory... {counter}",
},
"tabs": {
@@ -392,8 +392,7 @@ class Translator:
# if we're in dev, update the template English.json file
if not IS_PACKAGED:
default_langpath = LANG_PATH.joinpath(f"{DEFAULT_LANG}.json")
if not default_langpath.exists():
json_save(default_langpath, default_translation)
json_save(default_langpath, default_translation)
self._translation["language_name"] = DEFAULT_LANG
# load available translation names
for filepath in LANG_PATH.glob("*.json"):