aboutsummaryrefslogtreecommitdiffstats
path: root/po/update.sh
blob: 74dca77b27b807a5fa0b2dfbdf76411b06e56e1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/sh

PACKAGE="evolution"

if [ "x$1" = "x--help" ]; then

echo Usage: ./update.sh langcode
echo --help                  display this help and exit
echo
echo Examples of use:
echo ./update.sh ----- just creates a new pot file from the source
echo ./update.sh da -- created new pot file and updated the da.po file 

elif [ "x$1" = "x" ]; then 

echo "Building the $PACKAGE.pot ..."

xgettext --default-domain=$PACKAGE --directory=.. \
  --add-comments --keyword=_ --keyword=N_ \
  --files-from=./POTFILES.in \
&& test ! -f $PACKAGE.po \
   || ( rm -f ./$PACKAGE.pot \
&& mv $PACKAGE.po ./$PACKAGE.pot );

else

xgettext --default-domain=$PACKAGE --directory=.. \
  --add-comments --keyword=_ --keyword=N_ \
  --files-from=./POTFILES.in \
&& test ! -f $PACKAGE.po \
   || ( rm -f ./PACKAGE.pot \
&& mv $PACKAGE.po ./$PACKAGE.pot );

echo "Building the $PACKAGE.pot ..."
echo "Now merging $1.po with $PACKAGE.pot, and creating an updated $1.po ..." 

mv $1.po $1.po.old && msgmerge $1.po.old $PACKAGE.pot -o $1.po \
&& rm $1.po.old;

msgfmt --statistics $1.po

fi;
cgit/cgit.cgi/freebsd-ports-gnome/commit/GIDs?id=80850fc7d266bc104f8b0ec8e623c15d0bb427cc'>- Add user/group shellinabox with uid/gid 139jadawin2010-07-051-0/+1 * Add 'saned' user/group the Right Way.stefan2010-06-281-0/+1 * - Add activemq for new port net/activemqwen2010-06-121-0/+1 * Add net/freeswitch-core, part of a revamp to the freeswitch portsjpaetzel2010-06-121-0/+1 * - add members for meta1c meta1mdinoex2010-06-051-2/+2 * - Update to 0.7.3pav2010-05-141-0/+1 * Remove trailing ':' from fossy.wxs2010-04-301-1/+1 * Add trailing ':' to drizzle and fossywxs2010-04-301-2/+2 * - Added user and group for Drizzle database serverglarkin2010-04-291-0/+1 * - Reserve kumofs uid/gid.kuriyama2010-04-261-0/+1 * Minbif aims to use the libpurple library from the Pidgin projectbeat2010-04-151-0/+1 * - Add user and group mfs for MooseFS portwen2010-04-071-0/+1 * - reserver GID/UID 924 for upcomming mail/postpalsitetcu2010-03-131-0/+1 * Massive cleanup of the Munin ports:des2010-02-251-0/+1 * - Add user and group for audio/liquidsoapwen2010-02-011-0/+1 * - Update Wolfpack Empire to 4.3.23johans2009-12-281-0/+1 * - Reserve UID/GID 137 for audio/musicpdpav2009-12-071-0/+1 * - Prepare for add new port databases/mongodbwen2009-11-191-0/+1 * - Add 444 for callweaverpav2009-09-181-0/+1 * - Update to 0.8.5beat2009-09-181-0/+1 * - Add UID/GID:211 for devel/py-gitosisnivit2009-09-161-0/+1 * Add haldaemon with UID/GID 560.flz2009-09-071-0/+1 * Add UID and GID forgotten while adding net-mgmt/noc.bsam2009-08-181-0/+1 * Remove entries for security/trans-proxy-tor and security/dns-proxy-torerwin2009-08-161-2/+0 * Add prosody entries to UIDs & GIDs.vanilla2009-08-051-0/+1 * Register user/group "redis" for the port "databases/redis".skv2009-07-281-0/+1 * - Add fossy user/group for devel/fossology.alepulver2009-07-241-0/+1 * -Add transmission.mezz2009-06-201-0/+1 * - Add GID and UID for emulators/virtualbox.beat2009-06-181-0/+1 * - Add couchdb user and group.wxs2009-06-171-0/+1 * - Register net-mgmt/nefurafan2009-04-071-0/+1 * - Register uid and gid for mail/prayerrafan2009-03-171-0/+1 * Reflect the change of UID/GID of ejabberd.delphij2009-03-161-1/+1 * Rework on rc script for www/httptunnel.rafan2009-01-301-0/+1 * Register a fixed UID/GID for the user 'dhcpd' and use that instead of astefan2009-01-121-0/+1 * PLEASE WELCOME www/rt38pgollucci2008-12-271-0/+1 * - Take maintainershipglarkin2008-11-201-0/+1 * - Add UID and GID entries for net/rabbitmq.wxs2008-10-291-0/+1 * - Fixed left-over directory problemglarkin2008-09-091-0/+1 * - Update pgbouncer to 1.2.3mm2008-08-121-0/+1 * Reserve numbers for databases/frontbase user.edwin2008-06-131-0/+1 * Style fix, $FreeBSD$ line is a comment, so add a leading '#'.flz2008-05-201-1/+1 * Reserve UID and GID for irc/bitlbee.brix2008-05-201-0/+1 * - Add entries for irc/undernet-ircubeech2008-05-011-0/+1 * Reserve 814 for sysutils/puppet*pav2008-04-111-0/+1 * - Add GID and UID for www/openacs and www/openacs-dotlrnmm2008-04-031-0/+2 * - Add GID and UID for net/freeradius2mm2008-04-021-0/+1 * - Register gid for security/vlockrafan2008-03-311-0/+1 * - Add GID and UID for net-im/openfiremiwi2008-03-081-0/+1 * - Add missing :miwi2008-02-171-2/+2 * - add hobbit with id 280dinoex2008-01-281-0/+1 * - Reserve UID/GID 240 and 241 for aprsddb2008-01-241-0/+2 * Add 913 for _relayd.kuriyama2008-01-211-0/+1 * - Reserve uid/gid for net/iodine 0.4.1_1rafan2008-01-111-0/+1 * Add 911 for iserv (See PR ports/114017)edwin2007-09-071-0/+1 * Reserve a user and group ID for the stunnel daemon.roam2007-08-281-0/+1