]> git.ipfire.org Git - thirdparty/git.git/commit - unpack-trees.c
i18n: unpack-trees: avoid substituting only a verb in sentences
authorVasco Almeida <vascomalmeida@sapo.pt>
Thu, 12 May 2016 23:16:26 +0000 (23:16 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 May 2016 23:28:43 +0000 (16:28 -0700)
commit2e3926b9489cb767b38526a3a72403087053a1d8
tree0f24a6e8d7798a6093c7b81653ae67e436b437db
parentdaf9f6499f853804270da4456664c2ff576774de
i18n: unpack-trees: avoid substituting only a verb in sentences

Instead of reusing the same set of message templates for checkout
and other actions and substituting the verb with "%s", prepare
separate message templates for each known action. That would make
it easier for translation into languages where the same verb may
conjugate differently depending on the message we are giving.

See gettext documentation for details:
http://www.gnu.org/software/gettext/manual/html_node/Preparing-Strings.html

Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7609-merge-co-error-msgs.sh
unpack-trees.c