]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_potlatch2.html.erb
Improve the unsaved edits warning for Potlatch 2
[rails.git] / app / views / site / _potlatch2.html.erb
index 8256540298f6d8f0c8b104f32c23742a4042e9e2..cda423e29caa2f2e04098ecfb7940d1c8d12f6dd 100644 (file)
@@ -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')) %>';
     }
   }