From eb66ec777f555eb44101fe3b1e5e2544d6d8f304 Mon Sep 17 00:00:00 2001 From: Micah Cowan Date: Thu, 24 Jan 2008 23:37:15 -0800 Subject: [PATCH] Proper quote marks, even when LANGUAGE is just ordinary en_US instead of en@quot; write Hrvoje Niksic with full diacritic marks. --- ChangeLog | 8 ++++++++ configure.ac | 2 +- po/Rules-quot | 5 +++++ po/boldquot.sed | 5 +++++ po/quot.sed | 5 +++++ 5 files changed, 24 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 39a41954..2749a692 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-01-24 Micah Cowan + + * configure.ac: Added en_US LINGUA (generated). + * po/Rules-quot: Added rule to copy en_US.po from en@quot.po. + * po/boldquot.sed, po/quot.sed: Translate _all_ apostrophes we + find, not just the ones used for quotes; and add a rule to write + Hrvoje's last name properly. ^_^ + 2007-12-10 Micah Cowan * NEWS: Removed developer-only notices (Autoconf, TODO, PATCHES, diff --git a/configure.ac b/configure.ac index 2cd623b1..01267b05 100644 --- a/configure.ac +++ b/configure.ac @@ -432,7 +432,7 @@ dnl ALL_LINGUAS="cs de hr it ..." dnl The downside was that configure needed to be rebuilt whenever a dnl new language was added. dnl -ALL_LINGUAS="en@quot en@boldquot $(cd ${srcdir}/po && ls *.po | grep -v 'en@.*quot' | sed -e 's/\.po$//' | tr '\012' ' ')" +ALL_LINGUAS="en@quot en@boldquot en_US $(cd ${srcdir}/po && ls *.po | grep -v 'en@.*quot' | sed -e 's/\.po$//' | tr '\012' ' ')" dnl dnl Find makeinfo. We used to provide support for Emacs processing diff --git a/po/Rules-quot b/po/Rules-quot index 9c2a995e..f8b4198a 100644 --- a/po/Rules-quot +++ b/po/Rules-quot @@ -45,3 +45,8 @@ en@boldquot.insert-header: insert-header.sin mostlyclean: mostlyclean-quot mostlyclean-quot: rm -f *.insert-header + +en_US.po: en_US.po-update + +en_US.po-update: en@quot.po + cp $^ en_US.po diff --git a/po/boldquot.sed b/po/boldquot.sed index 4b937aa5..c1458fd6 100644 --- a/po/boldquot.sed +++ b/po/boldquot.sed @@ -8,3 +8,8 @@ s/“/“/g s/”/”/g s/‘/‘/g s/’/’/g + +# At least in all of our current strings, ' should be ’. +s/'/’/g +# Special: write Hrvoje’s last name properly. +s/Niksic/Nikšić/g diff --git a/po/quot.sed b/po/quot.sed index 0122c463..b0e65f83 100644 --- a/po/quot.sed +++ b/po/quot.sed @@ -4,3 +4,8 @@ s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g + +# At least in all of our current strings, ' should be ’. +s/'/’/g +# Special: write Hrvoje’s last name properly. +s/Niksic/Nikšić/g -- 2.39.2