Minor English improvements.

pull/1141/head
Frans de Jonge 10 years ago
parent 8171fcc52d
commit ff4e2f3458

@ -47,7 +47,7 @@ end
function SetDefaults:ConfirmEdit() function SetDefaults:ConfirmEdit()
if not SetDefaults.EditConfirmed then if not SetDefaults.EditConfirmed then
UIManager:show(ConfirmBox:new{ UIManager:show(ConfirmBox:new{
text = _("Some changes will just work on the next restart. Wrong settings might crash Koreader! Continue?"), text = _("Some changes will just work on the next restart. Wrong settings might crash KOReader! Continue?"),
ok_callback = function() ok_callback = function()
self.EditConfirmed = true self.EditConfirmed = true
self:init() self:init()
@ -277,7 +277,7 @@ end
function SetDefaults:ConfirmSave() function SetDefaults:ConfirmSave()
UIManager:show(ConfirmBox:new{ UIManager:show(ConfirmBox:new{
text = _("Are you sure to save the settings to \"defaults.persistent.lua\"?"), text = _("Are you sure you want to save the settings to \"defaults.persistent.lua\"?"),
ok_callback = function() ok_callback = function()
self:SaveSettings() self:SaveSettings()
end, end,
@ -353,7 +353,7 @@ function SetDefaults:SaveSettings()
file:write(dpl[i] .. "\n") file:write(dpl[i] .. "\n")
end end
file:close() file:close()
UIManager:show(InfoMessage:new{text = _("Default settings successfully saved!")}) UIManager:show(InfoMessage:new{text = _("Default settings were saved successfully!")})
settings_changed = false settings_changed = false
end end
return SetDefaults return SetDefaults

@ -17,7 +17,7 @@ function ReaderDictionary:addToMainMenu(tab_item_table)
table.insert(tab_item_table.plugins, { table.insert(tab_item_table.plugins, {
text = _("Dictionary lookup"), text = _("Dictionary lookup"),
tap_input = { tap_input = {
title = _("Input word to lookup"), title = _("Enter word to look up"),
type = "text", type = "text",
callback = function(input) callback = function(input)
self:onLookupWord(input) self:onLookupWord(input)

@ -7,7 +7,7 @@ local DEBUG = require("dbg")
local _ = require("gettext") local _ = require("gettext")
local ReaderGoto = InputContainer:new{ local ReaderGoto = InputContainer:new{
goto_menu_title = _("Go To"), goto_menu_title = _("Go to"),
goto_dialog_title = _("Go to Page or Location"), goto_dialog_title = _("Go to Page or Location"),
} }

@ -10,7 +10,7 @@ function Language:changeLanguage(lang_locale)
_.changeLang(lang_locale) _.changeLang(lang_locale)
G_reader_settings:saveSetting("language", lang_locale) G_reader_settings:saveSetting("language", lang_locale)
UIManager:show(InfoMessage:new{ UIManager:show(InfoMessage:new{
text = _("Please restart reader for new language setting to take effect."), text = _("Please restart KOReader for the new language setting to take effect."),
timeout = 3, timeout = 3,
}) })
end end

@ -56,7 +56,7 @@ end
function NetworkMgr:promptWifiOn() function NetworkMgr:promptWifiOn()
UIManager:show(ConfirmBox:new{ UIManager:show(ConfirmBox:new{
text = _("Do you want to Turn on Wifi?"), text = _("Do you want to turn on Wifi?"),
ok_callback = function() ok_callback = function()
self:turnOnWifi() self:turnOnWifi()
end, end,
@ -65,7 +65,7 @@ end
function NetworkMgr:promptWifiOff() function NetworkMgr:promptWifiOff()
UIManager:show(ConfirmBox:new{ UIManager:show(ConfirmBox:new{
text = _("Do you want to Turn off Wifi?"), text = _("Do you want to turn off Wifi?"),
ok_callback = function() ok_callback = function()
self:turnOffWifi() self:turnOffWifi()
end, end,

@ -106,7 +106,7 @@ function OTAManager:fetchAndProcessUpdate()
local ota_version = OTAManager:checkUpdate() local ota_version = OTAManager:checkUpdate()
if ota_version == 0 then if ota_version == 0 then
UIManager:show(InfoMessage:new{ UIManager:show(InfoMessage:new{
text = _("Your koreader is updated."), text = _("Your KOReader is up to date."),
}) })
elseif ota_version == nil then elseif ota_version == nil then
UIManager:show(InfoMessage:new{ UIManager:show(InfoMessage:new{
@ -123,11 +123,11 @@ function OTAManager:fetchAndProcessUpdate()
UIManager:scheduleIn(1, function() UIManager:scheduleIn(1, function()
if OTAManager:zsync() == 0 then if OTAManager:zsync() == 0 then
UIManager:show(InfoMessage:new{ UIManager:show(InfoMessage:new{
text = _("Koreader will be updated on next restart."), text = _("KOReader will be updated on next restart."),
}) })
else else
UIManager:show(ConfirmBox:new{ UIManager:show(ConfirmBox:new{
text = _("Error updating Koreader. Would you like to delete temporary files?"), text = _("Error updating KOReader. Would you like to delete temporary files?"),
ok_callback = function() ok_callback = function()
os.execute("rm ota/ko*") os.execute("rm ota/ko*")
end, end,
@ -191,7 +191,7 @@ function OTAManager:getOTAMenuTable()
text = _("OTA update"), text = _("OTA update"),
sub_item_table = { sub_item_table = {
{ {
text = _("Check update"), text = _("Check for update"),
callback = function() callback = function()
if NetworkMgr:getWifiStatus() == false then if NetworkMgr:getWifiStatus() == false then
NetworkMgr:promptWifiOn() NetworkMgr:promptWifiOn()

@ -35,7 +35,7 @@ local CatalogCache = Cache:new{
local OPDSBrowser = Menu:extend{ local OPDSBrowser = Menu:extend{
opds_servers = {}, opds_servers = {},
calibre_name = _("Local calibre catalog"), calibre_name = _("Local Calibre catalog"),
catalog_type = "application/atom%+xml", catalog_type = "application/atom%+xml",
search_type = "application/opensearchdescription%+xml", search_type = "application/opensearchdescription%+xml",

@ -149,7 +149,7 @@ function EvernoteExporter:login()
end) end)
UIManager:show(InfoMessage:new{ UIManager:show(InfoMessage:new{
text = _("Logging in please wait..."), text = _("Logging in. Please wait..."),
timeout = 1, timeout = 1,
}) })
end, end,

Loading…
Cancel
Save