Changeset 6747


Ignore:
Timestamp:
2004-02-09T15:51:07+13:00 (20 years ago)
Author:
mdewsnip
Message:

Now with French strings!

Location:
trunk/gli
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/clean.bat

    r5824 r6747  
    11@echo off
     2set GLILANG=en
    23
    34
     
    67:: This script must be run from within the directory in which it lives
    78if exist clean.bat goto cleanGLI
    8     echo This script must be run from the directory in which it resides.
     9    if "%GLILANG%" == "en" echo This script must be run from the directory in which it resides.
     10    if "%GLILANG%" == "fr" echo Ce script doit ˆtre ex‚cut‚
     11 partir du r‚pertoire dans lequel il se trouve.
    912    goto exit
    1013
     
    1316:: ---- Remove class files ----
    1417echo.
    15 echo Removing the Greenstone Librarian Interface class files...
     18if "%GLILANG%" == "en" echo Removing the Greenstone Librarian Interface class files...
     19if "%GLILANG%" == "fr" echo Suppression des fichiers de classe de Greenstone Librarian Interface
    1620
    1721cd classes\org\greenstone\gatherer
     
    3236cd ..\..\..\..
    3337
    34 echo Done!
     38if "%GLILANG%" == "en" echo Done!
     39if "%GLILANG%" == "fr" echo Termin‚!
    3540
    3641:exit
  • trunk/gli/document.bat

    r6467 r6747  
    11@echo off
     2set GLILANG=en
    23
    34
     
    67:: This script must be run from within the directory in which it lives
    78if exist document.bat goto findJavadoc
    8     echo This script must be run from the directory in which it resides.
     9    if "%GLILANG%" == "en" echo This script must be run from the directory in which it resides.
     10    if "%GLILANG%" == "fr" echo Ce script doit ˆtre ex‚cut‚
     11 partir du r‚pertoire dans lequel il se trouve.
    912    goto exit
    1013
     
    4851:testJavadoc
    4952:: Check that a Javadoc executable has been found
    50 echo Checking Javadoc: %JAVADOCPATH%
     53if "%GLILANG%" == "en" echo Checking Javadoc: %JAVADOCPATH%
     54if "%GLILANG%" == "fr" echo V‚rification de Javadoc: %JAVADOCPATH%
    5155if exist "%JAVADOCPATH%\javadoc.exe" goto docGLI
    5256
    5357:noJavadoc
    5458    echo.
    55     echo Failed to locate an appropriate version of Javadoc. You must install a
    56     echo Java Development Kit (version 1.4 or greater) before generating the
    57     echo documentation for the Greenstone Librarian Interface.
     59    if "%GLILANG%" == "en" echo Failed to locate an appropriate version of Javadoc. You must install a
     60    if "%GLILANG%" == "en" echo Java Development Kit (version 1.4 or greater) before generating the
     61    if "%GLILANG%" == "en" echo documentation for the Greenstone Librarian Interface.
     62
     63    if "%GLILANG%" == "fr" echo Une version appropri‚e de Javadoc n'a pas pu ˆtre localis‚e. Vous devez
     64    if "%GLILANG%" == "fr" echo installer un Kit de D‚veloppement Java (version 1.4 ou sup‚rieure) avant
     65    if "%GLILANG%" == "fr" echo de produire la documentation de Greenstone Librarian Interface.
    5866    goto exit
    5967
     
    6270:: ---- Document the GLI ----
    6371echo.
    64 echo Generating documentation for the Greenstone Librarian Interface...
     72if "%GLILANG%" == "en" echo Generating documentation for the Greenstone Librarian Interface...
     73if "%GLILANG%" == "fr" echo Production de documentation pour la Greenstone Librarian Interface
    6574
    6675"%JAVADOCPATH%\javadoc.exe" -classpath classes/ -sourcepath src/ -source 1.4 -author -breakiterator -d docs/ -group "Gatherer v2.3" org.greenstone.gatherer:org.greenstone.gatherer.checklist:org.greenstone.gatherer.collection:org.greenstone.gatherer.file:org.greenstone.gatherer.gui:org.greenstone.gatherer.gui.browser:org.greenstone.gatherer.gui.combobox:org.greenstone.gatherer.gui.messages:org.greenstone.gatherer.gui.metaaudit:org.greenstone.gatherer.gui.table:org.greenstone.gatherer.gui.tree:org.greenstone.gatherer.help:org.greenstone.gatherer.sarm:org.greenstone.gatherer.shell:org.greenstone.gatherer.util -group "Collection Design Module" org.greenstone.gatherer.cdm:org.greenstone.gatherer.cdm.custom -group "Metadata Set Manager" org.greenstone.gatherer.msm:org.greenstone.gatherer.msm.parsers -group "Value Tree Controls" org.greenstone.gatherer.valuetree -private -splitindex -version   org.greenstone.gatherer org.greenstone.gatherer.checklist org.greenstone.gatherer.collection org.greenstone.gatherer.file org.greenstone.gatherer.gui org.greenstone.gatherer.gui.browser org.greenstone.gatherer.gui.combobox org.greenstone.gatherer.gui.messages org.greenstone.gatherer.gui.metaaudit org.greenstone.gatherer.gui.table org.greenstone.gatherer.gui.tree org.greenstone.gatherer.help org.greenstone.gatherer.sarm org.greenstone.gatherer.shell org.greenstone.gatherer.util org.greenstone.gatherer.cdm org.greenstone.gatherer.cdm.custom org.greenstone.gatherer.msm org.greenstone.gatherer.msm.parsers org.greenstone.gatherer.valuetree
    6776
    68 echo Done!
     77if "%GLILANG%" == "en" echo Done!
     78if "%GLILANG%" == "fr" echo Termin‚!
    6979
    7080:exit
  • trunk/gli/makegli.bat

    r6670 r6747  
    11@echo off
     2set GLILANG=en
    23
    3 echo.
    4 echo Greenstone Librarian Interface (GLI)
    5 echo Copyright (C) 2004, New Zealand Digital Library Project, University Of Waikato
    6 echo GLI comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt
    7 echo This is free software, and you are welcome to redistribute it
    8 echo.
    94
    105::  -------- Compile the Greenstone Librarian Interface --------
    116
     7echo.
     8if "%GLILANG%" == "en" echo Greenstone Librarian Interface (GLI)
     9if "%GLILANG%" == "en" echo Copyright (C) 2004, New Zealand Digital Library Project, University Of Waikato
     10if "%GLILANG%" == "en" echo GLI comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt
     11if "%GLILANG%" == "en" echo This is free software, and you are welcome to redistribute it
     12
     13if "%GLILANG%" == "fr" echo -- Still coming --
     14echo.
     15
    1216:: This script must be run from within the directory in which it lives
    1317if exist makegli.bat goto findJavac
    14     echo This script must be run from the directory in which it resides.
     18    if "%GLILANG%" == "en" echo This script must be run from the directory in which it resides.
     19    if "%GLILANG%" == "fr" echo Ce script doit ˆtre ex‚cut‚
     20 partir du r‚pertoire dans lequel il se trouve.
    1521    goto exit
    1622
     
    5460:testJavac
    5561:: Check that a Javac executable has been found
    56 echo Checking Javac: %JAVACPATH%
     62if "%GLILANG%" == "en" echo Checking Javac: %JAVACPATH%
     63if "%GLILANG%" == "fr" echo V‚rification de Javac: %JAVACPATH%
    5764if exist "%JAVACPATH%\javac.exe" goto checkVer
    5865
    5966:noJavac
    6067    echo.
    61     echo Failed to locate an appropriate version of Javac. You must install a
    62     echo Java Development Kit (version 1.4 or greater) before compiling the
    63     echo Greenstone Librarian Interface.
     68    if "%GLILANG%" == "en" echo Failed to locate an appropriate version of Javac. You must install a
     69    if "%GLILANG%" == "en" echo Java Development Kit (version 1.4 or greater) before compiling the
     70    if "%GLILANG%" == "en" echo Greenstone Librarian Interface.
     71
     72    if "%GLILANG%" == "fr" echo Une version appropri‚e de Javac n'a pas pu ˆtre localis‚e. Vous devez
     73    if "%GLILANG%" == "fr" echo installer un Kit de D‚veloppement Java (version 1.4 ou sup‚rieure)
     74    if "%GLILANG%" == "fr" echo avant de produire la documentation de Greenstone Librarian Interface.
    6475    goto exit
    6576
     
    7384        del javacchk.tmp
    7485        echo.
    75         echo The version of the Java Development Kit you have installed is too old
    76         echo to compile the Greenstone Librarian Interface. Please install a new
    77         echo version of the Java SDK (version 1.4 or newer) and rerun this script.
     86        if "%GLILANG%" == "en" echo The version of the Java Development Kit you have installed is too old
     87        if "%GLILANG%" == "en" echo to compile the Greenstone Librarian Interface. Please install a new
     88        if "%GLILANG%" == "en" echo version of the Java SDK (version 1.4 or newer) and rerun this script.
     89
     90        if "%GLILANG%" == "fr" echo La version de Java Development Kit que vous avez install‚e est trop vieille
     91        if "%GLILANG%" == "fr" echo pour compiler Greenstone Librarian Interface. Veuillez installer une nouvelle
     92        if "%GLILANG%" == "fr" echo version de Java SDK (version 1.4 ou plus r‚cente) et red‚marrez ce script.
    7893        goto exit
    7994
     
    86101if "%1" == "" goto makeAll
    87102    :: If a file has been specified as a command-line argument, just compile that file
    88     echo Compiling %1 and dependant classes...
     103    if "%GLILANG%" == "en" echo Compiling %1 and dependant classes...
     104    if "%GLILANG%" == "fr" echo Compilation de %1 et des classes d‚pendantes,,,
    89105
    90106    "%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/calpa.jar;lib/jp.jar;lib/polloxml.jar;lib/qfslib.jar;lib/skinlf.jar;lib/nanoxml.jar %1
    91107
    92     echo Done!
     108    if "%GLILANG%" == "en" echo Done!
     109    if "%GLILANG%" == "fr" echo Termin‚!
    93110    goto done
    94111
    95112:makeAll
    96113:: Otherwise compile the lot...
    97 echo Compiling the Greenstone Librarian Interface...
     114if "%GLILANG%" == "en" echo Compiling the Greenstone Librarian Interface...
     115if "%GLILANG%" == "fr" echo Compilation de Greenstone Librarian Interface,,,
    98116
    99117"%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/calpa.jar;lib/jp.jar;lib/polloxml.jar;lib/qfslib.jar;lib/skinlf.jar;lib/nanoxml.jar src/org/greenstone/gatherer/*.java
     
    115133"%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/calpa.jar;lib/jp.jar;lib/polloxml.jar;lib/qfslib.jar;lib/skinlf.jar;lib/nanoxml.jar src/org/greenstone/gatherer/valuetree/*.java
    116134
    117 echo Done!
     135if "%GLILANG%" == "en" echo Done!
     136if "%GLILANG%" == "fr" echo Termin‚!
    118137goto done
    119138
Note: See TracChangeset for help on using the changeset viewer.