Changeset 16368
- Timestamp:
- 2008-07-11T17:42:15+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/client-gli.sh
r12453 r16368 2 2 glilang=en 3 3 4 if [ "x$PROGNAME" = "x" ] ; then 5 PROGNAME="Greenstone" 6 if [ "$glilang" = "es" ]; then 7 PROGFULLNAME="Biblioteca Digital Greenstone" 8 elif [ "$glilang" = "fr" ]; then 9 PROGFULLNAME="Bibliothécaire Greenstone" 10 elif [ "$glilang" = "ru" ]; then 11 PROGFULLNAME="ÉÎÔÅÒÆÅÊÓ Greenstone" 12 else 13 PROGFULLNAME="Greenstone Digital Library" 14 fi 15 else 16 PROGFULLNAME=$PROGNAME 17 fi 18 19 if [ "x$PROGABBR" = "x" ] ; then 20 PROGABBR="GLI" 21 fi 22 23 if [ "x$PROGNAME_EN" = "x" ] ; then 24 PROGNAME_EN="Greenstone Librarian Interface" 25 fi 26 27 4 28 echo 5 29 if [ "$glilang" = "es" ]; then 6 echo "Interfaz de la Biblioteca Digital Greenstone (Greenstone Librarian Interface - GLI)"30 echo "Interfaz de la $PROGFULLNAME ($PROGNAME_EN - $PROGABBR)" 7 31 echo "Copyright (C) 2006, New Zealand Digital Library Project, University Of Waikato" 8 echo "La Interfaz de la Biblioteca Digital GreenstoneNO INCLUYE ABSOLUTAMENTE NINGUNA GARANTÍA."32 echo "La Interfaz de la $PROGNAME NO INCLUYE ABSOLUTAMENTE NINGUNA GARANTÍA." 9 33 echo "Para mayor información vea los términos de la licencia en LICENSE.txt" 10 34 echo "Este es un software abierto, por lo que lo invitamos a que lo distribuya de forma gratuita" 11 35 elif [ "$glilang" = "fr" ]; then 12 echo "Interface du Bibliothécaire Greenstone (Greenstone Librarian Interface - GLI)"36 echo "Interface du $PROGFULLNAME ($PROGNAME_EN - $PROGABBR)" 13 37 echo "Copyright (C) 2006, New Zealand Digital Library Project, University Of Waikato" 14 echo " GLIest fourni sans AUCUNE GARANTIE; pour des détails, voir LICENSE.txt"38 echo "$PROGABBR est fourni sans AUCUNE GARANTIE; pour des détails, voir LICENSE.txt" 15 39 echo "Ceci est un logiciel libre, et vous êtes invité à le redistribuer" 16 40 elif [ "$glilang" = "ru" ]; then 17 echo "âÉÂÌÉÏÔÅÞÎÙÊ ÉÎÔÅÒÆÅÊÓ Greenstone (Greenstone Librarian Interface - GLI)"41 echo "âÉÂÌÉÏÔÅÞÎÙÊ $PROGFULLNAME ($PROGNAME_EN - $PROGABBR)" 18 42 echo "Copyright (C) 2006, New Zealand Digital Library Project, University Of Waikato" 19 43 echo "âéç ÎÅ ÄÁÅÔ áâóïìàôîï îéëáëéè çáòáîôéê; ÄÅÔÁÌÉ ÓÍ. × ÔÅËÓÔÅ LICENSE.TXT" 20 44 echo "üÔÏ - Ó×ÏÂÏÄÎÏ ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÏÅ ÐÒÏÇÒÁÍÍÎÏÅ ÏÂÅÓÐÅÞÅÎÉÅ É ÷Ù ÍÏÖÅÔÅ ÒÁÓÐÒÏÓÔÒÁÎÑÔØ ÅÇÏ" 21 45 else 22 echo " Greenstone Librarian Interface (GLI)"46 echo "$PROGNAME Librarian Interface ($PROGABBR)" 23 47 echo "Copyright (C) 2006, New Zealand Digital Library Project, University Of Waikato" 24 echo " GLIcomes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt"48 echo "$PROGABBR comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt" 25 49 echo "This is free software, and you are welcome to redistribute it" 26 50 fi … … 76 100 echo "No se pudo localizar una versión apropiada de Java. Usted deberá " 77 101 echo "instalar un Ambiente de Ejecución Java (versión 1.4 o superior) " 78 echo "antes de correr la Interfaz de la Biblioteca Digital Greenstone."102 echo "antes de correr la Interfaz de la $PROGFULLNAME ." 79 103 elif [ "$glilang" = "fr" ]; then 80 104 echo "Une version adéquate de Java n'a pas pu être localisée." 81 105 echo "Vous devez installer un Java Runtime Environment (version 1.4 ou" 82 echo "supérieur) avant de démarrer GreenstoneLibrarian Interface."106 echo "supérieur) avant de démarrer $PROGNAME Librarian Interface." 83 107 elif [ "$glilang" = "ru" ]; then 84 108 echo "îÅ ÕÄÁÌÏÓØ ÏÐÒÅÄÅÌÉÔØ ÍÅÓÔÏÎÁÈÏÖÄÅÎÉÅ ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÅÊ ×ÅÒÓÉÉ Java." 85 109 echo "÷Ù ÄÏÌÖÎÙ ÕÓÔÁÎÏ×ÉÔØ Java Runtime Environment (×ÅÒÓÉÀ 1.4 ÉÌÉ ×ÙÛÅ)" 86 echo "ÐÅÒÅÄ ××ÏÄÏÍ ÂÉÂÌÉÏÔÅÞÎÏÇÏ ÉÎÔÅÒÆÅÊÓÁ Greenstone."110 echo "ÐÅÒÅÄ ××ÏÄÏÍ ÂÉÂÌÉÏÔÅÞÎÏÇÏ ÉÎÔÅÒÆÅÊÓÁ $PROGNAME." 87 111 else 88 112 echo "Failed to locate an appropriate version of Java. You must install a" 89 113 echo "Java Runtime Environment (version 1.4 or greater) before running the" 90 echo " GreenstoneLibrarian Interface."114 echo "$PROGNAME Librarian Interface." 91 115 fi 92 116 exit 1 … … 126 150 echo 127 151 if [ "$glilang" = "es" ]; then 128 echo "Usted necesita compilar la Interfaz de la Biblioteca Digital Greenstone"152 echo "Usted necesita compilar la Interfaz de la $PROGFULLNAME" 129 153 echo "(por medio de makegli.sh) antes de ejecutar este guión." 130 154 elif [ "$glilang" = "fr" ]; then 131 echo "Vous devez compiler le GreenstoneInterface (en utilisant makegli.sh)"155 echo "Vous devez compiler le $PROGNAME Interface (en utilisant makegli.sh)" 132 156 echo "avant d'exécuter ce script." 133 157 elif [ "$glilang" = "ru" ]; then 134 echo "÷Ù ÄÏÌÖÎÙ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÂÉÂÌÉÏÔÅÞÎÙÊ ÉÎÔÅÒÆÅÊÓ Greenstone"158 echo "÷Ù ÄÏÌÖÎÙ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÂÉÂÌÉÏÔÅÞÎÙÊ ÉÎÔÅÒÆÅÊÓ $PROGNAME" 135 159 echo "(ÉÓÐÏÌØÚÕÑ makegli.sh) ÐÅÒÅÄ ××ÏÄÏÍ ÜÔÏÇÏ ÓËÒÉÐÔÁ" 136 160 else 137 echo "You need to compile the GreenstoneLibrarian Interface (using makegli.sh)"161 echo "You need to compile the $PROGNAME Librarian Interface (using makegli.sh)" 138 162 echo "before running this script." 139 163 fi … … 145 169 echo 146 170 if [ "$glilang" = "es" ]; then 147 echo "Ejecutando la Interfaz de la Biblioteca Digital Greenstone..."171 echo "Ejecutando la Interfaz de la $PROGFULLNAME..." 148 172 elif [ "$glilang" = "fr" ]; then 149 echo "Exécution de GreenstoneLibrarian Interface"173 echo "Exécution de $PROGNAME Librarian Interface" 150 174 elif [ "$glilang" = "ru" ]; then 151 echo "ôÅËÕÝÉÊ ÂÉÂÌÉÏÔÅÞÎÙÊ ÉÎÔÅÒÆÅÊÓ Greenstone..."175 echo "ôÅËÕÝÉÊ ÂÉÂÌÉÏÔÅÞÎÙÊ ÉÎÔÅÒÆÅÊÓ $PROGNAME..." 152 176 else 153 echo "Running the GreenstoneLibrarian Interface..."177 echo "Running the $PROGNAME Librarian Interface..." 154 178 fi 155 179 … … 162 186 # -Xloggc:<file> Write garbage collection log 163 187 164 $javapath -Xmx128M -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar org.greenstone.gatherer.GathererProg -use_remote_greenstone $* 188 # GS2 only requires -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar. GS3 requires more but it doesn't conflict with GS2: 189 $javapath -Xmx128M -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar:lib/commons-codec-1.3.jar:lib/commons-httpclient-3.1-rc1.jar:lib/commons-logging-1.1.jar org.greenstone.gatherer.GathererProg -use_remote_greenstone $* 165 190 166 191 if [ "$glilang" = "es" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.