mirror of
https://github.com/dkmstr/openuds-gui.git
synced 2025-01-18 10:03:33 +03:00
fixed toUDS to remove printing all found strings
This commit is contained in:
parent
0847919120
commit
bb04e4d77e
1
toUDS.py
1
toUDS.py
@ -107,7 +107,6 @@ def extractTranslations():
|
|||||||
s = s.strip()
|
s = s.strip()
|
||||||
s = s.replace('\n', '\\n')
|
s = s.replace('\n', '\\n')
|
||||||
|
|
||||||
print('Found string {}'.format(s))
|
|
||||||
print('gettext("{}");'.format(s), file=output)
|
print('gettext("{}");'.format(s), file=output)
|
||||||
|
|
||||||
with open(os.path.join(os.path.join(UDS, STATIC), 'translations-fakejs.js'), 'w', encoding='utf8') as output:
|
with open(os.path.join(os.path.join(UDS, STATIC), 'translations-fakejs.js'), 'w', encoding='utf8') as output:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user