Skip to contentSkip to conversation

gitk: Markup many strings for translation.

PATCH Brett Schwarz 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw
Quoted 14 lines

----- Original Message ----
From: Paul Mackerras <[email protected]>
To: Brett Schwarz <[email protected]>
Cc: Christian Stimming <[email protected]>; [email protected]
Sent: Friday, July 27, 2007 7:40:20 PM
Subject: Re: [PATCH 2/2] gitk: Markup many strings for translation.

Quoted 3 lines · Brett Schwarz
Quoted 2 lines
(quoted diff) +1 -1
-        set commitinfo($id) {"No commit information available"}
+        set commitinfo($id) {[mc "No commit information available"]}
Quoted 8 lines
Quoted 5 lines

I think this is probably a typo (on the original), and carrying that forward will probably result in what was not intended.

The original has the {} and "". I don't know if this was intended (it will keep the quotes).

Yes it is what was intended - it is a list with one element, which is a string.

Ah, ok. Then the patch probably should look like this then:

set commitinfo($id) [list [mc "No commit information available"]]

Regards,

    --brett

____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/