translation pack contains readme

This commit is contained in:
Jindra Pet��k
2013-07-09 17:43:49 +02:00
parent 08702b724d
commit 6420889369
2 changed files with 24 additions and 2 deletions
+2
View File
@@ -22,6 +22,8 @@
<property name="SOURCEDIR" value="${basedir}/src"/>
<property name="LOCALESDIR" value="${SOURCEDIR}/com/jpexs/decompiler/flash/gui/locales"/>
<property name="LOCALESTARGETDIR" value="${basedir}/locales"/>
<property name="RESOURCESDIR" value="${basedir}/resources"/>
<property name="TESTDIR" value="${basedir}/test"/>
<property name="TESTLIBDIR" value="${basedir}/testlib"/>
+22 -2
View File
@@ -195,7 +195,26 @@
</target>
<target name="locales">
<zip destfile="${RELEASESDIR}/${LOCALESZIP}" basedir="${LOCALESDIR}" includes="**/*.properties"/>
<delete dir="${LOCALESTARGETDIR}"/>
<mkdir dir="${LOCALESTARGETDIR}"/>
<copy todir="${LOCALESTARGETDIR}">
<fileset dir="${LOCALESDIR}" includes="**/*.*"/>
</copy>
<echo file="${LOCALESTARGETDIR}/readme.txt">${PROJECTNAME} ${VERSION} localization pack
-------------------------------------------------------------------
This archive contains all language files for version ${PROJECTNAME} version ${VERSION}.
Each language in this pack has files with its own suffix which is standard language code
(See http://www.loc.gov/standards/iso639-2/php/code_list.php)
If you want to create new language follow these steps:
1) Find out your language code
2) Copy each .properties file without _xx suffix (english),
to new file which has your language code suffix (_cs is for czech, etc...)
3) Translate these files
4) Don't forget to place your name in AboutDialog_xx.properties file.
5) When you are finished, send me translated files via mail or issue tracker.
6) Wait for next release where your translation will be included
</echo>
<zip destfile="${RELEASESDIR}/${LOCALESZIP}" basedir="${LOCALESTARGETDIR}"/>
</target>
<target name="build" depends="compile">
@@ -259,11 +278,12 @@
</classpath>
</javadoc>
</target>
<target name="clean">
<target name="clean">
<delete dir="${DISTRIBUTIONDIR}"/>
<delete dir="${COMPILETESTSDIR}"/>
<delete dir="${COMPILEDIR}"/>
<delete dir="${COVERAGEDIR}"/>
<delete dir="${TESTRESULTSDIR}"/>
<delete dir="${LOCALESTARGETDIR}"/>
</target>
</project>