Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
136 changes: 136 additions & 0 deletions po/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the steps.jranaraki package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: steps.jranaraki\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-20 21:31+0000\n"
"PO-Revision-Date: 2021-11-20 22:39+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.3\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: ../qml/About.qml:24 ../qml/MainPage.qml:50
msgid "About"
msgstr "Über"

#: ../qml/About.qml:48 ../qml/MainPage.qml:41 steps.desktop.in.h:1
msgid "Steps"
msgstr "Schrittzähler"

#: ../qml/About.qml:66
msgid "Version %1"
msgstr "Version %1"

#: ../qml/About.qml:74
msgid ""
"This application counts your steps based on accelerometer data and "
"calculates travelled distance based on computed stride using the user's "
"demographic information."
msgstr ""
"Diese App zählt die Schritte basierend auf Daten des Beschleunigungsmessers. "
"Sie berechnet die zurückgelegte Strecke auf Grundlage der Schrittlänge, "
"welche aus demographischen Daten des Nutzers berechnet wird."

#. TRANSLATORS: Please make sure the URLs are correct
#: ../qml/About.qml:83
msgid ""
"This program is free software: you can redistribute it and/or modify it "
"under the terms of the GNU General Public License as published by the Free "
"Software Foundation, either version 3 of the License, or (at your option) "
"any later version. This program is distributed in the hope that it will be "
"useful, but WITHOUT ANY WARRANTY; without even the implied warranty of "
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the <a "
"href='https://www.gnu.org/licenses/gpl-3.0.en.html'>GNU General Public "
"License</a> for more details."
msgstr ""
"Dieses Programm ist freie Software: du kannst sie verteilen und/oder "
"verändern unter den Bedingungen der GNU General Public License so wie von "
"der Free Software Foundation veröffentlicht, entweder in Version 3 der "
"Lizenz, oder (nach deiner Entscheidung) einer neueres Version. Das Programm "
"wird verteilt in der Hoffnung, dass es nützlich ist, aber OHNE JEDWEDE "
"GARANTIE, ohne auch nur eine implizierte Garantie der VERKÄUFLICHKEIT oder "
"DER GEEIGNETHEIT FÜR EINEN BESTIMMTEN ZWECK. Schaue hier <a href='https://"
"www.gnu.org/licenses/gpl-3.0.en.html'>GNU General Public License</a> für "
"weitere Details."

#: ../qml/About.qml:92
msgid "DONATE"
msgstr "SPENDEN"

#: ../qml/About.qml:92
msgid "ISSUES"
msgstr "FEHLER"

#: ../qml/About.qml:92
msgid "SOURCE"
msgstr "QUELLCODE"

#: ../qml/About.qml:102
msgid "Copyright"
msgstr "Copyright"

#: ../qml/MainPage.qml:45 ../qml/Setting.qml:36
msgid "Settings"
msgstr "Einstellungen"

#: ../qml/MainPage.qml:173
msgid "Distance: %1 m"
msgstr "Entfernung: %1 m"

#: ../qml/MainPage.qml:173
msgid "Steps: %1"
msgstr "Schritte: %1"

#: ../qml/Setting.qml:39
msgid "Cancel"
msgstr "Abbrechen"

#: ../qml/Setting.qml:48
msgid "Apply"
msgstr "Anwenden"

#: ../qml/Setting.qml:71
msgid "Sex"
msgstr "Geschlecht"

#: ../qml/Setting.qml:88
msgid "Female"
msgstr "Weiblich"

#: ../qml/Setting.qml:88 ../qml/Setting.qml:241
msgid "Male"
msgstr "Männlich"

#: ../qml/Setting.qml:108
msgid "Age"
msgstr "Alter"

#: ../qml/Setting.qml:130
msgid "Height (cm)"
msgstr "Größe (cm)"

#: ../qml/Setting.qml:153
msgid "Weight (kg)"
msgstr "Gewicht (kg)"

#: ../qml/Setting.qml:196
msgid "Sensitivity (7-12)"
msgstr "Empfindlichkeit (7-12)"

#~ msgid "Stride (cm)"
#~ msgstr "Schrittlänge (cm)"

#~ msgid "Goal (steps)"
#~ msgstr "Tagesziel (Schritte)"

#~ msgid "Other"
#~ msgstr "Anderes"
38 changes: 27 additions & 11 deletions po/steps.jranaraki.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: steps.jranaraki\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-10-29 02:56+0000\n"
"POT-Creation-Date: 2021-11-20 21:31+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -17,16 +17,16 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: ../qml/About.qml:24 ../qml/MainPage.qml:52
#: ../qml/About.qml:24 ../qml/MainPage.qml:50
msgid "About"
msgstr ""

#: ../qml/About.qml:48 ../qml/MainPage.qml:43 steps.desktop.in.h:1
#: ../qml/About.qml:48 ../qml/MainPage.qml:41 steps.desktop.in.h:1
msgid "Steps"
msgstr ""

#: ../qml/About.qml:66
msgid "Version: "
msgid "Version %1"
msgstr ""

#: ../qml/About.qml:74
Expand Down Expand Up @@ -65,31 +65,47 @@ msgstr ""
msgid "Copyright"
msgstr ""

#: ../qml/MainPage.qml:47 ../qml/Setting.qml:33
#: ../qml/MainPage.qml:45 ../qml/Setting.qml:36
msgid "Settings"
msgstr ""

#: ../qml/Setting.qml:36
#: ../qml/MainPage.qml:173
msgid "Distance: %1 m"
msgstr ""

#: ../qml/MainPage.qml:173
msgid "Steps: %1"
msgstr ""

#: ../qml/Setting.qml:39
msgid "Cancel"
msgstr ""

#: ../qml/Setting.qml:45
#: ../qml/Setting.qml:48
msgid "Apply"
msgstr ""

#: ../qml/Setting.qml:67
#: ../qml/Setting.qml:71
msgid "Sex"
msgstr ""

#: ../qml/Setting.qml:103
#: ../qml/Setting.qml:88
msgid "Female"
msgstr ""

#: ../qml/Setting.qml:88 ../qml/Setting.qml:241
msgid "Male"
msgstr ""

#: ../qml/Setting.qml:108
msgid "Age"
msgstr ""

#: ../qml/Setting.qml:122
#: ../qml/Setting.qml:130
msgid "Height (cm)"
msgstr ""

#: ../qml/Setting.qml:141
#: ../qml/Setting.qml:153
msgid "Weight (kg)"
msgstr ""
#: ../qml/Setting.qml:196
Expand Down
31 changes: 12 additions & 19 deletions qml/Setting.qml
Original file line number Diff line number Diff line change
Expand Up @@ -89,24 +89,17 @@ Page {
top: parent.top; topMargin: mSpacing
}
}
ComboButton {
id: sexValue
expandedHeight: -1
width: parent.width
anchors {
top: sexLabel.bottom; topMargin: mSpacing
}
Column {
Repeater {
model: ["Male", "Female"]
Button {
text: modelData
width: parent.width
onClicked: {
sexValue.text = text;
sexValue.expanded = false;
calStride()
}

Column {
Repeater {
model: [i18n.tr("Male"), i18n.tr("Female")]
Button {
text: modelData
width: parent.width
onClicked: {
sexValue.text = text;
sexValue.expanded = false;
calStride()
}
}
}
Expand Down Expand Up @@ -293,7 +286,7 @@ Page {

//Calculate stride in cm based on demoraphic information
function calStride() {
if (sexValue.text == "Male") {
if (sexValue.text == i18n.tr("Male")) {
strideText.text = Math.round(heightText.text * 0.3937008 * 0.415 * 100) / 100
} else {
strideText.text = Math.round(heightText.text * 0.3937008 * 0.413 * 100) / 100
Expand Down