Changeset a75b2cc


Ignore:
Timestamp:
Feb 13, 2011 5:11:53 PM (9 years ago)
Author:
duck <duck@…>
Branches:
master
Children:
2e84134
Parents:
0fef251
Message:

Don't create an english bundle. Add missing desktopgui dependency.

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • apps/desktopgui/bundle-messages.sh

    r0fef251 ra75b2cc  
    9696        fi
    9797
    98         echo "Generating ${CLASS}_$LG ResourceBundle..."
     98    if [ "$LG" != "en" ]
     99    then
     100        # only generate for non-source language
     101        echo "Generating ${CLASS}_$LG ResourceBundle..."
    99102
    100         # convert to class files in build
    101         msgfmt --java --statistics -r $CLASS -l $LG -d build $i
    102         if [ $? -ne 0 ]
    103         then
    104                 echo 'Warning - msgfmt failed, not updating translations'
    105                 break
    106         fi
     103        # convert to class files in build
     104        msgfmt --java --statistics -r $CLASS -l $LG -d build $i
     105        if [ $? -ne 0 ]
     106        then
     107            echo 'Warning - msgfmt failed, not updating translations'
     108            break
     109        fi
     110    fi
    107111done
    108112rm -f $TMPFILE
  • apps/i2psnark/java/bundle-messages.sh

    r0fef251 ra75b2cc  
    8787        fi
    8888
    89         echo "Generating ${CLASS}_$LG ResourceBundle..."
     89    if [ "$LG" != "en" ]
     90    then
     91        # only generate for non-source language
     92        echo "Generating ${CLASS}_$LG ResourceBundle..."
    9093
    91         # convert to class files in build/obj
    92         msgfmt --java --statistics -r $CLASS -l $LG -d build/obj $i
    93         if [ $? -ne 0 ]
    94         then
    95                 echo 'Warning - msgfmt failed, not updating translations'
    96                 break
    97         fi
     94        # convert to class files in build/obj
     95        msgfmt --java --statistics -r $CLASS -l $LG -d build/obj $i
     96        if [ $? -ne 0 ]
     97        then
     98            echo 'Warning - msgfmt failed, not updating translations'
     99            break
     100        fi
     101    fi
    98102done
    99103rm -f $TMPFILE
  • apps/i2ptunnel/java/bundle-messages.sh

    r0fef251 ra75b2cc  
    8989        fi
    9090
    91         echo "Generating ${CLASS}_$LG ResourceBundle..."
     91    if [ "$LG" != "en" ]
     92    then
     93        # only generate for non-source language
     94        echo "Generating ${CLASS}_$LG ResourceBundle..."
    9295
    93         # convert to class files in build/obj
    94         msgfmt --java --statistics -r $CLASS -l $LG -d ../jsp/WEB-INF/classes $i
    95         if [ $? -ne 0 ]
    96         then
    97                 echo 'Warning - msgfmt failed, not updating translations'
    98                 break
    99         fi
     96        # convert to class files in build/obj
     97        msgfmt --java --statistics -r $CLASS -l $LG -d ../jsp/WEB-INF/classes $i
     98        if [ $? -ne 0 ]
     99        then
     100            echo 'Warning - msgfmt failed, not updating translations'
     101            break
     102        fi
     103    fi
    100104done
    101105rm -f $TMPFILE
  • apps/routerconsole/java/bundle-messages.sh

    r0fef251 ra75b2cc  
    123123        fi
    124124
    125         echo "Generating ${CLASS}_$LG ResourceBundle..."
     125    if [ "$LG" != "en" ]
     126    then
     127        # only generate for non-source language
     128        echo "Generating ${CLASS}_$LG ResourceBundle..."
    126129
    127         # convert to class files in build/obj
    128         msgfmt --java --statistics -r $CLASS -l $LG -d build/obj $i
    129         if [ $? -ne 0 ]
    130         then
    131                 echo 'Warning - msgfmt failed, not updating translations'
    132                 break
    133         fi
     130        # convert to class files in build/obj
     131        msgfmt --java --statistics -r $CLASS -l $LG -d build/obj $i
     132        if [ $? -ne 0 ]
     133        then
     134            echo 'Warning - msgfmt failed, not updating translations'
     135            break
     136        fi
     137    fi
    134138done
    135139rm -f $TMPFILE
  • apps/susidns/src/bundle-messages.sh

    r0fef251 ra75b2cc  
    8989        fi
    9090
    91         echo "Generating ${CLASS}_$LG ResourceBundle..."
     91    if [ "$LG" != "en" ]
     92    then
     93        # only generate for non-source language
     94        echo "Generating ${CLASS}_$LG ResourceBundle..."
    9295
    93         # convert to class files in build/obj
    94         msgfmt --java --statistics -r $CLASS -l $LG -d WEB-INF/classes $i
    95         if [ $? -ne 0 ]
    96         then
    97                 echo 'Warning - msgfmt failed, not updating translations'
    98                 break
    99         fi
     96        # convert to class files in build/obj
     97        msgfmt --java --statistics -r $CLASS -l $LG -d WEB-INF/classes $i
     98        if [ $? -ne 0 ]
     99        then
     100            echo 'Warning - msgfmt failed, not updating translations'
     101            break
     102        fi
     103    fi
    100104done
    101105rm -f $TMPFILE
  • build.xml

    r0fef251 ra75b2cc  
    202202    </target>
    203203    <!-- the apps need to compile the jsps to poupdate -->
    204     <target name="poupdate" depends="buildRouter, buildStreaming, buildSystray, buildJetty" >
     204    <target name="poupdate" depends="buildRouter, buildStreaming, buildSystray, buildJetty, buildDesktopGui" >
    205205        <ant dir="apps/routerconsole/java/" target="poupdate" />
    206206        <ant dir="apps/i2psnark/java/" target="poupdate" />
Note: See TracChangeset for help on using the changeset viewer.