From 87a46cdabbe2c429756bfae46c6141535bb10bc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20M=C3=B6sner?= Date: Thu, 13 Jul 2023 12:12:42 +0200 Subject: [PATCH 1/4] Update scripts from WingetUI --- .github/workflows/lang-updates.yml | 3 +- .gitignore | 2 +- build.cmd | 1 - elevenclock/__init__.py | 3 - elevenclock/data/contributors.py | 163 ++++++++++++++++++ elevenclock/data/translations.py | 84 +++++++++ elevenclock/lang/lang_tools.py | 81 +++++++-- elevenclock/{ => lang}/languages.py | 0 elevenclock/lang/translated_percentage.py | 39 ----- elevenclock/settings.py | 5 +- elevenclock/tools.py | 2 +- elevenclock/welcome.py | 2 +- .../lang => scripts}/download_translations.py | 109 ++++++------ scripts/get_contributors.py | 43 +++++ .../purge_unusedtranslations.py | 15 +- scripts/tolgee_requests.py | 87 ++++++++++ scripts/translation_commands.py | 133 ++++++++++++++ scripts/translation_utils.py | 75 ++++++++ 18 files changed, 722 insertions(+), 125 deletions(-) create mode 100644 elevenclock/data/contributors.py create mode 100644 elevenclock/data/translations.py rename elevenclock/{ => lang}/languages.py (100%) delete mode 100644 elevenclock/lang/translated_percentage.py rename {elevenclock/lang => scripts}/download_translations.py (58%) create mode 100644 scripts/get_contributors.py rename {elevenclock/lang => scripts}/purge_unusedtranslations.py (72%) create mode 100644 scripts/tolgee_requests.py create mode 100644 scripts/translation_commands.py create mode 100644 scripts/translation_utils.py diff --git a/.github/workflows/lang-updates.yml b/.github/workflows/lang-updates.yml index 1c07988a..21da91e1 100644 --- a/.github/workflows/lang-updates.yml +++ b/.github/workflows/lang-updates.yml @@ -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: diff --git a/.gitignore b/.gitignore index 0ebad4d4..b2fa5c7f 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/build.cmd b/build.cmd index 8d8c6c41..152d21b9 100644 --- a/build.cmd +++ b/build.cmd @@ -87,7 +87,6 @@ rmdir /Q /S tzdata popd pushd ElevenClockBin\lang -del APIKEY.txt del download_translations.pyc popd diff --git a/elevenclock/__init__.py b/elevenclock/__init__.py index 0952aab3..c7e07e6d 100644 --- a/elevenclock/__init__.py +++ b/elevenclock/__init__.py @@ -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 * @@ -43,7 +41,6 @@ from external.FramelessWindow import QFramelessDialog from external.timezones import win_tz - from languages import * from versions import * import globals diff --git a/elevenclock/data/contributors.py b/elevenclock/data/contributors.py new file mode 100644 index 00000000..0b50da5f --- /dev/null +++ b/elevenclock/data/contributors.py @@ -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 + } +] \ No newline at end of file diff --git a/elevenclock/data/translations.py b/elevenclock/data/translations.py new file mode 100644 index 00000000..3f118b63 --- /dev/null +++ b/elevenclock/data/translations.py @@ -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": [] +} \ No newline at end of file diff --git a/elevenclock/lang/lang_tools.py b/elevenclock/lang/lang_tools.py index 3ddf7f55..09805dcb 100644 --- a/elevenclock/lang/lang_tools.py +++ b/elevenclock/lang/lang_tools.py @@ -1,12 +1,11 @@ -from os.path import exists -from pathlib import Path - +import os languageReference = { "default": "System language", "ar" : "Arabic - عربي‎", - "bs" : "Bosnian - Bosanski", "bg" : "Bulgarian - български", + "bn" : "Bangla - বাংলা", + "bs" : "Bosnian - Bosanski", "ca" : "Catalan - Català", "cs" : "Czech - Čeština", "da" : "Danish - Dansk", @@ -19,6 +18,7 @@ "fi" : "Finnish - Suomi", "fr" : "French - Français", "he" : "Hebrew - עִבְרִית‎", + "hi" : "Hindi - हिंदी", "hr" : "Croatian - Hrvatski", "hu" : "Hungarian - Magyar", "id" : "Indonesian - Bahasa Indonesia", @@ -40,6 +40,7 @@ "sl" : "Slovene - Slovenščina", "sr" : "Serbian - Srpski", "sv" : "Swedish - Svenska", + "tg" : "Tagalog - Tagalog", "th" : "Thai - ภาษาไทย", "tr" : "Turkish - Türkçe", "ua" : "Ukranian - Yкраї́нська", @@ -50,26 +51,28 @@ languageRemap = { - "pt-PT": "pt_PT", - "pt-BR": "pt_BR", - "uk": "ua", - "zh-Hant-TW": "zh_TW", + "pt-BR": "pt_BR", + "pt-PT": "pt_PT", + "uk": "ua", "zh-Hans-CN": "zh_CN", + "zh-Hant-TW": "zh_TW", } # ISO 3166-1 languageFlagsRemap = { "ar": "sa", + "bn": "bd", "bs": "ba", "ca": "ad", "cs": "cz", "da": "dk", - "en": "gb", "el": "gr", + "en": "gb", "et": "ee", "fa": "ir", "he": "il", + "hi": "in", "ja": "jp", "ko": "kr", "nb": "no", @@ -78,30 +81,74 @@ "pt_PT": "pt", "si": "lk", "sl": "si", - "zh_CN": "cn", - "zh_TW": "tw", - "vi": "vn", "sr": "rs", "sv": "se", + "tg": "ph", + "vi": "vn", + "zh_CN": "cn", + "zh_TW": "tw", + "zh": "cn", } def getMarkdownSupportLangs(): - from translated_percentage import untranslatedPercentage + from data.translations import languageCredits, untranslatedPercentage readmeLangs = [ - "| Language | Translated | |", + "| Language | Translated | Translator(s) |", "| :-- | :-- | --- |", ] - dir = str(Path(__file__).parent) + dir = os.path.dirname(__file__) for lang, langName in languageReference.items(): - if (not exists(f"{dir}/lang_{lang}.json")): continue + if (not os.path.exists(f"{dir}/lang_{lang}.json")): continue perc = untranslatedPercentage[lang] if (lang in untranslatedPercentage) else "100%" if (perc == "0%"): continue langName = languageReference[lang] if (lang in languageReference) else lang flag = languageFlagsRemap[lang] if (lang in languageFlagsRemap) else lang - readmeLangs.append(f"| {langName} | {perc} | |") + credits = makeURLFromTranslatorList(languageCredits[lang] if (lang in languageCredits) else "") + readmeLangs.append(f"|   {langName} | {perc} | {credits} |") readmeLangs.append("") return "\n".join(readmeLangs) + + +def getTranslatorsFromCredits(translators: str) -> list: + from data.contributors import contributors + if translators == None: + return [] + credits: list = [] + translatorList = [] + translatorData = {} + for translator in translators.split(","): + translatorStriped = translator.strip() + if (translatorStriped != ""): + translatorPrefixed = (translatorStriped[0] == "@") + if (translatorPrefixed): + translatorStriped = translatorStriped[1:] + link = "" + if (translatorPrefixed or translatorStriped in contributors): + link = f"https://github.com/{translatorStriped}" + translatorList.append(translatorStriped) + translatorData[translatorStriped] = { + "name": translatorStriped, + "link": link, + } + translatorList.sort(key=str.casefold) + for translator in translatorList: + credits.append(translatorData[translator]) + return credits + + +def makeURLFromTranslatorList(translators: list) -> str: + if translators == None: + return "" + credits: list[str] = [] + for translator in translators: + link = translator.get("link") + name = translator.get("name") + if (link): + credits.append(f"[{name}]({link})") + else: + credits.append(name) + return ", ".join(credits) diff --git a/elevenclock/languages.py b/elevenclock/lang/languages.py similarity index 100% rename from elevenclock/languages.py rename to elevenclock/lang/languages.py diff --git a/elevenclock/lang/translated_percentage.py b/elevenclock/lang/translated_percentage.py deleted file mode 100644 index 57a2b20a..00000000 --- a/elevenclock/lang/translated_percentage.py +++ /dev/null @@ -1,39 +0,0 @@ -# Autogenerated file, do not modify it!!! -# The following list includes ONLY non-full translated files. - -untranslatedPercentage = { - "ar": "69%", - "bg": "16%", - "bs": "5%", - "cs": "98%", - "da": "99%", - "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%" -} \ No newline at end of file diff --git a/elevenclock/settings.py b/elevenclock/settings.py index 9841c0a1..42851659 100644 --- a/elevenclock/settings.py +++ b/elevenclock/settings.py @@ -27,11 +27,10 @@ import globals from win32mica import ApplyMica, MICAMODE -from languages import * -from lang.translated_percentage import * +from data.contributors import contributorsInfo +from data.translations import languageCredits, untranslatedPercentage from tools import * from tools import _ -import tools import win32gui diff --git a/elevenclock/tools.py b/elevenclock/tools.py index 04d04163..c2af4080 100644 --- a/elevenclock/tools.py +++ b/elevenclock/tools.py @@ -20,7 +20,7 @@ import pyautogui import globals -from languages import * +from lang.languages import * from external.FramelessWindow import QFramelessDialog from threading import Thread from urllib.request import urlopen diff --git a/elevenclock/welcome.py b/elevenclock/welcome.py index f5cda64d..64daa0f4 100644 --- a/elevenclock/welcome.py +++ b/elevenclock/welcome.py @@ -18,7 +18,7 @@ import globals -from languages import * +from lang.languages import * from tools import * from tools import _ diff --git a/elevenclock/lang/download_translations.py b/scripts/download_translations.py similarity index 58% rename from elevenclock/lang/download_translations.py rename to scripts/download_translations.py index 74349898..45437fa3 100644 --- a/elevenclock/lang/download_translations.py +++ b/scripts/download_translations.py @@ -1,10 +1,20 @@ -import sys import json import os +import sys import time -sys.path.append('../') -from lang_tools import * +import tolgee_requests + +project_dir = "elevenclock" +root_dir = os.path.join(os.path.dirname(__file__), "..") +os.chdir(root_dir) # move to root project + +sys.path.append(project_dir) + +from lang.lang_tools import * + +# Update contributors +os.system("python scripts/get_contributors.py") countOfChanges = len(os.popen("git status -s").readlines()) @@ -18,24 +28,11 @@ print("nocommit") print(sys.argv[1]) -try: - apikey = open("APIKEY.txt", "r").read() - print(" API key found in APIKEY.txt") -except FileNotFoundError: - apikey = os.environ.get("TOLGEE_KEY", "") - if (apikey == ""): - apikey = input("Write api key and press enter: ") -apiurl = f"https://app.tolgee.io/v2/projects/688/export?format=JSON&structureDelimiter=&filterState=UNTRANSLATED&filterState=TRANSLATED&filterState=REVIEWED&zip=true" - -import os -try: - import requests -except ImportError: - os.system("pip install requests") - import requests -import glob, time, shutil, zipfile +import glob +import zipfile +os.chdir(os.path.normpath(os.path.join(root_dir, project_dir, "lang"))) print() print("-------------------------------------------------------") @@ -43,17 +40,16 @@ print(" Downloading updated translations...") -response = requests.get(apiurl, headers={"X-API-Key": apikey}) +response = tolgee_requests.export() if (not response.ok): statusCode = response.status_code print(f" Error {statusCode}: {response.text}") if (statusCode == 403): - print(f" APIKEY is probably wrong!") + print(" APIKEY is probably wrong!") exit(1) -f = open("langs.zip", "wb") -f.write(response.content) -langArchiveName = f.name -f.close() +with open("langs.zip", "wb") as f: + f.write(response.content) + langArchiveName = f.name print(" Download complete!") @@ -101,18 +97,26 @@ langPerc = {} +langCredits = {} + for lang in downloadedLanguages: - f = open(f"lang_{lang}.json", "r", encoding='utf-8') - data = json.load(f) - f.close() + with open(f"lang_{lang}.json", "r", encoding='utf-8') as f: + data = json.load(f) c = 0 a = 0 for key, value in data.items(): c += 1 if (value != None): a += 1 + credits = [] + try: + credits = getTranslatorsFromCredits(data["{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)"]) + except KeyError as e: + print(e) + print("Can't get translator list!") + langCredits[lang] = credits percNum = a / c - perc = "{:.0%}".format(percNum) + perc = f"{percNum:.0%}" if (perc == "100%" and percNum < 1): perc = "99%" if (perc == "100%" or lang == "en"): @@ -126,14 +130,15 @@ outputString = f""" # Autogenerated file, do not modify it!!! -# The following list includes ONLY non-full translated files. -untranslatedPercentage = {json.dumps(langPerc, indent=2)} +untranslatedPercentage = {json.dumps(langPerc, indent=2, ensure_ascii=False)} + +languageCredits = {json.dumps(langCredits, indent=2, ensure_ascii=False)} """ -f = open(f"translated_percentage.py", "w") -f.write(outputString.strip()) -f.close() +translations_filepath = os.path.normpath(os.path.join(root_dir, project_dir, "data/translations.py")) +with open(translations_filepath, "w", encoding="utf-8") as f: + f.write(outputString.strip()) print(" Process complete!") @@ -143,24 +148,24 @@ print(" Updating README.md...") -readmeFilename = "../../README.md" - -f = open(readmeFilename, "r+", encoding="utf-8") -skip = False -data = "" -for line in f.readlines(): - if (line.startswith("")): - data += line + getMarkdownSupportLangs() + "\nLast updated: "+str(time.ctime(time.time()))+"\n" - print(" Text modified") - skip = True - if (line.startswith("")): - skip = False - if (not skip): data += line -if (isSomeChanges): - f.seek(0) - f.write(data) - f.truncate() -f.close() +# Generate language table +readmeFilename = os.path.join(root_dir, "README.md") + +with open(readmeFilename, "r+", encoding="utf-8") as f: + skip = False + data = "" + for line in f.readlines(): + if (line.startswith("")): + data += f'{line}{getMarkdownSupportLangs()}\nLast updated: {str(time.ctime(time.time()))}\n' + print(" Text modified") + skip = True + if (line.startswith("")): + skip = False + if (not skip): data += line + if (isSomeChanges): + f.seek(0) + f.write(data) + f.truncate() print(" Process complete!") diff --git a/scripts/get_contributors.py b/scripts/get_contributors.py new file mode 100644 index 00000000..9c6e77c8 --- /dev/null +++ b/scripts/get_contributors.py @@ -0,0 +1,43 @@ +import json +import os + +project_dir = "elevenclock" +root_dir = os.path.join(os.path.dirname(__file__), "..") +os.chdir(root_dir) # move to root project + +print("Getting contributors...") + +try: + import requests +except ImportError: + os.system("pip install requests") + import requests + +response = requests.get("https://api.github.com/repos/marticliment/ElevenClock/contributors?anon=1") + +contributors = [] +contributorsInfo = [] + +for contributor in response.json(): + login = contributor.get("login", None) + if (contributor.get("type") == "User" and login): + contributors.append(login) + contributorsInfo.append({ + "name": login, + "link": contributor.get("html_url"), + "contributions": contributor.get("contributions"), + }) + +output = f""" +# Autogenerated file, do not modify it!!! + +contributors = {json.dumps(contributors, indent=2, ensure_ascii=False)} + +contributorsInfo = {json.dumps(contributorsInfo, indent=2, ensure_ascii=False)} +""" + +contributors_filepath = os.path.normpath(os.path.join(root_dir, project_dir, "data/contributors.py")) +with open(contributors_filepath, "w", encoding="utf-8") as f: + f.write(output.strip()) + +print("done!") diff --git a/elevenclock/lang/purge_unusedtranslations.py b/scripts/purge_unusedtranslations.py similarity index 72% rename from elevenclock/lang/purge_unusedtranslations.py rename to scripts/purge_unusedtranslations.py index be2c2efb..da1e254c 100644 --- a/elevenclock/lang/purge_unusedtranslations.py +++ b/scripts/purge_unusedtranslations.py @@ -1,12 +1,17 @@ -import os, glob, json +import glob +import json +import os try: + root_dir = os.path.join(os.path.dirname(__file__), "..") + os.chdir(os.path.normpath(os.path.join(root_dir, "wingetui/lang/"))) + contents = "" with open("lang_en.json", "r") as f: engfile = json.load(f) - os.chdir("../../") + os.chdir(root_dir) print(f"Working on 📂 {os.getcwd()}") for codefile in glob.glob("**/*.py", recursive=True): @@ -18,9 +23,9 @@ key = key.replace("\n", "\\n") if not key in contents: if not key.replace("\"", "\\\"") in contents: - print("Unused key 😳: "+str(key)) + print(f"Unused key 😳: {key}") print("Job finished succuessfully! 😎") except Exception as e: print("FAILED:", e) - -os.system("pause") \ No newline at end of file + +os.system("pause") diff --git a/scripts/tolgee_requests.py b/scripts/tolgee_requests.py new file mode 100644 index 00000000..9906e8ed --- /dev/null +++ b/scripts/tolgee_requests.py @@ -0,0 +1,87 @@ +import json +import os + +try: + import requests +except ImportError: + os.system("pip install requests") + import requests + + +__project_id = 688 # elevenclock +__api_url = f"https://app.tolgee.io/v2/projects/{__project_id}" +__api_key = "" +__headers: dict[str, str] = {} +__all_keys: dict = None + + +try: + with open("APIKEY.txt", "r") as f: + __api_key = f.read().strip() + if not __api_key: + raise ValueError("APIKEY.txt is empty") + # print("API key found in APIKEY.txt") +except FileNotFoundError: + __api_key = os.environ.get("TOLGEE_KEY", "") + if not __api_key: + __api_key = input("Write api key and press enter: ") +__headers["X-API-Key"] = __api_key + + +def export(format = "JSON", zip = True, langs: list[str] = []): + url = f"{__api_url}/export" + params = { + "format": format, + "languages": langs, + "structureDelimiter": "", + "filterState": [ + "REVIEWED", + "TRANSLATED", + "UNTRANSLATED", + ], + "zip": zip, + } + response = requests.get(url, headers=__headers, params=params) + return response + + +def create_key(key): + url = f"{__api_url}/keys/create" + json: dict[str, str] = { + "name": key + } + response = requests.post(url, headers=__headers, json=json) + return response + + +def get_keys(): + global __all_keys + if __all_keys: + return __all_keys + url = f"{__api_url}/keys" + params = { + "size": 1000, # TODO: paging... + } + response = requests.get(url, headers=__headers, params=params) + if not response.ok: + return False + data = json.loads(response.text) + retValue = {} + for value in data["_embedded"]["keys"]: + retValue[value["name"]] = value + __all_keys = retValue + return retValue + + +def delete_key(key): + all_keys = get_keys() + key_data = all_keys.get(key) + if not key_data: + return False + id = key_data.get("id") + url = f"{__api_url}/keys" + json: dict[str, str] = { + "ids": [id], + } + response = requests.delete(url, headers=__headers, json=json) + return response diff --git a/scripts/translation_commands.py b/scripts/translation_commands.py new file mode 100644 index 00000000..2655bdee --- /dev/null +++ b/scripts/translation_commands.py @@ -0,0 +1,133 @@ +import argparse +import json +from time import sleep + +import tolgee_requests +import translation_utils + +__parser = argparse.ArgumentParser() +__group = __parser.add_mutually_exclusive_group(required=True) +__group.add_argument("-p", "--print", help="Print unused and not translated strings", action="store_true") +__group.add_argument("-c", "--create", help="Create not translated strings", action="store_true") +__group.add_argument("-d", "--delete", help="Delete unused strings", action="store_true") +__parser.add_argument("--online", help="Compare with Tolgee translations via API", action="store_true") +__parser.add_argument("-y", "--yes", help="All answers are YES", action="store_true") +__args = __parser.parse_args() + + +def __confirm(message: str, choices: list[str], defaultValue = ""): + def createChoices(): + _choices: list[str] = [] + for key in choices: + if key == defaultValue: + key = key.upper() + _choices.append(key) + return '/'.join(_choices) + + try: + return (input(f"{message} [{createChoices()}]: ") or defaultValue).lower() + except KeyboardInterrupt: + exit(1) + + +def encode_str(str: str, strip = 0): + new_str = str + if strip > 0: + new_str = str[:strip].strip() + return new_str.encode("utf-8") + + +def create(strs: list[str]): + count = len(strs) + i = 1 + for key in strs: + print(f"[{i}/{count}] Key: {encode_str(key, strip=100)}") + i += 1 + if not __args.yes and __confirm("Create?", ["y", "n"], "y") != "y": + continue + print("Creating key... ", end="") + response = tolgee_requests.create_key(key) + if (not response.ok): + print("Failed") + print("Error", response.status_code, response.text) + return + else: + print("Ok") + sleep(0.150) + print("Done") + + +def delete(strs: list[str]): + count = len(strs) + i = 1 + for key in strs: + print(f"[{i}/{count}] Key: {encode_str(key, strip=100)}") + i += 1 + if not __args.yes and __confirm("Delete?", ["y", "n"], "y") != "y": + continue + print("Deleting key... ", end="") + response = tolgee_requests.delete_key(key) + if (not response.ok): + print("Failed") + print("Error", response.status_code, response.text) + return + else: + print("Ok") + sleep(0.150) + print("Done") + + +def __print(strs: list[str]): + output = json.dumps(strs, ensure_ascii=False, indent=" ") + print(output) + + +def __print_all(): + output = json.dumps(translation_utils.compare_strings(online=__args.online), ensure_ascii=False, indent=" ") + print(output) + + +def __delete(strs): + key_name = "not_used" + if key_name in strs: + stringsFound = len(strs[key_name]) + print(f"Found not used strings: {stringsFound}") + if stringsFound > 0: + sleep(1) + delete(strs[key_name]) + else: + print(f"Key '{key_name}' missing") + + +def __create(strs): + key_name = "not_translated" + if key_name in strs: + stringsFound = len(strs[key_name]) + print(f"Found not translated strings: {stringsFound}") + if stringsFound > 0: + if __args.print: + __print(strs[key_name]) + else: + sleep(1) + create(strs[key_name]) + else: + print(f"Key '{key_name}' missing") + + +def __init__(): + strs = translation_utils.compare_strings(online=__args.online) + print("Online mode:", __args.online) + + if __args.print: + return __print_all() + + if __args.create: + __create(strs) + return + + if __args.delete: + __delete(strs) + return + + +__init__() diff --git a/scripts/translation_utils.py b/scripts/translation_utils.py new file mode 100644 index 00000000..508316f0 --- /dev/null +++ b/scripts/translation_utils.py @@ -0,0 +1,75 @@ +import json +import os +import re + +import tolgee_requests + +project_dir = "elevenclock" +root_dir = os.path.join(os.path.dirname(__file__), "..") +os.chdir(os.path.join(root_dir, project_dir)) + + +__blacklist_strings = [ + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)", +] + + +# Function to remove special characters from a string +def remove_special_chars(string): + # Regular expression for special characters (excluding letters and digits) + special_chars = r'[^a-zA-Z0-9]' + # Use regular expression to remove special characters from the string + return re.sub(special_chars, '', string) + + +def get_all_strings(): + regex = r'(?<=_\(["\']).+?(?=["\']\))' + translation_strings: list[str] = [] + + for (dirpath, _dirnames, filenames) in os.walk(".", topdown=True): + for file in filenames: + _file_name, file_ext = os.path.splitext(file) + if (file_ext != ".py"): + continue + with open(os.path.join(dirpath, file), "r", encoding="utf-8") as f: + matches: list[str] = re.findall(regex, f.read()) + for match in matches: + translation_strings.append(match.encode('raw_unicode_escape').decode('unicode_escape')) + + translation_strings = list(set(translation_strings)) # uniq + translation_strings.sort(key=lambda x: (remove_special_chars(x.lower()), x)) + return translation_strings + + +def get_all_translations(lang = "en"): + with open(f"lang/lang_{lang}.json", "r", encoding="utf-8") as f: + lang_strings: dict[str, str] = json.load(f) + return lang_strings + + +def get_all_translations_online(lang = "en") -> dict[str, str]: + response = tolgee_requests.export(zip=False, langs=["en"]) + return json.loads(response.text) + + +def compare_strings(online = False): + not_used: list[str] = [] + translation_obj: dict[str, str] = {} + lang_strings: dict[str, str] = {} + if (online): + lang_strings = get_all_translations_online() + else: + lang_strings = get_all_translations() + for key in get_all_strings(): + translation_obj[key] = "" + for key in lang_strings.keys(): + if (key in __blacklist_strings): + continue + if (key in translation_obj): + del translation_obj[key] + else: + not_used.append(key) + return { + "not_used": not_used, + "not_translated": list(translation_obj), + } From ff9ff44b894f0cf39565641bbe940ee209d412a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Climent?= Date: Thu, 31 Aug 2023 12:38:24 +0200 Subject: [PATCH 2/4] add attribution key --- README.md | 88 ++++++++++++++++---------------- elevenclock/data/contributors.py | 4 +- elevenclock/data/translations.py | 39 ++++++++------ elevenclock/lang/lang_ar.json | 1 + elevenclock/lang/lang_bg.json | 1 + elevenclock/lang/lang_bs.json | 1 + elevenclock/lang/lang_ca.json | 1 + elevenclock/lang/lang_cs.json | 1 + elevenclock/lang/lang_da.json | 5 +- elevenclock/lang/lang_de.json | 17 +++--- elevenclock/lang/lang_el.json | 1 + elevenclock/lang/lang_en.json | 1 + elevenclock/lang/lang_es.json | 1 + elevenclock/lang/lang_et.json | 1 + elevenclock/lang/lang_fa.json | 1 + elevenclock/lang/lang_fi.json | 1 + elevenclock/lang/lang_fr.json | 1 + elevenclock/lang/lang_he.json | 1 + elevenclock/lang/lang_hr.json | 1 + elevenclock/lang/lang_hu.json | 1 + elevenclock/lang/lang_id.json | 1 + elevenclock/lang/lang_it.json | 1 + elevenclock/lang/lang_ja.json | 1 + elevenclock/lang/lang_ko.json | 1 + elevenclock/lang/lang_lt.json | 1 + elevenclock/lang/lang_lv.json | 1 + elevenclock/lang/lang_nb.json | 23 +++++---- elevenclock/lang/lang_nl.json | 5 +- elevenclock/lang/lang_nn.json | 17 +++--- elevenclock/lang/lang_pl.json | 1 + elevenclock/lang/lang_pt_BR.json | 1 + elevenclock/lang/lang_pt_PT.json | 1 + elevenclock/lang/lang_ro.json | 1 + elevenclock/lang/lang_ru.json | 1 + elevenclock/lang/lang_sk.json | 1 + elevenclock/lang/lang_sl.json | 17 +++--- elevenclock/lang/lang_sr.json | 1 + elevenclock/lang/lang_sv.json | 1 + elevenclock/lang/lang_th.json | 1 + elevenclock/lang/lang_tr.json | 1 + elevenclock/lang/lang_ua.json | 1 + elevenclock/lang/lang_vi.json | 1 + elevenclock/lang/lang_zh_CN.json | 19 +++---- elevenclock/lang/lang_zh_TW.json | 1 + 44 files changed, 159 insertions(+), 109 deletions(-) diff --git a/README.md b/README.md index 3992460e..259e4d02 100644 --- a/README.md +++ b/README.md @@ -66,51 +66,51 @@ In order to translate ElevenClock to other languages or to update an old transla ### Currently Supported languages -| Language | Translated | | +| Language | Translated | Translator(s) | | :-- | :-- | --- | -| Arabic - عربي‎ | 69% | | -| Bosnian - Bosanski | 5% | | -| Bulgarian - български | 16% | | -| Catalan - Català | 100% | | -| Czech - Čeština | 98% | | -| Danish - Dansk | 99% | | -| German - Deutsch | 97% | | -| Greek - Ελληνικά | 17% | | -| English - English | 100% | | -| Spanish - Español | 97% | | -| Estonian - eesti | 83% | | -| Persian - فارسی‎ | 5% | | -| Finnish - Suomi | 95% | | -| French - Français | 100% | | -| Hebrew - עִבְרִית‎ | 83% | | -| Croatian - Hrvatski | 79% | | -| Hungarian - Magyar | 90% | | -| Indonesian - Bahasa Indonesia | 83% | | -| Italian - Italiano | 97% | | -| Japanese - 日本語 | 90% | | -| Korean - 한국어 | 100% | | -| Lithuanian - Lietuvių | 18% | | -| Latvian - Latviski | 55% | | -| Norwegian (bokmål) | 97% | | -| Dutch - Nederlands | 83% | | -| Norwegian (nynorsk) | 97% | | -| Polish - Polski | 97% | | -| Portuguese (Brazil) | 97% | | -| Portuguese (Portugal) | 100% | | -| Romanian - Română | 83% | | -| Russian - Русский | 98% | | -| Slovak - Slovenčina | 28% | | -| Slovene - Slovenščina | 97% | | -| Serbian - Srpski | 18% | | -| Swedish - Svenska | 69% | | -| Thai - ภาษาไทย | 73% | | -| Turkish - Türkçe | 97% | | -| Ukranian - Yкраї́нська | 90% | | -| Vietnamese - Tiếng Việt | 91% | | -| Simplified Chinese (China) | 100% | | -| Traditional Chinese (Taiwan) | 100% | | - -Last updated: Thu Aug 3 00:58:56 2023 +|   Arabic - عربي‎ | 69% | | +|   Bulgarian - български | 16% | | +|   Bosnian - Bosanski | 5% | | +|   Catalan - Català | 99% | | +|   Czech - Čeština | 97% | | +|   Danish - Dansk | 99% | | +|   German - Deutsch | 99% | | +|   Greek - Ελληνικά | 17% | | +|   English - English | 100% | [marticliment](https://github.com/marticliment) | +|   Spanish - Español | 97% | | +|   Estonian - eesti | 83% | | +|   Persian - فارسی‎ | 5% | | +|   Finnish - Suomi | 94% | | +|   French - Français | 99% | | +|   Hebrew - עִבְרִית‎ | 83% | | +|   Croatian - Hrvatski | 78% | | +|   Hungarian - Magyar | 89% | | +|   Indonesian - Bahasa Indonesia | 83% | | +|   Italian - Italiano | 97% | | +|   Japanese - 日本語 | 90% | | +|   Korean - 한국어 | 99% | | +|   Lithuanian - Lietuvių | 18% | | +|   Latvian - Latviski | 55% | | +|   Norwegian (bokmål) | 99% | | +|   Dutch - Nederlands | 83% | | +|   Norwegian (nynorsk) | 99% | | +|   Polish - Polski | 97% | | +|   Portuguese (Brazil) | 97% | | +|   Portuguese (Portugal) | 99% | | +|   Romanian - Română | 83% | | +|   Russian - Русский | 97% | | +|   Slovak - Slovenčina | 28% | | +|   Slovene - Slovenščina | 99% | | +|   Serbian - Srpski | 18% | | +|   Swedish - Svenska | 69% | | +|   Thai - ภาษาไทย | 72% | | +|   Turkish - Türkçe | 97% | | +|   Ukranian - Yкраї́нська | 89% | | +|   Vietnamese - Tiếng Việt | 91% | | +|   Simplified Chinese (China) | 99% | | +|   Traditional Chinese (Taiwan) | 99% | | + +Last updated: Thu Aug 31 12:37:49 2023 diff --git a/elevenclock/data/contributors.py b/elevenclock/data/contributors.py index 0b50da5f..46e20e0a 100644 --- a/elevenclock/data/contributors.py +++ b/elevenclock/data/contributors.py @@ -33,12 +33,12 @@ { "name": "marticliment", "link": "https://github.com/marticliment", - "contributions": 1682 + "contributions": 1697 }, { "name": "panther7", "link": "https://github.com/panther7", - "contributions": 83 + "contributions": 86 }, { "name": "kirill-d-lappo", diff --git a/elevenclock/data/translations.py b/elevenclock/data/translations.py index 3f118b63..f8125b02 100644 --- a/elevenclock/data/translations.py +++ b/elevenclock/data/translations.py @@ -4,39 +4,43 @@ "ar": "69%", "bg": "16%", "bs": "5%", - "cs": "98%", - "da": "97%", - "de": "97%", + "ca": "99%", + "cs": "97%", + "da": "99%", + "de": "99%", "el": "17%", "es": "97%", "et": "83%", "fa": "5%", - "fi": "95%", + "fi": "94%", + "fr": "99%", "he": "83%", - "hr": "79%", - "hu": "90%", + "hr": "78%", + "hu": "89%", "id": "83%", "it": "97%", "ja": "90%", + "ko": "99%", "lt": "18%", "lv": "55%", - "nb": "97%", + "nb": "99%", "nl": "83%", - "nn": "97%", + "nn": "99%", "pl": "97%", "pt_BR": "97%", + "pt_PT": "99%", "ro": "83%", - "ru": "98%", + "ru": "97%", "sk": "28%", - "sl": "97%", + "sl": "99%", "sr": "18%", "sv": "69%", - "th": "73%", + "th": "72%", "tr": "97%", - "ua": "90%", + "ua": "89%", "vi": "91%", - "zh_CN": "97%", - "zh_TW": "97%" + "zh_CN": "99%", + "zh_TW": "99%" } languageCredits = { @@ -48,7 +52,12 @@ "da": [], "de": [], "el": [], - "en": [], + "en": [ + { + "name": "marticliment", + "link": "https://github.com/marticliment" + } + ], "es": [], "et": [], "fa": [], diff --git a/elevenclock/lang/lang_ar.json b/elevenclock/lang/lang_ar.json index c5bd9d77..f75f1acb 100644 --- a/elevenclock/lang/lang_ar.json +++ b/elevenclock/lang/lang_ar.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "١٠ ساعات", "10 minutes" : "١٠ دقائق", "1 hour" : "ساعة", diff --git a/elevenclock/lang/lang_bg.json b/elevenclock/lang/lang_bg.json index b67129a4..4a5dca0a 100644 --- a/elevenclock/lang/lang_bg.json +++ b/elevenclock/lang/lang_bg.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 часа", "10 minutes" : "10 минути", "1 hour" : "1 час", diff --git a/elevenclock/lang/lang_bs.json b/elevenclock/lang/lang_bs.json index 401c566a..38906469 100644 --- a/elevenclock/lang/lang_bs.json +++ b/elevenclock/lang/lang_bs.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 sati", "10 minutes" : "10 minuta", "1 hour" : "1 sat", diff --git a/elevenclock/lang/lang_ca.json b/elevenclock/lang/lang_ca.json index 72e21959..53c4e66a 100644 --- a/elevenclock/lang/lang_ca.json +++ b/elevenclock/lang/lang_ca.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 hores", "10 minutes" : "10 minuts", "1 hour" : "1 hora", diff --git a/elevenclock/lang/lang_cs.json b/elevenclock/lang/lang_cs.json index 11b907e3..477a1ea1 100644 --- a/elevenclock/lang/lang_cs.json +++ b/elevenclock/lang/lang_cs.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 hodin", "10 minutes" : "10 minut", "1 hour" : "1 hodina", diff --git a/elevenclock/lang/lang_da.json b/elevenclock/lang/lang_da.json index 8a988618..f2c0289b 100644 --- a/elevenclock/lang/lang_da.json +++ b/elevenclock/lang/lang_da.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 timer", "10 minutes" : "10 minutter", "1 hour" : "1 time", @@ -118,8 +119,8 @@ "Hide the clock (Recommended)" : "Skjul uret (Anbefalet)", "Hide this clock" : "Skjul dette ur", "If you already know how does this work, or you want to skip the welcome wizard, please click on the bottom-left Skip button." : "hvis du allerede ved hvordan det fungerer, eller du vil springe \"velkomst guide\" over, så klik på spring over knappen i nederste venstre hjørne.", - "If you don't know which one is the best, choose {0}" : "hvis du ikke ved hvilken er den bedste, vælg {0}", - "If you don't understand what is happening, please uncheck the checkbox over the text area" : "hvis du ikke ved hvad der sker, fjern venligst markeringen fra afkrydsningsfeltet over tekst området", + "If you don't know which one is the best, choose {0}" : "Hvis du ikke ved hvilken er den bedste, vælg {0}", + "If you don't understand what is happening, please uncheck the checkbox over the text area" : "Hvis du ikke ved hvad der sker, fjern venligst markeringen fra afkrydsningsfeltet over tekst området", "Ignore mouse clicks when on fullscreen" : "Ignorer museklik når du er i fuldskærm tilstand", "Import" : "Importer", "Import settings from a local file" : "Importer indstillinger fra lokal fil", diff --git a/elevenclock/lang/lang_de.json b/elevenclock/lang/lang_de.json index b237e6b7..e885bd01 100644 --- a/elevenclock/lang/lang_de.json +++ b/elevenclock/lang/lang_de.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 Stunden", "10 minutes" : "10 Minuten", "1 hour" : "1 Stunde", @@ -39,9 +40,9 @@ "Change the action done when the clock is middle-clicked" : "Ändere die Aktion, die ausgeführt wird, wenn ein Mittelklick auf die Uhr gemacht wird", "Change the height of the clock" : "Höhe der Uhr ändern", "Change the width of the clock" : "Breite der Uhr ändern", - "Choose the setting to toggle when clock is clicked" : null, - "Choose the setting to toggle when double-clicked" : null, - "Choose the setting to toggle when middle-clicked" : null, + "Choose the setting to toggle when clock is clicked" : "Wähle die Einstellung, die umgeschalten wird, wenn die Uhr angeklickt wird", + "Choose the setting to toggle when double-clicked" : "Wähle die Einstellung, die umgeschalten wird, wenn die Uhr doppelgeklickt wird", + "Choose the setting to toggle when middle-clicked" : "Wähle die Einstellung, die umgeschalten wird, wenn die Uhr mittelgeklickt wird", "Click on Apply to apply and preview the format" : "Drücke auf Anwenden um das Format anzuwenden und anzuschauen", "Clock {0} on {1}" : "Uhr {0} auf {1}", "Clock {0} on monitor {1}" : "Uhr {0} auf Monitor {1}", @@ -116,7 +117,7 @@ "Hide the clock during 5 seconds when hoveredwith the mouse" : "Verstecke die Uhr für 5 Sekunden beim Überfahren mit der Maus", "Hide the clock in fullscreen mode" : "Uhr im Vollbildmodus ausblenden", "Hide the clock (Recommended)" : "Uhr ausblenden (Empfohlen)", - "Hide this clock" : null, + "Hide this clock" : "Verstecke diese Uhr", "If you already know how does this work, or you want to skip the welcome wizard, please click on the bottom-left Skip button." : "Wenn Sie bereits wissen, wie das funktioniert, oder den Begrüßungsassistenten überspringen möchten, klicken Sie bitte auf die Schaltfläche Überspringen unten links.", "If you don't know which one is the best, choose {0}" : "Wenn Sie nicht wissen, welches das Beste ist, wählen Sie {0}", "If you don't understand what is happening, please uncheck the checkbox over the text area" : "Falls Sie nicht verstehen, was passiert, deaktivieren sie die Checkbox über dem Textbereich", @@ -143,7 +144,7 @@ "Move this clock to the top" : "Verschiebe diese Uhr nach oben", "Next" : "Weiter", "No" : "Nein", - "No action" : null, + "No action" : "Keine Aktion", "No results were found" : "Es wurden keine Ergebnisse gefunden", "Nothing to preview" : "Nichts zum Vorzeigen", "Notification badge, clicked action, show desktop button, etc." : "Benachrichtigungszeichen, Aktion beim Klicken, Desktop zeigen Knopf, etc.", @@ -190,7 +191,7 @@ "Restart ElevenClock" : "ElevenClock neu starten", "Restore horizontal position" : "Horizontale Position wiederherstellen", "Restore vertical position" : "Vertikale Position wiederherstellen", - "Return to top" : null, + "Return to top" : "Nach Oben zurückkehren", "Search on the settings" : "Einstellungen durchsuchen", "Select custom color" : "Benutzerdefinierte Farbe auswählen", "Select custom font" : " Benutzerdefinierte Schriftart auswählen", @@ -233,7 +234,7 @@ "This action can be reverted from the settings window, under Clock position and size" : "Diese Aktion kann über das Einstellungen-Fenster unter Position and Größe der Uhr rückgängig gemacht werden.", "This wizard will help you configure and customize ElevenClock. Click Start to get started!" : "Dieser Assistent hilft Ihnen bei der Konfiguration und Anpassung von ElevenClock. Klicken Sie auf Start, um loszulegen!", "To disable the zero-padding effect, add a # in between the % and the code: non-zero-padded hours would be %#H, and zero-padded hours would be %H" : "Um den Zero-Padding Effekt zu deaktiveren, füge ein # zwischen dem % und dem Code hinzu: Nicht-Zero-Gepaddete Stunden wären %#H und zero-gepaddete Stunden wären %H", - "Toggle ElevenClock setting" : null, + "Toggle ElevenClock setting" : "ElevenClock Einstellung umschalten", "Tooltip Appearance:" : "Tooltip-Erscheinungsbild", "Tooltip's font, font size, font color and background" : "Schriftart, Schriftgröße, Schriftfarbe und Hintergrund des Tooltips.", "Total RAM:" : "Total verbauter Arbeitsspeicher:", @@ -245,7 +246,7 @@ "Use a custom font color" : "Eine benutzerdefinierte Schriftfarbe verwenden", "Use a custom font size" : "Benutzerdefinierte Schriftgröße verwenden", "Use a custom line height" : "Benutzerdefinierte Zeilenhöhe verwenden", - "Use the nonation {%H+1} to specify offsets. Replace %H with the desired value and +1 for a positive or negative number (+n or -n, respectively, for a n offset), representing the offset." : null, + "Use the nonation {%H+1} to specify offsets. Replace %H with the desired value and +1 for a positive or negative number (+n or -n, respectively, for a n offset), representing the offset." : "Benutze die Notation {%H+1} um Verschiebungen zu beschreiben. Ersetze %H mit dem gewünschten Wert und +1 mit einer positiven oder negativen Zahl (+n oder -n, für eine n Verschiebung), die die Verschiebung darstellt.", "View" : "Anschauen", "View ElevenClock on GitHub" : "Sehen Sie sich ElevenClock auf GitHub an", "View ElevenClock's homepage" : "Internetseite von ElevenClock", diff --git a/elevenclock/lang/lang_el.json b/elevenclock/lang/lang_el.json index 19c21c9a..76edb7a3 100644 --- a/elevenclock/lang/lang_el.json +++ b/elevenclock/lang/lang_el.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 ώρες", "10 minutes" : "10 λεπτά", "1 hour" : "1 ώρα", diff --git a/elevenclock/lang/lang_en.json b/elevenclock/lang/lang_en.json index fb14c012..2fb7c896 100644 --- a/elevenclock/lang/lang_en.json +++ b/elevenclock/lang/lang_en.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@marticliment", "10 hours" : null, "10 minutes" : null, "1 hour" : null, diff --git a/elevenclock/lang/lang_es.json b/elevenclock/lang/lang_es.json index b2d7e057..41fd7bd1 100644 --- a/elevenclock/lang/lang_es.json +++ b/elevenclock/lang/lang_es.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 horas", "10 minutes" : "10 minutos", "1 hour" : "1 hora", diff --git a/elevenclock/lang/lang_et.json b/elevenclock/lang/lang_et.json index 3b161485..195d6622 100644 --- a/elevenclock/lang/lang_et.json +++ b/elevenclock/lang/lang_et.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 tundi", "10 minutes" : "10 minutit", "1 hour" : "1 tund", diff --git a/elevenclock/lang/lang_fa.json b/elevenclock/lang/lang_fa.json index 7058c22e..56cd4208 100644 --- a/elevenclock/lang/lang_fa.json +++ b/elevenclock/lang/lang_fa.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "۱۰ ساعت", "10 minutes" : "۱۰ دقیقه", "1 hour" : "۱ ساعت", diff --git a/elevenclock/lang/lang_fi.json b/elevenclock/lang/lang_fi.json index 06bc2ba8..ea0dc026 100644 --- a/elevenclock/lang/lang_fi.json +++ b/elevenclock/lang/lang_fi.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 tuntia", "10 minutes" : "10 minuuttia", "1 hour" : "1 tunti", diff --git a/elevenclock/lang/lang_fr.json b/elevenclock/lang/lang_fr.json index c925d27b..14f7f17e 100644 --- a/elevenclock/lang/lang_fr.json +++ b/elevenclock/lang/lang_fr.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 heures", "10 minutes" : "10 minutes", "1 hour" : "1 heure", diff --git a/elevenclock/lang/lang_he.json b/elevenclock/lang/lang_he.json index a4bd14ac..f48a028f 100644 --- a/elevenclock/lang/lang_he.json +++ b/elevenclock/lang/lang_he.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 שעות", "10 minutes" : "10 דקות", "1 hour" : "שעה", diff --git a/elevenclock/lang/lang_hr.json b/elevenclock/lang/lang_hr.json index 9c93f3f0..dc39d858 100644 --- a/elevenclock/lang/lang_hr.json +++ b/elevenclock/lang/lang_hr.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 sati", "10 minutes" : "10 minuta", "1 hour" : "1 sat", diff --git a/elevenclock/lang/lang_hu.json b/elevenclock/lang/lang_hu.json index d809721e..67b374b1 100644 --- a/elevenclock/lang/lang_hu.json +++ b/elevenclock/lang/lang_hu.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 óra", "10 minutes" : "10 perc", "1 hour" : "1 óra", diff --git a/elevenclock/lang/lang_id.json b/elevenclock/lang/lang_id.json index 07e06579..7ddbb081 100644 --- a/elevenclock/lang/lang_id.json +++ b/elevenclock/lang/lang_id.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 jam", "10 minutes" : "10 menit", "1 hour" : "1 jam", diff --git a/elevenclock/lang/lang_it.json b/elevenclock/lang/lang_it.json index 6063e6b5..cd63aec0 100644 --- a/elevenclock/lang/lang_it.json +++ b/elevenclock/lang/lang_it.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 ore", "10 minutes" : "10 minuti", "1 hour" : "1 ora", diff --git a/elevenclock/lang/lang_ja.json b/elevenclock/lang/lang_ja.json index 265b34bd..d14fe98b 100644 --- a/elevenclock/lang/lang_ja.json +++ b/elevenclock/lang/lang_ja.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 時間毎", "10 minutes" : "10 分毎", "1 hour" : "1 時間毎", diff --git a/elevenclock/lang/lang_ko.json b/elevenclock/lang/lang_ko.json index 5c30c0f2..d9b410e0 100644 --- a/elevenclock/lang/lang_ko.json +++ b/elevenclock/lang/lang_ko.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10시간", "10 minutes" : "10분", "1 hour" : "1시간", diff --git a/elevenclock/lang/lang_lt.json b/elevenclock/lang/lang_lt.json index 64a675d4..5e499d4a 100644 --- a/elevenclock/lang/lang_lt.json +++ b/elevenclock/lang/lang_lt.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : null, "10 minutes" : null, "1 hour" : null, diff --git a/elevenclock/lang/lang_lv.json b/elevenclock/lang/lang_lv.json index dfbdf54c..58d345b2 100644 --- a/elevenclock/lang/lang_lv.json +++ b/elevenclock/lang/lang_lv.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 stundas", "10 minutes" : "10 minūtes", "1 hour" : "1 stunda", diff --git a/elevenclock/lang/lang_nb.json b/elevenclock/lang/lang_nb.json index 759a00b1..2afbbb24 100644 --- a/elevenclock/lang/lang_nb.json +++ b/elevenclock/lang/lang_nb.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 timer ", "10 minutes" : "10 minutter", "1 hour" : "1 time", @@ -39,9 +40,9 @@ "Change the action done when the clock is middle-clicked" : "Endre hendelsen når du trykker på klokken med musehjulet", "Change the height of the clock" : "Endre klokkens høyde", "Change the width of the clock" : "Endre klokkens bredde", - "Choose the setting to toggle when clock is clicked" : null, - "Choose the setting to toggle when double-clicked" : null, - "Choose the setting to toggle when middle-clicked" : null, + "Choose the setting to toggle when clock is clicked" : "Velg innstillingen som skal skrus på/av ved klikk på klokken", + "Choose the setting to toggle when double-clicked" : "Velg innstillingen som skal skrus på/av ved dobbelklikk", + "Choose the setting to toggle when middle-clicked" : "Velg innstillingen som skal skrus på/av ved klikk på med midtre knapp", "Click on Apply to apply and preview the format" : "Klikk Bruk for å bruke og forhåndsvise formatet", "Clock {0} on {1}" : "Klokke {0} på {1}", "Clock {0} on monitor {1}" : "Klokke {0} på monitor {1}", @@ -72,7 +73,7 @@ "Disable hiding the default windows clock" : "Deaktiver skjuling av standardklokken i Windows", "Disable the notification badge" : "Deaktiver varslingsmerket", "Disable the tooltip shown when the clock is hovered" : "Skru av verktøystips når musepekeren holdes over klokken", - "Disable tooltip's blurry background" : "Deaktiver uklar bakgrunn på tooltip", + "Disable tooltip's blurry background" : "Deaktiver uklar bakgrunn på pekerhint", "Donate" : "Doner", "Do NOT update the language files dynamically" : "IKKE oppdater språkfilene dynamisk", "Do you want to open the global settings instead?" : "Vil du åpne de globale innstillingene i stedet?", @@ -116,7 +117,7 @@ "Hide the clock during 5 seconds when hoveredwith the mouse" : "Skjul klokken i 5 sekunder når musen ligger over den", "Hide the clock in fullscreen mode" : "Skjul klokken i fullskjermmodus", "Hide the clock (Recommended)" : "Skjul klokken (Anbefalt)", - "Hide this clock" : null, + "Hide this clock" : "Skjul denne klokken", "If you already know how does this work, or you want to skip the welcome wizard, please click on the bottom-left Skip button." : "Hvis du allerede vet hvordan dette virker, eller du ønsker å hoppe over velkomstdialogen, vennligst klikk på Hopp over-knappen nede i venstre hjørne.", "If you don't know which one is the best, choose {0}" : "Hvis du ikke vet hvilken som er best, velg {0}", "If you don't understand what is happening, please uncheck the checkbox over the text area" : "Hvis du ikke forstår hva som skjer, vennligst fjern merkingen i boksen over tekstområdet", @@ -143,7 +144,7 @@ "Move this clock to the top" : "Flytt denne klokken til toppen", "Next" : "Neste", "No" : "Nei", - "No action" : null, + "No action" : "Ingen hendelse", "No results were found" : "Ingen resultater ble funnet", "Nothing to preview" : "Ingenting å forhåndsvise", "Notification badge, clicked action, show desktop button, etc." : "Varselikon, hendelse ved klikk, vis skrivebordsknapp, etc.", @@ -190,7 +191,7 @@ "Restart ElevenClock" : "Start ElevenClock på nytt", "Restore horizontal position" : "Gjenopprett horisontal posisjon", "Restore vertical position" : "Gjenopprett vertikal posisjon", - "Return to top" : null, + "Return to top" : "Returner til toppen", "Search on the settings" : "Søk i innstillingene", "Select custom color" : "Bruk en annen farge", "Select custom font" : "Velg en annen font", @@ -233,9 +234,9 @@ "This action can be reverted from the settings window, under Clock position and size" : "Denne handlingen kan bli omgjort fra innstillingsvinduet under Klokkens posisjon og størrelse", "This wizard will help you configure and customize ElevenClock. Click Start to get started!" : "Installasjonsveiviseren vil hjelpe deg med å konfigurere og personalisere ElevenClock. Klikk på Start for å starte!", "To disable the zero-padding effect, add a # in between the % and the code: non-zero-padded hours would be %#H, and zero-padded hours would be %H" : "For å deaktivere null-padding-effekten, legg inn en # mellom % og koden: ikke-null-paddede timer vil bli %#H, og null-paddede timer vil bli %H", - "Toggle ElevenClock setting" : null, - "Tooltip Appearance:" : "Tooltips utseende", - "Tooltip's font, font size, font color and background" : "Tooltips font, fontstørrelse, fontfarge, og bakgrunn", + "Toggle ElevenClock setting" : "Skru av/på ElevenClock-innstillingen", + "Tooltip Appearance:" : "Pekerhintets utseende", + "Tooltip's font, font size, font color and background" : "Pekerhintets font, fontstørrelse, fontfarge, og bakgrunn", "Total RAM:" : "Total mengde RAM:", "Translated to English by martinet101" : "Oversatt til Norsk (Bokmål) av norway-yv", "Translate ElevenClock to your language" : "Oversett ElevenClock til ditt språk", @@ -245,7 +246,7 @@ "Use a custom font color" : "Bruk en annen skriftfarge", "Use a custom font size" : "Bruk en annen skriftstørrelse", "Use a custom line height" : "Bruk en egen linjehøyde", - "Use the nonation {%H+1} to specify offsets. Replace %H with the desired value and +1 for a positive or negative number (+n or -n, respectively, for a n offset), representing the offset." : null, + "Use the nonation {%H+1} to specify offsets. Replace %H with the desired value and +1 for a positive or negative number (+n or -n, respectively, for a n offset), representing the offset." : "Bruk notasjonen {%H+1} for å spesifisere forskyvninger. Bytt ut %H med den ønskede verdien og +1 med et positivt eller negativt tall (+n eller -n for en forskyvning på n), som representerer forskyvningen.", "View" : "Vis", "View ElevenClock on GitHub" : "Vis ElevenClock på GitHub", "View ElevenClock's homepage" : "Åpne ElevenClock sin hjemmeside", diff --git a/elevenclock/lang/lang_nl.json b/elevenclock/lang/lang_nl.json index 80971d55..1875309e 100644 --- a/elevenclock/lang/lang_nl.json +++ b/elevenclock/lang/lang_nl.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 uur", "10 minutes" : "10 minuten", "1 hour" : "1 uur", @@ -37,8 +38,8 @@ "Change the action done when the clock is clicked" : "Wijzig de actie wanneer er op de klok geklikt wordt", "Change the action done when the clock is double-clicked" : "Wijzig de actie wanneer er dubbel op de klok geklikt wordt", "Change the action done when the clock is middle-clicked" : null, - "Change the height of the clock" : null, - "Change the width of the clock" : null, + "Change the height of the clock" : "Wijzig de hoogte van de klok", + "Change the width of the clock" : "Wijzig de breedte van de klok", "Choose the setting to toggle when clock is clicked" : null, "Choose the setting to toggle when double-clicked" : null, "Choose the setting to toggle when middle-clicked" : null, diff --git a/elevenclock/lang/lang_nn.json b/elevenclock/lang/lang_nn.json index d424e97c..e378287c 100644 --- a/elevenclock/lang/lang_nn.json +++ b/elevenclock/lang/lang_nn.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 timar", "10 minutes" : "10 minutt", "1 hour" : "1 time", @@ -39,9 +40,9 @@ "Change the action done when the clock is middle-clicked" : "Endre kva som skjer når du trykkar på klokka med musehjulet", "Change the height of the clock" : "Endre klokkas høgde", "Change the width of the clock" : "Endre klokkas breidde", - "Choose the setting to toggle when clock is clicked" : null, - "Choose the setting to toggle when double-clicked" : null, - "Choose the setting to toggle when middle-clicked" : null, + "Choose the setting to toggle when clock is clicked" : "Velj innstillinga som skal skrus på/av ved klikk på klokka", + "Choose the setting to toggle when double-clicked" : "Velj innstillinga som skal skrus på/av ved dobbelklikk", + "Choose the setting to toggle when middle-clicked" : "Velj innstillinga som skal skrus på/av ved klikk på med midtre knapp", "Click on Apply to apply and preview the format" : "Klikk på Bruk for å bruke og forhandsvise formatet", "Clock {0} on {1}" : "Klokke {0} på {1}", "Clock {0} on monitor {1}" : "Klokke {0} på monitor {1}", @@ -116,7 +117,7 @@ "Hide the clock during 5 seconds when hoveredwith the mouse" : "Skjul klokka i 5 sekunder når musa ligg over han", "Hide the clock in fullscreen mode" : "Skjul klokka i fullskjerm", "Hide the clock (Recommended)" : "Skjul klokka (Anbefalt)", - "Hide this clock" : null, + "Hide this clock" : "Skjul denne klokka", "If you already know how does this work, or you want to skip the welcome wizard, please click on the bottom-left Skip button." : "Viss du allereie veit korleis dette fungerar, eller du vil hoppe over velkomstvegvisaren, venlegst klikk på Hopp over-knappen nede i venstre hjørne.", "If you don't know which one is the best, choose {0}" : "Viss du ikkje veit hvilken som er best, velj {0}", "If you don't understand what is happening, please uncheck the checkbox over the text area" : "Hvis du ikkje forstår kva som skjer, vær så snill og av-avhuk boksen over tekstområdet", @@ -143,7 +144,7 @@ "Move this clock to the top" : "Flytt klokka til toppen", "Next" : "Neste", "No" : "Nei", - "No action" : null, + "No action" : "Ingen hending", "No results were found" : "Ingen resultatar verte funnen", "Nothing to preview" : "Ingenting å forhandsvise", "Notification badge, clicked action, show desktop button, etc." : "Varselikon, hending ved klikk, vis skrivebordsknapp, etc.", @@ -190,7 +191,7 @@ "Restart ElevenClock" : "Restart ElevenClock", "Restore horizontal position" : "Gjenopprett horisontal posisjon", "Restore vertical position" : "Gjenopprett vertikal posisjon", - "Return to top" : null, + "Return to top" : "Returner til toppen", "Search on the settings" : "Søk i innstillingane", "Select custom color" : "Velj personleg farge", "Select custom font" : "Velj ein eigen font", @@ -233,7 +234,7 @@ "This action can be reverted from the settings window, under Clock position and size" : "Dette kan bli omgjort frå innstillings-vindauget under Klokkas posisjon og storleik", "This wizard will help you configure and customize ElevenClock. Click Start to get started!" : "Denne veivisaren kjem til å hjelpe deg med å konfigurere og personalisere ElevenClock. Klikk på Start for å begynne!", "To disable the zero-padding effect, add a # in between the % and the code: non-zero-padded hours would be %#H, and zero-padded hours would be %H" : "For å skru av null-padding-effekten, legg inn ein # mellom % og koden: ikke-null-paddede timer er %#H, og null-paddede timer er %H", - "Toggle ElevenClock setting" : null, + "Toggle ElevenClock setting" : "Skru av/på ElevenClock-innstillinga", "Tooltip Appearance:" : "Peikarhintets utsjåande", "Tooltip's font, font size, font color and background" : "Peikarhintets font, fontstorleik, fontfarge og bakgrunn", "Total RAM:" : "Total RAM:", @@ -245,7 +246,7 @@ "Use a custom font color" : "Bruk personleg fontfarge", "Use a custom font size" : "Bruk personleg fontstorleik", "Use a custom line height" : "Bruk ein eigen linjehøgde", - "Use the nonation {%H+1} to specify offsets. Replace %H with the desired value and +1 for a positive or negative number (+n or -n, respectively, for a n offset), representing the offset." : null, + "Use the nonation {%H+1} to specify offsets. Replace %H with the desired value and +1 for a positive or negative number (+n or -n, respectively, for a n offset), representing the offset." : "Bruk notasjonen {%H+1} for å spesifisere forskyvingar. Bytt ut %H med den ynskjede verdien og +1 med eit positivt eller negativt tal (+n eller -n for ei forskyving på n), som representerar forskyvinga.", "View" : "Vis", "View ElevenClock on GitHub" : "Vis ElevenClock på GitHub", "View ElevenClock's homepage" : "Vis heimesiden til ElevenClock", diff --git a/elevenclock/lang/lang_pl.json b/elevenclock/lang/lang_pl.json index c76eb387..01041037 100644 --- a/elevenclock/lang/lang_pl.json +++ b/elevenclock/lang/lang_pl.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 godzin", "10 minutes" : "10 minut", "1 hour" : "1 godzina", diff --git a/elevenclock/lang/lang_pt_BR.json b/elevenclock/lang/lang_pt_BR.json index 244da329..75df0a67 100644 --- a/elevenclock/lang/lang_pt_BR.json +++ b/elevenclock/lang/lang_pt_BR.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 horas", "10 minutes" : "10 minutos", "1 hour" : "1 hora", diff --git a/elevenclock/lang/lang_pt_PT.json b/elevenclock/lang/lang_pt_PT.json index 57371a2a..e0b4a588 100644 --- a/elevenclock/lang/lang_pt_PT.json +++ b/elevenclock/lang/lang_pt_PT.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 horas", "10 minutes" : "10 minutos", "1 hour" : "1 hora", diff --git a/elevenclock/lang/lang_ro.json b/elevenclock/lang/lang_ro.json index fd8fc460..8e416e0b 100644 --- a/elevenclock/lang/lang_ro.json +++ b/elevenclock/lang/lang_ro.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 ore", "10 minutes" : "10 minute", "1 hour" : "1 oră", diff --git a/elevenclock/lang/lang_ru.json b/elevenclock/lang/lang_ru.json index eab452d8..165fe6d2 100644 --- a/elevenclock/lang/lang_ru.json +++ b/elevenclock/lang/lang_ru.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 часов", "10 minutes" : "10 минут", "1 hour" : "1 час", diff --git a/elevenclock/lang/lang_sk.json b/elevenclock/lang/lang_sk.json index 83631d11..166aff55 100644 --- a/elevenclock/lang/lang_sk.json +++ b/elevenclock/lang/lang_sk.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 hodín", "10 minutes" : "10 minút", "1 hour" : "1 hodina", diff --git a/elevenclock/lang/lang_sl.json b/elevenclock/lang/lang_sl.json index ea1d4a07..09c41161 100644 --- a/elevenclock/lang/lang_sl.json +++ b/elevenclock/lang/lang_sl.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 ur", "10 minutes" : "10 minut", "1 hour" : "1 ura", @@ -39,9 +40,9 @@ "Change the action done when the clock is middle-clicked" : "Spremenite dejanje, izvedeno ob sredinskem kliku na uro", "Change the height of the clock" : "Spremeni višino ure", "Change the width of the clock" : "Spremeni širino ure", - "Choose the setting to toggle when clock is clicked" : null, - "Choose the setting to toggle when double-clicked" : null, - "Choose the setting to toggle when middle-clicked" : null, + "Choose the setting to toggle when clock is clicked" : "Izberite nastavitev za preklop, ko kliknete uro", + "Choose the setting to toggle when double-clicked" : "Izberite nastavitev za preklop ob dvojnem kliku", + "Choose the setting to toggle when middle-clicked" : "Izberite nastavitev za preklop ob srednjem kliku", "Click on Apply to apply and preview the format" : "Kliknite Uporabi, da uporabite in si ogledate predogled formata", "Clock {0} on {1}" : "Ura {0} na {1}", "Clock {0} on monitor {1}" : "Ura {0} na monitorju {1}", @@ -116,7 +117,7 @@ "Hide the clock during 5 seconds when hoveredwith the mouse" : "Skrij uro za 5 sekund, ko po njej lebdiš z miško", "Hide the clock in fullscreen mode" : "Skrij uro v celozaslonskem načinu", "Hide the clock (Recommended)" : "Skrij uro (priporočeno)", - "Hide this clock" : null, + "Hide this clock" : "Skrij to uro", "If you already know how does this work, or you want to skip the welcome wizard, please click on the bottom-left Skip button." : "Če že veste, kako to deluje, ali želite preskočiti čarovnika za dobrodošlico, kliknite spodnji levi gumb Preskoči.", "If you don't know which one is the best, choose {0}" : "Če ne veste, kateri je najboljši, izberite {0}", "If you don't understand what is happening, please uncheck the checkbox over the text area" : "Če ne razumete, kaj se dogaja, počistite potrditveno polje nad besedilnim poljem", @@ -143,7 +144,7 @@ "Move this clock to the top" : "Premakni to uro na vrh", "Next" : "Naprej", "No" : "Ne", - "No action" : null, + "No action" : "Brez akcije", "No results were found" : "Ni rezultatov", "Nothing to preview" : "Nič za predogled", "Notification badge, clicked action, show desktop button, etc." : "Značka za obvestila, kliknjeno dejanje, gumb za prikaz namizja itd.", @@ -190,7 +191,7 @@ "Restart ElevenClock" : "Znova zaženite ElevenClock", "Restore horizontal position" : "Obnovi vodoravni položaj", "Restore vertical position" : "Obnovite navpični položaj", - "Return to top" : null, + "Return to top" : "Nazaj na vrh", "Search on the settings" : "Išči v nastavitvah", "Select custom color" : "Izberite barvo po meri", "Select custom font" : "Izberite pisavo po meri", @@ -233,7 +234,7 @@ "This action can be reverted from the settings window, under Clock position and size" : "To dejanje je mogoče razveljaviti v oknu z nastavitvami pod Položaj in velikost ure", "This wizard will help you configure and customize ElevenClock. Click Start to get started!" : "Ta čarovnik vam bo pomagal konfigurirati in prilagoditi ElevenClock. Za začetek kliknite Začni!", "To disable the zero-padding effect, add a # in between the % and the code: non-zero-padded hours would be %#H, and zero-padded hours would be %H" : "Če želite onemogočiti učinek zapolnitve z ničlami, dodajte # med % in kodo: ure brez zapolnitve z ničlo bi bile %#H, ure z zapolnitvijo nič bi bile %H", - "Toggle ElevenClock setting" : null, + "Toggle ElevenClock setting" : "Preklopite nastavitev ElevenClock", "Tooltip Appearance:" : "Izgled besedila namiga", "Tooltip's font, font size, font color and background" : "Pisava, velikost pisave, barva pisave in ozadje opisa orodja", "Total RAM:" : "Skupni RAM:", @@ -245,7 +246,7 @@ "Use a custom font color" : "Uporabite barvo pisave po meri", "Use a custom font size" : "Uporabite velikost pisave po meri", "Use a custom line height" : "Uporabite višino vrstice po meri", - "Use the nonation {%H+1} to specify offsets. Replace %H with the desired value and +1 for a positive or negative number (+n or -n, respectively, for a n offset), representing the offset." : null, + "Use the nonation {%H+1} to specify offsets. Replace %H with the desired value and +1 for a positive or negative number (+n or -n, respectively, for a n offset), representing the offset." : "Za določitev odmikov uporabite oznako {%H+1}. Zamenjajte %H z želeno vrednostjo in +1 za pozitivno ali negativno število (+n oziroma -n za odmik n), ki predstavlja odmik.", "View" : "Poglej", "View ElevenClock on GitHub" : "Oglejte si ElevenClock na GitHubu", "View ElevenClock's homepage" : "Oglejte si domačo stran ElevenClock", diff --git a/elevenclock/lang/lang_sr.json b/elevenclock/lang/lang_sr.json index 243071ef..51fff9e2 100644 --- a/elevenclock/lang/lang_sr.json +++ b/elevenclock/lang/lang_sr.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : null, "10 minutes" : null, "1 hour" : null, diff --git a/elevenclock/lang/lang_sv.json b/elevenclock/lang/lang_sv.json index e689fd07..981b8183 100644 --- a/elevenclock/lang/lang_sv.json +++ b/elevenclock/lang/lang_sv.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 timmar", "10 minutes" : "10 minuter", "1 hour" : "1 timme", diff --git a/elevenclock/lang/lang_th.json b/elevenclock/lang/lang_th.json index bc1b9579..f610ffb2 100644 --- a/elevenclock/lang/lang_th.json +++ b/elevenclock/lang/lang_th.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 ชั่วโมง", "10 minutes" : "10 นาที", "1 hour" : "1 ชั่วโมง", diff --git a/elevenclock/lang/lang_tr.json b/elevenclock/lang/lang_tr.json index 4d08a0c6..2fa31578 100644 --- a/elevenclock/lang/lang_tr.json +++ b/elevenclock/lang/lang_tr.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 saat", "10 minutes" : "10 dakika", "1 hour" : "1 saat", diff --git a/elevenclock/lang/lang_ua.json b/elevenclock/lang/lang_ua.json index 8c1c51e9..c3ffccaa 100644 --- a/elevenclock/lang/lang_ua.json +++ b/elevenclock/lang/lang_ua.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 годин", "10 minutes" : "10 хвилин", "1 hour" : "1 година", diff --git a/elevenclock/lang/lang_vi.json b/elevenclock/lang/lang_vi.json index 4f3840aa..c0faa3aa 100644 --- a/elevenclock/lang/lang_vi.json +++ b/elevenclock/lang/lang_vi.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "10 tiếng", "10 minutes" : "10 phút", "1 hour" : "1 tiếng", diff --git a/elevenclock/lang/lang_zh_CN.json b/elevenclock/lang/lang_zh_CN.json index d715a5e3..90bf51f5 100644 --- a/elevenclock/lang/lang_zh_CN.json +++ b/elevenclock/lang/lang_zh_CN.json @@ -1,7 +1,8 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "每 10 小时", "10 minutes" : "每 10 分钟", - "1 hour" : "每 1 小时", + "1 hour" : "1 小时", "24 hours" : "每 24 小时", "2 hours" : "每 2 小时", "30 minutes" : "每 30 分钟", @@ -73,7 +74,7 @@ "Disable the notification badge" : "禁用通知标志", "Disable the tooltip shown when the clock is hovered" : "时钟悬停时禁用提示", "Disable tooltip's blurry background" : "禁用提示背景模糊", - "Donate" : "捐赠", + "Donate" : "赞助", "Do NOT update the language files dynamically" : "禁用动态更新语言文件", "Do you want to open the global settings instead?" : "是否要打开全局设置?", "ElevenClock" : "ElevenClock", @@ -94,8 +95,8 @@ "Enable low-cpu mode" : "启用低 CPU 模式", "Enable really silent updates" : "开启超静默更新", "Export" : "导出", - "Export log as a file" : "将日志导出为文件", - "Export settings to a local file" : "将设置导出到本地文件", + "Export log as a file" : "将日志作为文件导出", + "Export settings to a local file" : "导出设置到本地文件", "Fetching latest announcement, please wait..." : "正在获取最新公告,请稍候……", "Finish" : "完成", "Fixes and other experimental features: (Use ONLY if something is not working)" : "错误修正及其他试验性功能: (请*仅*在出问题时使用)", @@ -149,13 +150,13 @@ "Notification badge, clicked action, show desktop button, etc." : "通知标志、点击操作、显示桌面按钮等。", "Notification settings" : "通知设置", "Now you should see the clock everywhere" : "现在你应该到处都能看到时钟", - "Ok" : "Ok", + "Ok" : "确定", "One last thing: Appearance" : "外观设定", "Only Date" : "仅日期", "Only Time" : "仅时间", "Open" : "打开", "Open ElevenClock's log" : "查看 ElevenClock 日志", - "Open GitHub" : "打开 GitHub", + "Open GitHub" : "打开GitHub", "Open global settings" : "打开全局设置", "Open online help to troubleshoot problems" : "打开联机帮助以解决问题", "Open page" : "打开页面", @@ -180,7 +181,7 @@ "Reload Clocks" : "重新加载时钟", "Reload clocks automatically every 5 minutes" : "每5分钟自动重新加载时钟", "Reload clocks right after exiting from sleep" : "唤醒后立即重新加载时钟", - "Reload log" : "重新加载日志", + "Reload log" : "重载日志文件", "Remember that this wizard can be run at any time from the Settings Window" : "请记住,此向导可以随时从“设置”窗口运行", "Report" : "报告", "Report an issue/request a feature" : "报告问题/建议新功能", @@ -190,7 +191,7 @@ "Restart ElevenClock" : "重启 ElevenClock", "Restore horizontal position" : "恢复水平位置", "Restore vertical position" : "恢复垂直位置", - "Return to top" : "返回顶部", + "Return to top" : "回到顶部", "Search on the settings" : "搜索设置", "Select custom color" : "选择自定义颜色", "Select custom font" : "选择自定义字体", @@ -206,7 +207,7 @@ "Show date on the clock" : "在时钟上显示日期", "Show desktop" : "显示桌面", "Show ElevenClock on system tray" : "在系统托盘显示 ElevenClock 图标", - "Show missing translation strings" : "显示缺失的翻译字符串", + "Show missing translation strings" : "显示未翻译的字符串", "Show seconds on the clock" : "显示秒数", "Show the clock at the left of the screen" : "在屏幕左侧显示时钟", "Show the clock over fullscreen windows. This might cover some in-app controls, like youtube's exit fullscreen button, but it might be useful to see the time when playing" : "在全屏窗口上显示时钟。 这可能覆盖一些应用内控件,例如 youtube 的退出全屏按钮,但如果在播放时想查看时间可能会很有用", diff --git a/elevenclock/lang/lang_zh_TW.json b/elevenclock/lang/lang_zh_TW.json index 4e407b4d..f1de925f 100644 --- a/elevenclock/lang/lang_zh_TW.json +++ b/elevenclock/lang/lang_zh_TW.json @@ -1,4 +1,5 @@ { + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, "10 hours" : "每 10 小時", "10 minutes" : "每 10 分鐘", "1 hour" : "每 1 小時", From e29a9dbcb4a01d7aed445c9bc6d7fe7e3092dbed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Climent?= Date: Thu, 31 Aug 2023 13:09:03 +0200 Subject: [PATCH 3/4] Add the complete translators list --- README.md | 14 +- elevenclock/data/translations.py | 390 ++++++++++++++++++++++++++----- elevenclock/lang/lang_ar.json | 2 +- elevenclock/lang/lang_bg.json | 2 +- elevenclock/lang/lang_bs.json | 2 +- elevenclock/lang/lang_ca.json | 4 +- elevenclock/lang/lang_cs.json | 4 +- elevenclock/lang/lang_da.json | 4 +- elevenclock/lang/lang_de.json | 4 +- elevenclock/lang/lang_el.json | 4 +- elevenclock/lang/lang_en.json | 2 +- elevenclock/lang/lang_es.json | 4 +- elevenclock/lang/lang_et.json | 2 +- elevenclock/lang/lang_fa.json | 2 +- elevenclock/lang/lang_fi.json | 4 +- elevenclock/lang/lang_fr.json | 4 +- elevenclock/lang/lang_he.json | 4 +- elevenclock/lang/lang_hr.json | 4 +- elevenclock/lang/lang_hu.json | 4 +- elevenclock/lang/lang_id.json | 4 +- elevenclock/lang/lang_it.json | 4 +- elevenclock/lang/lang_ja.json | 4 +- elevenclock/lang/lang_ko.json | 4 +- elevenclock/lang/lang_lt.json | 4 +- elevenclock/lang/lang_lv.json | 4 +- elevenclock/lang/lang_nb.json | 4 +- elevenclock/lang/lang_nl.json | 4 +- elevenclock/lang/lang_nn.json | 4 +- elevenclock/lang/lang_pl.json | 4 +- elevenclock/lang/lang_pt_BR.json | 4 +- elevenclock/lang/lang_pt_PT.json | 4 +- elevenclock/lang/lang_ro.json | 2 +- elevenclock/lang/lang_ru.json | 4 +- elevenclock/lang/lang_sk.json | 4 +- elevenclock/lang/lang_sl.json | 4 +- elevenclock/lang/lang_sr.json | 4 +- elevenclock/lang/lang_sv.json | 4 +- elevenclock/lang/lang_th.json | 4 +- elevenclock/lang/lang_tr.json | 4 +- elevenclock/lang/lang_ua.json | 4 +- elevenclock/lang/lang_vi.json | 4 +- elevenclock/lang/lang_zh_CN.json | 4 +- elevenclock/lang/lang_zh_TW.json | 4 +- elevenclock/settings.py | 33 ++- elevenclock/versions.py | 6 +- 45 files changed, 449 insertions(+), 144 deletions(-) diff --git a/README.md b/README.md index 259e4d02..6b81a69f 100644 --- a/README.md +++ b/README.md @@ -71,13 +71,13 @@ In order to translate ElevenClock to other languages or to update an old transla |   Arabic - عربي‎ | 69% | | |   Bulgarian - български | 16% | | |   Bosnian - Bosanski | 5% | | -|   Catalan - Català | 99% | | -|   Czech - Čeština | 97% | | -|   Danish - Dansk | 99% | | -|   German - Deutsch | 99% | | -|   Greek - Ελληνικά | 17% | | +|   Catalan - Català | 100% | [marticliment](https://github.com/marticliment) | +|   Czech - Čeština | 98% | Adamů, [panther7](https://github.com/panther7), [SunightMC](https://github.com/SunightMC) | +|   Danish - Dansk | 99% | Carsten Kristoffersen, Sebblich | +|   German - Deutsch | 100% | Bikholf, [Seeloewen](https://github.com/Seeloewen), [tsloms](https://github.com/tsloms), [XenoKeks](https://github.com/XenoKeks) | +|   Greek - Ελληνικά | 17% | [panos78](https://github.com/panos78) | |   English - English | 100% | [marticliment](https://github.com/marticliment) | -|   Spanish - Español | 97% | | +|   Spanish - Español | 97% | [marticliment](https://github.com/marticliment) | |   Estonian - eesti | 83% | | |   Persian - فارسی‎ | 5% | | |   Finnish - Suomi | 94% | | @@ -110,7 +110,7 @@ In order to translate ElevenClock to other languages or to update an old transla |   Simplified Chinese (China) | 99% | | |   Traditional Chinese (Taiwan) | 99% | | -Last updated: Thu Aug 31 12:37:49 2023 +Last updated: Thu Aug 31 12:54:02 2023 diff --git a/elevenclock/data/translations.py b/elevenclock/data/translations.py index f8125b02..5cc5eb81 100644 --- a/elevenclock/data/translations.py +++ b/elevenclock/data/translations.py @@ -4,90 +4,370 @@ "ar": "69%", "bg": "16%", "bs": "5%", - "ca": "99%", - "cs": "97%", + "cs": "98%", "da": "99%", - "de": "99%", "el": "17%", "es": "97%", "et": "83%", "fa": "5%", - "fi": "94%", - "fr": "99%", + "fi": "95%", "he": "83%", - "hr": "78%", - "hu": "89%", + "hr": "79%", + "hu": "90%", "id": "83%", "it": "97%", - "ja": "90%", - "ko": "99%", - "lt": "18%", + "ja": "91%", + "lt": "19%", "lv": "55%", - "nb": "99%", "nl": "83%", - "nn": "99%", "pl": "97%", "pt_BR": "97%", - "pt_PT": "99%", "ro": "83%", - "ru": "97%", + "ru": "98%", "sk": "28%", - "sl": "99%", - "sr": "18%", + "sr": "19%", "sv": "69%", - "th": "72%", + "th": "73%", "tr": "97%", - "ua": "89%", - "vi": "91%", - "zh_CN": "99%", - "zh_TW": "99%" + "ua": "90%", + "vi": "91%" } languageCredits = { "ar": [], "bg": [], "bs": [], - "ca": [], - "cs": [], - "da": [], - "de": [], - "el": [], + "ca": [ + { + "name": "marticliment", + "link": "https://github.com/marticliment" + } + ], + "cs": [ + { + "name": "Adamů", + "link": "" + }, + { + "name": "panther7", + "link": "https://github.com/panther7" + }, + { + "name": "SunightMC", + "link": "https://github.com/SunightMC" + } + ], + "da": [ + { + "name": "Carsten Kristoffersen", + "link": "" + }, + { + "name": "Sebblich", + "link": "" + } + ], + "de": [ + { + "name": "Bikholf", + "link": "" + }, + { + "name": "Seeloewen", + "link": "https://github.com/Seeloewen" + }, + { + "name": "tsloms", + "link": "https://github.com/tsloms" + }, + { + "name": "XenoKeks", + "link": "https://github.com/XenoKeks" + } + ], + "el": [ + { + "name": "panos78", + "link": "https://github.com/panos78" + } + ], "en": [ { "name": "marticliment", "link": "https://github.com/marticliment" } ], - "es": [], + "es": [ + { + "name": "marticliment", + "link": "https://github.com/marticliment" + } + ], "et": [], "fa": [], - "fi": [], - "fr": [], - "he": [], - "hr": [], - "hu": [], - "id": [], - "it": [], - "ja": [], - "ko": [], - "lt": [], - "lv": [], - "nb": [], - "nl": [], - "nn": [], - "pl": [], - "pt_BR": [], - "pt_PT": [], + "fi": [ + { + "name": "npsand", + "link": "https://github.com/npsand" + } + ], + "fr": [ + { + "name": "Lilobast", + "link": "https://github.com/Lilobast" + }, + { + "name": "scrocquesel", + "link": "https://github.com/scrocquesel" + } + ], + "he": [ + { + "name": "xRLx", + "link": "" + } + ], + "hr": [ + { + "name": "DMNz3", + "link": "https://github.com/DMNz3" + } + ], + "hu": [ + { + "name": "gidano", + "link": "https://github.com/gidano" + }, + { + "name": "jstmrby", + "link": "https://github.com/jstmrby" + }, + { + "name": "sympda.blog.hu", + "link": "" + }, + { + "name": "viktak.com", + "link": "" + } + ], + "id": [ + { + "name": "adinugrahasatya", + "link": "https://github.com/adinugrahasatya" + }, + { + "name": "FahrulID", + "link": "" + } + ], + "it": [ + { + "name": "Parapongo", + "link": "https://github.com/Parapongo" + }, + { + "name": "zuidstroopwafel", + "link": "https://github.com/zuidstroopwafel" + } + ], + "ja": [ + { + "name": "Robot-Inventor", + "link": "https://github.com/Robot-Inventor" + }, + { + "name": "ShintakuNobuhiro", + "link": "https://github.com/ShintakuNobuhiro" + } + ], + "ko": [ + { + "name": "sinusinu", + "link": "https://github.com/sinusinu" + }, + { + "name": "VenusGirl", + "link": "https://github.com/VenusGirl" + } + ], + "lt": [ + { + "name": "generic pleb", + "link": "" + } + ], + "lv": [ + { + "name": "dejelnieks", + "link": "https://github.com/dejelnieks" + }, + { + "name": "shadow118", + "link": "https://github.com/shadow118" + } + ], + "nb": [ + { + "name": "norway-yv", + "link": "https://github.com/norway-yv" + } + ], + "nl": [ + { + "name": "Bugs", + "link": "" + }, + { + "name": "joosthoi1", + "link": "https://github.com/joosthoi1" + } + ], + "nn": [ + { + "name": "norway-yv", + "link": "https://github.com/norway-yv" + } + ], + "pl": [ + { + "name": "PabloMat", + "link": "https://github.com/PabloMat" + } + ], + "pt_BR": [ + { + "name": "Gustavo Mauricio de Barros", + "link": "" + }, + { + "name": "Wanderlei Hüttel", + "link": "" + } + ], + "pt_PT": [ + { + "name": "jmlcoliveira", + "link": "https://github.com/jmlcoliveira" + }, + { + "name": "Miguel Couto", + "link": "" + } + ], "ro": [], - "ru": [], - "sk": [], - "sl": [], - "sr": [], - "sv": [], - "th": [], - "tr": [], - "ua": [], - "vi": [], - "zh_CN": [], - "zh_TW": [] + "ru": [ + { + "name": "kira-lappo", + "link": "https://github.com/kira-lappo" + }, + { + "name": "Risen", + "link": "" + } + ], + "sk": [ + { + "name": "metmanik", + "link": "https://github.com/metmanik" + } + ], + "sl": [ + { + "name": "rumplin", + "link": "https://github.com/rumplin" + } + ], + "sr": [ + { + "name": "Stefan Marjanov", + "link": "" + } + ], + "sv": [ + { + "name": "cjal95", + "link": "https://github.com/cjal95" + }, + { + "name": "Noffe", + "link": "" + } + ], + "th": [ + { + "name": "richeyphu", + "link": "https://github.com/richeyphu" + } + ], + "tr": [ + { + "name": "Mahmut Sözen", + "link": "" + } + ], + "ua": [ + { + "name": "p4rzivalll", + "link": "https://github.com/p4rzivalll" + } + ], + "vi": [ + { + "name": "Leoodz", + "link": "https://github.com/Leoodz" + }, + { + "name": "lequan81", + "link": "https://github.com/lequan81" + }, + { + "name": "Quochieu0211", + "link": "https://github.com/Quochieu0211" + }, + { + "name": "tnhung2011", + "link": "https://github.com/tnhung2011" + } + ], + "zh_CN": [ + { + "name": "BoyceLig", + "link": "https://github.com/BoyceLig" + }, + { + "name": "CnYeSheng", + "link": "" + }, + { + "name": "hlgsdx", + "link": "https://github.com/hlgsdx" + }, + { + "name": "Jason.Y", + "link": "" + }, + { + "name": "jmlcoliveira", + "link": "https://github.com/jmlcoliveira" + } + ], + "zh_TW": [ + { + "name": "BoyceLig", + "link": "https://github.com/BoyceLig" + }, + { + "name": "CnYeSheng", + "link": "" + }, + { + "name": "mmis1000", + "link": "https://github.com/mmis1000" + }, + { + "name": "SiderealArt", + "link": "https://github.com/SiderealArt" + } + ] } \ No newline at end of file diff --git a/elevenclock/lang/lang_ar.json b/elevenclock/lang/lang_ar.json index f75f1acb..facb075c 100644 --- a/elevenclock/lang/lang_ar.json +++ b/elevenclock/lang/lang_ar.json @@ -1,5 +1,6 @@ { "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} temp" : "ترجمت الي الانجيليزية بفضل martinet101", "10 hours" : "١٠ ساعات", "10 minutes" : "١٠ دقائق", "1 hour" : "ساعة", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : null, "Tooltip's font, font size, font color and background" : null, "Total RAM:" : null, - "Translated to English by martinet101" : "ترجمت الي الانجيليزية بفضل martinet101", "Translate ElevenClock to your language" : "ترجمت الي لغتك", "Updates, icon tray, language" : "تحديثات, منطقة الاشعارات, اللغات", "Use a custom background color" : "استخدم لون خلفية مخصص", diff --git a/elevenclock/lang/lang_bg.json b/elevenclock/lang/lang_bg.json index 4a5dca0a..59e4c1a2 100644 --- a/elevenclock/lang/lang_bg.json +++ b/elevenclock/lang/lang_bg.json @@ -1,5 +1,6 @@ { "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} temp" : null, "10 hours" : "10 часа", "10 minutes" : "10 минути", "1 hour" : "1 час", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : null, "Tooltip's font, font size, font color and background" : null, "Total RAM:" : null, - "Translated to English by martinet101" : null, "Translate ElevenClock to your language" : null, "Updates, icon tray, language" : null, "Use a custom background color" : null, diff --git a/elevenclock/lang/lang_bs.json b/elevenclock/lang/lang_bs.json index 38906469..876beeb7 100644 --- a/elevenclock/lang/lang_bs.json +++ b/elevenclock/lang/lang_bs.json @@ -1,5 +1,6 @@ { "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} temp" : null, "10 hours" : "10 sati", "10 minutes" : "10 minuta", "1 hour" : "1 sat", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : null, "Tooltip's font, font size, font color and background" : null, "Total RAM:" : null, - "Translated to English by martinet101" : null, "Translate ElevenClock to your language" : null, "Updates, icon tray, language" : null, "Use a custom background color" : null, diff --git a/elevenclock/lang/lang_ca.json b/elevenclock/lang/lang_ca.json index 53c4e66a..27722d64 100644 --- a/elevenclock/lang/lang_ca.json +++ b/elevenclock/lang/lang_ca.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@marticliment", + "{0} {0} {0} temp" : "Traduït al Català per @marticliment", "10 hours" : "10 hores", "10 minutes" : "10 minuts", "1 hour" : "1 hora", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Aparença de l'etiqueta", "Tooltip's font, font size, font color and background" : "Tipus de font de l'etiqueta, mida de la font, color de la font i color de fons", "Total RAM:" : "RAM total:", - "Translated to English by martinet101" : "Traduït al Català per @marticliment", "Translate ElevenClock to your language" : "Tradueix l'ElevenClock al teu idioma", "Updates, icon tray, language" : "Actualitzacions, safata del sistema, idioma", "Use a custom background color" : "Utilitza un color de fons concret", diff --git a/elevenclock/lang/lang_cs.json b/elevenclock/lang/lang_cs.json index 477a1ea1..a4f6bab6 100644 --- a/elevenclock/lang/lang_cs.json +++ b/elevenclock/lang/lang_cs.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "Adamů, @panther7, @SunightMC", + "{0} {0} {0} temp" : "Do češtiny přeložili Matouš Adamů, panther7 a SunightMC", "10 hours" : "10 hodin", "10 minutes" : "10 minut", "1 hour" : "1 hodina", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Vzhled popisku", "Tooltip's font, font size, font color and background" : "Styl, velikost a barva písma, barva pozadí", "Total RAM:" : "Celková RAM:", - "Translated to English by martinet101" : "Do češtiny přeložili Matouš Adamů, panther7 a SunightMC", "Translate ElevenClock to your language" : "Přeložte ElevenClock do svého jazyka", "Updates, icon tray, language" : "Aktualizace, lokalizace a ikonka lišty", "Use a custom background color" : "Použít vlastní barvu pozadí", diff --git a/elevenclock/lang/lang_da.json b/elevenclock/lang/lang_da.json index f2c0289b..c654a9d9 100644 --- a/elevenclock/lang/lang_da.json +++ b/elevenclock/lang/lang_da.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "Sebblich, Carsten Kristoffersen", + "{0} {0} {0} temp" : "Oversat til dansk af Sebblich og Carsten Kristoffersen", "10 hours" : "10 timer", "10 minutes" : "10 minutter", "1 hour" : "1 time", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Tooltip udseende:", "Tooltip's font, font size, font color and background" : "Tooltip's font, font størrelse, font farve og baggrund", "Total RAM:" : "Total RAM:", - "Translated to English by martinet101" : "Oversat til dansk af Sebblich og Carsten Kristoffersen", "Translate ElevenClock to your language" : "Oversæt ElevenClock til dit sprog", "Updates, icon tray, language" : "Opdateringer, ikonbakke, sprog", "Use a custom background color" : "Brug en brugerdefineret farve", diff --git a/elevenclock/lang/lang_de.json b/elevenclock/lang/lang_de.json index e885bd01..d7a3d00f 100644 --- a/elevenclock/lang/lang_de.json +++ b/elevenclock/lang/lang_de.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@Seeloewen, Bikholf, @XenoKeks, @tsloms", + "{0} {0} {0} temp" : "Auf Deutsch übersetzt von Seeloewen, Bikholf, XenoKeks und tsloms", "10 hours" : "10 Stunden", "10 minutes" : "10 Minuten", "1 hour" : "1 Stunde", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Tooltip-Erscheinungsbild", "Tooltip's font, font size, font color and background" : "Schriftart, Schriftgröße, Schriftfarbe und Hintergrund des Tooltips.", "Total RAM:" : "Total verbauter Arbeitsspeicher:", - "Translated to English by martinet101" : "Auf Deutsch übersetzt von Seeloewen, Bikholf, XenoKeks und tsloms", "Translate ElevenClock to your language" : "ElevenClock in deine Sprache übersetzen", "Updates, icon tray, language" : "Updates, Tray-Icon, Sprache", "Use a custom background color" : "Eine benutzerdefinierte Hintergrundfarbe verwenden", diff --git a/elevenclock/lang/lang_el.json b/elevenclock/lang/lang_el.json index 76edb7a3..b5b10079 100644 --- a/elevenclock/lang/lang_el.json +++ b/elevenclock/lang/lang_el.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@panos78", + "{0} {0} {0} temp" : "Μετάφραση ελληνικών από panos78", "10 hours" : "10 ώρες", "10 minutes" : "10 λεπτά", "1 hour" : "1 ώρα", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : null, "Tooltip's font, font size, font color and background" : null, "Total RAM:" : null, - "Translated to English by martinet101" : "Μετάφραση ελληνικών από panos78", "Translate ElevenClock to your language" : "Μεταφραση του ElevenClock στη γλώσσα σας", "Updates, icon tray, language" : null, "Use a custom background color" : null, diff --git a/elevenclock/lang/lang_en.json b/elevenclock/lang/lang_en.json index 2fb7c896..ef74eb31 100644 --- a/elevenclock/lang/lang_en.json +++ b/elevenclock/lang/lang_en.json @@ -1,5 +1,6 @@ { "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@marticliment", + "{0} {0} {0} temp" : "Translated to English by @marticliment", "10 hours" : null, "10 minutes" : null, "1 hour" : null, @@ -238,7 +239,6 @@ "Tooltip Appearance:" : null, "Tooltip's font, font size, font color and background" : null, "Total RAM:" : null, - "Translated to English by martinet101" : "Translated to English by @marticliment", "Translate ElevenClock to your language" : null, "Updates, icon tray, language" : null, "Use a custom background color" : null, diff --git a/elevenclock/lang/lang_es.json b/elevenclock/lang/lang_es.json index 41fd7bd1..d01f7c97 100644 --- a/elevenclock/lang/lang_es.json +++ b/elevenclock/lang/lang_es.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@marticliment", + "{0} {0} {0} temp" : "Traducido al Castellano por @marticliment", "10 hours" : "10 horas", "10 minutes" : "10 minutos", "1 hour" : "1 hora", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Apariencia de la etiqueta", "Tooltip's font, font size, font color and background" : "Tipo de fuente de la etiqueta, tamaño y color de fuente y fondo de la etiqueta", "Total RAM:" : "RAM total:", - "Translated to English by martinet101" : "Traducido al Castellano por @marticliment", "Translate ElevenClock to your language" : "Traduce ElevenClock a tu idioma", "Updates, icon tray, language" : "Actualizaciones, bandeja del sistema, idioma", "Use a custom background color" : "Usa un color de fondo específico", diff --git a/elevenclock/lang/lang_et.json b/elevenclock/lang/lang_et.json index 195d6622..559641c3 100644 --- a/elevenclock/lang/lang_et.json +++ b/elevenclock/lang/lang_et.json @@ -1,5 +1,6 @@ { "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} temp" : "Inglise keelde tõlkinud martinet101", "10 hours" : "10 tundi", "10 minutes" : "10 minutit", "1 hour" : "1 tund", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Vihjetööriista välimus:", "Tooltip's font, font size, font color and background" : "Vihjetööriista kirjatüüp, -suurus, -värv ja taust", "Total RAM:" : null, - "Translated to English by martinet101" : "Inglise keelde tõlkinud martinet101", "Translate ElevenClock to your language" : "Tõlgi ElevenClock oma keelde", "Updates, icon tray, language" : "Uuendused, ikoonisalv, keel", "Use a custom background color" : "Kasuta kohandatud taustavärvi", diff --git a/elevenclock/lang/lang_fa.json b/elevenclock/lang/lang_fa.json index 56cd4208..6a62f1b5 100644 --- a/elevenclock/lang/lang_fa.json +++ b/elevenclock/lang/lang_fa.json @@ -1,5 +1,6 @@ { "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} temp" : null, "10 hours" : "۱۰ ساعت", "10 minutes" : "۱۰ دقیقه", "1 hour" : "۱ ساعت", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : null, "Tooltip's font, font size, font color and background" : null, "Total RAM:" : null, - "Translated to English by martinet101" : null, "Translate ElevenClock to your language" : null, "Updates, icon tray, language" : null, "Use a custom background color" : null, diff --git a/elevenclock/lang/lang_fi.json b/elevenclock/lang/lang_fi.json index ea0dc026..32512bd5 100644 --- a/elevenclock/lang/lang_fi.json +++ b/elevenclock/lang/lang_fi.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@npsand", + "{0} {0} {0} temp" : "Suomentanut: npsand", "10 hours" : "10 tuntia", "10 minutes" : "10 minuuttia", "1 hour" : "1 tunti", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Työkaluvihjeen Ulkonäkö:\n", "Tooltip's font, font size, font color and background" : "Työkaluvihjeen fontti, fonttikoko, fontin väri ja tausta\n", "Total RAM:" : "RAM-muistia yhteensä:\n", - "Translated to English by martinet101" : "Suomentanut: npsand", "Translate ElevenClock to your language" : "Käännä ElevenClock omalle kielellesi", "Updates, icon tray, language" : "Päivitykset, pikkukuvake, kieli", "Use a custom background color" : "Käytä mukautettua taustaväriä", diff --git a/elevenclock/lang/lang_fr.json b/elevenclock/lang/lang_fr.json index 14f7f17e..a4359059 100644 --- a/elevenclock/lang/lang_fr.json +++ b/elevenclock/lang/lang_fr.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@Lilobast,@scrocquesel", + "{0} {0} {0} temp" : "Traduit en français par Lilobast et scrocquesel", "10 hours" : "10 heures", "10 minutes" : "10 minutes", "1 hour" : "1 heure", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Apparence de l'info-bulle :", "Tooltip's font, font size, font color and background" : "Police, taille de police, couleur de police et arrière-plan de l'info-bulle", "Total RAM:" : "RAM totale :", - "Translated to English by martinet101" : "Traduit en français par Lilobast et scrocquesel", "Translate ElevenClock to your language" : "Traduire ElevenClock dans votre langue", "Updates, icon tray, language" : "Mise à jour, icône de l'angle de la barre des tâches, langue", "Use a custom background color" : "Utiliser une couleur de fond personnalisée", diff --git a/elevenclock/lang/lang_he.json b/elevenclock/lang/lang_he.json index f48a028f..747efb08 100644 --- a/elevenclock/lang/lang_he.json +++ b/elevenclock/lang/lang_he.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "xRLx", + "{0} {0} {0} temp" : "תורגם לעברית על ידי xRLx", "10 hours" : "10 שעות", "10 minutes" : "10 דקות", "1 hour" : "שעה", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "מראה רמזים:", "Tooltip's font, font size, font color and background" : "פונט, גודל הפונט, צבע הפונט והרקע של הרמזים", "Total RAM:" : null, - "Translated to English by martinet101" : "תורגם לעברית על ידי xRLx", "Translate ElevenClock to your language" : "תרגם ElevenClock לשפה שלך ", "Updates, icon tray, language" : "עדכונים, סרגל המשימות, שפה", "Use a custom background color" : "קביעת צבע לרקע השעון", diff --git a/elevenclock/lang/lang_hr.json b/elevenclock/lang/lang_hr.json index dc39d858..7a88efa5 100644 --- a/elevenclock/lang/lang_hr.json +++ b/elevenclock/lang/lang_hr.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@DMNz3", + "{0} {0} {0} temp" : "Na Hrvatski preveo DMNz3", "10 hours" : "10 sati", "10 minutes" : "10 minuta", "1 hour" : "1 sat", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : null, "Tooltip's font, font size, font color and background" : null, "Total RAM:" : "Ukupan RAM:", - "Translated to English by martinet101" : "Na Hrvatski preveo DMNz3", "Translate ElevenClock to your language" : "Prevedite ElevenClock na Vaš jezik :)", "Updates, icon tray, language" : "Nadogradnje, icon tray, jezik", "Use a custom background color" : "Koristi prilagođenu pozadinsku boju", diff --git a/elevenclock/lang/lang_hu.json b/elevenclock/lang/lang_hu.json index 67b374b1..f0b2194c 100644 --- a/elevenclock/lang/lang_hu.json +++ b/elevenclock/lang/lang_hu.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@jstmrby, viktak.com,@gidano,sympda.blog.hu", + "{0} {0} {0} temp" : "Magyarra fordította: jstmrby, viktak.com (2.9 - 3.0)
gidano | sympda.blog.hu(3.6.x)", "10 hours" : "10 óra", "10 minutes" : "10 perc", "1 hour" : "1 óra", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Eszköztipp megjelenése:", "Tooltip's font, font size, font color and background" : "Az eszköztipp betűtípusa, betűmérete, betűszíne és háttere", "Total RAM:" : "Összes RAM:", - "Translated to English by martinet101" : "Magyarra fordította: jstmrby, viktak.com (2.9 - 3.0)
gidano | sympda.blog.hu(3.6.x)", "Translate ElevenClock to your language" : "Translate ElevenClock to your language", "Updates, icon tray, language" : "Frissítések, tálca ikonja, nyelv", "Use a custom background color" : "Egyéni háttérszín használata", diff --git a/elevenclock/lang/lang_id.json b/elevenclock/lang/lang_id.json index 7ddbb081..9090d698 100644 --- a/elevenclock/lang/lang_id.json +++ b/elevenclock/lang/lang_id.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@adinugrahasatya, FahrulID", + "{0} {0} {0} temp" : "Terjemahan oleh Adi Nugraha @adinugrahasatya dan FahrulID | ig:@fahrulrputra", "10 hours" : "10 jam", "10 minutes" : "10 menit", "1 hour" : "1 jam", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Penampilan Tooltip", "Tooltip's font, font size, font color and background" : "Font Tooltip, ukuran font, warna font, dan latar belakang", "Total RAM:" : null, - "Translated to English by martinet101" : "Terjemahan oleh Adi Nugraha @adinugrahasatya dan FahrulID | ig:@fahrulrputra", "Translate ElevenClock to your language" : "Terjemahkan ElevenClock ke bahasamu", "Updates, icon tray, language" : "Pembaruan, baki ikon, bahasa", "Use a custom background color" : "Gunakan warna latar belakang kustom", diff --git a/elevenclock/lang/lang_it.json b/elevenclock/lang/lang_it.json index cd63aec0..00721ebc 100644 --- a/elevenclock/lang/lang_it.json +++ b/elevenclock/lang/lang_it.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@Parapongo, @zuidstroopwafel", + "{0} {0} {0} temp" : "Tradotto in Italiano da Parapongo, zuidstroopwafel", "10 hours" : "10 ore", "10 minutes" : "10 minuti", "1 hour" : "1 ora", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Aspetto del suggerimento", "Tooltip's font, font size, font color and background" : "Carattere, dimesione, colore e sfondo del suggerimento", "Total RAM:" : "RAM totale:", - "Translated to English by martinet101" : "Tradotto in Italiano da Parapongo, zuidstroopwafel", "Translate ElevenClock to your language" : "Traduci ElevenClock nella tua lingua", "Updates, icon tray, language" : "Aggiornamenti, Icona Vassoio, Lingua", "Use a custom background color" : "Usa un colore personalizzato per lo sfondo", diff --git a/elevenclock/lang/lang_ja.json b/elevenclock/lang/lang_ja.json index d14fe98b..10158e7f 100644 --- a/elevenclock/lang/lang_ja.json +++ b/elevenclock/lang/lang_ja.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@Robot-Inventor, ShintakuNobuhiro", + "{0} {0} {0} temp" : "Robot-Inventor, ShintakuNobuhiro によって日本語に翻訳されました", "10 hours" : "10 時間毎", "10 minutes" : "10 分毎", "1 hour" : "1 時間毎", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "ツール チップの外観", "Tooltip's font, font size, font color and background" : "ツール チップのフォント、フォント サイズ、フォントの色と背景", "Total RAM:" : "合計メモリ (RAM) 容量:", - "Translated to English by martinet101" : "Robot-Inventor, ShintakuNobuhiro によって日本語に翻訳されました", "Translate ElevenClock to your language" : "ElevenClockをあなたの言語に翻訳する", "Updates, icon tray, language" : "更新、トレイ アイコン、言語", "Use a custom background color" : "カスタム背景色を使用する", diff --git a/elevenclock/lang/lang_ko.json b/elevenclock/lang/lang_ko.json index d9b410e0..39b053d7 100644 --- a/elevenclock/lang/lang_ko.json +++ b/elevenclock/lang/lang_ko.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@VenusGirl,@sinusinu", + "{0} {0} {0} temp" : "한국어 번역: VᴇɴᴜꜱGɪʀʟ(비너스걸) 및 sinusinu", "10 hours" : "10시간", "10 minutes" : "10분", "1 hour" : "1시간", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "도구 설명 모양", "Tooltip's font, font size, font color and background" : "도구 설명의 글꼴, 글꼴 크기, 글꼴 색 및 배경", "Total RAM:" : "전체 RAM:", - "Translated to English by martinet101" : "한국어 번역: VᴇɴᴜꜱGɪʀʟ(비너스걸) 및 sinusinu", "Translate ElevenClock to your language" : "ElevenClock을 당신의 언어로 번역하세요", "Updates, icon tray, language" : "업데이트, 아이콘 트레이, 언어", "Use a custom background color" : "사용자 지정 배경색 사용", diff --git a/elevenclock/lang/lang_lt.json b/elevenclock/lang/lang_lt.json index 5e499d4a..ea80290f 100644 --- a/elevenclock/lang/lang_lt.json +++ b/elevenclock/lang/lang_lt.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "generic pleb", + "{0} {0} {0} temp" : "Į lietuvių kalbą išvertė generic pleb", "10 hours" : null, "10 minutes" : null, "1 hour" : null, @@ -238,7 +239,6 @@ "Tooltip Appearance:" : null, "Tooltip's font, font size, font color and background" : null, "Total RAM:" : null, - "Translated to English by martinet101" : "Į lietuvių kalbą išvertė generic pleb", "Translate ElevenClock to your language" : "Išverskite ElevenClock į jūsų kalbą", "Updates, icon tray, language" : null, "Use a custom background color" : null, diff --git a/elevenclock/lang/lang_lv.json b/elevenclock/lang/lang_lv.json index 58d345b2..70839d46 100644 --- a/elevenclock/lang/lang_lv.json +++ b/elevenclock/lang/lang_lv.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@shadow118,@dejelnieks", + "{0} {0} {0} temp" : "Uz Latviešu valodu tulkoja shadow118 un dejelnieks", "10 hours" : "10 stundas", "10 minutes" : "10 minūtes", "1 hour" : "1 stunda", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Rīkpadoma izskats", "Tooltip's font, font size, font color and background" : "Rīkpadoma fonts, fonta lielums, fonta krāsa un fons", "Total RAM:" : null, - "Translated to English by martinet101" : "Uz Latviešu valodu tulkoja shadow118 un dejelnieks", "Translate ElevenClock to your language" : "Iztulko ElevenClock savā valodā", "Updates, icon tray, language" : "Atjauninājumi, ikonjosla, valoda", "Use a custom background color" : "Izmantot pielāgotu fona krāsu", diff --git a/elevenclock/lang/lang_nb.json b/elevenclock/lang/lang_nb.json index 2afbbb24..3ef1d6a1 100644 --- a/elevenclock/lang/lang_nb.json +++ b/elevenclock/lang/lang_nb.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@norway-yv", + "{0} {0} {0} temp" : "Oversatt til Norsk (Bokmål) av norway-yv", "10 hours" : "10 timer ", "10 minutes" : "10 minutter", "1 hour" : "1 time", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Pekerhintets utseende", "Tooltip's font, font size, font color and background" : "Pekerhintets font, fontstørrelse, fontfarge, og bakgrunn", "Total RAM:" : "Total mengde RAM:", - "Translated to English by martinet101" : "Oversatt til Norsk (Bokmål) av norway-yv", "Translate ElevenClock to your language" : "Oversett ElevenClock til ditt språk", "Updates, icon tray, language" : "Oppdateringer, ikonboks, språk", "Use a custom background color" : "Bruk en annen bakgrunnsfarge", diff --git a/elevenclock/lang/lang_nl.json b/elevenclock/lang/lang_nl.json index 1875309e..a2081f8a 100644 --- a/elevenclock/lang/lang_nl.json +++ b/elevenclock/lang/lang_nl.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "Bugs,@joosthoi1", + "{0} {0} {0} temp" : "Vertaald naar het Nederlands door Bugs en joosthoi1", "10 hours" : "10 uur", "10 minutes" : "10 minuten", "1 hour" : "1 uur", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : null, "Tooltip's font, font size, font color and background" : null, "Total RAM:" : null, - "Translated to English by martinet101" : "Vertaald naar het Nederlands door Bugs en joosthoi1", "Translate ElevenClock to your language" : "Vertaal ElevenClock naar jou taal", "Updates, icon tray, language" : "Updates, icoon lade, taal", "Use a custom background color" : "Gebruik een aangepaste achtergrondkleur", diff --git a/elevenclock/lang/lang_nn.json b/elevenclock/lang/lang_nn.json index e378287c..36815bb8 100644 --- a/elevenclock/lang/lang_nn.json +++ b/elevenclock/lang/lang_nn.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@norway-yv", + "{0} {0} {0} temp" : "Oversett til Norsk (Nynorsk) av norway-yv. Eg brukar bokmål til vanleg, så du må gjerne bidra med forbetra oversetjinger viss du har tid.", "10 hours" : "10 timar", "10 minutes" : "10 minutt", "1 hour" : "1 time", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Peikarhintets utsjåande", "Tooltip's font, font size, font color and background" : "Peikarhintets font, fontstorleik, fontfarge og bakgrunn", "Total RAM:" : "Total RAM:", - "Translated to English by martinet101" : "Oversett til Norsk (Nynorsk) av norway-yv. Eg brukar bokmål til vanleg, så du må gjerne bidra med forbetra oversetjinger viss du har tid.", "Translate ElevenClock to your language" : "Oversett ElevenClock til ditt språk eller hjelp norway-yv med korrekturlesning (han har bokmål som hovudmål)", "Updates, icon tray, language" : "Oppdateringar, ikonområde, språk", "Use a custom background color" : "Bruk personleg bakgrunnsfarge", diff --git a/elevenclock/lang/lang_pl.json b/elevenclock/lang/lang_pl.json index 01041037..50786e5e 100644 --- a/elevenclock/lang/lang_pl.json +++ b/elevenclock/lang/lang_pl.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@PabloMat", + "{0} {0} {0} temp" : "Przetłumaczone na polski przez PabloMat", "10 hours" : "10 godzin", "10 minutes" : "10 minut", "1 hour" : "1 godzina", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Wygląd Okna Podpowiedzi", "Tooltip's font, font size, font color and background" : "Czcionka, wielkość i kolor czcionki, tło okna podpowiedzi", "Total RAM:" : "Ogółem RAM:", - "Translated to English by martinet101" : "Przetłumaczone na polski przez PabloMat", "Translate ElevenClock to your language" : "Przetłumacz ElevenClock na swój język", "Updates, icon tray, language" : "Aktualizacje, zasobnik ikon, język", "Use a custom background color" : "Użyj niestandardowego koloru tła", diff --git a/elevenclock/lang/lang_pt_BR.json b/elevenclock/lang/lang_pt_BR.json index 75df0a67..f11bc53e 100644 --- a/elevenclock/lang/lang_pt_BR.json +++ b/elevenclock/lang/lang_pt_BR.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "Wanderlei Hüttel,Gustavo Mauricio de Barros", + "{0} {0} {0} temp" : "Traduzido para Português do Brasil por Wanderlei Hüttel e Gustavo Mauricio de Barros", "10 hours" : "10 horas", "10 minutes" : "10 minutos", "1 hour" : "1 hora", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Aparência da dica de ferramenta:", "Tooltip's font, font size, font color and background" : "Fonte da dica de ferramenta, tamanho da fonte, cor da fonte e plano de fundo", "Total RAM:" : "RAM total:", - "Translated to English by martinet101" : "Traduzido para Português do Brasil por Wanderlei Hüttel e Gustavo Mauricio de Barros", "Translate ElevenClock to your language" : "Traduzir o ElevenClock para o seu idioma", "Updates, icon tray, language" : "Atualizações, bandeja de ícones, idioma", "Use a custom background color" : "Use uma cor de fundo personalizada", diff --git a/elevenclock/lang/lang_pt_PT.json b/elevenclock/lang/lang_pt_PT.json index e0b4a588..0ffd0df9 100644 --- a/elevenclock/lang/lang_pt_PT.json +++ b/elevenclock/lang/lang_pt_PT.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@jmlcoliveira,Miguel Couto", + "{0} {0} {0} temp" : "Traduzido para Português por jmlcoliveira e Miguel Couto", "10 hours" : "10 horas", "10 minutes" : "10 minutos", "1 hour" : "1 hora", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Aparência das Dicas de Ferramentas:", "Tooltip's font, font size, font color and background" : "Tipo de letra das Dicas de Ferramentas, tamanho da letra, cor da letra e fundo", "Total RAM:" : "RAM total:", - "Translated to English by martinet101" : "Traduzido para Português por jmlcoliveira e Miguel Couto", "Translate ElevenClock to your language" : "Traduz o ElevenClock para o teu idioma", "Updates, icon tray, language" : "Actualizações, bandeja de ícones, idioma", "Use a custom background color" : "Mudar cor do fundo do relógio", diff --git a/elevenclock/lang/lang_ro.json b/elevenclock/lang/lang_ro.json index 8e416e0b..896c3ec5 100644 --- a/elevenclock/lang/lang_ro.json +++ b/elevenclock/lang/lang_ro.json @@ -1,5 +1,6 @@ { "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} temp" : "Tradus în engleză de martinet101", "10 hours" : "10 ore", "10 minutes" : "10 minute", "1 hour" : "1 oră", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Aparența balonului explicativ:", "Tooltip's font, font size, font color and background" : "Fontul, mărimea fontului, culoarea fontului si fundalul pentru balonul explicativ", "Total RAM:" : null, - "Translated to English by martinet101" : "Tradus în engleză de martinet101", "Translate ElevenClock to your language" : "Traduceți ElevenClock in limba dumneavoastră", "Updates, icon tray, language" : "Actualizări, bara de notificări, limbă", "Use a custom background color" : "Folosiți o culoare de fundal personalizată", diff --git a/elevenclock/lang/lang_ru.json b/elevenclock/lang/lang_ru.json index 165fe6d2..1d874778 100644 --- a/elevenclock/lang/lang_ru.json +++ b/elevenclock/lang/lang_ru.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@kira-lappo,Risen", + "{0} {0} {0} temp" : "Перевод на русский: Кирилл (gh://kira-lappo), Иван (Risen)", "10 hours" : "10 часов", "10 minutes" : "10 минут", "1 hour" : "1 час", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Внешний вид всплывающей подсказки", "Tooltip's font, font size, font color and background" : "Шрифт, размер, цвет и фон подсказки", "Total RAM:" : "Оперативная память:", - "Translated to English by martinet101" : "Перевод на русский: Кирилл (gh://kira-lappo), Иван (Risen)", "Translate ElevenClock to your language" : "Переведите ElevenClock на свой язык", "Updates, icon tray, language" : "Обновления, иконка трея, язык", "Use a custom background color" : "Сменить цвет фона", diff --git a/elevenclock/lang/lang_sk.json b/elevenclock/lang/lang_sk.json index 166aff55..36739016 100644 --- a/elevenclock/lang/lang_sk.json +++ b/elevenclock/lang/lang_sk.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@metmanik", + "{0} {0} {0} temp" : "Preložené do slovenčiny užívateľom metmanik", "10 hours" : "10 hodín", "10 minutes" : "10 minút", "1 hour" : "1 hodina", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : null, "Tooltip's font, font size, font color and background" : null, "Total RAM:" : null, - "Translated to English by martinet101" : "Preložené do slovenčiny užívateľom metmanik", "Translate ElevenClock to your language" : "Preložte ElevenClock do vášho jazyku", "Updates, icon tray, language" : null, "Use a custom background color" : null, diff --git a/elevenclock/lang/lang_sl.json b/elevenclock/lang/lang_sl.json index 09c41161..09cca841 100644 --- a/elevenclock/lang/lang_sl.json +++ b/elevenclock/lang/lang_sl.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@rumplin", + "{0} {0} {0} temp" : "Prevedel v slovenščino rumplin", "10 hours" : "10 ur", "10 minutes" : "10 minut", "1 hour" : "1 ura", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Izgled besedila namiga", "Tooltip's font, font size, font color and background" : "Pisava, velikost pisave, barva pisave in ozadje opisa orodja", "Total RAM:" : "Skupni RAM:", - "Translated to English by martinet101" : "Prevedel v slovenščino rumplin", "Translate ElevenClock to your language" : "Prevedite ElevenClock v svoj jezik", "Updates, icon tray, language" : "Posodobitve, pladenj z ikonami, jezik", "Use a custom background color" : "Uporabite barvo ozadja po meri", diff --git a/elevenclock/lang/lang_sr.json b/elevenclock/lang/lang_sr.json index 51fff9e2..d89f83ae 100644 --- a/elevenclock/lang/lang_sr.json +++ b/elevenclock/lang/lang_sr.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "Stefan Marjanov", + "{0} {0} {0} temp" : "Preveli na srpski jezik: Stefan Marjanov", "10 hours" : null, "10 minutes" : null, "1 hour" : null, @@ -238,7 +239,6 @@ "Tooltip Appearance:" : null, "Tooltip's font, font size, font color and background" : null, "Total RAM:" : null, - "Translated to English by martinet101" : "Preveli na srpski jezik: Stefan Marjanov", "Translate ElevenClock to your language" : "Prevedi ElevenClock na tvoj jezik", "Updates, icon tray, language" : null, "Use a custom background color" : null, diff --git a/elevenclock/lang/lang_sv.json b/elevenclock/lang/lang_sv.json index 981b8183..fccbd523 100644 --- a/elevenclock/lang/lang_sv.json +++ b/elevenclock/lang/lang_sv.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "Noffe, @cjal95", + "{0} {0} {0} temp" : "Översatt till Svenska av Noffe och cjal95", "10 hours" : "10 timmar", "10 minutes" : "10 minuter", "1 hour" : "1 timme", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Utseende för Verktygstips", "Tooltip's font, font size, font color and background" : "Font, färg, bakgrund och teckenstorlek för Verktygstips", "Total RAM:" : null, - "Translated to English by martinet101" : "Översatt till Svenska av Noffe och cjal95", "Translate ElevenClock to your language" : "Översätt ElevenClock till ditt språk", "Updates, icon tray, language" : "Uppdateringar, ikon, språk", "Use a custom background color" : "Använd anpassad bakgrundsfärg", diff --git a/elevenclock/lang/lang_th.json b/elevenclock/lang/lang_th.json index f610ffb2..2ee1e4d4 100644 --- a/elevenclock/lang/lang_th.json +++ b/elevenclock/lang/lang_th.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@richeyphu", + "{0} {0} {0} temp" : "แปลเป็นภาษาไทยโดย @richeyphu", "10 hours" : "10 ชั่วโมง", "10 minutes" : "10 นาที", "1 hour" : "1 ชั่วโมง", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "ลักษณะคำแนะนำเครื่องมือ:", "Tooltip's font, font size, font color and background" : "ฟอนต์ของคำแนะนำเครื่องมือ, ขนาดฟอนต์, สีฟอนต์และพื้นหลัง", "Total RAM:" : null, - "Translated to English by martinet101" : "แปลเป็นภาษาไทยโดย @richeyphu", "Translate ElevenClock to your language" : "แปล ElevenClock เป็นภาษาของคุณ", "Updates, icon tray, language" : "อัปเดต, ถาดไอคอน, ภาษา", "Use a custom background color" : "ใช้สีพื้นหลังที่กำหนดเอง", diff --git a/elevenclock/lang/lang_tr.json b/elevenclock/lang/lang_tr.json index 2fa31578..ecc3fb0a 100644 --- a/elevenclock/lang/lang_tr.json +++ b/elevenclock/lang/lang_tr.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "Mahmut Sözen", + "{0} {0} {0} temp" : "Türkçeye Teknoist-(Mahmut Sözen) tarafından çevrildi", "10 hours" : "10 saat", "10 minutes" : "10 dakika", "1 hour" : "1 saat", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Araç İpucu Görünümü:", "Tooltip's font, font size, font color and background" : "Araç ipucunun yazı tipi, yazı tipi boyutu, yazı tipi rengi ve arka planı", "Total RAM:" : "Toplam RAM:", - "Translated to English by martinet101" : "Türkçeye Teknoist-(Mahmut Sözen) tarafından çevrildi", "Translate ElevenClock to your language" : "ElevenClock'u kendi diline çevir", "Updates, icon tray, language" : "Güncellemeler, simge tepsisi, dil", "Use a custom background color" : "Özel bir arka plan rengi kullanın", diff --git a/elevenclock/lang/lang_ua.json b/elevenclock/lang/lang_ua.json index c3ffccaa..d1b36d59 100644 --- a/elevenclock/lang/lang_ua.json +++ b/elevenclock/lang/lang_ua.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@p4rzivalll", + "{0} {0} {0} temp" : "Переклав українською p4rzivalll", "10 hours" : "10 годин", "10 minutes" : "10 хвилин", "1 hour" : "1 година", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "Зовнішній вигляд виринаючої підказки\n", "Tooltip's font, font size, font color and background" : "Шрифт підказки, розмір шрифту, колір шрифту та фон", "Total RAM:" : "Загальна кількість оперативної пам'яті:", - "Translated to English by martinet101" : "Переклав українською p4rzivalll", "Translate ElevenClock to your language" : "Перекласти ElevenClock вашою мовою", "Updates, icon tray, language" : "Оновлення, іконка трея, мова\n", "Use a custom background color" : "Змінити колір фону\n", diff --git a/elevenclock/lang/lang_vi.json b/elevenclock/lang/lang_vi.json index c0faa3aa..db74e1f3 100644 --- a/elevenclock/lang/lang_vi.json +++ b/elevenclock/lang/lang_vi.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@Leoodz, @lequan81, @tnhung2011, @Quochieu0211", + "{0} {0} {0} temp" : "Được dịch sang tiếng Việt bởi Leoodz, lequan81, tnhung2011 và Quochieu0211 (Nguyễn Quốc Hiếu)", "10 hours" : "10 tiếng", "10 minutes" : "10 phút", "1 hour" : "1 tiếng", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : null, "Tooltip's font, font size, font color and background" : null, "Total RAM:" : "Tổng số RAM:", - "Translated to English by martinet101" : "Được dịch sang tiếng Việt bởi Leoodz, lequan81, tnhung2011 và Quochieu0211 (Nguyễn Quốc Hiếu)", "Translate ElevenClock to your language" : "Dịch ElevenClock sang tiếng mẹ đẻ của bạn", "Updates, icon tray, language" : "Cập nhật, khay hệ thống, ngôn ngữ", "Use a custom background color" : "Sử dụng màu nền tùy chỉnh", diff --git a/elevenclock/lang/lang_zh_CN.json b/elevenclock/lang/lang_zh_CN.json index 90bf51f5..8005653a 100644 --- a/elevenclock/lang/lang_zh_CN.json +++ b/elevenclock/lang/lang_zh_CN.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@hlgsdx, @jmlcoliveira, @BoyceLig,Jason.Y,CnYeSheng", + "{0} {0} {0} temp" : "简体中文翻译由 hlgsdx、jmlcoliveira、BoyceLig、Jason.Y、CnYeSheng 贡献", "10 hours" : "每 10 小时", "10 minutes" : "每 10 分钟", "1 hour" : "1 小时", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "提示样式", "Tooltip's font, font size, font color and background" : "提示的字体、字体大小、字体颜色和背景", "Total RAM:" : "总内存:", - "Translated to English by martinet101" : "简体中文翻译由 hlgsdx、jmlcoliveira、BoyceLig、Jason.Y、CnYeSheng 贡献", "Translate ElevenClock to your language" : "把 ElevenClock 翻译成您的语言", "Updates, icon tray, language" : "更新、托盘图标、语言", "Use a custom background color" : "使用自定义背景颜色", diff --git a/elevenclock/lang/lang_zh_TW.json b/elevenclock/lang/lang_zh_TW.json index f1de925f..dbdd23ce 100644 --- a/elevenclock/lang/lang_zh_TW.json +++ b/elevenclock/lang/lang_zh_TW.json @@ -1,5 +1,6 @@ { - "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : null, + "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)" : "@mmis1000,@BoyceLig,@SiderealArt,CnYeSheng", + "{0} {0} {0} temp" : "由 mmis1000、BoyceLig、SiderealArt、CnYeSheng 翻譯為正體中文(台灣)", "10 hours" : "每 10 小時", "10 minutes" : "每 10 分鐘", "1 hour" : "每 1 小時", @@ -238,7 +239,6 @@ "Tooltip Appearance:" : "工具提示外觀", "Tooltip's font, font size, font color and background" : "工具提示的字型、字型大小、字型顏色及背景", "Total RAM:" : "總記憶體:", - "Translated to English by martinet101" : "由 mmis1000、BoyceLig、SiderealArt、CnYeSheng 翻譯為正體中文(台灣)", "Translate ElevenClock to your language" : "將 ElevenClock 翻譯成你的語言", "Updates, icon tray, language" : "更新、系統匣、語言", "Use a custom background color" : "使用自訂背景顏色", diff --git a/elevenclock/settings.py b/elevenclock/settings.py index 42851659..4f6d4dee 100644 --- a/elevenclock/settings.py +++ b/elevenclock/settings.py @@ -31,6 +31,7 @@ from data.translations import languageCredits, untranslatedPercentage from tools import * from tools import _ +import tools import win32gui @@ -699,10 +700,34 @@ def setCustomFont(v): self.languageSettingsTitle = QSettingsTitle(_("About the language pack:"), getPath(f"lang_{self.iconMode}.png"), _("Language pack author(s), help translating ElevenClock")) layout.addWidget(self.languageSettingsTitle) - self.PackInfoButton = QSettingsButton(_("Translated to English by martinet101"), "") - self.PackInfoButton.button.hide() - self.PackInfoButton.setStyleSheet("QWidget#stBtn{border-bottom-left-radius: 0;border-bottom-right-radius: 0;border-bottom: 0;}") - self.languageSettingsTitle.addWidget(self.PackInfoButton) + + translatorsHTMLList = _("ElevenClock has not been machine translated. The following users have been in charge of the translations:") + translatorsHTMLList += "
    " + translatorList = [] + translatorData: dict[str, str] = {} + for key, value in languageCredits.items(): + langName = languageReference[key] if (key in languageReference) else key + for translator in value: + link = translator.get("link") + name = translator.get("name") + translatorLine = name + if (link): + translatorLine = f"{name}" + translatorKey = f"{name}{langName}" # for sort + translatorList.append(translatorKey) + translatorData[translatorKey] = f"{translatorLine} ({langName})" + translatorList.sort(key=str.casefold) + for translator in translatorList: + translatorsHTMLList += f"
  • {translatorData[translator]}
  • " + translatorsHTMLList += "
" + + translators = QLabel(translatorsHTMLList) + translators.setOpenExternalLinks(True) + translators.setWordWrap(True) + translators.setObjectName("stBtn") + translators.setStyleSheet("QWidget#stBtn{border-bottom-left-radius: 0;border-bottom-right-radius: 0;border-bottom: 0;padding: 10px;padding-left: 55px;padding-right: 55px;}") + self.languageSettingsTitle.addWidget(translators) + self.openTranslateButton = QSettingsButton(_("Translate ElevenClock to your language"), _("Get started")) self.openTranslateButton.clicked.connect(lambda: os.startfile("https://github.com/marticliment/ElevenClock/wiki/#translating-elevenclock")) self.languageSettingsTitle.addWidget(self.openTranslateButton) diff --git a/elevenclock/versions.py b/elevenclock/versions.py index 9cff30c4..2de252d9 100644 --- a/elevenclock/versions.py +++ b/elevenclock/versions.py @@ -1,3 +1,3 @@ -version = 4.22 -versionName = "4.2.2" -versionISS = "4.2.2.0" \ No newline at end of file +version = 4.29 +versionName = "4.3.0-beta" +versionISS = "4.3.0.0" \ No newline at end of file From 728124288feb655aefea0bffc868d37576303d06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Climent?= Date: Thu, 31 Aug 2023 13:17:16 +0200 Subject: [PATCH 4/4] Add the contributor list --- elevenclock/settings.py | 16 +++++++++++++++- elevenclock/tools.py | 4 ++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/elevenclock/settings.py b/elevenclock/settings.py index 4f6d4dee..3deb85e8 100644 --- a/elevenclock/settings.py +++ b/elevenclock/settings.py @@ -712,7 +712,7 @@ def setCustomFont(v): name = translator.get("name") translatorLine = name if (link): - translatorLine = f"{name}" + translatorLine = f"{name}" translatorKey = f"{name}{langName}" # for sort translatorList.append(translatorKey) translatorData[translatorKey] = f"{translatorLine} ({langName})" @@ -865,6 +865,20 @@ def getTotalRAM(): self.resetButton.setStyleSheet("QWidget#stBtn{border-top: 0px solid transparent;border-bottom-left-radius: 0;border-bottom-right-radius: 0;border-bottom: 0;}") self.resetButton.clicked.connect(lambda: (resetSettings(), os.startfile(sys.executable), globals.app.quit())) self.aboutTitle.addWidget(self.resetButton) + + contributorsHTMLList = _("ElevenClock wouldn't have been possible with the help of our dear contributors:") + contributorsHTMLList += "" + + contributors = QLabel(contributorsHTMLList) + contributors.setOpenExternalLinks(True) + contributors.setWordWrap(True) + contributors.setObjectName("stBtn") + contributors.setStyleSheet("QWidget#stBtn{border-bottom-left-radius: 0;border-bottom-right-radius: 0;border-bottom: 0;padding: 20px;padding-left: 55px;padding-right: 55px;}") + self.aboutTitle.addWidget(contributors) + self.closeButton = QSettingsButton(_("Close settings"), _("Close")) self.closeButton.clicked.connect(lambda: self.hide()) self.aboutTitle.addWidget(self.closeButton) diff --git a/elevenclock/tools.py b/elevenclock/tools.py index c2af4080..44ac6ae7 100644 --- a/elevenclock/tools.py +++ b/elevenclock/tools.py @@ -92,10 +92,10 @@ def getTaskbarIconMode() -> str: return "white" if isTaskbarDark() else "black" def isWindowDark() -> bool: - return readRegedit(r"Software\Microsoft\Windows\CurrentVersion\Themes\Personalize", "AppsUseLightTheme", 1)==0 + return readRegedit(r"Software\Microsoft\Windows\CurrentVersion\Themes\Personalize", "AppsUseLightTheme", 1) == 0 def isTaskbarDark() -> bool: - return readRegedit(r"Software\Microsoft\Windows\CurrentVersion\Themes\Personalize", "SystemUsesLightTheme", 1)==0 + return readRegedit(r"Software\Microsoft\Windows\CurrentVersion\Themes\Personalize", "SystemUsesLightTheme", 1) == 0 def getint(s: str, fallback: int) -> int: try: