Standardize: long-press/hold to long-press (#8185)

* Gestures: standardize hold to long-press

* Common settings menu: standardize hold to long-press

* Readerstyletweak: standardize hold to long-press

* Readersearch: standardize hold to long-press
This commit is contained in:
hius07
2021-09-06 18:08:48 +03:00
committed by GitHub
parent 71cea5a9f6
commit ab4e27908b
4 changed files with 10 additions and 8 deletions

View File

@@ -9,6 +9,7 @@ local Notification = require("ui/widget/notification")
local UIManager = require("ui/uimanager")
local logger = require("logger")
local _ = require("gettext")
local Screen = Device.screen
local T = require("ffi/util").template
local ReaderSearch = InputContainer:new{
@@ -106,6 +107,7 @@ function ReaderSearch:onShowFulltextSearchInput()
end
self.input_dialog = InputDialog:new{
title = _("Enter text to search for"),
width = math.floor(Screen:getWidth() * 0.9),
input = self.last_search_text,
buttons = {
{
@@ -143,7 +145,7 @@ function ReaderSearch:onShowFulltextSearchInput()
}
self.input_dialog:addWidget(self.check_button_case)
self.check_button_regex = CheckButton:new{
text = _("Regular expression (hold for help)"),
text = _("Regular expression (long-press for help)"),
checked = self.use_regex,
parent = self.input_dialog,
max_width = self.input_dialog._input_widget.width,