From: Vasco Almeida Date: Sun, 08 May 2016 10:52:56 GMT Subject: [PATCH 3/5] git-gui i18n: mark "usage:" strings for translation Message-ID: <1462704778-4722-3-git-send-email-vascomalmeida@sapo.pt> In-Reply-To: <1462704778-4722-1-git-send-email-vascomalmeida@sapo.pt> Mark command-line "usage:" string for translation in git-gui.sh. Signed-off-by: Vasco Almeida --- git-gui.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-gui.sh b/git-gui.sh index 11048c7..4ae344f 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -3007,7 +3007,7 @@ bind all <$M1B-Key-W> {destroy [winfo toplevel %W]} set subcommand_args {} proc usage {} { - set s "usage: $::argv0 $::subcommand $::subcommand_args" + set s "[mc usage:] $::argv0 $::subcommand $::subcommand_args" if {[tk windowingsystem] eq "win32"} { wm withdraw . tk_messageBox -icon info -message $s \ @@ -3139,7 +3139,7 @@ gui { # fall through to setup UI for commits } default { - set err "usage: $argv0 \[{blame|browser|citool}\]" + set err "[mc usage:] $argv0 \[{blame|browser|citool}\]" if {[tk windowingsystem] eq "win32"} { wm withdraw . tk_messageBox -icon error -message $err \ -- 2.7.3