git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Improving code base readability

From
Kevin Daudt <me@ikke.info>
Date
May 3, 2015, 16:11 UTC
Message-ID
<20150503161111.GA28448@vps892.directvps.nl>
In-Reply-To
<CAKB+oNtUy12qumkE7VAe8_N6aHesJtMqpWNxi3M-7yOviE6BLQ@mail.gmail.com>
On Sat, May 02, 2015 at 08:15:45AM +0100, Alangi Derick wrote:
> I read the po/README and also the po/TEAMS and i can't find English
> there as a language. So what should i do or is it that the english in
> the error messages are not clear that i can work on?

The idea is to find error messages in the code base that are not marked for translation. That is:

  error("Something is wrong"); 
should be:
  error(_("Something is wrong"));

This way, these strings will be extracted for the teams for translation. There is no english because those messages are already in the code.

Previous: Alangi Derick
Message 5 of 5 in “Improving code base readability”
  1. Alangi DerickMay 1, 2015
  2. Jonathan NiederMay 1, 2015
  3. Alangi DerickMay 2, 2015
  4. Alangi DerickMay 2, 2015
  5. Kevin DaudtMay 3, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.