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:
parent
e1b47d9738
commit
4aeebc1e64
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue