diff --git a/frontend/apps/reader/modules/readersearch.lua b/frontend/apps/reader/modules/readersearch.lua index d57e26af5..149bf97cc 100644 --- a/frontend/apps/reader/modules/readersearch.lua +++ b/frontend/apps/reader/modules/readersearch.lua @@ -36,7 +36,7 @@ function ReaderSearch:init() self.ui.menu:registerToMainMenu(self) end -local help_text = [[Regular expressions allow you to search for a matching pattern in a text. The simplest pattern is a simple sequence of characters, such as `James Bond`. There are many different varieties of regular expressions, but we support the ECMAScript syntax. The basics will be explained below. +local help_text = _([[Regular expressions allow you to search for a matching pattern in a text. The simplest pattern is a simple sequence of characters, such as `James Bond`. There are many different varieties of regular expressions, but we support the ECMAScript syntax. The basics will be explained below. If you want to search for all occurrences of 'Mister Moore', 'Sir Moore' or 'Alfons Moore' but not for 'Lady Moore'. Enter 'Mister Moore|Sir Moore|Alfons Moore'. @@ -54,7 +54,7 @@ A word -> '[^ ]*[^ ]' Last word in a sentence -> '[^ ]*\.' Complex expressions may lead to an extremely long search time, in which case not all matches will be shown. -]] +]]) local SRELL_ERROR_CODES = {} SRELL_ERROR_CODES[102] = _("Wrong escape '\\'") diff --git a/frontend/ui/data/css_tweaks.lua b/frontend/ui/data/css_tweaks.lua index 070b4acbc..2a60e4637 100644 --- a/frontend/ui/data/css_tweaks.lua +++ b/frontend/ui/data/css_tweaks.lua @@ -185,7 +185,7 @@ Languages like Arabic or Hebrew use right-to-left writing systems (Right-To-Left Usually, the publisher will have set the appropriate tags to enable RTL rendering. But if these are missing, or if you're reading plain text documents, you may want to manually enable RTL with these tweaks. Note that in the absence of such specifications, KOReader will try to detect the language of each paragraph to set the appropriate rendering per paragraph. -You may also want to enable, in the top menu → Gear → Navigation →, Invert page turn taps and swipes.]]), +You may also want to enable, in the top menu → Gear → Taps and gestures → Page turns → Invert page turn taps and swipes.]]), separator = true, }, {