Commit b04998b1 authored by Michal Čihař's avatar Michal Čihař

Fix typo

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 1a4742c7
......@@ -146,7 +146,7 @@ class DictionaryManager(models.Manager):
analyzers.append(LanguageAnalyzer(lang_code))
# Add ngram analyzer for languages like Chinese or Japanese
if unit.translation.language.uses_ngram():
analyzers.append(NGramAnalyzer())
analyzers.append(NgramAnalyzer())
# Extract words from all plurals and from context
for text in unit.get_source_plurals() + [unit.context]:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment