* po/README: Move language fetcing to ...
* linguas.sh: ... here. * po/README: Point to linguas.sh.
This commit is contained in:
parent
a88f327093
commit
7ec2b02171
3 changed files with 24 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
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.
|
||||
|
|
17
linguas.sh
Executable file
17
linguas.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/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
|
|
@ -6,11 +6,7 @@ that will hopefully clarify the situation.
|
|||
- 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.
|
||||
|
|
Loading…
Reference in a new issue