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

Subsystems: library code, the rest

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: Yamada Saburo <hidden>
Date: 2016-06-15 22:58:12

Signed-off-by: Yamada Saburo <redacted>
---
 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]
-- 
1.8.1.msysgit.1

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:58:14

Yamada Saburo [off-list ref] writes:
Signed-off-by: Yamada Saburo <redacted>
This looks good to me.
quoted hunk
---
 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]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help