summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-06-27 14:21:21 +0000
committerThierry Vignaud <tv@mandriva.org>2007-06-27 14:21:21 +0000
commit6f3d702fcd421c57930770819e383e279fe49ab6 (patch)
treea7f8d9433c0d24a4c3eafd5c832a83a552f7574c
parentddcfd3a64af4907e506a87ac48289ca875159ae7 (diff)
downloadcontrol-center-6f3d702fcd421c57930770819e383e279fe49ab6.tar
control-center-6f3d702fcd421c57930770819e383e279fe49ab6.tar.gz
control-center-6f3d702fcd421c57930770819e383e279fe49ab6.tar.bz2
control-center-6f3d702fcd421c57930770819e383e279fe49ab6.tar.xz
control-center-6f3d702fcd421c57930770819e383e279fe49ab6.zip
(about_mdk_cc) display the release in the about dialog by replacing
"Mandriva Linux Control Center" by eg: "Mandriva Linux 2007.1 (Discovery) Control Center" (#31223)
-rwxr-xr-xcontrol-center7
1 files changed, 6 insertions, 1 deletions
diff --git a/control-center b/control-center
index 06e53905..f6e47963 100755
--- a/control-center
+++ b/control-center
@@ -1905,8 +1905,13 @@ sub about_mdk_cc() {
}
$list->get_selection->set_mode('none');
+ my $release = mandrake_release_info();
gtkpack_($window_about->vbox,
- (0, gtkset_size_request(Gtk2::Banner->new('splash_screen_about', N("Mandriva Linux Control Center"), { txt_ypos => 50 }), -1, 120)),
+ (0, gtkset_size_request(Gtk2::Banner->new('splash_screen_about',
+ #-PO: here, %s will be replaced by the version (eg: "Mandriva Linux 2007.1 (Discovery) Control Center")
+ N("Mandriva Linux %s (%s) Control Center",
+ @$release{qw(version product)}),
+ { txt_ypos => 50 }), -1, 120)),
0, Gtk2::Label->new(""),
0, Gtk2::Label->new(N("Copyright (C) 1999-2007 Mandriva SA") . "\n"),
0, Gtk2::HSeparator->new,