diff options
Diffstat (limited to 'www/js/views')
-rw-r--r-- | www/js/views/around.js | 2 | ||||
-rw-r--r-- | www/js/views/offline.js | 6 | ||||
-rw-r--r-- | www/js/views/photo.js | 2 | ||||
-rw-r--r-- | www/js/views/search.js | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/www/js/views/around.js b/www/js/views/around.js index cb304ee..f0b8692 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').hide(); $('#front-howto').show(); diff --git a/www/js/views/offline.js b/www/js/views/offline.js index 3c2f7af..ac007d1 100644 --- a/www/js/views/offline.js +++ b/www/js/views/offline.js @@ -49,9 +49,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); } }, @@ -115,7 +115,7 @@ FMS.saveCurrentDraft(); $('#photo').attr('src', ''); - $('#photo-next-btn .ui-btn-text').text('Skip'); + $('#photo-next-btn .ui-btn-text').text(FMS.strings.skip); $('#display_photo').hide(); $('#add_photo').show(); }); diff --git a/www/js/views/photo.js b/www/js/views/photo.js index 8891298..485b74c 100644 --- a/www/js/views/photo.js +++ b/www/js/views/photo.js @@ -126,7 +126,7 @@ FMS.saveCurrentDraft(true); $('#photo').attr('src', 'images/placeholder-photo.png').addClass('placeholder').removeClass('small'); - $('#photo-next-btn .ui-btn-text').text('Skip'); + $('#photo-next-btn .ui-btn-text').text(FMS.strings.skip); $('#id_photo_button').parents('.ui-btn').show(); $('#id_existing').parents('.ui-btn').show(); }); 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 ); |