diff --git a/client/tests/stubs.js b/client/tests/stubs.js index ca49d1d2e1..d852fd801c 100644 --- a/client/tests/stubs.js +++ b/client/tests/stubs.js @@ -58,6 +58,7 @@ global.wagtailConfig = { DELETE_ERROR: 'Delete error', CONFIRM_DELETE_COMMENT: 'Are you sure?', SAVE_ERROR: 'Save error', + SAVE_COMMENT_WARNING: 'This will be saved when the page is saved', FOCUS_COMMENT: 'Focus comment', UNFOCUS_COMMENT: 'Unfocus comment' }, diff --git a/wagtail/admin/localization.py b/wagtail/admin/localization.py index e74b139ca0..daada2168a 100644 --- a/wagtail/admin/localization.py +++ b/wagtail/admin/localization.py @@ -90,6 +90,7 @@ def get_js_translation_strings(): 'DELETE_ERROR': _('Delete error'), 'CONFIRM_DELETE_COMMENT': _('Are you sure?'), 'SAVE_ERROR': _('Save error'), + 'SAVE_COMMENT_WARNING': _('This will be saved when the page is saved'), 'FOCUS_COMMENT': _('Focus comment'), 'UNFOCUS_COMMENT': _('Unfocus comment'),