git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: ab/i18n
Date: Wed, 23 Feb 2011 22:00:35 -0600	[thread overview]
Message-ID: <20110224040035.GE7970@elie> (raw)
In-Reply-To: <AANLkTinY4pt5DLokKkuCNnC1yi7nQBHcZv722x9CKvCh@mail.gmail.com>

Ævar Arnfjörð Bjarmason wrote:
> On Thu, Feb 24, 2011 at 02:16, Junio C Hamano <gitster@pobox.com> wrote:
>> Jonathan Nieder <jrnieder@gmail.com> writes:

>>> I still don't like the #-sign business in this commit.  Couldn't it
>>> be split into a separate patch, not to be applied until just before
>>> the strings in commit/tag/wt-status are marked for translation?
>>
>> That might be a sensible thing to do.   Ævar what do you think?
>
> It could, but I don't want to spend time on it.

That doesn't answer the question, does it?  The question is whether
you'd be okay with the change (in which case we should do it --- it's
not like there's a shortage of people willing to write a one-line
patch) or not (in which case we shouldn't).

>> Yeah I would imagine it would leak.  Also blindly running rot13 to turn %d
>> into %q is probably not what you want.

The rot13 patch turns %d into 5q (and 5q into "d).  I think that
aspect can wait for later, of course --- a fixed string is not
actively bad or confusing.

> Of course there might be cases where a test will fail because it's
> supposed to end in \n but the poison string doesn't, but since none of
> them did I didn't worry about that.

Right, that's a downside to the rot13 patch --- it takes \n to \n so
it wouldn't catch such cases.  Easily fixable, though.

> I'd much
> rather have a few more tests skipped under this poison mode than 20
> extra lines of C code that effectively give us nothing

No disagreement here.  I think some cases (e.g., adding '# ' before
each line of the translated status hints) would give us something,
namely protection against hard-to-debug translation bugs.

Sorry for the grouchiness, and hope that helps.
Jonathan

  parent reply	other threads:[~2011-02-24  4:00 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-23 23:26 What's cooking in git.git (Feb 2011, #05; Wed, 23) Junio C Hamano
2011-02-23 23:48 ` ab/i18n (What's cooking in git.git (Feb 2011, #05; Wed, 23)) Jonathan Nieder
2011-02-24  1:16   ` Junio C Hamano
2011-02-24  2:55     ` Ævar Arnfjörð Bjarmason
2011-02-24  3:14       ` Jonathan Nieder
2011-02-24 10:38         ` Ævar Arnfjörð Bjarmason
2011-02-24 10:45           ` Jonathan Nieder
2011-02-24 11:00           ` Jonathan Nieder
2011-02-25 21:48             ` Ævar Arnfjörð Bjarmason
2011-02-26  5:14               ` Jonathan Nieder
2011-02-24  4:00       ` Jonathan Nieder [this message]
2011-02-24  9:56   ` Erik Faye-Lund
2011-02-24 10:27     ` ab/i18n Jonathan Nieder
2011-02-24 19:11       ` ab/i18n Junio C Hamano
2011-02-24 10:40     ` ab/i18n (What's cooking in git.git (Feb 2011, #05; Wed, 23)) Ævar Arnfjörð Bjarmason
2011-02-23 23:52 ` What's cooking in git.git (Feb 2011, #05; Wed, 23) Johan Herland
2011-02-24  0:43   ` Junio C Hamano
2011-02-24  1:04     ` Johan Herland
2011-02-24  0:32 ` Ævar Arnfjörð Bjarmason
2011-02-24  0:57   ` Junio C Hamano
2011-02-24  1:37     ` Ævar Arnfjörð Bjarmason
2011-02-24  1:59       ` Junio C Hamano
2011-02-24  2:07         ` Ævar Arnfjörð Bjarmason
2011-02-24  9:45   ` Erik Faye-Lund
2011-02-24 17:47     ` Ævar Arnfjörð Bjarmason
2011-02-24 22:39       ` Jonathan Nieder
2011-02-25  1:45       ` [msysGit] " Johannes Schindelin
2011-02-25  9:05     ` Kirill Smelkov
2011-02-25 11:11       ` Johannes Schindelin
2011-02-25 19:24         ` Kirill Smelkov
2011-02-25 21:54           ` Johannes Schindelin
2011-02-26 11:07             ` Kirill Smelkov
2011-02-26 19:07               ` Kirill Smelkov
2011-02-26 19:58                 ` cross-compiling msys-1.0.dll, was " Johannes Schindelin
2011-03-12 13:18                   ` Kirill Smelkov
2011-03-12 15:38                     ` Johannes Schindelin
2011-02-27 14:28               ` Johannes Schindelin
2011-03-12 13:16                 ` Kirill Smelkov
2011-02-26 10:24 ` Adding Beyond Compare as a merge tool, was: " Sebastian Schuberth
2011-02-26 10:33   ` Junio C Hamano
2011-02-26 10:48     ` Sebastian Schuberth
2011-02-27  5:38   ` Chris Packham
2011-02-27  9:09     ` Junio C Hamano
2011-02-27 10:58       ` Sebastian Schuberth
2011-02-27 10:57     ` Sebastian Schuberth
2011-02-27 11:15       ` Sebastian Schuberth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110224040035.GE7970@elie \
    --to=jrnieder@gmail.com \
    --cc=avarab@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).