Changeset 6759


Ignore:
Timestamp:
2004-02-10T11:55:48+13:00 (20 years ago)
Author:
mdewsnip
Message:

Now with French strings.

Location:
trunk/gsdl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/setup.bash

    r2943 r6759  
    11# if this file is executed, /bin/sh is used, as we don't start with #!
    22# this should work under ash, bash, zsh, ksh, sh style shells.
     3gsdllang=en
    34
    45# make sure we are sourced, and not run
     
    1415
    1516if test -n "$gsdl_not_sourced" ; then
    16   echo "    Error: Make sure you source this script, not execute it. Eg:"
    17   echo "        $ source setup.bash"
    18   echo "    or"
    19   echo "        $ . ./setup.bash"
    20   echo "    not"
    21   echo "        $ ./setup.bash"
     17  if [ "$gsdllang" == "fr" ]; then
     18    echo "-- Still coming --"
     19  else
     20    echo "  Error: Make sure you source this script, not execute it. Eg:"
     21    echo "      $ source setup.bash"
     22    echo "  or"
     23    echo "      $ . ./setup.bash"
     24    echo "  not"
     25    echo "      $ ./setup.bash"
     26  fi
    2227elif test -n "$GSDLHOME" ; then
    23   echo "Your environment is already set up for Greenstone!"
     28  if [ "$gsdllang" == "fr" ]; then
     29    echo "Votre environnement est déjà préparé pour Greenstone!"
     30  else
     31    echo "Your environment is already set up for Greenstone!"
     32  fi
    2433elif test ! -f setup.bash ; then
    25   echo "You must source the script from within the Greenstone home directory"
     34  if [ "$gsdllang" == "fr" ]; then
     35    echo "Vous devez trouver la source du script dans le répertoire de base de Greenstone"
     36  else
     37    echo "You must source the script from within the Greenstone home directory"
     38  fi
    2639else
    2740  GSDLHOME=`pwd`
     
    3952  MANPATH=$MANPATH:$GSDLHOME/packages/mg/man
    4053  export MANPATH
    41   echo "Your environment has successfully been set up to run Greenstone"
     54  if [ "$gsdllang" == "fr" ]; then
     55    echo "Votre environnement a été configuére avec succès pour exécuter Greenstone"
     56  else
     57    echo "Your environment has successfully been set up to run Greenstone"
     58  fi
    4259fi
    4360unset gsdl_not_sourced
  • trunk/gsdl/setup.csh

    r6469 r6759  
     1setenv GSDLLANG en
    12setenv GSDLHOME `pwd`
    23setenv GSDLOS `uname -s | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
     
    78  setenv MANPATH $GSDLHOME/packages/mg/man
    89endif
    9 echo "Your environment has successfully been set up to run Greenstone"
     10if ("$GSDLLANG" == "fr") then
     11  echo "Votre environnement a été configuére avec succès pour exécuter Greenstone"
     12else
     13  echo "Your environment has successfully been set up to run Greenstone"
     14endif
Note: See TracChangeset for help on using the changeset viewer.