Skip to content

Commit

Permalink
git-gui: Avoid using the term URL when specifying repositories
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Petr Baudis authored and Shawn O. Pearce committed Sep 30, 2008
1 parent bb4812b commit 4259568
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/choose_repository.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ method _do_clone {} {
frame $w_body.args
pack $args -fill both

label $args.origin_l -text [mc "URL:"]
label $args.origin_l -text [mc "Source Location:"]
entry $args.origin_t \
-textvariable @origin_url \
-font font_diff \
Expand All @@ -473,7 +473,7 @@ method _do_clone {} {
-command [cb _open_origin]
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 \
-textvariable @local_path \
-font font_diff \
Expand Down
2 changes: 1 addition & 1 deletion lib/remote_branch_delete.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ constructor dialog {} {
set urltype url
}
radiobutton $w.dest.url_r \
-text [mc "Arbitrary URL:"] \
-text [mc "Arbitrary Location:"] \
-value url \
-variable @urltype
entry $w.dest.url_t \
Expand Down
2 changes: 1 addition & 1 deletion lib/transport.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ proc do_push_anywhere {} {
set push_urltype url
}
radiobutton $w.dest.url_r \
-text [mc "Arbitrary URL:"] \
-text [mc "Arbitrary Location:"] \
-value url \
-variable push_urltype
entry $w.dest.url_t \
Expand Down

0 comments on commit 4259568

Please sign in to comment.