From: Tom Hughes Date: Tue, 30 Nov 2010 21:12:21 +0000 (+0000) Subject: Improve the unsaved edits warning for Potlatch 2 X-Git-Tag: live~6303^2~12 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/70d75e3dc0ac3d2303f04b19a49d915947279842 Improve the unsaved edits warning for Potlatch 2 --- diff --git a/app/views/site/_potlatch2.html.erb b/app/views/site/_potlatch2.html.erb index 825654029..cda423e29 100644 --- a/app/views/site/_potlatch2.html.erb +++ b/app/views/site/_potlatch2.html.erb @@ -14,7 +14,7 @@ window.onbeforeunload=function() { if (!changesaved) { - return '<%= escape_javascript(t('site.edit.potlatch_unsaved_changes')) %>'; + return '<%= escape_javascript(t('site.edit.potlatch2_unsaved_changes')) %>'; } } diff --git a/config/locales/en.yml b/config/locales/en.yml index beccc22fa..36ba2db72 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1248,6 +1248,7 @@ en: anon_edits_link_text: "Find out why this is the case." flash_player_required: 'You need a Flash player to use Potlatch, the OpenStreetMap Flash editor. You can download Flash Player from Adobe.com. Several other options are also available for editing OpenStreetMap.' potlatch_unsaved_changes: "You have unsaved changes. (To save in Potlatch, you should deselect the current way or point, if editing in live mode, or click save if you have a save button.)" + potlatch2_unsaved_changes: "You have unsaved changes. (To save in Potlatch 2, you should click save.)" no_iframe_support: "Your browser doesn't support HTML iframes, which are necessary for this feature." sidebar: search_results: Search Results