summaryrefslogtreecommitdiff
path: root/tex/context/base/lang-wrd.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/lang-wrd.lua')
-rw-r--r--tex/context/base/lang-wrd.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/lang-wrd.lua b/tex/context/base/lang-wrd.lua
index 095e44443..c2b5ff6ac 100644
--- a/tex/context/base/lang-wrd.lua
+++ b/tex/context/base/lang-wrd.lua
@@ -10,6 +10,8 @@ local utf = unicode.utf8
local lower, utfchar = string.lower, utf.char
local lpegmatch = lpeg.match
+local report_languages = logs.new("languages")
+
languages.words = languages.words or { }
local words = languages.words
@@ -57,7 +59,7 @@ function words.load(tag,filename)
wordsdata[tag] = list
statistics.stoptiming(languages)
else
- logs.report("languages","missing words file '%s'",filename)
+ report_languages("missing words file '%s'",filename)
end
end
@@ -183,7 +185,7 @@ words.used = list
function words.dump_used_words(name)
if dump then
- logs.report("languages","saving list of used words in '%s'",name)
+ report_languages("saving list of used words in '%s'",name)
io.savedata(name,table.serialize(list))
end
end