adding missing i18n localization

This commit is contained in:
2026-05-13 12:08:51 +02:00
parent c32fcc365c
commit d539a86e99
2 changed files with 5 additions and 1 deletions

View File

@@ -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);
}

View File

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