Subject: Re: [PATCH][GSOC] Selection of the verbose message is replaced with generated message in install_branch_config()

From: Aleksey Mokhovikov <[email-masked]>
Date: Tue, 18 Mar 2014 21:42:58 +0700

Matthieu Moy <Matthieu.Moy <at> grenoble-inp.fr> writes:

>
> Hi,
>
> Aleksey Mokhovikov <moxobukob <at> gmail.com> writes:
>
> Please, read the threads for other submissions for this microproject.
> Most remarks done there also apply for your case. See for example:
>
>   http://thread.gmane.org/gmane.comp.version-control.git/244210
>

Thank you for your reply.

I've read a bit more GNU gettext manual to get information
about translation with GNU gettext. Long story short, the idea to
generate message from parts will produce even more problems, despite
the message strings passed to the _() are equal before and after the patch.

So I decided to make an array with all messages and mark them for translation with "N_()" to keep them together. Because
we now have an array we can improve it to make a table with message format string and arguments. Now we need just to
find the proper message index to print the message.

Please look at another approach:
http://permalink.gmane.org/gmane.comp.version-control.git/244357