adding missing i18n translations for shitpost mode
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user