From b3e086225572280d12422b60a841d0a729d940b4 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Fri, 24 Feb 2012 10:31:24 +0100 Subject: [PATCH] * po/README: Add de_CH and en@quot to po/LINGUAS generation command. * po/Rules-swiss: New file. * po/swiss.sed: Likewise. --- ChangeLog | 6 ++++++ po/README | 2 +- po/Rules-swiss | 7 +++++++ po/swiss.sed | 2 ++ 4 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 po/Rules-swiss create mode 100644 po/swiss.sed diff --git a/ChangeLog b/ChangeLog index a0738b6d2..31962c3ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-02-24 Vladimir Serbinenko + + * po/README: Add de_CH and en@quot to po/LINGUAS generation command. + * po/Rules-swiss: New file. + * po/swiss.sed: Likewise. + 2012-02-23 Vladimir Serbinenko * grub-core/fs/btrfs.c (find_device): Fix typos. diff --git a/po/README b/po/README index 5541f4229..830f5f0b2 100644 --- a/po/README +++ b/po/README @@ -10,7 +10,7 @@ that will hopefully clarify the situation. Then create a po/LINGUAS file listing all the language codes: - (cd po && ls *.po | cut -d. -f1 | xargs) >po/LINGUAS + ((cd po && ls *.po| cut -d. -f1; echo "en@quot"; echo "de_CH") | sort |uniq | xargs) >po/LINGUAS GRUB's build system will automatically detect those and include them in your install. diff --git a/po/Rules-swiss b/po/Rules-swiss new file mode 100644 index 000000000..1f98ac1f9 --- /dev/null +++ b/po/Rules-swiss @@ -0,0 +1,7 @@ +# Special Makefile rules for English message catalogs with quotation marks. + +DISTFILES.common.extra1 = swiss.sed Rules-swiss + +de_CH.po-create: de.po swiss.sed + LC_ALL=C.UTF-8 $(MSGFILTER) -i $< -o $(srcdir)/de_CH.po sed -f $(srcdir)/swiss.sed + diff --git a/po/swiss.sed b/po/swiss.sed new file mode 100644 index 000000000..66797127a --- /dev/null +++ b/po/swiss.sed @@ -0,0 +1,2 @@ +s,ß,ss,g +y,»«,«»,