{"thread":{"id":"48584","subject":"protocol for updating .po gettext files?","startedAt":"2018-05-28T11:59:08Z","lastAt":"2018-05-28T13:47:25Z","messageCount":2,"participants":["Robert P. J. Day","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"348658","messageId":"alpine.LFD.2.21.1805280754160.8049@localhost.localdomain","threadId":"48584","inReplyTo":null,"subject":"protocol for updating .po gettext files?","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2018-05-28T11:56:52Z","receivedAt":"2018-05-28T11:59:08Z","isPatch":false,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"\n   i was going to submit a minor patch to fix grammar here:\n\nbuiltin/init-db.c: warning(_(\"templates not found %s\"), template_dir);\n\nas it should display \"templates not found in %s\" to be consistent with\nother messages, but i know from nothing about .po files, so does one\nalso have to update those, or how does that work?\n\nrday\n\n-- \n\n========================================================================\nRobert P. J. Day                                 Ottawa, Ontario, CANADA\n                  http://crashcourse.ca/dokuwiki\n\nTwitter:                                       http://twitter.com/rpjday\nLinkedIn:                               http://ca.linkedin.com/in/rpjday\n========================================================================\n"},{"id":"348669","messageId":"xmqqvab7j3ix.fsf@gitster-ct.c.googlers.com","threadId":"48584","inReplyTo":"alpine.LFD.2.21.1805280754160.8049@localhost.localdomain","subject":"Re: protocol for updating .po gettext files?","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2018-05-28T13:47:18Z","receivedAt":"2018-05-28T13:47:25Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Robert P. J. Day\" <rpjday@crashcourse.ca> writes:\n\n>    i was going to submit a minor patch to fix grammar here:\n>\n> builtin/init-db.c: warning(_(\"templates not found %s\"), template_dir);\n>\n> as it should display \"templates not found in %s\" to be consistent with\n> other messages, but i know from nothing about .po files, so does one\n> also have to update those, or how does that work?\n\nYou as a developer generally don't.  Instead, you just update the\ncode i.e.\n\n\t-\twarning(_(\"t not found %s\"), t);\n\t+\twarning(_(\"t not found in %s\"), t);\n\nand leave it up to the i18n coordinator to update *.pot and *.po so\nthat localization teams can work on it, which all happens closer to\nthe next release.\n\nI think po/README has a bit more details describing which part is\nhandled by whom.\n\n"}]}