adding missing i18n translations for shitpost mode

This commit is contained in:
2026-05-13 11:57:35 +02:00
parent b811bdf774
commit c32fcc365c
8 changed files with 19 additions and 11 deletions

View File

@@ -941,7 +941,7 @@ window.initUploadForm = (selector) => {
if (isShitpost) {
const addMoreItem = document.createElement('div');
addMoreItem.className = 'file-preview-item add-more-item';
addMoreItem.innerHTML = '<span>Add more</span>';
addMoreItem.innerHTML = `<span>${window.f0ckI18n?.upload_add_more || 'Add more'}</span>`;
addMoreItem.onclick = () => fileInput && fileInput.click();
if (filePreview) filePreview.appendChild(addMoreItem);
}