mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 11:10:56 +00:00
translation pack contains readme
This commit is contained in:
@@ -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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user