Fixes in documentation

This commit is contained in:
absurdo 2023-11-04 21:15:44 +01:00
parent cfb70403c1
commit dc58175760
13 changed files with 119 additions and 113 deletions

View file

@ -16,6 +16,9 @@ except:
#sys.exit(1)
pass
"""Command line utility for extract I18n.lang strings from html templates and .py files
"""
pattern=re.compile('^\w+\.(py|html|phtml|js)$')
ignored=re.compile('^[__|\.].*$')
@ -26,6 +29,8 @@ lang_t=re.compile("\${lang\('(.*?)',\s+'(.*?)',\s+'(.*?)'\)\}")
tmp_lang={}
def start():
"""Function for extract I18n.lang strings from html templates and .py files using regular expressions
"""
global lang_p
global lang_t