Enable replacement of strange substrings also for nsh files.

This commit is contained in:
Klaas Freitag 2016-02-05 17:57:24 +01:00
parent 54a278edb9
commit e397056d2e

View file

@ -120,7 +120,7 @@ translationCache = {}
for root,dirs,files in os.walk(options.podir): for root,dirs,files in os.walk(options.podir):
for file in files: for file in files:
filename,ext = os.path.splitext(file) filename,ext = os.path.splitext(file)
if ext == ".po": if ext == ".po" or ext == ".nsh":
# Valid locale filename (fr.po, de.po etc)? # Valid locale filename (fr.po, de.po etc)?
if filename in localeToName: if filename in localeToName:
language = localeToName[filename] language = localeToName[filename]