summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-03-15 05:11:08 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2008-03-15 05:11:08 (GMT)
commit442b3caaee6da96292baf1769b364498af5097fa (patch)
tree9fffaebc127a43d43b306b895741820ead6d0bbd
parent427f48603ef0384bbb5f0de37272ad44c38cae1d (diff)
downloadgit-442b3caaee6da96292baf1769b364498af5097fa.zip
git-442b3caaee6da96292baf1769b364498af5097fa.tar.gz
git-442b3caaee6da96292baf1769b364498af5097fa.tar.bz2
git-gui: Don't translate the special Apple menu
Peter Karlsson pointed out there is no value in translating the string "Apple", as this is used as the dummy label for the Apple menu on Mac OS X systems. The Apple menu is actually not the menu with the Apple corporate logo, but the menu next to it, which shows the name of the application and is typically called the application menu. Most users of git-gui see this menu titled as "Git Gui". The actual label of this menu comes from our Info.plist file and cannot be specified by any other means. Translating this string in the Tcl PO files is not necessary. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rwxr-xr-xgit-gui.sh2
-rw-r--r--lib/choose_repository.tcl2
2 files changed, 2 insertions, 2 deletions
diff --git a/git-gui.sh b/git-gui.sh
index 3a58cd2..5e97fbf 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -2089,7 +2089,7 @@ if {[is_enabled transport]} {
if {[is_MacOSX]} {
# -- Apple Menu (Mac OS X only)
#
- .mbar add cascade -label [mc Apple] -menu .mbar.apple
+ .mbar add cascade -label Apple -menu .mbar.apple
menu .mbar.apple
.mbar.apple add command -label [mc "About %s" [appname]] \
diff --git a/lib/choose_repository.tcl b/lib/choose_repository.tcl
index 0adcf9d..ae4a4cd 100644
--- a/lib/choose_repository.tcl
+++ b/lib/choose_repository.tcl
@@ -38,7 +38,7 @@ constructor pick {} {
menu $m_repo
if {[is_MacOSX]} {
- $w.mbar add cascade -label [mc Apple] -menu .mbar.apple
+ $w.mbar add cascade -label Apple -menu .mbar.apple
menu $w.mbar.apple
$w.mbar.apple add command \
-label [mc "About %s" [appname]] \