View Single Post
Old 11-30-2019, 09:13 AM   #400
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,805
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by skalden View Post
I don't know if this has been requested before ...

My mother language is Dutch.
When I use the patch "Don't uppercase header/footer text", I get (as an example) "Hoofdstuk twee . 1 of 21".
In Dutch, it should be: 1 van 21.
I replaced "of" to "van" in the patch, but that doesn't work, as the string length must stay the same.

Is there a way to solve this?
This could be of interest for all languages (like German, Dutch) where the translation of "of" has more than 2 letters.

I know that I can change it to "1 / 21", but I find "1 van 21" more cosmetically pleasing (not a big problem, but it would be nice if possible).
Try adding a \0 to the end of the Find string. This should work, as most strings have more nulls afterwards.
geek1011 is offline   Reply With Quote