diff --git a/docs/PIANO.md b/docs/PIANO.md index 578ff44..c1b27e1 100644 --- a/docs/PIANO.md +++ b/docs/PIANO.md @@ -566,7 +566,24 @@ mostra e lo ferma con lo stesso tasto. - senza `confirmText`: la conferma la da' il messaggio in fondo, come in Home (il remorse resta solo dove serve davvero, sui comandi a tutta larghezza). -## 19. Conseguenze dell'uso reale (0.7.0) +## 19. Le diciture della copertina — v0.7.8 + +Carlo: *"Nella cover scrivi T. casa, T. acqua e Temperatura esterna"*. + +La copertina usava le stesse stringhe della Home (`qsTr("House")`, +`qsTr("Hot water")`): cambiarne la traduzione avrebbe cambiato **anche** la Home, +che invece deve restare «Casa» e «Acqua calda» (sua richiesta esplicita, solo per +la copertina). Servono quindi stringhe **proprie della copertina**: + +- `T. house` → italiano `T. casa`; +- `T. water` → italiano `T. acqua`; +- `Outside temperature %1 °C` (era `outside %1 °C`, usata solo qui) → italiano + `Temperatura esterna %1 °C`. + +Le fonti restano in inglese, come tutto il catalogo; l'italiano sta nel `.ts`. +La Home non cambia. + +## 20. Conseguenze dell'uso reale (0.7.0) Deciso con l'uso, non in anticipo: diff --git a/qml/cover/CoverPage.qml b/qml/cover/CoverPage.qml index 9565587..a1e688c 100644 --- a/qml/cover/CoverPage.qml +++ b/qml/cover/CoverPage.qml @@ -76,7 +76,7 @@ CoverBackground { spacing: Theme.paddingSmall Label { - text: qsTr("House") + text: qsTr("T. house") color: Theme.secondaryColor font.pixelSize: Theme.fontSizeExtraSmall width: rigaCasa.width * 0.42 @@ -115,7 +115,7 @@ CoverBackground { spacing: Theme.paddingSmall Label { - text: qsTr("Hot water") + text: qsTr("T. water") color: Theme.secondaryColor font.pixelSize: Theme.fontSizeExtraSmall width: rigaAcqua.width * 0.42 @@ -161,7 +161,7 @@ CoverBackground { // Qui c'e' posto per dire che i numeri non sono freschi. text: api.stale ? qsTr("Not updated · last %1").arg(api.lastUpdate) - : qsTr("outside %1 °C").arg(cover.t("outdoor_temperature")) + : qsTr("Outside temperature %1 °C").arg(cover.t("outdoor_temperature")) color: api.stale ? "orange" : Theme.secondaryColor font.pixelSize: Theme.fontSizeExtraSmall truncationMode: TruncationMode.Fade diff --git a/rpm/harbour-aira.spec b/rpm/harbour-aira.spec index 5dd7009..ae44495 100644 --- a/rpm/harbour-aira.spec +++ b/rpm/harbour-aira.spec @@ -1,6 +1,6 @@ Name: harbour-aira Summary: Control your Aira heat pump through a local bridge -Version: 0.7.7 +Version: 0.7.8 Release: 1 Group: Qt/Qt License: MIT @@ -37,6 +37,10 @@ Address and token of the bridge live in the app settings (AppConfigLocation); no personal data is stored in the binary. %changelog +* Sun Oct 11 2026 Carlo - 0.7.8-1 +- copertina: le tre diciture diventano "T. casa", "T. acqua" e "Temperatura + esterna". Sono stringhe proprie della copertina, cosi' la Home resta "Casa" e + "Acqua calda". * Sun Oct 11 2026 Carlo - 0.7.7-1 - Regolazioni, acqua calda: un solo tasto del boost che cambia con lo stato (avvia / ferma) invece di due sempre attivi, con il tempo che resta. Lo stato diff --git a/src/main.cpp b/src/main.cpp index 0de3ced..1d60be1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -21,7 +21,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[]) app->setOrganizationName(QStringLiteral("harbour")); app->setApplicationName(QStringLiteral("aira")); - app->setApplicationVersion(QStringLiteral("0.7.7")); + app->setApplicationVersion(QStringLiteral("0.7.8")); Settings settings; ApiClient api(&settings); @@ -36,7 +36,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[]) // Prima riga del log: dice subito se il device sta girando la build nuova // o una stale (trappola nota del build engine). - qDebug() << "harbour-aira v0.7.7 build" << __DATE__ << __TIME__; + qDebug() << "harbour-aira v0.7.8 build" << __DATE__ << __TIME__; view->rootContext()->setContextProperty(QStringLiteral("appSettings"), &settings); view->rootContext()->setContextProperty(QStringLiteral("api"), &api); diff --git a/translations/harbour-aira-it.ts b/translations/harbour-aira-it.ts index 2ea60e7..85cb4c6 100644 --- a/translations/harbour-aira-it.ts +++ b/translations/harbour-aira-it.ts @@ -366,13 +366,13 @@ CoverPage - House - Casa + T. house + T. casa - Hot water - Acqua calda + T. water + T. acqua @@ -386,8 +386,8 @@ - outside %1 °C - Esterno %1 °C + Outside temperature %1 °C + Temperatura esterna %1 °C diff --git a/translations/harbour-aira.ts b/translations/harbour-aira.ts index aeaa6c0..0b3d7ce 100644 --- a/translations/harbour-aira.ts +++ b/translations/harbour-aira.ts @@ -939,32 +939,27 @@ - + Hot water boost - - - Start DHW boost - - - - - Starting DHW boost - - - - - Stop DHW boost - - - Stopping DHW boost + Boost running · %1 left + Start DHW boost + + + + + Stop DHW boost + + + + Commands go through the bridge and may take a few seconds. The status refreshes by itself afterwards.