Skip to content

Commit

Permalink
git-gui: Don't translate the special Apple menu
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shawn O. Pearce committed Mar 15, 2008
1 parent 427f486 commit 442b3ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion git-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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]] \
Expand Down
2 changes: 1 addition & 1 deletion lib/choose_repository.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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]] \
Expand Down

0 comments on commit 442b3ca

Please sign in to comment.