git-gui: Avoid using the term URL when specifying repositories

Instead, 'Location' is used to label such inputs; in the Clone dialog,
'Source' and 'Target' are also introduced to further clarify the situation.
The intent is to increase GUI consistency in the case location templates
(upcoming) are used - then, other locators than URL may be used.

Signed-off-by: Petr Baudis <petr.baudis@novartis.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
maint
Petr Baudis 2008-09-25 00:12:50 +02:00 committed by Shawn O. Pearce
parent bb4812bc0a
commit 4259568d72
3 changed files with 4 additions and 4 deletions

View File

@ -463,7 +463,7 @@ method _do_clone {} {
frame $w_body.args frame $w_body.args
pack $args -fill both pack $args -fill both


label $args.origin_l -text [mc "URL:"] label $args.origin_l -text [mc "Source Location:"]
entry $args.origin_t \ entry $args.origin_t \
-textvariable @origin_url \ -textvariable @origin_url \
-font font_diff \ -font font_diff \
@ -473,7 +473,7 @@ method _do_clone {} {
-command [cb _open_origin] -command [cb _open_origin]
grid $args.origin_l $args.origin_t $args.origin_b -sticky ew grid $args.origin_l $args.origin_t $args.origin_b -sticky ew


label $args.where_l -text [mc "Directory:"] label $args.where_l -text [mc "Target Directory:"]
entry $args.where_t \ entry $args.where_t \
-textvariable @local_path \ -textvariable @local_path \
-font font_diff \ -font font_diff \

View File

@ -63,7 +63,7 @@ constructor dialog {} {
set urltype url set urltype url
} }
radiobutton $w.dest.url_r \ radiobutton $w.dest.url_r \
-text [mc "Arbitrary URL:"] \ -text [mc "Arbitrary Location:"] \
-value url \ -value url \
-variable @urltype -variable @urltype
entry $w.dest.url_t \ entry $w.dest.url_t \

View File

@ -135,7 +135,7 @@ proc do_push_anywhere {} {
set push_urltype url set push_urltype url
} }
radiobutton $w.dest.url_r \ radiobutton $w.dest.url_r \
-text [mc "Arbitrary URL:"] \ -text [mc "Arbitrary Location:"] \
-value url \ -value url \
-variable push_urltype -variable push_urltype
entry $w.dest.url_t \ entry $w.dest.url_t \