Changeset 79d8a0e


Ignore:
Timestamp:
Jan 18, 2018 10:18:11 AM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
109ac5b
Parents:
7e4ff0b
Message:

build: New poupdate-source target

Files:
10 edited

Legend:

Unmodified
Added
Removed
  • apps/desktopgui/build.xml

    r7e4ff0b r79d8a0e  
    121121
    122122    <target name="poupdate">
     123        <!-- set if unset -->
     124        <property name="lg2" value="" />
    123125        <exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="true" >
     126            <env key="LG2" value="${lg2}" />
    124127            <arg value="./bundle-messages.sh" />
    125128            <arg value="-p" />
    126129        </exec>
    127130        <exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="true" >
     131            <env key="LG2" value="${lg2}" />
    128132            <arg value="./bundle-messages.sh" />
    129133            <arg value="-p" />
    130134        </exec>
    131135        <exec executable="sh" osfamily="windows" failifexecutionfails="true" failonerror="true" >
     136            <env key="LG2" value="${lg2}" />
    132137            <arg value="./bundle-messages.sh" />
    133138            <arg value="-p" />
  • apps/i2psnark/java/build.xml

    r7e4ff0b r79d8a0e  
    169169    <target name="poupdate" depends="builddep, compile">
    170170        <!-- Update the messages_*.po files.  -->
     171        <!-- set if unset -->
     172        <property name="lg2" value="" />
    171173        <exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="true" >
     174            <env key="LG2" value="${lg2}" />
    172175            <arg value="./bundle-messages.sh" />
    173176            <arg value="-p" />
    174177        </exec>
    175178        <exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="true" >
     179            <env key="LG2" value="${lg2}" />
    176180            <arg value="./bundle-messages.sh" />
    177181            <arg value="-p" />
    178182        </exec>
    179183        <exec executable="sh" osfamily="windows" failifexecutionfails="true" failonerror="true" >
     184            <env key="LG2" value="${lg2}" />
    180185            <arg value="./bundle-messages.sh" />
    181186            <arg value="-p" />
  • apps/i2ptunnel/java/build.xml

    r7e4ff0b r79d8a0e  
    151151    <target name="poupdate" depends="compile, precompilejsp">
    152152        <!-- Update the messages_*.po files. -->
     153        <!-- set if unset -->
     154        <property name="lg2" value="" />
    153155        <exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="true" >
     156            <env key="LG2" value="${lg2}" />
    154157            <arg value="./bundle-messages.sh" />
    155158            <arg value="-p" />
    156159        </exec>
    157160        <exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="true" >
     161            <env key="LG2" value="${lg2}" />
    158162            <arg value="./bundle-messages.sh" />
    159163            <arg value="-p" />
    160164        </exec>
    161165        <exec executable="sh" osfamily="windows" failifexecutionfails="true" failonerror="true" >
     166            <env key="LG2" value="${lg2}" />
    162167            <arg value="./bundle-messages.sh" />
    163168            <arg value="-p" />
     
    201206    <target name="poupdate-proxy" depends="extractProxyTags">
    202207        <!-- Update the messages_*.po files. -->
     208        <!-- set if unset -->
     209        <property name="lg2" value="" />
    203210        <exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="true" >
     211            <env key="LG2" value="${lg2}" />
    204212            <arg value="./bundle-messages-proxy.sh" />
    205213            <arg value="-p" />
    206214        </exec>
    207215        <exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="true" >
     216            <env key="LG2" value="${lg2}" />
    208217            <arg value="./bundle-messages-proxy.sh" />
    209218            <arg value="-p" />
    210219        </exec>
    211220        <exec executable="sh" osfamily="windows" failifexecutionfails="true" failonerror="true" >
     221            <env key="LG2" value="${lg2}" />
    212222            <arg value="./bundle-messages-proxy.sh" />
    213223            <arg value="-p" />
  • apps/ministreaming/java/build.xml

    r7e4ff0b r79d8a0e  
    128128    <target name="poupdate" depends="builddep, compile">
    129129        <!-- Update the messages_*.po files.  -->
     130        <!-- set if unset -->
     131        <property name="lg2" value="" />
    130132        <exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="true" >
     133            <env key="LG2" value="${lg2}" />
    131134            <arg value="./bundle-messages.sh" />
    132135            <arg value="-p" />
    133136        </exec>
    134137        <exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="true" >
     138            <env key="LG2" value="${lg2}" />
    135139            <arg value="./bundle-messages.sh" />
    136140            <arg value="-p" />
    137141        </exec>
    138142        <exec executable="sh" osfamily="windows" failifexecutionfails="true" failonerror="true" >
     143            <env key="LG2" value="${lg2}" />
    139144            <arg value="./bundle-messages.sh" />
    140145            <arg value="-p" />
  • apps/routerconsole/java/build.xml

    r7e4ff0b r79d8a0e  
    190190        <!-- Update the messages_*.po files.
    191191             We need to supply the bat file for windows, and then change the fail property to true -->
     192        <!-- set if unset -->
     193        <property name="lg2" value="" />
    192194        <exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="true" >
     195            <env key="LG2" value="${lg2}" />
    193196            <arg value="./bundle-messages.sh" />
    194197            <arg value="-p" />
    195198        </exec>
    196199        <exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="true" >
     200            <env key="LG2" value="${lg2}" />
    197201            <arg value="./bundle-messages.sh" />
    198202            <arg value="-p" />
    199203        </exec>
    200204        <exec executable="sh" osfamily="windows" failifexecutionfails="true" failonerror="true" >
     205            <env key="LG2" value="${lg2}" />
    201206            <arg value="./bundle-messages.sh" />
    202207            <arg value="-p" />
     
    254259
    255260    <target name="poupdate-news" depends="extractProxyTags">
     261        <!-- set if unset -->
     262        <property name="lg2" value="" />
    256263        <exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="true" >
     264            <env key="LG2" value="${lg2}" />
    257265            <arg value="./bundle-messages-news.sh" />
    258266            <arg value="-p" />
    259267        </exec>
    260268        <exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="true" >
     269            <env key="LG2" value="${lg2}" />
    261270            <arg value="./bundle-messages-news.sh" />
    262271            <arg value="-p" />
    263272        </exec>
    264273        <exec executable="sh" osfamily="windows" failifexecutionfails="true" failonerror="true" >
     274            <env key="LG2" value="${lg2}" />
    265275            <arg value="./bundle-messages-news.sh" />
    266276            <arg value="-p" />
     
    269279
    270280    <target name="poupdate-countries" depends="extractProxyTags">
     281        <!-- set if unset -->
     282        <property name="lg2" value="" />
    271283        <exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="true" >
     284            <env key="LG2" value="${lg2}" />
    272285            <arg value="./bundle-messages-countries.sh" />
    273286            <arg value="-p" />
    274287        </exec>
    275288        <exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="true" >
     289            <env key="LG2" value="${lg2}" />
    276290            <arg value="./bundle-messages-countries.sh" />
    277291            <arg value="-p" />
    278292        </exec>
    279293        <exec executable="sh" osfamily="windows" failifexecutionfails="true" failonerror="true" >
     294            <env key="LG2" value="${lg2}" />
    280295            <arg value="./bundle-messages-countries.sh" />
    281296            <arg value="-p" />
  • apps/susidns/src/build.xml

    r7e4ff0b r79d8a0e  
    165165    <target name="poupdate" depends="compile, precompilejsp">
    166166        <!-- Update the messages_*.po files.  -->
     167        <!-- set if unset -->
     168        <property name="lg2" value="" />
    167169        <exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="true" >
     170            <env key="LG2" value="${lg2}" />
    168171            <arg value="./bundle-messages.sh" />
    169172            <arg value="-p" />
    170173        </exec>
    171174        <exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="true" >
     175            <env key="LG2" value="${lg2}" />
    172176            <arg value="./bundle-messages.sh" />
    173177            <arg value="-p" />
    174178        </exec>
    175179        <exec executable="sh" osfamily="windows" failifexecutionfails="true" failonerror="true" >
     180            <env key="LG2" value="${lg2}" />
    176181            <arg value="./bundle-messages.sh" />
    177182            <arg value="-p" />
  • apps/susimail/build.xml

    r7e4ff0b r79d8a0e  
    144144    <target name="poupdate" depends="builddep, compile">
    145145        <!-- Update the messages_*.po files.  -->
     146        <!-- set if unset -->
     147        <property name="lg2" value="" />
    146148        <exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="true" >
     149            <env key="LG2" value="${lg2}" />
    147150            <arg value="./bundle-messages.sh" />
    148151            <arg value="-p" />
    149152        </exec>
    150153        <exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="true" >
     154            <env key="LG2" value="${lg2}" />
    151155            <arg value="./bundle-messages.sh" />
    152156            <arg value="-p" />
    153157        </exec>
    154158        <exec executable="sh" osfamily="windows" failifexecutionfails="true" failonerror="true" >
     159            <env key="LG2" value="${lg2}" />
    155160            <arg value="./bundle-messages.sh" />
    156161            <arg value="-p" />
  • build.xml

    r7e4ff0b r79d8a0e  
    706706    <!-- end jbigi targets -->
    707707
     708    <target name="poupdate-source" depends="set-lg2-en, poupdate" />
     709
     710    <target name="set-lg2-en" >
     711        <property name="lg2" value="en" />
     712    </target>
     713
    708714    <!-- the apps need to compile the jsps to poupdate -->
    709715    <target name="poupdate" depends="buildRouter, buildStreaming, buildSystray, buildJetty, buildDesktopGui, buildJrobin" >
    710716        <echo message="Setting environment variable LG2 to a lang code (eg: de,zh,nl etc)" />
    711717        <echo message=" will restrict language update to the language you specified, leaving other language untact." />
     718        <!-- set if unset -->
     719        <property name="lg2" value="" />
    712720        <ant dir="apps/routerconsole/java/" >
    713721            <target name="poupdate" />
  • installer/resources/checklist.md

    r7e4ff0b r79d8a0e  
    44
    55- Announce string freeze on #i2p-dev
    6 - Update local English po files: `ant poupdate`
    7 - Revert non-English changes if any
     6- Update local English po files: `ant poupdate-source`
     7- Review changes in English po files, fix up any necessary tagged strings in Java source
     8- Revert English po files with no actual changes (i.e. with line number changes only)
     9- Check in remaining English po files (and any files with changed strings)
    810- Push to Transifex: `tx push -s`
    911- Make announcement on Transifex with checkin deadline
  • installer/resources/locale/build.xml

    r7e4ff0b r79d8a0e  
    1919
    2020    <target name="poupdate" >
     21        <!-- set if unset -->
     22        <property name="lg2" value="" />
    2123        <!-- Update the messages_*.po files.  -->
    2224        <exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="true" >
     25            <env key="LG2" value="${lg2}" />
    2326            <arg value="./bundle-messages.sh" />
    2427            <arg value="-p" />
    2528        </exec>
    2629        <exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="true" >
     30            <env key="LG2" value="${lg2}" />
    2731            <arg value="./bundle-messages.sh" />
    2832            <arg value="-p" />
    2933        </exec>
    3034        <exec executable="sh" osfamily="windows" failifexecutionfails="true" failonerror="true" >
     35            <env key="LG2" value="${lg2}" />
    3136            <arg value="./bundle-messages.sh" />
    3237            <arg value="-p" />
Note: See TracChangeset for help on using the changeset viewer.