I've been playing around with draksplash, and it seems to be working
fine :-)
The only problem is that it looks REALLY ugly! The labels are all
centered and the other widgets are squashed up to the right in all
different sizes. I'm not sure how to fix these, but I've attatched a
diff to correct most of the strings. I assume this will need changes in
the po files?
Anyway, I hope it's useful
David Sansome
1c1
< #!/usr/bin/perl
---
> #!/usr/bin/perl
76,78c76,78
< my %first = ('frame'=>new Gtk::Frame(_("Theme Selection")),
< 'widget'=>{ 'label'=> { 'res'=>_("Resolution"),
< 'file'=>_("(No Image selected)"),
---
> my %first = ('frame'=>new Gtk::Frame(_("first step creation")),
> 'widget'=>{ 'label'=> { 'res'=>_("final resolution"),
> 'file'=>_("choose image file"),
81,85c81,85
< 'button'=>{ 'boot_conf'=>_("Advanced..."),
< 'lilo_conf'=>_("Configure Lilo"),
< 'kill'=>_("Cancel"),
< 'save'=>_("OK"),
< 'file'=>_("Browse..."),
---
> 'button'=>{ 'boot_conf'=>_("make bootsplash step 2"),
> 'lilo_conf'=>_("go to lilosplash configuration"),
> 'kill'=>_("quit"),
> 'save'=>_("save theme"),
> 'file'=>_("browse"),
99,107c99,107
< 'widget'=> { 'label' => { 'tx'=> _("X coordinate of text box (in number of characters)"),
< 'ty'=> _("Y coordinate of text box (in number of characters)"),
< 'tw'=> _("Text width"),
< 'th'=> _("Text height"),
< 'px'=> _("X coordinate of progress bar (pixels)"),
< 'py'=> _("Y coordinate of progress bar (pixels)"),
< 'pw'=> _("Progress bar width"),
< 'ph'=> _("Progress bar height"),
< 'pc'=> _("Progress bar colour")
---
> 'widget'=> { 'label' => { 'tx'=> _("x coordinate of text box in number of character"),
> 'ty'=> _("y coordinate of text box in number of character"),
> 'tw'=> _("text width"),
> 'th'=> _("text box height"),
> 'px'=> _("the progress bar x coordinate of its upper left corner"),
> 'py'=> _("the progress bar y coordinate of its upper left corner"),
> 'pw'=> _("the width of the progress bar"),
> 'ph'=> _("the heigth of the progress bar"),
> 'pc'=> _("the color of the progress bar")
119,121c119,121
< 'button' => { 'annul'=> _("OK"),
< 'prev'=>_("Preview"),
< 'pc'=> _("Choose colour"),
---
> 'button' => { 'annul'=> _("go back"),
> 'prev'=>_("preview"),
> 'pc'=> _("choose color"),
124,125c124,125
< 'check' => { 'logo' => _("Display logo on console" ),
< 'quiet'=> _("Make kernel messages quiet by default"),
---
> 'check' => { 'logo' => _("Display logo on Console" ),
> 'quiet'=> _("Make kernel message quiet by default"),
161c161
< member( $theme{'name'}, &giv_exist_thm) and &thm_in_this_res and &get_this_thm_res_conf or $in->ask_warn(_("Warning"),_("This theme does not yet have a picture in %s!\nYou will need to select one",$theme{'res'}{'res'}));
---
> member( $theme{'name'}, &giv_exist_thm) and &thm_in_this_res and &get_this_thm_res_conf or $in->ask_warn(_("Notice"),_("This theme haven't yet any bootsplash in %s !",$theme{'res'}{'res'}));
169,170c169,170
< my $file_dialog = new Gtk::FileSelection('Browse...');
< $file_dialog->set_filename( ( $first{'widgets'}{'label'}{'file'}->get ne _("Browse...") )?$first{'widgets'}{'label'}{'file'}->get:'~/' );
---
> my $file_dialog = new Gtk::FileSelection('choose image');
> $file_dialog->set_filename( ( $first{'widgets'}{'label'}{'file'}->get ne _("choose image file") )?$first{'widgets'}{'label'}{'file'}->get:'~/' );
213c213
< my $w = $in->wait_message('',_("Saving theme..."));
---
> my $w = $in->wait_message('',_("saving Bootsplash theme..."));
330c330
< $is_ok == 1 or $in->ask_warn(_("Warning"),_("This theme does not yet have a picture in %s!\nYou will need to select one",$theme{'res'}{'res'})) and return 0;
---
> $is_ok == 1 or $in->ask_warn(_("Notice"),_("This theme haven't yet any bootsplash in %s !",$theme{'res'}{'res'})) and return 0;
454c454
< $in->ask_warn(_("Warning"),_("You must choose an image file first!"));
---
> $in->ask_warn(_("Notice"),_("You must choose an image file first!"));