{"thread":{"id":"39228","subject":"Fixing translation errors in gits error messages","startedAt":"2015-05-03T16:39:27Z","lastAt":"2015-05-03T19:01:29Z","messageCount":3,"participants":["Alangi Derick","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"260468","messageId":"CAKB+oNsa5c3zwx03pm7P_FDO3Xdxgr+rBOncAAmAjQL4LLJOdg@mail.gmail.com","threadId":"39228","inReplyTo":null,"subject":"Fixing translation errors in gits error messages","fromName":"Alangi Derick","fromEmail":"alangiderick@gmail.com","sentAt":"2015-05-03T16:39:27Z","receivedAt":"2015-05-03T16:39:27Z","isPatch":false,"sender":{"key":"alangiderick@gmail.com","avatar":"https://gravatar.com/avatar/f5878e69e83b4cf7ed499336c4a114dc2cb253253bc57c9b8ffcf0e129320795?d=mp&s=160"},"body":"Hello,\n     I am embarking on the project of fixing all the translation\nerrors in the entire git source codes while maintaining the strings in\nerror(_( function the same. I will be sending a series of patches\nwhich will include the fixes for all translation errors for files\ncontaining them until i finish all this errors.\n\nI ran the command:\n git grep --cached -F -e 'error(\"' > fix_translation.txt\nso that i can track all the files with the errors and fix them file\nafter file manually.\n\nRegards\nAlangi Derick Ndimnain\n"},{"id":"260479","messageId":"xmqqh9rtv8yz.fsf@gitster.dls.corp.google.com","threadId":"39228","inReplyTo":"CAKB+oNsa5c3zwx03pm7P_FDO3Xdxgr+rBOncAAmAjQL4LLJOdg@mail.gmail.com","subject":"Re: Fixing translation errors in gits error messages","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2015-05-03T17:58:44Z","receivedAt":"2015-05-03T17:58:44Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Alangi Derick <alangiderick@gmail.com> writes:\n\n> I ran the command:\n>  git grep --cached -F -e 'error(\"' > fix_translation.txt\n> so that i can track all the files with the errors and fix them file\n> after file manually.\n\nThat is a good first step to find candidates, but you have to be\ncareful to sift that output into ones that needs marking and others.\nSome strings are for plumbing output that must never be translated.\n"},{"id":"260480","messageId":"CAKB+oNve6xyTe3QZyf1AkV6A1aDKr9mgTXuM8V9eEKVrjwmQnA@mail.gmail.com","threadId":"39228","inReplyTo":"CAKB+oNs2XLZSgJODcJ3_U-sgfFt4XjoO0AYW3HLKCdZRt7waeA@mail.gmail.com","subject":"Re: Fixing translation errors in gits error messages","fromName":"Alangi Derick","fromEmail":"alangiderick@gmail.com","sentAt":"2015-05-03T19:01:29Z","receivedAt":"2015-05-03T19:01:29Z","isPatch":false,"sender":{"key":"alangiderick@gmail.com","avatar":"https://gravatar.com/avatar/f5878e69e83b4cf7ed499336c4a114dc2cb253253bc57c9b8ffcf0e129320795?d=mp&s=160"},"body":"Just for further clarifications, just tell me if i am correct. This is\nand example of that i am fixing right?\nvoid NORETURN die_resolve_conflict(const char *me)\n\n {\n  error_resolve_conflict(me);\n- die(\"Exiting because of an unresolved conflict.\");\n+ die(_(\"Exiting because of an unresolved conflict.\"));\n }\n\nJust tell me if i am on the right track.\n\nRegards\nAlangi Derick Ndimnain\n"}]}