Fix untranslatable strings (#4132)

Some problem somewhere with [[...]] strings starting with a
leading newline. Should probably be allowed, but for now
fix the few such cases to allow them being translated.
This commit is contained in:
poire-z
2018-08-01 19:29:03 +02:00
committed by Frans de Jonge
parent 620542b055
commit 9971eb8533
10 changed files with 30 additions and 30 deletions

View File

@@ -251,8 +251,8 @@ function ReaderWikipedia:addToMainMenu(menu_items)
home_dir = home_dir:gsub("^(.-)/*$", "%1") -- remove trailing slash
if home_dir and lfs.attributes(home_dir, "mode") == "directory" then
local wikipedia_dir = home_dir.."/Wikipedia"
local text = _([[
Wikipedia articles can be saved as an EPUB for more comfortable reading.
local text = _(
[[Wikipedia articles can be saved as an EPUB for more comfortable reading.
You can select an existing directory, or use a default directory named "Wikipedia" in your reader's home directory.