Moin
19 مارس 2026، 7:33ص
1
ترجمة “Click to upload or drag & drop file” بالألمانية أطول قليلاً من النص الإنجليزي، وهي حاليًا أعرض من العنصر النائب للصورة. هل من الممكن إضافة فاصل سطر؟
لقطات الشاشة مأخوذة من /admin/config/logo و /admin/config/about
إعجاب واحد (1)
شكرًا لك سيتم إصلاح ذلك بواسطة
main ← fix/upload-placeholder-text-overflow
opened 09:28AM - 19 Mar 26 UTC
The upload placeholder label ("Click to upload or drag & drop file") overflows i… ts container when translated into longer languages like German.
This happens because the label element has the `.btn` class which sets `white-space: nowrap` globally. Override it with `white-space: normal` for the empty upload state so the text wraps naturally within the placeholder box. Also add padding so wrapped text doesn't touch edges.
**BEFORE**
<img width="392" height="686" alt="2026-03-19 @ 09 26 36" src="https://github.com/user-attachments/assets/acd0bf8d-af79-4233-abe8-1ab34ecc4b47" />
**AFTER**
<img width="403" height="694" alt="2026-03-19 @ 09 26 23" src="https://github.com/user-attachments/assets/e14ea859-d532-4a22-a50b-50c21902507c" />
https://meta.discourse.org/t/398782
إعجابَين (2)
Moin
19 مارس 2026، 9:34ص
3
لقطات الشاشة الخاصة بك أخافتني للتو. للحظة، اعتقدت أن اللغة الألمانية الرسمية تسللت إلى الترجمة دون أن يلاحظها أحد.