summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2001-08-13 11:51:10 +0000
committerPablo Saratxaga <pablo@mandriva.com>2001-08-13 11:51:10 +0000
commite3c132b2ff126bc9c83f219e3ba5f45eb2892517 (patch)
tree667f1dbfd49cc65be0a135f0d5d7ec9cfea7fa78
parent624d07e6d14c2eb5f73c7b28131a76f4027e9588 (diff)
downloadcontrol-center-e3c132b2ff126bc9c83f219e3ba5f45eb2892517.tar
control-center-e3c132b2ff126bc9c83f219e3ba5f45eb2892517.tar.gz
control-center-e3c132b2ff126bc9c83f219e3ba5f45eb2892517.tar.bz2
control-center-e3c132b2ff126bc9c83f219e3ba5f45eb2892517.tar.xz
control-center-e3c132b2ff126bc9c83f219e3ba5f45eb2892517.zip
fixed display of %s in translatable strings
-rwxr-xr-xcontrol-center6
1 files changed, 3 insertions, 3 deletions
diff --git a/control-center b/control-center
index 9b82d503..8095d264 100755
--- a/control-center
+++ b/control-center
@@ -70,7 +70,7 @@ my $nb_pages=0;
my $window_global = new Gtk::Window -toplevel;
$window_global->signal_connect ( delete_event => sub { quit_global(); });
$window_global->set_position(1);
-$window_global->set_title(_("Mandrake Control Center %s", $_version));
+$window_global->set_title( sprintf( _("Mandrake Control Center %s"), $_version));
$window_global->border_width(0);
my $vbox_global = new Gtk::VBox(0, 0);
@@ -209,7 +209,7 @@ sub exec_treeitem {
$scrolled_global->set_usize($label eq _("Software Manager") ? 1 : 210, 0);
if (!$available) {
my $vbox = new Gtk::VBox(0, 0);
- $vbox->pack_start( new Gtk::Label (_("The application cannot be loaded,\nthe file '%s' has not be found.\nTry to install it.", $exec_string)), 1, 0, 0);
+ $vbox->pack_start( new Gtk::Label ( sprintf( _("The application cannot be loaded,\nthe file '%s' has not be found.\nTry to install it."), $exec_string)), 1, 0, 0);
$vbox->show_all;
$notebook_global->append_page($vbox, "");
$nb_pages++;
@@ -485,7 +485,7 @@ sub about_mdk_cc {
$button->signal_connect_object("clicked",$window_about => 'destroy');
$bbox1->add($button);
- my $label = new Gtk::Label( _("Mandrake Control Center %s \n \n Copyright (C) 2001 Mandrakesoft SA\n", $_version) );
+ my $label = new Gtk::Label( sprintf( _("Mandrake Control Center %s \n \n Copyright (C) 2001 Mandrakesoft SA\n"), $_version) );
my $style1 = new Gtk::Style;
$style1->font(Gtk::Gdk::Font->fontset_load(_("-adobe-times-bold-r-normal--14-*-100-100-p-*-iso8859-*,*-r-*")));
$label->set_style($style1);