Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-gui i18n: mark "usage:" strings for translation
author
Vasco Almeida
<vascomalmeida@sapo.pt>
Sun, 8 May 2016 10:52:56 +0000
(10:52 +0000)
committer
Pat Thoyts
<patthoyts@users.sourceforge.net>
Mon, 3 Oct 2016 22:40:04 +0000
(23:40 +0100)
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>
git-gui.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
eca9636
)
diff --git
a/git-gui.sh
b/git-gui.sh
index 5e3fb23300583755b16f112ca6c339ab2ef9fd94..f9b323abff381be44d056ee56105270830a43146 100755
(executable)
--- a/
git-gui.sh
+++ b/
git-gui.sh
@@
-3029,7
+3029,7
@@
bind all <$M1B-Key-W> {destroy [winfo toplevel %W]}
set subcommand_args {}
proc usage {} {
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 \
if {[tk windowingsystem] eq "win32"} {
wm withdraw .
tk_messageBox -icon info -message $s \
@@
-3161,7
+3161,7
@@
gui {
# fall through to setup UI for commits
}
default {
# 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 \
if {[tk windowingsystem] eq "win32"} {
wm withdraw .
tk_messageBox -icon error -message $err \