diff --git a/custom_components/hacs/.translations/de.json b/custom_components/hacs/.translations/de.json index 9b308508aab..2988d400501 100644 --- a/custom_components/hacs/.translations/de.json +++ b/custom_components/hacs/.translations/de.json @@ -51,6 +51,7 @@ } }, "repository": { + "authors": "Autoren", "available": "Verfügbar", "back_to": "Zurück zu", "changelog": "Changelog", @@ -90,6 +91,6 @@ "upgrade_all": "Alle aktualisieren" }, "store": { - "placeholder_search": "Suchbegriff eingeben..." + "placeholder_search": "Suchbegriff eingeben…" } } \ No newline at end of file diff --git a/custom_components/hacs/.translations/fr.json b/custom_components/hacs/.translations/fr.json index 10ad4c3eac3..f27070e3106 100644 --- a/custom_components/hacs/.translations/fr.json +++ b/custom_components/hacs/.translations/fr.json @@ -51,6 +51,7 @@ } }, "repository": { + "authors": "Auteurs", "available": "Disponible", "back_to": "Retour", "changelog": "Change log", @@ -77,9 +78,9 @@ "upgrade": "Mettre à jour" }, "settings": { - "add_custom_repository": "AJOUTER UN DÉPÔT PERSONNALISE", + "add_custom_repository": "AJOUTER UN DÉPÔT PERSONNALISÉ", "category": "Catégorie", - "custom_repositories": "DÉPÔT PERSONNALISE", + "custom_repositories": "DÉPÔTS PERSONNALISÉS", "delete": "Supprimer", "display": "Affichage", "grid": "Grille", diff --git a/custom_components/hacs/.translations/it.json b/custom_components/hacs/.translations/it.json new file mode 100644 index 00000000000..ef2242fb0b3 --- /dev/null +++ b/custom_components/hacs/.translations/it.json @@ -0,0 +1,96 @@ +{ + "common": { + "appdaemon": "AppDaemon", + "appdaemon_apps": "Applicazioni AppDaemon", + "background_task": "Attività in esecuzione, questa pagina sarà ricaricata al termine.", + "installed": "Installato", + "integration": "Integrazione", + "integrations": "Integrazioni", + "plugin": "Plugin", + "plugins": "Plugin", + "python_script": "Script python", + "python_scripts": "Script python", + "repositories": "Repository", + "settings": "Impostazioni", + "theme": "Tema", + "themes": "Temi", + "version": "Versione" + }, + "config": { + "abort": { + "single_instance_allowed": "È consentita una sola configurazione di HACS." + }, + "error": { + "auth": "Il token di accesso personale non è corretto." + }, + "step": { + "user": { + "data": { + "appdaemon": "Abilita il rilevamento e il monitoraggio delle app AppDaemon", + "python_script": "Abilita il rilevamento e il monitoraggio dei python_scripts", + "sidepanel_icon": "Icona nel pannello laterale", + "sidepanel_title": "Titolo nel pannello laterale", + "theme": "Abilita individuazione e tracciamento dei temi", + "token": "Token di accesso personale GitHub" + }, + "description": "Se hai bisogno di aiuto con la configurazione dai un'occhiata qui: https:\/\/hacs.netlify.com\/installation\/configuration\/", + "title": "HACS (Home Assistant Community Store)" + } + }, + "title": "HACS (Home Assistant Community Store)" + }, + "options": { + "step": { + "user": { + "data": { + "country": "Filtra con prefisso internazionale.", + "experimental": "Abilita funzionalità sperimentali", + "release_limit": "Numero di versioni da mostrare." + } + } + } + }, + "repository": { + "authors": "Autori", + "available": "Disponibile", + "back_to": "Indietro", + "changelog": "Change log", + "flag_this": "Spunta questo", + "hide": "Nascondi", + "hide_beta": "Nascondi beta", + "install": "Installa", + "installed": "Installato", + "lovelace_copy_example": "Copia l'esempio negli appunti", + "lovelace_instruction": "Quando lo aggiungi nella configurazione lovelace usa questo ", + "lovelace_no_js_type": "Impossibile determinare il tipo di plugin, verificare il repository.", + "newest": "Nuovo", + "note_appdaemon": "dovrai aggiungerlo nel file 'apps.yaml'", + "note_installed": "Quando installato, sarà posizionato in", + "note_integration": "dovrai aggiungerlo nel file 'configuration.yaml'", + "note_plugin": "Dovrai aggiungerlo nel file 'ui-lovelace.yaml' oppure via editor di configurazione RAW della UI.", + "open_issue": "Apri anomalia", + "open_plugin": "Apri plugin", + "reinstall": "Reinstalla", + "repository": "Repository", + "show_beta": "Visualizza beta", + "uninstall": "Rimuovi", + "update_information": "Aggiorna informazioni", + "upgrade": "Aggiorna" + }, + "settings": { + "add_custom_repository": "AGGIUNGI REPOSITORY PERSONALIZZATA", + "category": "Categoria", + "custom_repositories": "REPOSITORY PERSONALIZZATE", + "delete": "Cancella", + "display": "Visualizza", + "grid": "Griglia", + "hacs_repo": "HACS repo", + "reload_data": "Ricarica i dati", + "save": "Salva", + "table": "Tabella", + "upgrade_all": "Aggiorna tutto" + }, + "store": { + "placeholder_search": "Prego inserire una stringa di ricerca" + } +} \ No newline at end of file diff --git a/custom_components/hacs/.translations/pt_BR.json b/custom_components/hacs/.translations/pt-BR.json similarity index 100% rename from custom_components/hacs/.translations/pt_BR.json rename to custom_components/hacs/.translations/pt-BR.json diff --git a/custom_components/hacs/.translations/sl.json b/custom_components/hacs/.translations/sl.json new file mode 100644 index 00000000000..a4f2bd58fe9 --- /dev/null +++ b/custom_components/hacs/.translations/sl.json @@ -0,0 +1,96 @@ +{ + "common": { + "appdaemon": "AppDaemon", + "appdaemon_apps": "AppDaemon Aplikacije", + "background_task": "v ozadju se izvaja naloga, ko se konča, se bo stran osvežila.", + "installed": "Nameščeno", + "integration": "Integracija", + "integrations": "Integracije", + "plugin": "vtičnik", + "plugins": "Vtičniki", + "python_script": "Python skripta", + "python_scripts": "Python skripte", + "repositories": "Repozitoriji", + "settings": "nastavitve", + "theme": "Tema", + "themes": "Teme", + "version": "Različica" + }, + "config": { + "abort": { + "single_instance_allowed": "Dovoljena je samo ena konfiguracija HACS." + }, + "error": { + "auth": "Osebni dostopni žeton ni pravilen." + }, + "step": { + "user": { + "data": { + "appdaemon": "Omogoči odkrivanje in sledenje aplikacij AppDaemon", + "python_script": "Omogoči odkrivanje in sledenje python_scripts", + "sidepanel_icon": "Ikona stranske plošče", + "sidepanel_title": "Naslov stranske plošče", + "theme": "Omogoči odkrivanje in sledenje tem", + "token": "GitHub žeton za osebni dostop" + }, + "description": "Če potrebujete pomoč pri konfiguraciji, poglejte tukaj: https:\/\/hacs.netlify.com\/installation\/configuration\/", + "title": "HACS (Home Assistant Community Store)" + } + }, + "title": "HACS (Home Assistant Community Store)" + }, + "options": { + "step": { + "user": { + "data": { + "country": "Filtrirajte s kodo države.", + "experimental": "Omogočite poskusne funkcije", + "release_limit": "Število izdaj, ki jih želite prikazati." + } + } + } + }, + "repository": { + "authors": "Avtorji", + "available": "Na voljo", + "back_to": "Nazaj na", + "changelog": "Dnevnik sprememb", + "flag_this": "Označite to", + "hide": "Skrij", + "hide_beta": "Skrij različico beta", + "install": "Namestite", + "installed": "Nameščeno", + "lovelace_copy_example": "Kopirajte primer v odložišče", + "lovelace_instruction": "Ko ga boste dodajali v svojo lovelace konfiguracijo uporabite to:", + "lovelace_no_js_type": "Ni bilo mogoče določiti vrsto tega vtičnika, preverite repozitorij.", + "newest": "najnovejše", + "note_appdaemon": "Še vedno ga morate dodati v svojo 'apps.yaml' datoteko", + "note_installed": "Ko bo nameščen, se bo nahajal v", + "note_integration": "Še vedno ga morate dodati v svojo 'configuration.yaml' datoteko", + "note_plugin": "vendar ga še vedno morate dodati v svojo lovelace konfiguracijo ('ui-lovelace.yaml \" ali \"raw\" UI config urejevalnik)", + "open_issue": "Odprite težavo", + "open_plugin": "Odprite vtičnik", + "reinstall": "Znova namestite", + "repository": "Repozitorij", + "show_beta": "Pokaži različico beta", + "uninstall": "Odstranite", + "update_information": "Posodobite podatke", + "upgrade": "Nadgradnja" + }, + "settings": { + "add_custom_repository": "DODAJTE SVOJ REPOZITORIJ", + "category": "Kategorija", + "custom_repositories": "VAŠI REPOZITORIJI", + "delete": "Izbriši", + "display": "Prikaz", + "grid": "Mreža", + "hacs_repo": "HACS repo", + "reload_data": "Ponovno naloži podatke", + "save": "Shranite", + "table": "Tabela", + "upgrade_all": "Nadgradite vse" + }, + "store": { + "placeholder_search": "Prosim vnesite iskalni izraz..." + } +} \ No newline at end of file diff --git a/custom_components/hacs/.translations/sv.json b/custom_components/hacs/.translations/sv.json index d5ecba4c603..78077056bac 100644 --- a/custom_components/hacs/.translations/sv.json +++ b/custom_components/hacs/.translations/sv.json @@ -10,7 +10,7 @@ "plugins": "Plugins", "python_script": "Python skript", "python_scripts": "Python skript", - "repositories": "Git repon", + "repositories": "Repositories", "settings": "inställningar", "theme": "Tema", "themes": "Teman", @@ -62,25 +62,25 @@ "installed": "Installerad", "lovelace_copy_example": "Kopiera exemplet till urklipp", "lovelace_instruction": "När du lägger till denna till din lovelace konfiguration, använd", - "lovelace_no_js_type": "Kan inte avgöra villken typ av plugin, kontrollera i git \nrepot", + "lovelace_no_js_type": "Kan inte avgöra villken typ av plugin, kontrollera i GIT \nrepository", "newest": "nyaste", "note_appdaemon": "du behöver fortfarande lägga till den till filen 'apps.yaml'", "note_installed": "När den är installerad kommer den finnas i", "note_integration": "du behöver fortfarande lägga den till filen 'configuration.yaml'", "note_plugin": "du behöver fortfarande lägga till den till din lovelace konfiguration ('ui-lovelace.yaml' eller raw UI config redigerare)", - "open_issue": "Öppna issue", + "open_issue": "Rapportera problem", "open_plugin": "Öppna plugin", "reinstall": "Ominstallera", - "repository": "Git repo", + "repository": "Repository", "show_beta": "Visa betaversioner", "uninstall": "Avinstallera", "update_information": "Uppdatera information", "upgrade": "Uppdatera" }, "settings": { - "add_custom_repository": "LÄGG TILL ETT GIT REPO", + "add_custom_repository": "LÄGG TILL ETT REPOSITORY", "category": "Kategori", - "custom_repositories": "GIT REPON", + "custom_repositories": "REPOSITORIES", "delete": "Ta bort", "display": "Visa", "grid": "Rutnät", diff --git a/custom_components/hacs/.translations/zh_CN.json b/custom_components/hacs/.translations/zh-Hans.json similarity index 98% rename from custom_components/hacs/.translations/zh_CN.json rename to custom_components/hacs/.translations/zh-Hans.json index 606c1f4f6a1..9cb049a5c99 100644 --- a/custom_components/hacs/.translations/zh_CN.json +++ b/custom_components/hacs/.translations/zh-Hans.json @@ -65,7 +65,6 @@ "lovelace_no_js_type": "无法确定此插件的类型,请检查仓库。", "newest": "最新", "note_appdaemon": "您仍然需要将其添加到“ apps.yaml”文件中", - "note_installed": "已安装,它将位于", "note_integration": "您仍然需要将其添加到“ configuration.yaml”文件中", "note_plugin": "您仍然需要将其添加到lovelace配置中(“ ui-lovelace.yaml”或原始配置编辑器)ui-lovelace.yaml", "open_issue": "提交问题", diff --git a/custom_components/hacs/const.py b/custom_components/hacs/const.py index 35ce19addee..1c63cbf8018 100644 --- a/custom_components/hacs/const.py +++ b/custom_components/hacs/const.py @@ -1,7 +1,7 @@ """Constants for HACS""" NAME_LONG = "HACS (Home Assistant Community Store)" NAME_SHORT = "HACS" -VERSION = "0.15.1" +VERSION = "0.15.2" DOMAIN = "hacs" PROJECT_URL = "https://github.com/custom-components/hacs/" CUSTOM_UPDATER_LOCATIONS = [ diff --git a/manage/hacs b/manage/hacs index a8f2335295a..a19b85298fb 100644 --- a/manage/hacs +++ b/manage/hacs @@ -34,7 +34,24 @@ function hacs-download-translations { --export_empty skip \ --export_sort a_z + rm -R /workspaces/hacs/custom_components/hacs/.translations || echo "" + mkdir /workspaces/hacs/custom_components/hacs/.translations + cp /tmp/lokalise/locale/* /workspaces/hacs/custom_components/hacs/.translations/ +} + +function hacs-prepare-release { + echo "Downloading releases" + hacs-download-translations + + echo "Controlling the version number" + local=$(cat custom_components/hacs/const.py | grep "VERSION = " | tr -d '[:space:]' | tr -d "VERSION=") + remote=$(curl -sSL https://api.github.com/repos/custom-components/hacs/releases/latest | jq .tag_name) + + if [ "$remote" == "$local" ]; then + echo "Versions match! You forgot to bump it!" + return 1 + fi }