Fix KOReader spelling in the code (#12670)

This commit is contained in:
mergen3107
2024-10-24 04:46:46 -04:00
committed by GitHub
parent 42d3f25034
commit f8446538c0
118 changed files with 290 additions and 290 deletions

View File

@@ -228,7 +228,7 @@ function TweakInfoWidget:onSelect()
return true
end
-- Ordering function for tweaks when appened to css_test.
-- Ordering function for tweaks when appended to css_test.
-- The order needs to be consistent for crengine's stylesheet change
-- detection code to not invalidate cache across loadings.
local function tweakOrdering(l, r)
@@ -399,7 +399,7 @@ function ReaderStyleTweak:updateCssText(apply)
end
-- We could store what's been read into tweak.css to avoid
-- re-reading it, but this will allow a user to experiment
-- wihout having to restart KOReader
-- without having to restart KOReader
end
css = util.trim(css)
table.insert(css_snippets, css)
@@ -718,7 +718,7 @@ function ReaderStyleTweak:onToggleStyleTweak(tweak_id, item, no_notification)
local enabled, g_enabled = self:isTweakEnabled(tweak_id)
if enabled then
if g_enabled then
-- if globaly enabled, mark it as disabled
-- if globally enabled, mark it as disabled
-- for this document only
self.doc_tweaks[tweak_id] = false
else