Add js translatable string for comment save warning (#6644)

pull/7050/head
Jacob Topp-Mugglestone 2020-12-17 16:41:38 +00:00 zatwierdzone przez Matt Westcott
rodzic 198d65e5f7
commit ee5a147573
2 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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'
},

Wyświetl plik

@ -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'),