Correct typo in tools/hacking.py l18n -> i18n

i18n stands for internationalization, while l10n stands for
localization. l18n stands for nothing.

Change-Id: Iebfe2dcbc12919875c0ecee8aa9223dc107239d7
This commit is contained in:
Brian Waldon
2012-07-05 09:45:03 -07:00
parent 9c37ef6dc3
commit 90a93098a6

View File

@@ -275,7 +275,7 @@ class LocalizationError(Exception):
pass
def check_l18n():
def check_i18n():
"""Generator that checks token stream for localization errors.
Expects tokens to be ``send``ed one by one.
@@ -340,7 +340,7 @@ def nova_localization_strings(logical_line, tokens):
N703: multiple positional placeholders
"""
gen = check_l18n()
gen = check_i18n()
next(gen)
try:
map(gen.send, tokens)