Commit faafda08 by louyihua

Add i18n_fastgenerate

So the time-consuming i18n_extract step can be skipped for situations that only the translated strings are modified while the source strings are still the same.
parent 83e391ee
......@@ -34,6 +34,15 @@ def i18n_extract(options):
@task
def i18n_fastgenerate():
"""
Compile localizable strings from sources without re-extracting strings first.
"""
cmd = "i18n_tool generate"
sh(cmd)
@task
@needs("pavelib.i18n.i18n_extract")
def i18n_generate():
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment