]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* po/README: Move language fetcing to ...
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 4 Apr 2012 12:55:56 +0000 (14:55 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 4 Apr 2012 12:55:56 +0000 (14:55 +0200)
* linguas.sh: ... here.
* po/README: Point to linguas.sh.

ChangeLog
linguas.sh [new file with mode: 0755]
po/README

index ec6ae58e5b3d7cc2e2cdc759983aa438004d6644..fc514645f15ea57e657822462804ccbf766667c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/linguas.sh b/linguas.sh
new file mode 100755 (executable)
index 0000000..e162a1f
--- /dev/null
@@ -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
index 1cc052e6b53f02d473c1285343b67509fa508f7d..c9be27b52f329ffd11b88df80f51e4331df5a850 100644 (file)
--- a/po/README
+++ b/po/README
@@ -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.