aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/models/report.js4
-rw-r--r--src/js/strings.js1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/js/models/report.js b/src/js/models/report.js
index 82f6572..6162046 100644
--- a/src/js/models/report.js
+++ b/src/js/models/report.js
@@ -138,9 +138,9 @@
}
};
$.mobile.loading('show', {
- text: 'loading images takes a while, please be patient',
+ text: FMS.strings.photo_loading,
textVisible: true,
- html: '<span class="ui-icon ui-icon-loading"></span><h1>loading images takes a while, please be patient</h1><span id="progress"></span>'
+ html: '<span class="ui-icon ui-icon-loading"></span><h1>' + FMS.strings.photo_loading + '</h1><span id="progress"></span>'
});
ft.upload(fileURI, CONFIG.FMS_URL + "report/new/mobile", fileUploadSuccess, fileUploadFail, fileOptions);
} else {
diff --git a/src/js/strings.js b/src/js/strings.js
index e0a7114..1c1131d 100644
--- a/src/js/strings.js
+++ b/src/js/strings.js
@@ -41,6 +41,7 @@
invalid_email: 'Invalid email',
invalid_report: 'Invalid report',
photo_failed: 'There was a problem taking your photo.',
+ photo_loading: 'Uploading images may take some time, please be patient',
no_connection: 'No network connection available for submitting your report. Please try again later.',
more_details: 'More details'
}