Skip to content

Commit

Permalink
Merge pull request #420 from Danfro/translatable_strings
Browse files Browse the repository at this point in the history
make some labels use the translated string
  • Loading branch information
piggz authored Nov 3, 2024
2 parents 2963f7c + 544a67e commit a7244d0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ui/qml/pages/AnalysisPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ PagePL {
graphTitle: qsTr("Heartrate")
graphHeight: 300

axisY.units: "BPM"
axisY.units: qsTr("BPM")
type: DataSource.Heartrate

minY: 0
Expand All @@ -57,7 +57,7 @@ PagePL {
graphTitle: qsTr("Steps")
graphHeight: 300

axisY.units: "Steps"
axisY.units: qsTr("Steps")
type: DataSource.Steps

minY: 0
Expand Down
2 changes: 1 addition & 1 deletion ui/qml/pages/HeartratePage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ PagePL {
graphTitle: qsTr("BPM")
graphHeight: 300

axisY.units: "BPM"
axisY.units: qsTr("BPM")
type: DataSource.Heartrate
graphType: 2

Expand Down
2 changes: 1 addition & 1 deletion ui/qml/pages/StepsPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ PagePL {
graphHeight: 300

axisX.mask: "MM/dd"
axisY.units: "Steps"
axisY.units: qsTr("Steps")
type: DataSource.StepSummary
graphType: 2

Expand Down

0 comments on commit a7244d0

Please sign in to comment.