Skip to content

Commit

Permalink
0.15.2 preparations
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Oct 6, 2019
1 parent e6928e7 commit bef0edf
Show file tree
Hide file tree
Showing 9 changed files with 221 additions and 11 deletions.
3 changes: 2 additions & 1 deletion custom_components/hacs/.translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
}
},
"repository": {
"authors": "Autoren",
"available": "Verfügbar",
"back_to": "Zurück zu",
"changelog": "Changelog",
Expand Down Expand Up @@ -90,6 +91,6 @@
"upgrade_all": "Alle aktualisieren"
},
"store": {
"placeholder_search": "Suchbegriff eingeben..."
"placeholder_search": "Suchbegriff eingeben"
}
}
5 changes: 3 additions & 2 deletions custom_components/hacs/.translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
}
},
"repository": {
"authors": "Auteurs",
"available": "Disponible",
"back_to": "Retour",
"changelog": "Change log",
Expand All @@ -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",
Expand Down
96 changes: 96 additions & 0 deletions custom_components/hacs/.translations/it.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
96 changes: 96 additions & 0 deletions custom_components/hacs/.translations/sl.json
Original file line number Diff line number Diff line change
@@ -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..."
}
}
12 changes: 6 additions & 6 deletions custom_components/hacs/.translations/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": "提交问题",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/hacs/const.py
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down
17 changes: 17 additions & 0 deletions manage/hacs
Original file line number Diff line number Diff line change
Expand Up @@ -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

}

Expand Down

0 comments on commit bef0edf

Please sign in to comment.