Shorten status button names

reviewable/pr10074/r12^2
Melik 1 year ago committed by Frans de Jonge
parent c0d0b36f98
commit 9e7e68beb6

@ -342,7 +342,7 @@ function FileManager:setupLayout()
local status = filemanagerutil.getStatus(file)
table.insert(buttons, {
{
text = _("Mark as reading"),
text = _("Reading"),
id = "mark_as_reading", -- used by covermenu
enabled = status ~= "reading",
callback = function()
@ -352,7 +352,7 @@ function FileManager:setupLayout()
end,
},
{
text = _("Put on hold"),
text = _("On hold"),
id = "put_on_hold", -- used by covermenu
enabled = status ~= "abandoned",
callback = function()
@ -362,7 +362,7 @@ function FileManager:setupLayout()
end,
},
{
text = _("Mark as read"),
text = _("Finished"),
id = "mark_as_read", -- used by covermenu
enabled = status ~= "complete",
callback = function()

@ -49,7 +49,7 @@ function FileManagerCollection:onMenuHold(item)
local buttons = {
{
{
text = _("Mark as reading"),
text = _("Reading"),
id = "mark_as_reading", -- used by covermenu
enabled = status ~= "reading",
callback = function()
@ -59,7 +59,7 @@ function FileManagerCollection:onMenuHold(item)
end,
},
{
text = _("Put on hold"),
text = _("On hold"),
id = "put_on_hold", -- used by covermenu
enabled = status ~= "abandoned",
callback = function()
@ -69,7 +69,7 @@ function FileManagerCollection:onMenuHold(item)
end,
},
{
text = _("Mark as read"),
text = _("Finished"),
id = "mark_as_read", -- used by covermenu
enabled = status ~= "complete",
callback = function()

@ -94,7 +94,7 @@ function FileManagerHistory:onMenuHold(item)
local buttons = {
{
{
text = _("Mark as reading"),
text = _("Reading"),
id = "mark_as_reading", -- used by covermenu
enabled = is_file and status ~= "reading",
callback = function()
@ -109,7 +109,7 @@ function FileManagerHistory:onMenuHold(item)
end,
},
{
text = _("Put on hold"),
text = _("On hold"),
id = "put_on_hold", -- used by covermenu
enabled = is_file and status ~= "abandoned",
callback = function()
@ -124,7 +124,7 @@ function FileManagerHistory:onMenuHold(item)
end,
},
{
text = _("Mark as read"),
text = _("Finished"),
id = "mark_as_read", -- used by covermenu
enabled = is_file and status ~= "complete",
callback = function()

@ -63,7 +63,7 @@ function ReaderStatus:onEndOfBook()
if self.settings.data.summary and self.settings.data.summary.status == "complete" then
return _("Mark as reading")
else
return _("Mark as read")
return _("Mark as finished")
end
end,
callback = function()
@ -246,7 +246,7 @@ function ReaderStatus:onMarkBook(mark_read)
if self.settings.data.summary then
if self.settings.data.summary.status and self.settings.data.summary.status == "complete" then
if mark_read then
-- Keep mark as read.
-- Keep mark as finished.
self.settings.data.summary.status = "complete"
else
-- Change current status from read (complete) to reading

@ -546,7 +546,7 @@ common_settings.document_end_action = {
text = _("End of document action"),
sub_item_table = {
{
text = _("Always mark as read"),
text = _("Always mark as finished"),
checked_func = function()
return G_reader_settings:isTrue("end_document_auto_mark")
end,

@ -279,7 +279,7 @@ function Wallabag:addToMainMenu(menu_items)
separator = true,
},
{
text = _("Mark as read instead of deleting"),
text = _("Mark as finished instead of deleting"),
checked_func = function() return self.is_archiving_deleted end,
callback = function()
self.is_archiving_deleted = not self.is_archiving_deleted

Loading…
Cancel
Save