Ignore:
Timestamp:
2014-12-27T23:01:52+01:00 (11 years ago)
Author:
holgermappt
Message:

<gettext-extract> must be in a build file in the main directory, otherwise it doesn't extract because the path to the source files will be wrong.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/photoadjust/i18n/build-i18n.xml

    • Property svn:mime-type changed from application/xml to text/xml
    r30180 r30884  
    66<project name="plugin_i18n" basedir=".">
    77    <property name="gettexttasks.jar" value="../../i18n/lib/gettext-ant-tasks-0.9.7.jar"/>
    8     <property name="plugin.po.dir" location="po"/>
     8    <property name="plugin.po.dir" value="po"/>
    99    <property name="poimport.tarball" value="latest"/>
    1010    <property name="plugin.manifest" location="MANIFEST"/>
     
    1616        <mkdir dir="${plugin.po.dir}"/>
    1717        <gettext-extract keysFile="${ant.project.name}.pot" poDirectory="${plugin.po.dir}" keywords="-k -ktrc:1c,2 -kmarktrc:1c,2 -ktr -kmarktr -ktrn:1,2 -ktrnc:1c,2,3">
    18             <fileset dir="src" includes="**/*.java"/>
     18            <fileset dir="${plugin.src.dir}" includes="**/*.java"/>
    1919        </gettext-extract>
    2020        <echo file="${plugin.po.dir}/${ant.project.name}.pot" append="true">
Note: See TracChangeset for help on using the changeset viewer.