massivemadness / Squircle-CE

👨‍💻 Squircle CE is a fast and free multi-language code editor for Android
https://play.google.com/store/apps/details?id=com.blacksquircle.ui
Apache License 2.0
1.38k stars 101 forks source link

Option to disable automatic Line Break #145

Closed just-Nob closed 1 year ago

just-Nob commented 1 year ago

Current Behaviour: Currently, the code's lines being too long to be displayed in one row will be automatically broken into a second (third, fourth etc.) line/row. A side effect is that the code is always only vertically scrollable.

Desired Option: I found it very helpful to have the possibility to optionally switch off the automatic line break, so that every line fits in a single row. To view the whole code in that mode, it had to be possible to scroll both vertical as well as horizontal.

massivemadness commented 1 year ago

Hi @just-Nob , such option already exists in Settings > Editor > Word Wrap

just-Nob commented 1 year ago

Thanks @massivemadness, thanks a lot for that hint.

I haven't found that option because the app runs in the phone's language (I guess there's no option to change that?), which in my case is German.

Unfortunately, in my opinion the German translation (as well as the option's description) of "Word Wrap" is a little bit... - let's say 'unusual'. Is the translation done by automated translation (like Google translate, deepl.com or something similar)? If so, is there a way to rework & complete the translation "by hand"?

massivemadness commented 1 year ago

@just-Nob Sure, you can make PR that changes the translation in strings.xml file. Each gradle module has it's own translation file, so if you want to change something else, make changes in other strings.xml https://github.com/massivemadness/Squircle-CE/blob/master/feature-settings/src/main/res/values-de/strings.xml