mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Enable replacement of strange substrings also for nsh files.
This commit is contained in:
parent
54a278edb9
commit
e397056d2e
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue