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

@@ -62,6 +62,7 @@
padding: 1rem;
border-radius: 0;
border: 1px solid rgba(255, 255, 255, 0.05);
gap: 5px;
}
.form-section label {
@@ -80,7 +81,6 @@
border-radius: 0;
padding: 5px;
text-align: center;
cursor: pointer;
transition: all 0.2s;
position: relative;
min-height: 100px;

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