summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-05-18 06:09:03 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-05-18 06:09:03 +0000
commit2d83725d04a3bae1c64fbb234f161d9ff37a8236 (patch)
tree6ea758fbed4a31289f823cf1fff99931cba904a7 /perl-install/any.pm
parentd9082da971b3146870d563fe9d994d8a6a50927d (diff)
downloaddrakx-2d83725d04a3bae1c64fbb234f161d9ff37a8236.tar
drakx-2d83725d04a3bae1c64fbb234f161d9ff37a8236.tar.gz
drakx-2d83725d04a3bae1c64fbb234f161d9ff37a8236.tar.bz2
drakx-2d83725d04a3bae1c64fbb234f161d9ff37a8236.tar.xz
drakx-2d83725d04a3bae1c64fbb234f161d9ff37a8236.zip
(selectCountry) only speak about other countries if needed
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index b909ad6aa..e7a972a0e 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -794,8 +794,8 @@ sub selectCountry {
{ title => N("Country / Region"),
messages => N("Please choose your country."),
interactive_help_id => 'selectCountry',
- advanced_messages => N("Here is the full list of available countries"),
- advanced_label => N("Other Countries"),
+ if_(@best, advanced_messages => N("Here is the full list of available countries")),
+ advanced_label => @best ? N("Other Countries") : N("Advanced"),
advanced_state => $ext_country && scalar(@best),
callbacks => { changed => sub { $_[0] != 2 and $other = $_[0] == 1 } },
},