Changeset 16401 for gli

Show
Ignore:
Timestamp:
14.07.2008 20:12:04 (12 years ago)
Author:
ak19
Message:

Merged client-gli4gs3.bat into client-gli.bat so that client-gli.bat launches both.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gli/trunk/client-gli.bat

    r12453 r16401  
    22set GLILANG=en 
    33 
     4if "%PROGNAME" == "" set PROGNAME=Greenstone 
     5 
     6if not "%PROGFULLNAME" == "" goto setvars 
     7if "%GLILANG%" == "es" set PROGFULLNAME="Biblioteca Digital Greenstone"   
     8if "%GLILANG%" == "fr" set PROGFULLNAME="Bibliothécaire Greenstone" 
     9if "%GLILANG%" == "ru" set PROGFULLNAME="ÉÎÔÅÒÆÅÊÓ Greenstone" 
     10:: if the PROGFULLNAME is still not set, then set the language to English 
     11if "%PROGFULLNAME%" == "" set PROGNAME=Greenstone Digital Library 
     12   
     13 
     14:setvars 
     15if "%PROGABBR%" == "" set PROGABBR=GLI 
     16if "%PROGNAME_EN%" == "" set PROGNAME_EN=Greenstone Librarian Interface 
    417 
    518::  -------- Run the Greenstone Librarian Interface -------- 
     
    2336:findGSDL 
    2437echo. 
    25 if "%GLILANG%" == "en" echo Greenstone Librarian Interface (GLI) 
     38if "%GLILANG%" == "en" echo %PROGNAME_EN% (%PROGABBR%) 
    2639if "%GLILANG%" == "en" echo Copyright (C) 2006, New Zealand Digital Library Project, University Of Waikato 
    27 if "%GLILANG%" == "en" echo GLI comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt 
     40if "%GLILANG%" == "en" echo %PROGABBR% comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt 
    2841if "%GLILANG%" == "en" echo This is free software, and you are welcome to redistribute it 
    2942 
    30 if "%GLILANG%" == "es" echo Interfaz de la Biblioteca Digital Greenstone (Greenstone Librarian Interface - GLI) 
     43if "%GLILANG%" == "es" echo Interfaz de la %PROGFULLNAME% (%PROGNAME_EN% - %PROGABBR%) 
    3144if "%GLILANG%" == "es" echo Copyright (C) 2006, New Zealand Digital Library Project, University Of Waikato 
    32 if "%GLILANG%" == "es" echo La Interfaz de la Biblioteca Digital Greenstone NO INCLUYE ABSOLUTAMENTE NINGUNA GARANTÖA. 
     45if "%GLILANG%" == "es" echo La Interfaz de la %PROGFULLNAME% NO INCLUYE ABSOLUTAMENTE NINGUNA GARANTÖA. 
    3346if "%GLILANG%" == "es" echo Para mayor informaci¢n vea los t‚rminos de la licencia en LICENSE.txt 
    3447if "%GLILANG%" == "es" echo Este es un software abierto, por lo que lo invitamos a que lo distribuya de forma gratuita 
    3548 
    36 if "%GLILANG%" == "fr" echo Interface du Biblioth‚caire Greenstone (Greenstone Librarian Interface - GLI) 
     49if "%GLILANG%" == "fr" echo Interface du %PROGFULLNAME% (%PROGNAME_EN% - %PROGABBR%) 
    3750if "%GLILANG%" == "fr" echo Copyright (C) 2006, New Zealand Digital Library Project, University Of Waikato 
    38 if "%GLILANG%" == "fr" echo GLI est fourni sans AUCUNE GARANTIE; pour des d‚tails, voir LICENSE.txt 
     51if "%GLILANG%" == "fr" echo %PROGABBR% est fourni sans AUCUNE GARANTIE; pour des d‚tails, voir LICENSE.txt 
    3952if "%GLILANG%" == "fr" echo Ceci est un logiciel libre, et vous ˆtes invit‚  
    4053 le redistribuer 
    4154 
    42 if "%GLILANG%" == "ru" echo š¡«š®â¥ç­ë© š­â¥à䥩á Greenstone (Greenstone Librarian Interface - GLI) 
     55if "%GLILANG%" == "ru" echo š¡«š®â¥ç­ë© š­â¥à䥩á %PROGNAME% (%PROGNAME_EN% - %PROGABBR%) 
    4356if "%GLILANG%" == "ru" echo Copyright (C) 2006, New Zealand Digital Library Project, University Of Waikato 
    4457if "%GLILANG%" == "ru" echo ˆƒ ­¥ € ¥â €‘Ž‹ž’Ž ˆŠ€Šˆ• ƒ€€’ˆ‰; €¥â «š á¬. ¢ ⥪á⥠LICENSE.TXT 
     
    99112    if "%GLILANG%" == "en" echo Failed to locate an appropriate version of Java. You must install a 
    100113    if "%GLILANG%" == "en" echo Java Runtime Environment (version 1.4 or greater) before running the 
    101     if "%GLILANG%" == "en" echo Greenstone Librarian Interface. 
     114    if "%GLILANG%" == "en" echo %PROGNAME_EN%. 
    102115 
    103116    if "%GLILANG%" == "es" echo No se pudo localizar una versi¢n apropiada de Java. Usted deber  
    104117    if "%GLILANG%" == "es" echo instalar un Ambiente de Ejecuci¢n Java (versi¢n 1.4 o superior) 
    105     if "%GLILANG%" == "es" echo antes de correr la Interfaz de la Biblioteca Digital Greenstone. 
     118    if "%GLILANG%" == "es" echo antes de correr la Interfaz de la %PROGFULLNAME%. 
    106119 
    107120    if "%GLILANG%" == "fr" echo Une version ad‚quate de Java n'a pas pu ˆtre localis‚e. Vous devez 
    108121    if "%GLILANG%" == "fr" echo installer un Java Runtime Environment (version 1.4 ou sup‚rieur) 
    109     if "%GLILANG%" == "fr" echo avant de d‚marrer Greenstone Librarian Interface. 
     122    if "%GLILANG%" == "fr" echo avant de d‚marrer %PROGNAME_EN%. 
    110123 
    111124    if "%GLILANG%" == "ru" echo ¥ 〠«®áì ®¯à¥€¥«šâì ¬¥áâ®­ å®Š€¥­š¥ ᮮ⢥âáâ¢ãî饩 ¢¥àášš Java. 
    112125    if "%GLILANG%" == "ru" echo ‚ë €®«Š­ë ãáâ ­®¢šâì Java Runtime Environment (¢¥àášî 1.4 š«š ¢ëè¥) ¯¥à¥€ ¢¢®€®¬ 
    113     if "%GLILANG%" == "ru" echo ¡š¡«š®â¥ç­®£® š­â¥àä¥©á  Greenstone. 
     126    if "%GLILANG%" == "ru" echo ¡š¡«š®â¥ç­®£® š­â¥àä¥©á  %PROGNAME%. 
    114127    goto exit 
    115128 
     
    120133if exist "GLI.jar" goto runGLI 
    121134    echo. 
    122     if "%GLILANG%" == "en" echo You need to compile the Greenstone Librarian Interface (using makegli.bat) 
     135    if "%GLILANG%" == "en" echo You need to compile the %PROGNAME_EN% (using makegli.bat) 
    123136    if "%GLILANG%" == "en" echo before running this script. 
    124137 
    125     if "%GLILANG%" == "es" echo Usted necesita compilar la Interfaz de la Biblioteca Digital Greenstone 
     138    if "%GLILANG%" == "es" echo Usted necesita compilar la Interfaz de la %PROGFULLNAME% 
    126139    if "%GLILANG%" == "es" echo (por medio de makegli.bat) antes de ejecutar este gui¢n. 
    127140 
    128     if "%GLILANG%" == "fr" echo Vous devez compiler le Greenstone Interface (en utilisant makegil.bat) 
     141    if "%GLILANG%" == "fr" echo Vous devez compiler le %PROGNAME% Interface (en utilisant makegil.bat) 
    129142    if "%GLILANG%" == "fr" echo avant d'ex‚cuter ce script. 
    130143 
    131     if "%GLILANG%" == "ru" echo ‚ë €®«Š­ë ª®¬¯š«šà®¢ âì ¡š¡«š®â¥ç­ë© š­â¥à䥩á Greenstone (šá¯®«ì§ãï makegli.bat) 
     144    if "%GLILANG%" == "ru" echo ‚ë €®«Š­ë ª®¬¯š«šà®¢ âì ¡š¡«š®â¥ç­ë© š­â¥à䥩á %PROGNAME% (šá¯®«ì§ãï makegli.bat) 
    132145    if "%GLILANG%" == "ru" echo ¯¥à¥€ ¢¢®€®¬ í⮣® áªàš¯â  
    133146    goto exit 
     
    139152 
    140153 
    141 if "%GLILANG%" == "en" echo Running the Greenstone Librarian Interface... 
    142 if "%GLILANG%" == "es" echo Ejecutando la Interfaz de la Biblioteca Digital Greenstone... 
    143 if "%GLILANG%" == "fr" echo Ex‚cution de Greenstone Librarian Interface 
    144 if "%GLILANG%" == "ru" echo ’¥ªãéš© ¡š¡«š®â¥ç­ë© š­â¥à䥩á Greenstone... 
     154if "%GLILANG%" == "en" echo Running the %PROGNAME_EN%... 
     155if "%GLILANG%" == "es" echo Ejecutando la Interfaz de la %PROGFULLNAME%... 
     156if "%GLILANG%" == "fr" echo Ex‚cution de %PROGNAME_EN% 
     157if "%GLILANG%" == "ru" echo ’¥ªãéš© ¡š¡«š®â¥ç­ë© š­â¥à䥩á %PROGNAME%... 
    145158 
    146159:: -Xms32M          To set minimum memory