Re: [PATCH 14/15] gettextize: git-revert split up "could not revert/apply" message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(+cc: Christian)

Ævar Arnfjörð Bjarmason wrote:

> Split up the "could not %s %s... %s" message into "could not revert
> %s... %s" and "could not apply %s... %s". This makes it easier for
> translators to understand the message.

Right, parts of speech can be a pain.  So:
Acked-by: Jonathan Nieder <jrnieder@xxxxxxxxx>

> --- a/t/t3507-cherry-pick-conflict.sh
> +++ b/t/t3507-cherry-pick-conflict.sh
> @@ -38,7 +38,7 @@ test_expect_success 'failed cherry-pick does not advance HEAD' '
>  	test "$head" = "$newhead"
>  '
>  
> -test_expect_success 'advice from failed cherry-pick' "
> +test_expect_success NO_GETTEXT_POISON 'advice from failed cherry-pick' "

An idea (it may or may not be a good one ;-)): what if we made the gettext
poison into an automatically generated .po file?  Then testing poison
would be a special case of running tests with an arbitrary locale:

 $ TEST_LANGUAGE=poison prove t[0-9]*.sh

and this test prerequisite could be more intuitively named LOCALE_C or
similar.
--
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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]