Re: [PATCH 1/5] git-gui i18n: mark strings for translation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vasco Almeida <vascomalmeida@xxxxxxx> writes:

>Mark strings for translation in lib/index.tcl that were seemingly
>left behind by 700e560 ("git-gui: Mark forgotten strings for
>translation.", 2008-09-04) which marks string in do_revert_selection
>procedure.
>These strings are passed to unstage_help and add_helper procedures.
>
>Signed-off-by: Vasco Almeida <vascomalmeida@xxxxxxx>
>---
> lib/index.tcl | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
>diff --git a/lib/index.tcl b/lib/index.tcl
>index 74a81a7..3a3e534 100644
>--- a/lib/index.tcl
>+++ b/lib/index.tcl
>@@ -291,7 +291,7 @@ proc do_unstage_selection {} {
> 
> 	if {[array size selected_paths] > 0} {
> 		unstage_helper \
>-			{Unstaging selected files from commit} \
>+			[mc "Unstaging selected files from commit"] \
> 			[array names selected_paths]
> 	} elseif {$current_diff_path ne {}} {
> 		unstage_helper \
>@@ -343,7 +343,7 @@ proc do_add_selection {} {
> 
> 	if {[array size selected_paths] > 0} {
> 		add_helper \
>-			{Adding selected files} \
>+			[mc "Adding selected files"] \
> 			[array names selected_paths]
> 	} elseif {$current_diff_path ne {}} {
> 		add_helper \
>@@ -385,7 +385,7 @@ proc do_add_all {} {
> 			set paths [concat $paths $untracked_paths]
> 		}
> 	}
>-	add_helper {Adding all changed files} $paths
>+	add_helper [mc "Adding all changed files"] $paths
> }
> 
> proc revert_helper {txt paths} {

This series looks good. Especially noticing the misuse of the append
command. Applied to my pu for now.
Thank you,

-- 
Pat Thoyts                            http://www.patthoyts.tk/
PGP fingerprint 2C 6E 98 07 2C 59 C8 97  10 CE 11 E6 04 E0 B9 DD



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]