* Fixing translation errors in gits error messages
@ 2015-05-03 16:39 Alangi Derick
2015-05-03 17:58 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Alangi Derick @ 2015-05-03 16:39 UTC (permalink / raw)
To: git
Hello,
I am embarking on the project of fixing all the translation
errors in the entire git source codes while maintaining the strings in
error(_( function the same. I will be sending a series of patches
which will include the fixes for all translation errors for files
containing them until i finish all this errors.
I ran the command:
git grep --cached -F -e 'error("' > fix_translation.txt
so that i can track all the files with the errors and fix them file
after file manually.
Regards
Alangi Derick Ndimnain
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Fixing translation errors in gits error messages 2015-05-03 16:39 Fixing translation errors in gits error messages Alangi Derick @ 2015-05-03 17:58 ` Junio C Hamano [not found] ` <CAKB+oNs2XLZSgJODcJ3_U-sgfFt4XjoO0AYW3HLKCdZRt7waeA@mail.gmail.com> 0 siblings, 1 reply; 3+ messages in thread From: Junio C Hamano @ 2015-05-03 17:58 UTC (permalink / raw) To: Alangi Derick; +Cc: git Alangi Derick <alangiderick@gmail.com> writes: > I ran the command: > git grep --cached -F -e 'error("' > fix_translation.txt > so that i can track all the files with the errors and fix them file > after file manually. That is a good first step to find candidates, but you have to be careful to sift that output into ones that needs marking and others. Some strings are for plumbing output that must never be translated. ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <CAKB+oNs2XLZSgJODcJ3_U-sgfFt4XjoO0AYW3HLKCdZRt7waeA@mail.gmail.com>]
* Re: Fixing translation errors in gits error messages [not found] ` <CAKB+oNs2XLZSgJODcJ3_U-sgfFt4XjoO0AYW3HLKCdZRt7waeA@mail.gmail.com> @ 2015-05-03 19:01 ` Alangi Derick 0 siblings, 0 replies; 3+ messages in thread From: Alangi Derick @ 2015-05-03 19:01 UTC (permalink / raw) To: Junio C Hamano, git Just for further clarifications, just tell me if i am correct. This is and example of that i am fixing right? void NORETURN die_resolve_conflict(const char *me) { error_resolve_conflict(me); - die("Exiting because of an unresolved conflict."); + die(_("Exiting because of an unresolved conflict.")); } Just tell me if i am on the right track. Regards Alangi Derick Ndimnain ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-03 19:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-03 16:39 Fixing translation errors in gits error messages Alangi Derick
2015-05-03 17:58 ` Junio C Hamano
[not found] ` <CAKB+oNs2XLZSgJODcJ3_U-sgfFt4XjoO0AYW3HLKCdZRt7waeA@mail.gmail.com>
2015-05-03 19:01 ` Alangi Derick
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox