mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-18 14:45:12 +02:00
Improve the error message on saving when offline (fixes #2373)
This commit is contained in:
committed by
John Firebaugh
parent
b6cfce195d
commit
dfa442903d
@@ -246,6 +246,7 @@ en:
|
||||
help: "Save changes to OpenStreetMap, making them visible to other users."
|
||||
no_changes: No changes to save.
|
||||
error: An error occurred while trying to save
|
||||
unknown_error_details: "Please ensure you are connected to the internet."
|
||||
uploading: Uploading changes to OpenStreetMap.
|
||||
unsaved_changes: You have unsaved changes
|
||||
success:
|
||||
|
||||
Vendored
+1
@@ -301,6 +301,7 @@
|
||||
"help": "Save changes to OpenStreetMap, making them visible to other users.",
|
||||
"no_changes": "No changes to save.",
|
||||
"error": "An error occurred while trying to save",
|
||||
"unknown_error_details": "Please ensure you are connected to the internet.",
|
||||
"uploading": "Uploading changes to OpenStreetMap.",
|
||||
"unsaved_changes": "You have unsaved changes"
|
||||
},
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ iD.modes.Save = function(context) {
|
||||
confirm
|
||||
.select('.modal-section.message-text')
|
||||
.append('p')
|
||||
.text(err.responseText);
|
||||
.text(err.responseText || t('save.unknown_error_details'));
|
||||
} else {
|
||||
context.flush();
|
||||
success(e, changeset_id);
|
||||
|
||||
Reference in New Issue
Block a user