« Auto-éditer un wikilivre/Annexer (Version internationalisée)/src/annex.sh » : différence entre les versions
Contenu supprimé Contenu ajouté
Mise à jour de l'entête |
→Annex.sh : Mise à jour des corrections |
||
Ligne 35 :
. gettext.sh
VERSION=
if [ "$1" = "--v" ]; then echo "Annex version $VERSION"; exit 0; echo; fi
ADD_APPENDIX=$HOME/Add_appendix
export PATH=$PATH:$ADD_APPENDIX/bin
export TEXTDOMAINDIR=$ADD_APPENDIX/share/locale
#P If first param is empty print the syntax and exit
Ligne 240 ⟶ 242 :
#P If option -pc is validated, running sclipco.sh
if [ "$Personalco"
then
if [ "$Verbose"
echo "$(gettext ' sclipco has been executed ')";
fi
Ligne 254 ⟶ 256 :
#P If option -pb is validated, running sclipw
if [ "$Personalwb"
then
if [ "$Verbose"
echo "$(gettext ' sclipwb has been executed ')";
fi
Ligne 269 ⟶ 271 :
cat $1.sclt > $1.appendix
#P
elif [ $Personalco = "true" ]
# else▼
cat $Projectdir/$1.sclic >> $Projectdir/$1.appendix; echo "$(gettext ' $1.sclic is added to $1.appendix ')";
echo "$(gettext '== License == ')" >> $Projectdir/$1.appendix
cat $Projectdir/$1/$1.license >> $Projectdir/$1.appendix
echo "" >> $Projectdir/$1.appendix
#P echo "{{Nouvelle page imprimée}}" >> $Projectdir/$1.appendix
#P echo "$(gettext '{{Page-break/end}} ')"" on en:wikibooks >> $Projectdir/$1.appendix
echo "
echo ""
|