adding missing i18n localization
This commit is contained in:
@@ -352,7 +352,7 @@
|
||||
currentBtn.setAttribute('title', title);
|
||||
currentBtn.classList.toggle('active', newState);
|
||||
}
|
||||
window.flashMessage(newState ? 'ITEM PINNED' : 'ITEM UNPINNED');
|
||||
window.flashMessage(newState ? (window.f0ckI18n?.item_pinned || 'ITEM PINNED') : (window.f0ckI18n?.item_unpinned || 'ITEM UNPINNED'));
|
||||
} else {
|
||||
alert('Error: ' + res.msg);
|
||||
}
|
||||
|
||||
@@ -467,6 +467,10 @@
|
||||
no_tags_excluded: "{{ t('toast.no_tags_excluded') }}",
|
||||
tag_delete_title: "{{ t('toast.tag_delete_title') }}",
|
||||
tag_delete_confirm: "{{ t('toast.tag_delete_confirm') }}",
|
||||
tag_deleted_success: "{{ t('toast.tag_deleted_success') }}",
|
||||
item_deleted_success: "{{ t('toast.item_deleted_success') }}",
|
||||
item_delete_title: "{{ t('toast.item_delete_title') }}",
|
||||
item_delete_confirm: "{{ t('toast.item_delete_confirm') }}",
|
||||
// halls
|
||||
hall_added: "{{ t('toast.hall_added') }}",
|
||||
hall_removed: "{{ t('toast.hall_removed') }}",
|
||||
|
||||
Reference in New Issue
Block a user