kopia lustrzana https://github.com/wagtail/wagtail
Add js translatable string for comment save warning (#6644)
rodzic
198d65e5f7
commit
ee5a147573
|
@ -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'
|
||||
},
|
||||
|
|
|
@ -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'),
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue