strings not shown on GUI will not be translated

This may encourage users in transifex to join Koreader project.
This commit is contained in:
chrox
2014-06-05 14:58:53 +08:00
parent 427da958cb
commit 857bd6fcc8
22 changed files with 80 additions and 401 deletions

View File

@@ -71,7 +71,7 @@ function showReaderUI(file, pass)
return
end
UIManager:show(InfoMessage:new{
text = _("opening file") .. file,
text = _("Opening file") .. file,
timeout = 1,
})
UIManager:scheduleIn(0.1, function() doShowReaderUI(file, pass) end)
@@ -116,20 +116,20 @@ local longopts = {
}
function showusage()
print(_("usage: ./reader.lua [OPTION] ... path"))
print(_("Read all the books on your E-Ink reader"))
print("usage: ./reader.lua [OPTION] ... path")
print("Read all the books on your E-Ink reader")
print("")
print(_("-d start in debug mode"))
print(_("-p [rows] enable Lua code profiling"))
print(_("-h show this usage help"))
print("-d start in debug mode")
print("-p [rows] enable Lua code profiling")
print("-h show this usage help")
print("")
print(_("If you give the name of a directory instead of a file path, a file"))
print(_("chooser will show up and let you select a file"))
print("If you give the name of a directory instead of a file path, a file")
print("chooser will show up and let you select a file")
print("")
print(_("If you don't pass any path, the last viewed document will be opened"))
print("If you don't pass any path, the last viewed document will be opened")
print("")
print(_("This software is licensed under the GPLv3."))
print(_("See http://github.com/koreader/kindlepdfviewer for more info."))
print("This software is licensed under the GPLv3.")
print("See http://github.com/koreader/koreader for more info.")
return
end