check *.mo for file-not-in-%lang, not only in /usr/share/locale

git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@294 9bc8b190-ac0f-0410-8968-dc7d1f502856
This commit is contained in:
Pixel 2000-09-06 21:01:38 +00:00
parent e1b47d9738
commit 4aeebc1e64
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class I18NCheck(AbstractCheck.AbstractCheck):
locale_regex=re.compile("^(/usr/share/locale/([^/]+))/")
correct_subdir_regex=re.compile("^(([a-z][a-z](_[A-Z][A-Z])?)([.@].*$)?)$")
lc_messages_regex=re.compile("/usr/share/locale/([^/]+)/LC_MESSAGES/.*(mo|po)$")
mo_regex=re.compile("/usr/share/locale/.*\.mo$")
mo_regex=re.compile("\.mo$")
def __init__(self):
AbstractCheck.AbstractCheck.__init__(self, "I18NCheck")