mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Various low-hanging language fruits
* Record to location, see https://github.com/koreader/koreader/pull/2268#issuecomment-252416860 * Defect size, see https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/11979947?issue=yes * Stop publisher/subscriber, see https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/27031159?issue=yes and https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/27031160?issue=yes and https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/27031161?issue=yes
This commit is contained in:
committed by
Qingping Hou
parent
c9ffd44fc8
commit
6091378bc6
@@ -17,7 +17,7 @@ S.DEWATERMARK = _("Dewatermark")
|
||||
S.DOC_LANG = _("Document Language")
|
||||
S.VERTICAL_TEXT = _("Vertical Text")
|
||||
S.WORD_GAP = _("Word Gap")
|
||||
S.DEFECT_SIZE = _("Defect Size")
|
||||
S.DEFECT_SIZE = _("Reflow Speckle Ignore Size")
|
||||
S.RENDER_QUALITY = _("Render Quality")
|
||||
S.AUTO_STRAIGHTEN = _("Auto Straighten")
|
||||
S.INDENTATION = _("Indentation")
|
||||
|
||||
@@ -522,7 +522,7 @@ function KOSync:getProgress(manual)
|
||||
showSyncedMessage()
|
||||
elseif self.kosync_whisper_forward == SYNC_STRATEGY.PROMPT then
|
||||
UIManager:show(ConfirmBox:new{
|
||||
text = T(_("Sync to the latest record %1% from device '%2'?"),
|
||||
text = T(_("Sync to latest location %1% from device '%2'?"),
|
||||
Math.round(body.percentage * 100),
|
||||
body.device),
|
||||
ok_callback = function()
|
||||
@@ -536,7 +536,7 @@ function KOSync:getProgress(manual)
|
||||
showSyncedMessage()
|
||||
elseif self.kosync_whisper_backward == SYNC_STRATEGY.PROMPT then
|
||||
UIManager:show(ConfirmBox:new{
|
||||
text = T(_("Sync to a previous record %1% from device '%2'?"),
|
||||
text = T(_("Sync to previous location %1% from device '%2'?"),
|
||||
Math.round(body.percentage * 100),
|
||||
body.device),
|
||||
ok_callback = function()
|
||||
|
||||
@@ -41,8 +41,8 @@ function ZSync:addToMainMenu(tab_item_table)
|
||||
{
|
||||
text_func = function()
|
||||
return not self.filemq_server
|
||||
and _("Publish this document")
|
||||
or _("Stop publisher")
|
||||
and _("Share this document")
|
||||
or _("Stop sharing books")
|
||||
end,
|
||||
enabled_func = function()
|
||||
return self.filemq_client == nil
|
||||
@@ -58,8 +58,8 @@ function ZSync:addToMainMenu(tab_item_table)
|
||||
{
|
||||
text_func = function()
|
||||
return not self.filemq_client
|
||||
and _("Subscribe documents")
|
||||
or _("Stop subscriber")
|
||||
and _("Subscribe to book share")
|
||||
or _("Stop book share subscription")
|
||||
end,
|
||||
enabled_func = function()
|
||||
return self.filemq_server == nil
|
||||
|
||||
Reference in New Issue
Block a user