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,»«,«»,