From a56ac6aa880f47c094fa8e47927345024296a856 Mon Sep 17 00:00:00 2001 From: Massimiliano Cannarozzo Date: Wed, 9 Feb 2022 19:56:35 +0100 Subject: [PATCH 1/6] Bump version --- package.sdk4.json | 4 ++-- package.sdk5.json | 4 ++-- package.sdk6.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.sdk4.json b/package.sdk4.json index 842dddb..8c17a84 100644 --- a/package.sdk4.json +++ b/package.sdk4.json @@ -4,7 +4,7 @@ "@fitbit/sdk-cli": "^1.7.3" }, "name": "homeassistant", - "version": "0.5.0", + "version": "0.6.0", "private": true, "license": "MIT", "fitbit": { @@ -33,4 +33,4 @@ "build": "fitbit-build", "debug": "fitbit" } -} \ No newline at end of file +} diff --git a/package.sdk5.json b/package.sdk5.json index 2b45a01..6f92cbf 100644 --- a/package.sdk5.json +++ b/package.sdk5.json @@ -4,7 +4,7 @@ "@fitbit/sdk-cli": "^1.7.3" }, "name": "homeassistant", - "version": "0.5.0", + "version": "0.6.0", "private": true, "license": "MIT", "fitbit": { @@ -31,4 +31,4 @@ "build": "fitbit-build", "debug": "fitbit" } -} \ No newline at end of file +} diff --git a/package.sdk6.json b/package.sdk6.json index 2b45a01..6f92cbf 100644 --- a/package.sdk6.json +++ b/package.sdk6.json @@ -4,7 +4,7 @@ "@fitbit/sdk-cli": "^1.7.3" }, "name": "homeassistant", - "version": "0.5.0", + "version": "0.6.0", "private": true, "license": "MIT", "fitbit": { @@ -31,4 +31,4 @@ "build": "fitbit-build", "debug": "fitbit" } -} \ No newline at end of file +} From f1bcd8e9d86e9c60886e5acc4370062449d05a01 Mon Sep 17 00:00:00 2001 From: Massimiliano Cannarozzo Date: Wed, 9 Feb 2022 19:56:57 +0100 Subject: [PATCH 2/6] Update changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 16ef621..ca0b962 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Version 0.6 + +### Added +- Italian language + ## Version 0.5 ### Added From 154439049a39c669918d3fa2ec0b44f69228fdab Mon Sep 17 00:00:00 2001 From: Massimiliano Cannarozzo Date: Wed, 9 Feb 2022 19:58:25 +0100 Subject: [PATCH 3/6] Add italian language --- README.md | 2 +- app/i18n/it-IT.po | 12 ++++++++++++ companion/i18n/it-IT.po | 6 ++++++ settings/i18n/it-IT.po | 9 +++++++++ 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 app/i18n/it-IT.po create mode 100644 companion/i18n/it-IT.po create mode 100644 settings/i18n/it-IT.po diff --git a/README.md b/README.md index 55f15ca..4875c23 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ This app allows to control [Home Assistant](https://www.home-assistant.io/) entities from a [Fitbit watch](https://www.fitbit.com/global/eu/home). -Supported languages: de-DE, en-US. +Supported languages: de-DE, en-US, it-IT. Supported entity types: - switch (on/off) diff --git a/app/i18n/it-IT.po b/app/i18n/it-IT.po new file mode 100644 index 0000000..4dd5506 --- /dev/null +++ b/app/i18n/it-IT.po @@ -0,0 +1,12 @@ + +msgid "unavailable" +msgstr "N/D" + +msgid "on" +msgstr "ACC" + +msgid "off" +msgstr "SPE" + +msgid "exe" +msgstr "▶️" diff --git a/companion/i18n/it-IT.po b/companion/i18n/it-IT.po new file mode 100644 index 0000000..95fd396 --- /dev/null +++ b/companion/i18n/it-IT.po @@ -0,0 +1,6 @@ + +msgid "unavailable" +msgstr "Non disponibile" + +msgid "connection_error" +msgstr "Errore di connessione" diff --git a/settings/i18n/it-IT.po b/settings/i18n/it-IT.po new file mode 100644 index 0000000..c3333df --- /dev/null +++ b/settings/i18n/it-IT.po @@ -0,0 +1,9 @@ + +msgid "add_title" +msgstr "Nuova entità" + +msgid "add_label" +msgstr "Aggiungi entità" + +msgid "force_status" +msgstr "Forza stato" From 06ee49372f02eb43d6dbf45979ed33e531900a4e Mon Sep 17 00:00:00 2001 From: Massimiliano Cannarozzo Date: Sat, 12 Feb 2022 20:41:02 +0100 Subject: [PATCH 4/6] Ellipsize friendly name --- resources/styles.sdk4.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/styles.sdk4.css b/resources/styles.sdk4.css index 6fe614d..455353c 100644 --- a/resources/styles.sdk4.css +++ b/resources/styles.sdk4.css @@ -19,7 +19,9 @@ font-family: Colfax-Regular; text-anchor: start; text-length: 64; - fill: #FFFFFF + fill: #FFFFFF; + overflow: hidden; + text-overflow: ellipsis; } .itemState { From 72ef940e39ee22546e62cecc225256a23fcc0487 Mon Sep 17 00:00:00 2001 From: Massimiliano Cannarozzo Date: Tue, 15 Feb 2022 19:12:24 +0100 Subject: [PATCH 5/6] Use short string --- app/i18n/it-IT.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/i18n/it-IT.po b/app/i18n/it-IT.po index 4dd5506..12d503b 100644 --- a/app/i18n/it-IT.po +++ b/app/i18n/it-IT.po @@ -9,4 +9,4 @@ msgid "off" msgstr "SPE" msgid "exe" -msgstr "▶️" +msgstr "ESE" From 4e2833b4b57e8505b68fdb2ae68b6319d6773acc Mon Sep 17 00:00:00 2001 From: Massimiliano Cannarozzo Date: Wed, 16 Feb 2022 16:23:27 +0100 Subject: [PATCH 6/6] Ellipsize text --- resources/styles.sdk5.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/styles.sdk5.css b/resources/styles.sdk5.css index 6fe614d..455353c 100644 --- a/resources/styles.sdk5.css +++ b/resources/styles.sdk5.css @@ -19,7 +19,9 @@ font-family: Colfax-Regular; text-anchor: start; text-length: 64; - fill: #FFFFFF + fill: #FFFFFF; + overflow: hidden; + text-overflow: ellipsis; } .itemState {