Skip to content

Commit

Permalink
Added ita/eng localization for field label (#1);
Browse files Browse the repository at this point in the history
  • Loading branch information
cod committed Jun 10, 2020
1 parent 2a5f8be commit 2210df2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions resources-eng/strings/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<strings>
<string id="AppName">Lap Elevation</string>
</strings>
3 changes: 3 additions & 0 deletions resources-ita/strings/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<strings>
<string id="AppName">Disl. Lap</string>
</strings>
2 changes: 1 addition & 1 deletion source/lapElevationView.mc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class lapElevationView extends WatchUi.SimpleDataField {
function initialize() {
SimpleDataField.initialize();
//label = "Lap Elevation"; //Rez.Strings.FieldName;
label = "Lap Elevation";
label = WatchUi.loadResource(Rez.Strings.AppName);
elevation = 0;
prev_altitude = 0;
record = false;
Expand Down

0 comments on commit 2210df2

Please sign in to comment.