From 0bf676f0d290db02a3f28144543dc43ee9e22c7c Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Sun, 14 Jun 2020 15:56:14 +0300 Subject: [PATCH] Fix cover page text --- application/qml/cover/CoverPage.qml | 6 +++--- .../translations/harbour-batterybuddy-fi.ts | 16 ++++++---------- .../translations/harbour-batterybuddy-fr.ts | 9 +++------ .../translations/harbour-batterybuddy-sv.ts | 18 ++++++------------ .../translations/harbour-batterybuddy-zh_CN.ts | 12 ++++-------- .../translations/harbour-batterybuddy.ts | 9 +++------ 6 files changed, 25 insertions(+), 45 deletions(-) diff --git a/application/qml/cover/CoverPage.qml b/application/qml/cover/CoverPage.qml index 5e538c7..e698c7e 100644 --- a/application/qml/cover/CoverPage.qml +++ b/application/qml/cover/CoverPage.qml @@ -36,11 +36,11 @@ CoverBackground { onChargeChanged: updateView() function updateView() { if(charge <= settings.lowerLimit && battery.state === "discharging") { - coverText.text = qsTr("Connect\ncharger") + coverText.text = qsTr("Connect charger") } else if(battery.charge >= settings.upperLimit && (battery.state === "charging" || battery.state === "idle")) { - coverText.text = qsTr("Disconnect\ncharger") + coverText.text = qsTr("Disconnect charger") } else if(battery.chargerConnected && battery.state === "charging") { coverText.text = qsTr("Charging") @@ -49,7 +49,7 @@ CoverBackground { coverText.text = qsTr("Not charging") } else { // Discharging - coverText.text = qsTr("Battery\nBuddy") + coverText.text = qsTr("Battery Buddy") } } } diff --git a/application/translations/harbour-batterybuddy-fi.ts b/application/translations/harbour-batterybuddy-fi.ts index c9233f7..7234a25 100644 --- a/application/translations/harbour-batterybuddy-fi.ts +++ b/application/translations/harbour-batterybuddy-fi.ts @@ -43,20 +43,16 @@ Akku ei\nlatauksessa - Connect -charger - Kytke\nlaturi + Connect charger + Kytke laturi - Disconnect -charger - Irrota\nlaturi + Disconnect charger + Irrota laturi - Battery -Buddy - Battery -Buddy + Battery Buddy + Battery Buddy diff --git a/application/translations/harbour-batterybuddy-fr.ts b/application/translations/harbour-batterybuddy-fr.ts index 9d0982c..8458a9d 100644 --- a/application/translations/harbour-batterybuddy-fr.ts +++ b/application/translations/harbour-batterybuddy-fr.ts @@ -35,18 +35,15 @@ CoverPage - Connect -charger + Connect charger Branchez le chargeur - Disconnect -charger + Disconnect charger Débranchez le chargeur - Battery -Buddy + Battery Buddy Battery Buddy diff --git a/application/translations/harbour-batterybuddy-sv.ts b/application/translations/harbour-batterybuddy-sv.ts index 5b5a36f..59c5584 100644 --- a/application/translations/harbour-batterybuddy-sv.ts +++ b/application/translations/harbour-batterybuddy-sv.ts @@ -43,22 +43,16 @@ Laddar inte - Connect -charger - Anslut -laddare + Connect charger + Anslut laddare - Disconnect -charger - Koppla ifrån -laddaren + Disconnect charger + Koppla ifrån laddaren - Battery -Buddy - Battery -Buddy + Battery Buddy + Battery Buddy diff --git a/application/translations/harbour-batterybuddy-zh_CN.ts b/application/translations/harbour-batterybuddy-zh_CN.ts index 4cc69aa..42a75fb 100644 --- a/application/translations/harbour-batterybuddy-zh_CN.ts +++ b/application/translations/harbour-batterybuddy-zh_CN.ts @@ -35,20 +35,16 @@ CoverPage - Connect -charger + Connect charger 连接充电器 - Disconnect -charger + Disconnect charger 断开充电器 - Battery -Buddy - Battery -Buddy(电池搭档) + Battery Buddy + Battery Buddy(电池搭档) Charging diff --git a/application/translations/harbour-batterybuddy.ts b/application/translations/harbour-batterybuddy.ts index bed69c9..c4c4ffb 100644 --- a/application/translations/harbour-batterybuddy.ts +++ b/application/translations/harbour-batterybuddy.ts @@ -43,18 +43,15 @@ - Connect -charger + Connect charger - Disconnect -charger + Disconnect charger - Battery -Buddy + Battery Buddy