From 7ec2b021716e7bb4483f276cc0e08191f5db87b2 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Wed, 4 Apr 2012 14:55:56 +0200 Subject: [PATCH] * po/README: Move language fetcing to ... * linguas.sh: ... here. * po/README: Point to linguas.sh. --- ChangeLog | 6 ++++++ linguas.sh | 17 +++++++++++++++++ po/README | 6 +----- 3 files changed, 24 insertions(+), 5 deletions(-) create mode 100755 linguas.sh diff --git a/ChangeLog b/ChangeLog index ec6ae58e5..fc514645f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-04-04 Vladimir Serbinenko + + * po/README: Move language fetcing to ... + * linguas.sh: ... here. + * po/README: Point to linguas.sh. + 2012-04-04 Vladimir Serbinenko * po/README: Exclude ko.po due to disclaimer problems. diff --git a/linguas.sh b/linguas.sh new file mode 100755 index 000000000..e162a1f6c --- /dev/null +++ b/linguas.sh @@ -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 diff --git a/po/README b/po/README index 1cc052e6b..c9be27b52 100644 --- 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.