From 94589368681927ec6699752079398d3a3ee304da Mon Sep 17 00:00:00 2001 From: pazos Date: Sat, 9 Aug 2014 13:56:49 +0200 Subject: [PATCH 1/5] no need to translate trademarks v2 --- frontend/ui/widget/dictquicklookup.lua | 4 ++-- plugins/evernote.koplugin/main.lua | 8 ++++---- plugins/zsync.koplugin/main.lua | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/ui/widget/dictquicklookup.lua b/frontend/ui/widget/dictquicklookup.lua index d184ea4ed..db3f9eba9 100644 --- a/frontend/ui/widget/dictquicklookup.lua +++ b/frontend/ui/widget/dictquicklookup.lua @@ -126,14 +126,14 @@ function DictQuickLookup:update() buttons = { { { - text = _("<<"), + text = "<<", enabled = self:isPrevDictAvaiable(), callback = function() self:changeToPrevDict() end, }, { - text = _(">>"), + text = ">>", enabled = self:isNextDictAvaiable(), callback = function() self:changeToNextDict() diff --git a/plugins/evernote.koplugin/main.lua b/plugins/evernote.koplugin/main.lua index 69a8aa6ba..30fa5d5fa 100644 --- a/plugins/evernote.koplugin/main.lua +++ b/plugins/evernote.koplugin/main.lua @@ -40,17 +40,17 @@ end function EvernoteExporter:addToMainMenu(tab_item_table) table.insert(tab_item_table.plugins, { - text = _("Evernote"), + text = "Evernote", sub_item_table = { { text_func = function() local domain = nil if self.evernote_domain == "sandbox" then - domain = _("Sandbox") + domain = "Sandbox" elseif self.evernote_domain == "yinxiang" then - domain = _("Yinxiang") + domain = "Yinxiang" else - domain = _("Evernote") + domain = "Evernote" end return self.evernote_token and (_("Logout") .. " " .. domain) or _("Login") diff --git a/plugins/zsync.koplugin/main.lua b/plugins/zsync.koplugin/main.lua index a31985e85..63c42e735 100644 --- a/plugins/zsync.koplugin/main.lua +++ b/plugins/zsync.koplugin/main.lua @@ -39,7 +39,7 @@ end function ZSync:addToMainMenu(tab_item_table) table.insert(tab_item_table.plugins, { - text = _("ZSync"), + text = "ZSync", sub_item_table = { { text_func = function() From 6d73696c5023199b1393873bbe83a008f5e1ee21 Mon Sep 17 00:00:00 2001 From: pazos Date: Sat, 9 Aug 2014 13:57:17 +0200 Subject: [PATCH 2/5] update pot file --- l10n/templates/koreader.pot | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/l10n/templates/koreader.pot b/l10n/templates/koreader.pot index c1ed04c5a..03a1ebca8 100644 --- a/l10n/templates/koreader.pot +++ b/l10n/templates/koreader.pot @@ -44,16 +44,6 @@ msgid "" "5 deg" msgstr "" -#: frontend/ui/widget/dictquicklookup.lua:129 -msgid "" -"<<" -msgstr "" - -#: frontend/ui/widget/dictquicklookup.lua:136 -msgid "" -">>" -msgstr "" - #: frontend/apps/reader/modules/readerhighlight.lua:302 #: frontend/ui/widget/dictquicklookup.lua:152 msgid "" @@ -236,12 +226,6 @@ msgid "" "Errors occur when exporting book:" msgstr "" -#: plugins/evernote.koplugin/main.lua:43 -#: plugins/evernote.koplugin/main.lua:53 -msgid "" -"Evernote" -msgstr "" - #: frontend/ui/uimanager.lua:468 msgid "" "Every 6 pages" @@ -808,21 +792,11 @@ msgid "" "Writing screen to " msgstr "" -#: plugins/evernote.koplugin/main.lua:51 -msgid "" -"Yinxiang" -msgstr "" - #: frontend/ui/otamanager.lua:143 msgid "" "Your koreader is updated." msgstr "" -#: plugins/zsync.koplugin/main.lua:42 -msgid "" -"ZSync" -msgstr "" - #: frontend/apps/reader/modules/readerzooming.lua:320 msgid "" "Zoom to fit content" From 63dc9f740464bb593d841c14a7399d05de62c66a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Fern=C3=A1ndez?= Date: Sat, 9 Aug 2014 16:15:44 +0200 Subject: [PATCH 3/5] Update main.lua --- plugins/evernote.koplugin/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/evernote.koplugin/main.lua b/plugins/evernote.koplugin/main.lua index 30fa5d5fa..344d53cd5 100644 --- a/plugins/evernote.koplugin/main.lua +++ b/plugins/evernote.koplugin/main.lua @@ -40,7 +40,7 @@ end function EvernoteExporter:addToMainMenu(tab_item_table) table.insert(tab_item_table.plugins, { - text = "Evernote", + text = _("Evernote"), sub_item_table = { { text_func = function() From 58be50e45ecd59620d326444976b7303eb2f2b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Fern=C3=A1ndez?= Date: Sat, 9 Aug 2014 16:16:20 +0200 Subject: [PATCH 4/5] Update main.lua --- plugins/zsync.koplugin/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/zsync.koplugin/main.lua b/plugins/zsync.koplugin/main.lua index 63c42e735..a31985e85 100644 --- a/plugins/zsync.koplugin/main.lua +++ b/plugins/zsync.koplugin/main.lua @@ -39,7 +39,7 @@ end function ZSync:addToMainMenu(tab_item_table) table.insert(tab_item_table.plugins, { - text = "ZSync", + text = _("ZSync"), sub_item_table = { { text_func = function() From e6bd5e811e21a657a745901d0b7c86f2e2dfaf9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Fern=C3=A1ndez?= Date: Sat, 9 Aug 2014 16:18:28 +0200 Subject: [PATCH 5/5] Update koreader.pot --- l10n/templates/koreader.pot | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/l10n/templates/koreader.pot b/l10n/templates/koreader.pot index 03a1ebca8..8796fec5e 100644 --- a/l10n/templates/koreader.pot +++ b/l10n/templates/koreader.pot @@ -226,6 +226,11 @@ msgid "" "Errors occur when exporting book:" msgstr "" +#: plugins/evernote.koplugin/main.lua:43 +msgid "" +"Evernote" +msgstr "" + #: frontend/ui/uimanager.lua:468 msgid "" "Every 6 pages"