Make 'default' and 'fallback' strings translatable

pull/1617/head
Frans de Jonge 9 years ago
parent cf41829450
commit f84b537954

@ -212,11 +212,11 @@ function ReaderFont:makeDefault(face)
UIManager:show(MultiConfirmBox:new{
text = T( _([[Set %1 as default or fallback font? The fallback font ]]
..[[displays characters not found in the active font.]]), face),
choice1_text = ("Default"),
choice1_text = _("Default"),
choice1_callback = function()
G_reader_settings:saveSetting("cre_font", face)
end,
choice2_text = ("Fallback"),
choice2_text = _("Fallback"),
choice2_callback = function()
G_reader_settings:saveSetting("fallback_font", face)
end,

@ -27,8 +27,8 @@ local MultiConfirmBox = InputContainer:new{
modal = true,
text = _("no text"),
face = Font:getFace("infofont", 25),
choice1_text = _("Choice1"),
choice2_text = _("Choice2"),
choice1_text = _("Choice 1"),
choice2_text = _("Choice 2"),
cancel_text = _("Cancel"),
choice1_callback = function() end,
choice2_callback = function() end,

Loading…
Cancel
Save