0auBSQ / OpenTaiko

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

[Enhancement] Automatic Line breaks for language files #683

Open Morphclue opened 5 days ago

Morphclue commented 5 days 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 5 days 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