[gnome3-web] [i18n] moved translation build script to po/
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome3-web] [i18n] moved translation build script to po/
- Date: Tue, 8 Feb 2011 14:07:44 +0000 (UTC)
commit 91a9709e37fac2dced478d40f7980944f99ab64a
Author: Frédéric Péters <fpeters 0d be>
Date: Tue Feb 8 15:07:16 2011 +0100
[i18n] moved translation build script to po/
build.sh | 13 -------------
po/build.sh | 13 +++++++++++++
2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/po/build.sh b/po/build.sh
new file mode 100755
index 0000000..3596d7d
--- /dev/null
+++ b/po/build.sh
@@ -0,0 +1,13 @@
+#! /bin/bash -e
+
+xml2po -e -m xhtml -o gnome3.pot ../*.html
+for POFILE in *.po
+do
+ LANG=$(basename $POFILE .po)
+ for HTMLFILE in ../*.html
+ do
+ echo "Writing $HTMLFILE.$LANG"
+ xml2po -p $POFILE -m xhtml -o ../$HTMLFILE.$LANG $HTMLFILE
+ done
+done
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]