mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
A few small design fixes (#7933)
Reduce CheckButton font size. Remove icons in TouchMenu truncated items popup. Fix some wording.
This commit is contained in:
@@ -404,7 +404,7 @@ Note that your selected font size is not affected by this setting.]]),
|
||||
options = {
|
||||
{
|
||||
name = "font_size",
|
||||
alt_name_text = _("Font size"),
|
||||
alt_name_text = _("Font Size"),
|
||||
item_text = tableOfNumbersToTableOfStrings(DCREREADER_CONFIG_FONT_SIZES),
|
||||
item_align_center = 1.0,
|
||||
spacing = 15,
|
||||
|
||||
@@ -87,7 +87,7 @@ common_settings.time = {
|
||||
{
|
||||
text_func = function ()
|
||||
local duration_format = G_reader_settings:readSetting("duration_format", "classic")
|
||||
return T(_("Duration Format (%1)"), duration_format)
|
||||
return T(_("Duration format (%1)"), duration_format)
|
||||
end,
|
||||
sub_item_table = {
|
||||
{
|
||||
|
||||
@@ -31,7 +31,7 @@ local CheckButton = InputContainer:new{
|
||||
hold_callback = nil,
|
||||
checked = false,
|
||||
enabled = true,
|
||||
face = Font:getFace("cfont"),
|
||||
face = Font:getFace("smallinfofont"),
|
||||
background = Blitbuffer.COLOR_WHITE,
|
||||
overlap_align = "right",
|
||||
text = nil,
|
||||
|
||||
@@ -931,7 +931,10 @@ function TouchMenu:onMenuHold(item, text_truncated)
|
||||
UIManager:show(InfoMessage:new{ text = help_text, })
|
||||
end
|
||||
elseif text_truncated then
|
||||
UIManager:show(InfoMessage:new{ text = getMenuText(item), })
|
||||
UIManager:show(InfoMessage:new{
|
||||
text = getMenuText(item),
|
||||
show_icon = false,
|
||||
})
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
local _ = require("gettext")
|
||||
return {
|
||||
name = "statistics",
|
||||
fullname = _("Reader statistics"),
|
||||
fullname = _("Reading statistics"),
|
||||
description = _([[Keeps and displays your reading statistics.]]),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user