[gnome3-web] [i18n] add a LINGUAS file to list available languages
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome3-web] [i18n] add a LINGUAS file to list available languages
- Date: Tue, 8 Feb 2011 14:37:10 +0000 (UTC)
commit 3b34659d41ca620c513392bdd1bdf0320eb7cd35
Author: Frédéric Péters <fpeters 0d be>
Date: Tue Feb 8 15:36:49 2011 +0100
[i18n] add a LINGUAS file to list available languages
po/build.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/po/LINGUAS b/po/LINGUAS
new file mode 100644
index 0000000..e69de29
diff --git a/po/build.sh b/po/build.sh
index 3596d7d..6e4f039 100755
--- a/po/build.sh
+++ b/po/build.sh
@@ -1,9 +1,9 @@
#! /bin/bash -e
xml2po -e -m xhtml -o gnome3.pot ../*.html
-for POFILE in *.po
+for LANG in $(cat LINGUAS)
do
- LANG=$(basename $POFILE .po)
+ POFILE=$LANG.po
for HTMLFILE in ../*.html
do
echo "Writing $HTMLFILE.$LANG"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]