Closed jzohrab closed 1 year ago
Branch spike_preserve_caps
progressing.
Would like to allow users to edit terms when they're created, just in case they want to fix the case. e.g opening form with "Tener", user should be able to edit it to "tener", but shouldn't be able to change the text, just the case. Currently in that branch, user could change the text from "Tener" to "algo", and overwrite any existing "algo" data, which seems silly. Even though that would be the user's fault.
Added a fix to the branch to prevent changing the text, but allowing case changes. Seems OK.
Launched in v2.0.14.
Currently Lute downcases all clicked words. e.g., clicking on "Futter" opens a form with the term "futter". German uses caps for nouns, so it would be good if the initial caps could be preserved for German nouns, e.g.:
The above is from branch
spike_preserve_caps
pushed to this repo.This feature of "preserving case" is really only needed for German, because that's the only lang that uses capitalization to indicate something special in the sentence ... but then again, in other languages, caps could be used for proper names etc like "Jesus Christ" or "Mexico".
To-do:
No other language needs case preservation -- and preserving case could be annoying (???? no idea). So, we might want a "preserve case" flag on the language -- annoying. Optionally, we could let users downcase the word somehow on term creation.