aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/views
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/views')
-rw-r--r--www/js/views/around.js2
-rw-r--r--www/js/views/offline.js4
-rw-r--r--www/js/views/search.js2
3 files changed, 4 insertions, 4 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js
index 965f4eb..4afc5bb 100644
--- a/www/js/views/around.js
+++ b/www/js/views/around.js
@@ -398,7 +398,7 @@
var li = '<li><a class="address" id="location_' + i + '" data-lat="' + loc.lat + '" data-long="' + loc.long + '">' + loc.address + '</a></li>';
multiple = multiple + li;
}
- $('#front-howto').html('<p>Multiple matches found</p><ul data-role="listview" data-inset="true">' + multiple + '</ul>');
+ $('#front-howto').html('<p>' + FMS.strings.multiple_matches + '</p><ul data-role="listview" data-inset="true">' + multiple + '</ul>');
$('.ui-page').trigger('create');
$('#relocate, #hidepins').addClass("nodisplay");
$('#front-howto').show();
diff --git a/www/js/views/offline.js b/www/js/views/offline.js
index a85bd71..3ce94a9 100644
--- a/www/js/views/offline.js
+++ b/www/js/views/offline.js
@@ -61,9 +61,9 @@
toggleNextButton: function() {
if ( this.draftHasContent() ) {
- $('#offline-next-btn .ui-btn-text').text('Save');
+ $('#offline-next-btn .ui-btn-text').text(FMS.strings.save);
} else {
- $('#offline-next-btn .ui-btn-text').text('Skip');
+ $('#offline-next-btn .ui-btn-text').text(FMS.strings.skip);
}
},
diff --git a/www/js/views/search.js b/www/js/views/search.js
index 6930e2a..0a668e5 100644
--- a/www/js/views/search.js
+++ b/www/js/views/search.js
@@ -60,7 +60,7 @@
var li = '<li><a class="address" id="location_' + i + '" data-lat="' + loc.lat + '" data-long="' + loc.long + '">' + loc.address + '</a></li>';
multiple = multiple + li;
}
- $('#front-howto').html('<p>Multiple matches found</p><ul data-role="listview" data-inset="true">' + multiple + '</ul>');
+ $('#front-howto').html('<p>' + FMS.strings.multiple_matches + '</p><ul data-role="listview" data-inset="true">' + multiple + '</ul>');
$('.ui-page').trigger('create');
} else {
this.validationError( 'pc', FMS.strings.location_problem );