Changeset 34689 in osm for applications/editors/josm/i18n
- Timestamp:
- 2018-10-21T17:40:52+02:00 (6 years ago)
- Location:
- applications/editors/josm/i18n
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/.tx/config
r31119 r34689 1 1 [main] 2 2 host = https://www.transifex.com 3 lang_map = ca@valencia: ca-valencia 3 4 4 5 [josm.core] … … 8 9 type = PO 9 10 10 [josm.data] 11 file_filter = po/<lang>/data.po 12 source_file = po/data.pot 11 [josm.maplist] 12 file_filter = po/<lang>/maplist.po 13 source_file = po/maplist.pot 14 source_lang = en 15 type = PO 16 17 [josm.pluginlist] 18 file_filter = po/<lang>/pluginlist.po 19 source_file = po/pluginlist.pot 20 source_lang = en 21 type = PO 22 23 [josm.presets] 24 file_filter = po/<lang>/presets.po 25 source_file = po/presets.pot 13 26 source_lang = en 14 27 type = PO -
applications/editors/josm/i18n/build.xml
r34688 r34689 85 85 </gettext-extract> 86 86 </target> 87 <target name="po/core.pot" description="Extracts message keys from the JOSM core source code" depends=" trans_.java,init">87 <target name="po/core.pot" description="Extracts message keys from the JOSM core source code" depends="init"> 88 88 <gettext-extract keysFile="core.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot"> 89 89 <fileset dir="${josm.build.dir}/src" includes="**/*.java"/> 90 90 <fileset dir="${i18n.build.dir}" includes="specialmessages.java"/> 91 <fileset dir="${i18n.build.dir}" includes="trans_presets.java"/>92 91 <fileset dir="${josm.build.dir}/data/validator" includes="*.mapcss"/> 93 92 <fileset dir="${josm.build.dir}/styles/standard" includes="*.mapcss"/> 94 <!-- maps should be in data instead, but that requires language file loading support in trac python code --> 93 </gettext-extract> 94 </target> 95 <target name="po/maplist.pot" description="Extracts message keys from plugin descriptions" depends="trans_.java,init"> 96 <gettext-extract keysFile="maplist.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot"> 97 <!-- maps should be translated server-side, but that requires language file loading support in trac python code --> 95 98 <fileset dir="${i18n.build.dir}" includes="trans_maps.java"/> 96 99 </gettext-extract> … … 99 102 <gettext-extract keysFile="pluginlist.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot"> 100 103 <fileset dir="${i18n.build.dir}" includes="trans_plugins.java"/> 101 <!-- <fileset dir="${i18n.build.dir}/josmfiles" includes="trans_*.*"/> --> 102 </gettext-extract> 103 </target> 104 <target name="po/plugins.pot" description="Extracts message keys from the plugins source code (minus core and data strings)" depends="trans_.java,po/core.pot,init"> 105 <gettext-extract keysFile="plugins.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot --exclude-file=po/core.pot"> 104 </gettext-extract> 105 </target> 106 <target name="po/presets.pot" description="Extracts message keys from presets (minus core)" depends="trans_.java,po/core.pot,init"> 107 <gettext-extract keysFile="presets.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot --exclude-file=po/core.pot"> 108 <fileset dir="${i18n.build.dir}" includes="trans_presets.java"/> 109 </gettext-extract> 110 </target> 111 <target name="po/plugins.pot" description="Extracts message keys from the plugins source code (minus core)" depends="trans_.java,po/core.pot,po/presets.pot,init,filterpluginsources"> 112 <gettext-extract keysFile="plugins.pot" poDirectory="po" keywords="${gettext.keywords} --exclude-file=excludes.pot --exclude-file=po/core.pot --exclude-file=po/presets.pot"> 106 113 <fileset dir="${plugin.dir}" includesfile="${po.build.dir}/pluginSrc.txt"/> 107 114 <fileset dir="${i18n.build.dir}" includes="trans_surveyor.java"/> … … 191 198 </target> 192 199 <target name="pot" depends="po/josm.pot" /> 193 <target name="allpot" depends="po/core.pot,po/pluginlist.pot,po/plugins.pot" /> 200 <target name="allpot" depends="po/core.pot,po/maplist.pot,po/pluginlist.pot,po/presets.pot,po/plugins.pot" /> 194 201 <target name="update"> 195 202 <exec executable="perl" failonerror="true">
Note:
See TracChangeset
for help on using the changeset viewer.