forked from EnterpriseDB/stackbuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstringmerge
More file actions
executable file
·29 lines (24 loc) · 835 Bytes
/
stringmerge
File metadata and controls
executable file
·29 lines (24 loc) · 835 Bytes
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
#!/bin/sh
##########################################################################
# Name: stringmerge
# Purpose: Merge translations
# Author: Dave Page
# Created: 2007-02-13
# RCS-ID: $Id: stringmerge,v 1.2 2008/09/08 13:41:45 dpage Exp $
# Copyright: (c) EnterpriseDB
# Licence: BSD Licence
##########################################################################
if test -f StackBuilder.pot; then
echo "Updating from CVS."
cvs update -dP
for GETTEXTDIR in i18n/??_?? ; do
echo "Entering $GETTEXTDIR."
cd $GETTEXTDIR
echo "Merging StackBuilder.pot into StackBuilder.po"
msgmerge --backup=none --update StackBuilder.po ../../StackBuilder.pot
cd ../..
done
cd i18n
echo "Committing changes to CVS."
cvs commit -m "Automatic merge using stringmerge script."
fi