summaryrefslogtreecommitdiff
path: root/lib/shortcut.tcl
diff options
context:
space:
mode:
authorPat Thoyts <patthoyts@users.sourceforge.net>2016-10-03 23:40:50 +0100
committerPat Thoyts <patthoyts@users.sourceforge.net>2016-10-03 23:40:50 +0100
commit52f2445d5c70a204f614fd83cf98a27359dff04c (patch)
tree56fdf799654d24e1fcdc49658e9db215d54d45ba /lib/shortcut.tcl
parent99ba48e397995a4b06a57f78e5611a29d239e5ea (diff)
parent9360fc22eaa5e8db33f1806a8e23afb83369a2f5 (diff)
Merge branch 'va/i18n_2' into pu
Diffstat (limited to 'lib/shortcut.tcl')
-rw-r--r--lib/shortcut.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/shortcut.tcl b/lib/shortcut.tcl
index 39d23f96df..97d1d7aa02 100644
--- a/lib/shortcut.tcl
+++ b/lib/shortcut.tcl
@@ -5,7 +5,7 @@ proc do_windows_shortcut {} {
global _gitworktree
set fn [tk_getSaveFile \
-parent . \
- -title [append "[appname] ([reponame]): " [mc "Create Desktop Icon"]] \
+ -title [mc "%s (%s): Create Desktop Icon" [appname] [reponame]] \
-initialfile "Git [reponame].lnk"]
if {$fn != {}} {
if {[file extension $fn] ne {.lnk}} {
@@ -40,7 +40,7 @@ proc do_cygwin_shortcut {} {
}
set fn [tk_getSaveFile \
-parent . \
- -title [append "[appname] ([reponame]): " [mc "Create Desktop Icon"]] \
+ -title [mc "%s (%s): Create Desktop Icon" [appname] [reponame]] \
-initialdir $desktop \
-initialfile "Git [reponame].lnk"]
if {$fn != {}} {
@@ -72,7 +72,7 @@ proc do_macosx_app {} {
set fn [tk_getSaveFile \
-parent . \
- -title [append "[appname] ([reponame]): " [mc "Create Desktop Icon"]] \
+ -title [mc "%s (%s): Create Desktop Icon" [appname] [reponame]] \
-initialdir [file join $env(HOME) Desktop] \
-initialfile "Git [reponame].app"]
if {$fn != {}} {