From 90a93098a608f1d8254db712482f7cb801e6b1cf Mon Sep 17 00:00:00 2001 From: Brian Waldon Date: Thu, 5 Jul 2012 09:45:03 -0700 Subject: Correct typo in tools/hacking.py l18n -> i18n i18n stands for internationalization, while l10n stands for localization. l18n stands for nothing. Change-Id: Iebfe2dcbc12919875c0ecee8aa9223dc107239d7 --- tools/hacking.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/hacking.py b/tools/hacking.py index 93e51e66c..b924167f5 100755 --- a/tools/hacking.py +++ b/tools/hacking.py @@ -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) -- cgit