Browse Source

Update labels to make editor reload feature more understandable

Thibaud Colas 7 years ago
parent
commit
411895e450

+ 3 - 3
client/src/components/Draftail/EditorFallback/__snapshots__/EditorFallback.test.js.snap

@@ -26,7 +26,7 @@ exports[`EditorFallback #error #showContent 1`] = `
       onClick={[Function]}
       type="button"
     >
-      Reload the editor
+      Reload saved content
     </button>
   </div>
   <div
@@ -69,7 +69,7 @@ exports[`EditorFallback #error #showError 1`] = `
       onClick={[Function]}
       type="button"
     >
-      Reload the editor
+      Reload saved content
     </button>
   </div>
   <div
@@ -119,7 +119,7 @@ exports[`EditorFallback #error works 1`] = `
       onClick={[Function]}
       type="button"
     >
-      Reload the editor
+      Reload saved content
     </button>
   </div>
   <div

+ 1 - 1
client/tests/stubs.js

@@ -37,7 +37,7 @@ global.wagtailConfig = {
     UNDO: 'Undo',
     REDO: 'Redo',
     RELOAD_PAGE: 'Reload the page',
-    RELOAD_EDITOR: 'Reload the editor',
+    RELOAD_EDITOR: 'Reload saved content',
     SHOW_LATEST_CONTENT: 'Show latest content',
     EDITOR_CRASH: 'The editor just crashed. Content has been reset to the last saved version.',
   },

+ 1 - 1
wagtail/admin/templates/wagtailadmin/admin_base.html

@@ -45,7 +45,7 @@
                 UNDO: "{% trans 'Undo' %}",
                 REDO: "{% trans 'Redo' %}",
                 RELOAD_PAGE: "{% trans 'Reload the page' %}",
-                RELOAD_EDITOR: "{% trans 'Reload the editor' %}",
+                RELOAD_EDITOR: "{% trans 'Reload saved content' %}",
                 SHOW_LATEST_CONTENT: "{% trans 'Show latest content' %}",
                 EDITOR_CRASH: "{% trans 'The editor just crashed. Content has been reset to the last saved version.' %}",
             };