* linguas.sh: ... here.
* po/README: Point to linguas.sh.
+2012-04-04 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * po/README: Move language fetcing to ...
+ * linguas.sh: ... here.
+ * po/README: Point to linguas.sh.
+
2012-04-04 Vladimir Serbinenko <phcoder@gmail.com>
* po/README: Exclude ko.po due to disclaimer problems.
--- /dev/null
+#!/bin/sh
+
+rsync -Lrtvz --exclude=ko.po translationproject.org::tp/latest/grub/ po
+
+(
+ (
+ cd po && ls *.po| cut -d. -f1
+ echo "en@quot"
+ echo "en@hebrew"
+ echo "de@hebrew"
+ echo "en@cyrillic"
+ echo "en@greek"
+ echo "en@arabic"
+ echo "en@piglatin"
+ echo "de_CH"
+ ) | sort | uniq | xargs
+) >po/LINGUAS
- If you're a user or a distributor, simply fill the po directory by
importing translations from the Translation Project:
- rsync -Lrtvz --exclude=ko.po translationproject.org::tp/latest/grub/ po
-
- Then create a po/LINGUAS file listing all the language codes:
-
- ((cd po && ls *.po| cut -d. -f1; echo "en@quot"; echo "en@hebrew"; echo "de@hebrew"; echo "en@cyrillic"; echo "en@greek"; echo "en@arabic" ;echo "en@piglatin"; echo "de_CH") | sort |uniq | xargs) >po/LINGUAS
+ ./linguas.sh
GRUB's build system will automatically detect those and include them
in your install.