Changeset 31901 in osm
- Timestamp:
- 2016-01-01T20:15:49+01:00 (9 years ago)
- Location:
- applications/editors/josm/i18n
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/build.xml
r31900 r31901 42 42 </target> 43 43 <target name="po/josm.pot" description="Extracts message keys from the source code" depends="trans_.java,init"> 44 <gettext-extract keysFile="josm.pot" poDirectory="po" keywords="-k -ktrc:1c,2 -kmarktrc:1c,2 -ktr -kmarktr -ktrn:1,2 -ktrnc:1c,2,3"> 44 <gettext-extract keysFile="josm.raw.pot" poDirectory="po" keywords="-k -ktrc:1c,2 -kmarktrc:1c,2 -ktr -kmarktr -ktrn:1,2 -ktrnc:1c,2,3"> 45 45 <fileset dir="${josm.build.dir}/src" includes="**/*.java"/> 46 46 <fileset dir="${i18n.build.dir}" includes="specialmessages.java"/> … … 51 51 <fileset dir="${plugin.dir}" includes="**/*.java"/> 52 52 </gettext-extract> 53 <exec executable="msggrep" failonerror="true"> 54 <arg line="--msgid --regexp='---DUMMY-MARKER---' --invert-match --output-file=po/josm.pot po/josm.raw.pot"/> 55 </exec> 56 <delete file="po/josm.raw.pot"/> 53 57 </target> 54 58 <target name="po/core.pot" description="Extracts message keys from the JOSM core source code" depends="trans_.java,init"> -
applications/editors/josm/i18n/convmaps.pl
r31111 r31901 34 34 $line =~ s/\r//g; 35 35 chomp($line); 36 print "tr(\"\"); "; 36 print "tr(\"---DUMMY-MARKER---\"); "; 37 37 if($line =~ /<name(?: +lang=['"]en['"])?>(.*)<\/name>/) 38 38 { -
applications/editors/josm/i18n/convpreset.pl
r31634 r31901 36 36 ++$linenr; 37 37 chomp($line); 38 print "tr(\"\"); "; 38 print "tr(\"---DUMMY-MARKER---\"); "; 39 39 if($line =~ /<item\s+name=(".*?")/) 40 40 { -
applications/editors/josm/i18n/convstyle.pl
r31111 r31901 18 18 { 19 19 chomp($line); 20 print "tr(\"\"); "; 20 print "tr(\"---DUMMY-MARKER---\"); "; 21 21 if($line =~ /<rules\s+name=(".*?")/) 22 22 { -
applications/editors/josm/i18n/convsurveyor.pl
r29943 r31901 19 19 { 20 20 chomp($line); 21 print "tr(\"\"); "; 21 print "tr(\"---DUMMY-MARKER---\"); "; 22 22 if($line =~ /^#(.*)$/) 23 23 {
Note:
See TracChangeset
for help on using the changeset viewer.