Fixes in documentation
This commit is contained in:
parent
cfb70403c1
commit
dc58175760
13 changed files with 119 additions and 113 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue