mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +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 file in files:
|
||||
filename,ext = os.path.splitext(file)
|
||||
if ext == ".po":
|
||||
if ext == ".po" or ext == ".nsh":
|
||||
# Valid locale filename (fr.po, de.po etc)?
|
||||
if filename in localeToName:
|
||||
language = localeToName[filename]
|
||||
|
|
Loading…
Reference in a new issue