[fix, i18n] plugins/wallabag: make a few overlooked strings translateable (#4408)

Notified on the forum https://www.mobileread.com/forums/showthread.php?p=3787617#post3787617
pull/4385/head
Frans de Jonge 6 years ago committed by GitHub
parent 80cb9d0db1
commit 8932a5e765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -121,7 +121,7 @@ function Wallabag:addToMainMenu(menu_items)
end, end,
}, },
{ {
text = "Settings", text = _("Settings"),
callback_func = function() callback_func = function()
return nil return nil
end, end,
@ -137,7 +137,7 @@ function Wallabag:addToMainMenu(menu_items)
text_func = function() text_func = function()
local path local path
if not self.directory or self.directory == "" then if not self.directory or self.directory == "" then
path = "Not set" path = _("Not set")
else else
path = filemanagerutil.abbreviate(self.directory) path = filemanagerutil.abbreviate(self.directory)
end end
@ -152,7 +152,7 @@ function Wallabag:addToMainMenu(menu_items)
text_func = function() text_func = function()
local filter local filter
if not self.filter_tag or self.filter_tag == "" then if not self.filter_tag or self.filter_tag == "" then
filter = "All articles" filter = _("All articles")
else else
filter = self.filter_tag filter = self.filter_tag
end end

Loading…
Cancel
Save