0auBSQ / OpenTaiko

An improved and personalized version of TJAPlayer3-Develop-Rewrite, .tja chart player axed on entertainment and creativity.
MIT License
385 stars 95 forks source link

[Enhancement] Automatic Line breaks for language files #683

Open Morphclue opened 1 month ago

Morphclue commented 1 month ago

Context

I'm currently working on the german translation file and noticed that a lot of manual linebreaks (\n) are inside the translation files. It would be more efficient to automatically linebreak if a given character limit is reached and use linebreaks only for styling / better readability.

IepIweidieng commented 1 month ago

Language-agnostic line wrap isn't easy. Character-based line wrap isn't pretty. https://developer.mozilla.org/en-US/docs/Web/CSS/line-break