Change test.c to use '' quotes around "git help COMMAND" as git.c does. An earlier version of the gettext series didn't use '' quotes, but I hadn't run msgmerge since then so I didn't spot it. For reference, the msgmerge command: msgmerge --backup=off -U is.po git.pot Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> --- po/is.po | 4 ++-- t/t0200-gettext-basic.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/po/is.po b/po/is.po index 95739f1..2f3a220 100644 --- a/po/is.po +++ b/po/is.po @@ -10,8 +10,8 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #: t/t0200/test.c:4 -msgid "See git help COMMAND for more information on a specific command." -msgstr "Sjá git help SKIPUN til að sjá hjálp fyrir tiltekna skipun." +msgid "See 'git help COMMAND' for more information on a specific command." +msgstr "Sjá 'git help SKIPUN' til að sjá hjálp fyrir tiltekna skipun." #. TRANSLATORS: This is a test. You don't need to translate it. #: t/t0200/test.c:9 diff --git a/t/t0200-gettext-basic.sh b/t/t0200-gettext-basic.sh index 522338d..3846ea8 100755 --- a/t/t0200-gettext-basic.sh +++ b/t/t0200-gettext-basic.sh @@ -66,10 +66,10 @@ test_expect_success GETTEXT_LOCALE 'sanity: gettext(unknown) is passed through' test_expect_success GETTEXT_LOCALE 'xgettext: C extraction of _() and N_() strings' ' printf "TILRAUN: C tilraunastrengur" >expect && printf "\n" >>expect && - printf "Sjá git help SKIPUN til að sjá hjálp fyrir tiltekna skipun." >>expect && + printf "Sjá '\''git help SKIPUN'\'' til að sjá hjálp fyrir tiltekna skipun." >>expect && LANGUAGE=is LC_ALL="$is_IS_locale" gettext "TEST: A C test string" >actual && printf "\n" >>actual && - LANGUAGE=is LC_ALL="$is_IS_locale" gettext "See git help COMMAND for more information on a specific command." >>actual && + LANGUAGE=is LC_ALL="$is_IS_locale" gettext "See '\''git help COMMAND'\'' for more information on a specific command." >>actual && test_cmp expect actual ' -- 1.7.2.2.536.g3f548 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html