"Fossies" - the Fresh Open Source Software Archive

Member "citadel/po/citadel-setup/create-pot.sh" (5 Jun 2021, 808 Bytes) of package /linux/www/citadel.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/bash
    2 
    3 echo Updating citadel.pot from strings in the source code ...
    4 xgettext \
    5     --copyright-holder='The Citadel Project - http://www.citadel.org' \
    6         --from-code='utf-8' \
    7     -k_ \
    8     -o citadel-setup.pot \
    9     --add-comments \
   10         ../../utils/setup.c 
   11 
   12 #xgettext \
   13 #   --copyright-holder='The Citadel Project - http://www.citadel.org' \
   14 #        --from-code='utf-8' \
   15 #   -k_ \
   16 #   -o citadel-server.pot \
   17 #   --add-comments \
   18 #   ../*.c \
   19 #        `cat ../Make_sources | sed  -e "s;.*+= ;;" ` 
   20 #
   21 #
   22 #xgettext \
   23 #   --copyright-holder='The Citadel Project - http://www.citadel.org' \
   24 #        --from-code='utf-8' \
   25 #   -k_ \
   26 #   -o citadel-client.pot \
   27 #   --add-comments \
   28 #   ../*.c \
   29 #        ../textclient/*.c
   30 
   31 for x in *.po
   32 do
   33     echo Merging citadel-setup.pot into $x ...
   34     msgmerge $x citadel-setup.pot -o $x
   35 done