diff --git a/public/s/js/admin.js b/public/s/js/admin.js index 759d269..5f5b7d0 100644 --- a/public/s/js/admin.js +++ b/public/s/js/admin.js @@ -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); } diff --git a/views/snippets/footer.html b/views/snippets/footer.html index a18b8af..77a4b51 100644 --- a/views/snippets/footer.html +++ b/views/snippets/footer.html @@ -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') }}",