git-gui i18n: mark "usage:" strings for translation
Mark command-line "usage:" string for translation in git-gui.sh. Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
This commit is contained in:

committed by
Pat Thoyts

parent
eca963683c
commit
43c65a85c4
@ -3029,7 +3029,7 @@ bind all <$M1B-Key-W> {destroy [winfo toplevel %W]}
|
|||||||
|
|
||||||
set subcommand_args {}
|
set subcommand_args {}
|
||||||
proc usage {} {
|
proc usage {} {
|
||||||
set s "usage: $::argv0 $::subcommand $::subcommand_args"
|
set s "[mc usage:] $::argv0 $::subcommand $::subcommand_args"
|
||||||
if {[tk windowingsystem] eq "win32"} {
|
if {[tk windowingsystem] eq "win32"} {
|
||||||
wm withdraw .
|
wm withdraw .
|
||||||
tk_messageBox -icon info -message $s \
|
tk_messageBox -icon info -message $s \
|
||||||
@ -3161,7 +3161,7 @@ gui {
|
|||||||
# fall through to setup UI for commits
|
# fall through to setup UI for commits
|
||||||
}
|
}
|
||||||
default {
|
default {
|
||||||
set err "usage: $argv0 \[{blame|browser|citool}\]"
|
set err "[mc usage:] $argv0 \[{blame|browser|citool}\]"
|
||||||
if {[tk windowingsystem] eq "win32"} {
|
if {[tk windowingsystem] eq "win32"} {
|
||||||
wm withdraw .
|
wm withdraw .
|
||||||
tk_messageBox -icon error -message $err \
|
tk_messageBox -icon error -message $err \
|
||||||
|
Reference in New Issue
Block a user