From 9afde472d70dba664f512b27ed813468af21360b Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Sat, 21 Mar 2020 05:06:38 +0200 Subject: [PATCH] Various English translation fixes and changes --- qml/pages/AboutPage.qml | 6 +- qml/pages/MainPage.qml | 2 +- qml/pages/SettingsPage.qml | 12 +- translations/harbour-batterybuddy.ts | 159 +++++++++++++++++---------- 4 files changed, 112 insertions(+), 67 deletions(-) diff --git a/qml/pages/AboutPage.qml b/qml/pages/AboutPage.qml index 1f48e5d..3e581f4 100644 --- a/qml/pages/AboutPage.qml +++ b/qml/pages/AboutPage.qml @@ -36,7 +36,7 @@ Page { PageHeader { id: header - title: qsTr("View license") + title: qsTr("View License") } Column { @@ -92,13 +92,13 @@ Page { AboutLabel { font.pixelSize: Theme.fontSizeSmall color: Theme.secondaryColor - text: qsTr("GPSInfo is open source software licensed under the terms of the GNU General Public License.") + text: qsTr("Battery Buddy is open source software licensed under the terms of the GNU General Public License.") } AboutLabel { font.pixelSize: Theme.fontSizeSmall color: Theme.secondaryColor - text: qsTr("For suggestions, bugs and ideas visit ") + text: qsTr("Contributions and translations are always appreciated!") } Button { diff --git a/qml/pages/MainPage.qml b/qml/pages/MainPage.qml index 9ffec26..0dbf01a 100644 --- a/qml/pages/MainPage.qml +++ b/qml/pages/MainPage.qml @@ -102,7 +102,7 @@ Page { x: Theme.paddingLarge*2 width: parent.width - x*2; wrapMode: Text.Wrap - text: qsTr("Please leave Battery Buddy running in the background in order to receive alerts.") + text: qsTr("Please leave Battery Buddy running in the background for proper operation.") color: Theme.primaryColor font.pixelSize: Theme.fontSizeSmall } diff --git a/qml/pages/SettingsPage.qml b/qml/pages/SettingsPage.qml index 73af59b..a66ab27 100644 --- a/qml/pages/SettingsPage.qml +++ b/qml/pages/SettingsPage.qml @@ -76,8 +76,8 @@ Page { } TextSwitch { id: autoStopCharging - text: qsTr("Stop charging when limit reached") - description: qsTr("This option stops charging when battery has reached the percentage set in Charging limit value, and resumes charging when charge has decreased below Continue charge limit value. Generally a value close to the Charging limit value is recommened, such as 80% and 75%.") + text: qsTr("Automatic charging control") + description: qsTr("This option disables charging automatically when the battery has charged above the pausing percentage and enables it again when the battery has depleted below the resuming percentage.") onCheckedChanged: settings.limitEnabled = checked } @@ -85,7 +85,7 @@ Page { id: highLimitSlider handleVisible: enabled width: parent.width - label: qsTr("Stop charging limit") + label: qsTr("Pause charging limit") minimumValue: 21 maximumValue: 95 stepSize: 1 @@ -120,13 +120,13 @@ Page { TextSwitch { id: notificationsSwitch text: qsTr("Use notifications") - description: qsTr("When the application is minimized, display visual and audible notifications about reached battery charge levels.") + description: qsTr("Display visual and audible notifications about reached battery charge levels, when the battery charge is below or above desired percentage.") onCheckedChanged: settings.notificationsEnabled = checked } MySlider { id: highAlertSlider width: parent.width - label: qsTr("Charging limit") + label: qsTr("Battery full notification") minimumValue: 11 maximumValue: 100 stepSize: 1 @@ -141,7 +141,7 @@ Page { MySlider { id: lowAlertSlider width: parent.width - label: qsTr("Discharging limit") + label: qsTr("Battery low notification") minimumValue: 10 maximumValue: 99 stepSize: 1 diff --git a/translations/harbour-batterybuddy.ts b/translations/harbour-batterybuddy.ts index e8ba30b..9a9e696 100644 --- a/translations/harbour-batterybuddy.ts +++ b/translations/harbour-batterybuddy.ts @@ -4,24 +4,36 @@ AboutPage - License + Battery Buddy is a small and simple utility designed to improve the lifetime of the battery. - Code and feedback + Version - Battery Buddy + View License - Author + Battery Buddy is open source software licensed under the terms of the GNU General Public License. + + + + Contributions and translations are always appreciated! CoverPage + + Charging + + + + Not charging + + Connect charger @@ -32,10 +44,6 @@ charger charger - - Charging... - - Battery Buddy @@ -143,53 +151,15 @@ Buddy Battery Buddy - - Click the buttons to test the sound and notification. - - Battery status - - Alert tests - - - - Please connect the charger. - - - - Please disconnect the charger. - - - - Battery charge - Battery charge 20% - - - - About - About this application - - Background More to read, background information... - - This is a test. - - - - Discharged - - - - Charged - - yes @@ -202,10 +172,6 @@ Buddy Charge: - - Charging: - - State: @@ -231,11 +197,37 @@ Buddy - Settings + Charger connected: - Please leave Battery Buddy running in the background in order to receive alerts. + full + Battery fully charged + + + + empty + Battery fully depleted + + + + Resume + + + + Pause + + + + Charger control + + + + Please leave Battery Buddy running in the background for proper operation. + + + + Using these controls overrides the automated settings. @@ -246,23 +238,76 @@ Buddy - Set the maximum and minimum target charge levels. + Resume charging limit - Charging limit + Charging settings - Discharging limit + Notification settings - Alert settings + Use notifications - Alert interval + Notification interval + + + + About + About this application + + + + Pause charging limit + + + + Display visual and audible notifications about reached battery charge levels, when the battery charge is below or above desired percentage. + + + + Battery low notification + + + + Battery full notification + + + + Automatic charging control + + + + This option disables charging automatically when the battery has charged above the pausing percentage and enables it again when the battery has depleted below the resuming percentage. + + + + + harbour-batterybuddy + + Battery Buddy + + + + Battery charge + Battery charge 20% + + + + This is a test. + + + + Please disconnect the charger. + + + + Please connect the charger.