add localization to Ox
This commit is contained in:
parent
b68b827d7b
commit
4d8c716d0b
31 changed files with 499 additions and 352 deletions
|
|
@ -101,7 +101,7 @@ def build_oxjs(downloads=False, geo=False):
|
|||
if is_jquery_plugin:
|
||||
ui_files['build'].append(target.replace(build_path, ''))
|
||||
ui_files['dev'].append(target.replace(build_path, ''))
|
||||
if not '/Ox/js' in source and not '/Ox.UI/js/' in source and not is_jquery:
|
||||
if not '/Ox/js/' in source and not '/Ox.UI/js/' in source and not is_jquery:
|
||||
if re.match('^Ox\..+\.js$', filename) or is_jsonc:
|
||||
js = read_file(source)
|
||||
write_file(target, ox.js.minify(js, '' if is_jsonc else comment))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue