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:
hius07
2021-07-05 13:38:24 +03:00
committed by GitHub
parent a1d64de9b5
commit f711f060bf
5 changed files with 8 additions and 5 deletions

View File

@@ -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,

View File

@@ -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 = {
{

View File

@@ -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,

View File

@@ -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

View File

@@ -1,6 +1,6 @@
local _ = require("gettext")
return {
name = "statistics",
fullname = _("Reader statistics"),
fullname = _("Reading statistics"),
description = _([[Keeps and displays your reading statistics.]]),
}