mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
generate fake translations automatically
This commit is contained in:
parent
c0afd40337
commit
30b966b902
2 changed files with 17 additions and 2 deletions
|
@ -65,7 +65,9 @@
|
|||
</target>
|
||||
|
||||
<target name="-pre-compile">
|
||||
<antcall target="my-pre-compile"/>
|
||||
<antcall target="my-pre-compile">
|
||||
<param name="VARIANT_NAME" value="xw4"/>
|
||||
</antcall>
|
||||
</target>
|
||||
|
||||
<!--
|
||||
|
|
|
@ -86,7 +86,20 @@
|
|||
</target>
|
||||
|
||||
<target name="my-pre-compile">
|
||||
<copy file="./gen/org/eehouse/android/xw4/R.java" todir="archive"/>
|
||||
<copy file="./gen/org/eehouse/android/${VARIANT_NAME}/R.java" todir="archive"/>
|
||||
|
||||
<exec dir="." executable="../scripts/fake_locales.py" failonerror="true">
|
||||
<arg value="-l" />
|
||||
<arg value="ba_CK" />
|
||||
<arg value="-o" />
|
||||
<arg value="res_src/values-ba_CK/strings.xml" />
|
||||
</exec>
|
||||
<exec dir="." executable="../scripts/fake_locales.py" failonerror="true">
|
||||
<arg value="-l" />
|
||||
<arg value="ca_PS" />
|
||||
<arg value="-o" />
|
||||
<arg value="res_src/values-ca_PS/strings.xml" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Add table
Reference in a new issue