mirror of
https://github.com/dkmstr/openuds-gui.git
synced 2025-03-11 04:58:21 +03:00
fixed toUDS.py
This commit is contained in:
parent
8d46b7cdc9
commit
a47dff8ff4
2
toUDS.py
2
toUDS.py
@ -119,7 +119,7 @@ def extractTranslations():
|
||||
getTranslations(locateTypeScriptFiles, typeScriptTranslationPattern, output, strip=False)
|
||||
|
||||
# Now extract translations from html
|
||||
htmlTranslationPattern = re.compile(r'<uds-translate>(?P<data>.*?)</uds-translate>', re.MULTILINE | re.IGNORECASE | re.DOTALL)
|
||||
htmlTranslationPattern = re.compile(r'<uds-translate[^>]*>(?P<data>.*?)</uds-translate>', re.MULTILINE | re.IGNORECASE | re.DOTALL)
|
||||
print('// HTML', file=output)
|
||||
getTranslations(locateHtmlFiles, htmlTranslationPattern, output)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user