summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-12 10:26:16 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-12 10:26:16 +0000
commit406f9a546c77e4d52a27f96943715c003a4af2a9 (patch)
tree12b1beb75c48d14b7d5e246dbd3468c004a1379c
parent96383ba7fe1fc97890f5d86e088caca3bcfc73c0 (diff)
downloaddrakx-406f9a546c77e4d52a27f96943715c003a4af2a9.tar
drakx-406f9a546c77e4d52a27f96943715c003a4af2a9.tar.gz
drakx-406f9a546c77e4d52a27f96943715c003a4af2a9.tar.bz2
drakx-406f9a546c77e4d52a27f96943715c003a4af2a9.tar.xz
drakx-406f9a546c77e4d52a27f96943715c003a4af2a9.zip
better let pango/Gtk+ do the proper wrapping that let translator
manually insert end of lines which will badly look depending on current theme and font settings
-rwxr-xr-xperl-install/standalone/drakbug5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug
index 5942796b6..461e411c6 100755
--- a/perl-install/standalone/drakbug
+++ b/perl-install/standalone/drakbug
@@ -27,7 +27,7 @@ use common;
use ugtk2 qw(:all);
use Config;
-my ($bugzilla, $upload_info, $wizard_name);
+my ($bugzilla, $wizard_name);
my $prog;
my ($incident, $stable_release) = (0, 0);
my ($bugdesc, $bugwrite, $table, $comb_app, $button_pkg, $package, $extra_data, $summary, $textview, $kversion, $cpuinfo, $lspci);
@@ -77,7 +77,6 @@ if ($mandrake_release =~ /(official|community)/i) {
$bugzilla = 'http://qa.mandrakesoft.com/enter_bug.cgi';
$wizard_name = "Bugzilla wizard";
}
-$upload_info = N("To submit a bug report, click on the report button.\nThis will open a web browser window on %s\n where you'll find a form to fill in. The information displayed above will be \ntransferred to that server.", $wizard_name);
if ($stable_release == 0) {
$table = create_packtable({ col_spacings => 5, row_spacings => 10 },
@@ -122,7 +121,7 @@ gtkadd($window->{window},
0, gtkadd($table),
1, gtkadd($extra_data),
0, gtkpack(Gtk2::HBox->new(0,0),
- gtkpack(gtkset_justify(Gtk2::Label->new($upload_info), "left")),
+ gtkpack(gtkset_justify(Gtk2::WrappedLabel->new(formatAlaTeX(N("To submit a bug report, click on the report button.\nThis will open a web browser window on %s\n where you'll find a form to fill in. The information displayed above will be \ntransferred to that server.", $wizard_name))), "left")),
),
0, gtkpack(Gtk2::HSeparator->new),
0, gtkpack_(Gtk2::HBox->new(0,0),