threads / patch / 34491

v2, 3 partsRe: [PATCH v2 1/3] Add translation ("yes","no","ask")

Subject: Re: [PATCH v2 1/3] Add translation ("yes","no","ask")

## tl;dr

2 messages between Jul 19, 2013 and Jul 22, 2013. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Yamada Saburo· Jul 19, 2013, 12:30 UTC · lore
Signed-off-by: Yamada Saburo <devil.tamachan@gmail.com>
---
 lib/option.tcl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to lib/option.tcl +1 −1
diff --git a/lib/option.tcl b/lib/option.tcl
index 0cf1da1..7af858c 100644
--- a/lib/option.tcl
+++ b/lib/option.tcl
@@ -158,7 +158,7 @@ proc do_options {} {
 		{t gui.newbranchtemplate {mc "New Branch Name Template"}}
 		{c gui.encoding {mc "Default File Contents Encoding"}}
 		{b gui.warndetachedcommit {mc "Warn before committing to a detached head"}}
-		{s gui.stageuntracked {mc "Staging of untracked files"} {list "yes"
"no" "ask"}}
+		{s gui.stageuntracked {mc "Staging of untracked files"} {list [mc
"yes"] [mc "no"] [mc "ask"]}}
 		} {
 		set type [lindex $option 0]
 		set name [lindex $option 1]
-- 
1.8.1.msysgit.1
Junio C Hamano· Jul 22, 2013, 22:31 UTC · re: Yamada Saburo · lore
Yamada Saburo <devil.tamachan@gmail.com> writes:
> Signed-off-by: Yamada Saburo <devil.tamachan@gmail.com>
This looks good to me.
Show 19 quoted lines
> ---
>  lib/option.tcl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/option.tcl b/lib/option.tcl
> index 0cf1da1..7af858c 100644
> --- a/lib/option.tcl
> +++ b/lib/option.tcl
> @@ -158,7 +158,7 @@ proc do_options {} {
>  		{t gui.newbranchtemplate {mc "New Branch Name Template"}}
>  		{c gui.encoding {mc "Default File Contents Encoding"}}
>  		{b gui.warndetachedcommit {mc "Warn before committing to a detached head"}}
> -		{s gui.stageuntracked {mc "Staging of untracked files"} {list "yes"
> "no" "ask"}}
> +		{s gui.stageuntracked {mc "Staging of untracked files"} {list [mc
> "yes"] [mc "no"] [mc "ask"]}}
>  		} {
>  		set type [lindex $option 0]
>  		set name [lindex $option 1]

← back to recent threads