* bootstrap: Don't exclude ja.po; it is working again.
Don't remove all old .po files if we're merely updating one. * po/.cvsignore: Add Makevars.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2006-08-09 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
|
* bootstrap: Don't exclude ja.po; it is working again.
|
||||||
|
Don't remove all old .po files if we're merely updating one.
|
||||||
|
* po/.cvsignore: Add Makevars.
|
||||||
|
|
||||||
2006-08-07 Paul Eggert <eggert@cs.ucla.edu>
|
2006-08-07 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
* src/tar.c: Work around limitation imposed by gettext 0.15
|
* src/tar.c: Work around limitation imposed by gettext 0.15
|
||||||
|
|||||||
14
bootstrap
14
bootstrap
@@ -109,7 +109,10 @@ get_translations() {
|
|||||||
po_file=$3
|
po_file=$3
|
||||||
|
|
||||||
echo "$0: getting translations into $subdir for $domain..."
|
echo "$0: getting translations into $subdir for $domain..."
|
||||||
(cd $subdir && rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'`) &&
|
|
||||||
|
case $po_file in
|
||||||
|
'') (cd $subdir && rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'`);;
|
||||||
|
esac &&
|
||||||
|
|
||||||
$WGET_COMMAND -O "$subdir/$domain.html" "$TP_URL$domain" &&
|
$WGET_COMMAND -O "$subdir/$domain.html" "$TP_URL$domain" &&
|
||||||
|
|
||||||
@@ -123,11 +126,11 @@ get_translations() {
|
|||||||
awk -v domain="$domain" -v po_file="$po_file" -v subdir="$subdir" '
|
awk -v domain="$domain" -v po_file="$po_file" -v subdir="$subdir" '
|
||||||
{
|
{
|
||||||
lang = $1
|
lang = $1
|
||||||
if (po_file == (lang ".po")) next
|
if (po_file && po_file != (lang ".po")) next
|
||||||
|
|
||||||
# Work around bugs in translations uncovered by gettext 0.15.
|
# Work around bugs in translations uncovered by gettext 0.15.
|
||||||
# This workaround can be removed once the translations are fixed.
|
# This workaround can be removed once the translations are fixed.
|
||||||
if (lang == "hu" || lang == "ja" || lang == "ky" || lang == "zh_TW") next
|
if (lang == "hu" || lang == "ky" || lang == "zh_TW") next
|
||||||
|
|
||||||
ver = $2
|
ver = $2
|
||||||
urlfmt = ""
|
urlfmt = ""
|
||||||
@@ -146,10 +149,7 @@ update_po() {
|
|||||||
*.po) POFILE=$1;;
|
*.po) POFILE=$1;;
|
||||||
*) POFILE=${1}.po;;
|
*) POFILE=${1}.po;;
|
||||||
esac
|
esac
|
||||||
get_translations po $package "$POFILE" &&
|
get_translations po $package "$POFILE"
|
||||||
LANG=`expr $POFILE : '\(.*\)\.po'` &&
|
|
||||||
{ grep -q $LANG po/LINGUAS ||
|
|
||||||
(echo $LANG; cat po/LINGUAS) | sort -o po/LINGUAS; }
|
|
||||||
else
|
else
|
||||||
get_translations po $package
|
get_translations po $package
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ index.html
|
|||||||
*.po
|
*.po
|
||||||
LINGUAS
|
LINGUAS
|
||||||
Makefile.in.in
|
Makefile.in.in
|
||||||
|
Makevars
|
||||||
Makevars.template
|
Makevars.template
|
||||||
Rules-quot
|
Rules-quot
|
||||||
boldquot.sed
|
boldquot.sed
|
||||||
|
|||||||
Reference in New Issue
Block a user