0.7.8: le diciture della copertina
'T. casa', 'T. acqua', 'Temperatura esterna'. Stringhe proprie della copertina: la copertina condivideva 'House' e 'Hot water' con la Home, quindi cambiare la traduzione avrebbe cambiato anche la Home, che resta 'Casa' e 'Acqua calda'.
This commit is contained in:
+18
-1
@@ -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:
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 <carlo@carlobaratto.it> - 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 <carlo@carlobaratto.it> - 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
|
||||
|
||||
+2
-2
@@ -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);
|
||||
|
||||
@@ -366,13 +366,13 @@
|
||||
<name>CoverPage</name>
|
||||
<message>
|
||||
<location filename="../qml/cover/CoverPage.qml" line="79"/>
|
||||
<source>House</source>
|
||||
<translation>Casa</translation>
|
||||
<source>T. house</source>
|
||||
<translation>T. casa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/cover/CoverPage.qml" line="118"/>
|
||||
<source>Hot water</source>
|
||||
<translation>Acqua calda</translation>
|
||||
<source>T. water</source>
|
||||
<translation>T. acqua</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/cover/CoverPage.qml" line="142"/>
|
||||
@@ -386,8 +386,8 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/cover/CoverPage.qml" line="164"/>
|
||||
<source>outside %1 °C</source>
|
||||
<translation>Esterno %1 °C</translation>
|
||||
<source>Outside temperature %1 °C</source>
|
||||
<translation>Temperatura esterna %1 °C</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
||||
@@ -939,32 +939,27 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/SetpointsPage.qml" line="235"/>
|
||||
<location filename="../qml/pages/SetpointsPage.qml" line="241"/>
|
||||
<source>Hot water boost</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/SetpointsPage.qml" line="240"/>
|
||||
<source>Start DHW boost</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/SetpointsPage.qml" line="241"/>
|
||||
<source>Starting DHW boost</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/SetpointsPage.qml" line="247"/>
|
||||
<source>Stop DHW boost</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/SetpointsPage.qml" line="248"/>
|
||||
<source>Stopping DHW boost</source>
|
||||
<source>Boost running · %1 left</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/SetpointsPage.qml" line="255"/>
|
||||
<source>Start DHW boost</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/SetpointsPage.qml" line="255"/>
|
||||
<source>Stop DHW boost</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/SetpointsPage.qml" line="263"/>
|
||||
<source>Commands go through the bridge and may take a few seconds. The status refreshes by itself afterwards.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
||||
Reference in New Issue
Block a user