View Single Post
Old 09-08-2020, 03:21 PM   #575
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jackie_w View Post
Patches in libnickel.so.1.0.0.yaml often have to be treated carefully because the Replace string shouldn't be longer than the original Find string.

As long as you customise the Replace string yourself I can't see any reason why Custom navigation menu page number text wouldn't work because your suggested Replace string would still be shorter than the original (13-chars).

However, patch Custom header/footer page number text doesn't look so easy. The Find string, "%1 OF %2", has only 8-chars to play with.

Maybe @geek1011 could enlighten us more if he sees this. Perhaps sneaky workarounds are possible that I'm unaware of?
The replace string could be "Pg %1/%2" as that fits in the 8 character space.
JSWolf is offline   Reply With Quote