src/Dialog_Base_Partition.cc and src/Win_GParted.cc: removed spaces before some exclamation and question marks

This commit is contained in:
Bart Hakvoort 2004-10-07 15:28:13 +00:00
parent 8d3a201896
commit 9db1a85a0d
3 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2004-10-07 Bart Hakvoort <gparted@users.sf.net>
* src/Dialog_Base_Partition.cc,
src/Win_GParted.cc: removed spaces before some exclamation and question marks (thanks to Jordi Mallach)
2004-10-07 Bart Hakvoort <gparted@users.sf.net> 2004-10-07 Bart Hakvoort <gparted@users.sf.net>
* src/Dialog_About.cc: unmarked 'Copyright' string for translation and replaced (c) with © * src/Dialog_About.cc: unmarked 'Copyright' string for translation and replaced (c) with ©

View File

@ -51,21 +51,21 @@ Dialog_Base_Partition::Dialog_Base_Partition( )
vbox_resize_move .pack_start( hbox_table, Gtk::PACK_SHRINK ); vbox_resize_move .pack_start( hbox_table, Gtk::PACK_SHRINK );
//add spinbutton_before //add spinbutton_before
table_resize.attach( * mk_label( (Glib::ustring) _( "Free Space Preceding (MB) :") + " \t" ), 0, 1, 0, 1, Gtk::SHRINK); table_resize.attach( * mk_label( (Glib::ustring) _( "Free Space Preceding (MB):") + " \t" ), 0, 1, 0, 1, Gtk::SHRINK);
spinbutton_before .set_numeric( true ); spinbutton_before .set_numeric( true );
spinbutton_before .set_increments( 1, 100 ); spinbutton_before .set_increments( 1, 100 );
table_resize.attach( spinbutton_before, 1, 2, 0, 1, Gtk::FILL); table_resize.attach( spinbutton_before, 1, 2, 0, 1, Gtk::FILL);
//add spinbutton_size //add spinbutton_size
table_resize.attach( * mk_label( _( "New Size (MB) :" ) ), 0, 1, 1, 2 ); table_resize.attach( * mk_label( _( "New Size (MB):" ) ), 0, 1, 1, 2 );
spinbutton_size .set_numeric( true ); spinbutton_size .set_numeric( true );
spinbutton_size .set_increments( 1, 100 ); spinbutton_size .set_increments( 1, 100 );
table_resize.attach( spinbutton_size, 1, 2, 1, 2, Gtk::FILL); table_resize.attach( spinbutton_size, 1, 2, 1, 2, Gtk::FILL);
//add spinbutton_after //add spinbutton_after
table_resize.attach( * mk_label( _( "Free Space Following (MB) :") ), 0, 1, 2, 3 ) ; table_resize.attach( * mk_label( _( "Free Space Following (MB):") ), 0, 1, 2, 3 ) ;
spinbutton_after .set_numeric( true ); spinbutton_after .set_numeric( true );
spinbutton_after .set_increments( 1, 100 ); spinbutton_after .set_increments( 1, 100 );

View File

@ -915,7 +915,7 @@ void Win_GParted::activate_delete()
} }
str_temp = "<span weight=\"bold\" size=\"larger\">" ; str_temp = "<span weight=\"bold\" size=\"larger\">" ;
str_temp += String::ucompose( _( "Are you sure you want to delete %1 ?"), selected_partition.partition ) + "</span>" ; str_temp += String::ucompose( _( "Are you sure you want to delete %1?"), selected_partition.partition ) + "</span>" ;
if ( selected_partition .partition == copied_partition .partition ) if ( selected_partition .partition == copied_partition .partition )
{ {
str_temp += "\n\n" ; str_temp += "\n\n" ;
@ -986,7 +986,7 @@ void Win_GParted::activate_convert( const Glib::ustring & new_fs )
{ {
//standard warning.. //standard warning..
str_temp = "<span weight=\"bold\" size=\"larger\">" ; str_temp = "<span weight=\"bold\" size=\"larger\">" ;
str_temp += String::ucompose( _("Are you sure you want to convert this filesystem to %1 ?"), new_fs ) + "</span>\n\n" ; str_temp += String::ucompose( _("Are you sure you want to convert this filesystem to %1?"), new_fs ) + "</span>\n\n" ;
str_temp += String::ucompose( _("This operation will destroy all data on %1"), selected_partition .partition ) ; str_temp += String::ucompose( _("This operation will destroy all data on %1"), selected_partition .partition ) ;
Gtk::MessageDialog dialog( *this, str_temp, true, Gtk::MESSAGE_QUESTION, Gtk::BUTTONS_CANCEL, true); Gtk::MessageDialog dialog( *this, str_temp, true, Gtk::MESSAGE_QUESTION, Gtk::BUTTONS_CANCEL, true);
@ -1107,7 +1107,7 @@ void Win_GParted::activate_apply()
{ {
str_temp = "<span weight=\"bold\" size=\"larger\">" ; str_temp = "<span weight=\"bold\" size=\"larger\">" ;
/*TO TRANSLATORS: after the colon (:) a list of devices will be shown */ /*TO TRANSLATORS: after the colon (:) a list of devices will be shown */
str_temp += _("The kernel was unable to re-read the partition table on :") ; str_temp += _("The kernel was unable to re-read the partition table on:") ;
str_temp += "\n"; str_temp += "\n";
for (unsigned int t=0; t<devicenames .size(); t++ ) for (unsigned int t=0; t<devicenames .size(); t++ )
str_temp += "- " + devicenames[ t ] + "\n"; str_temp += "- " + devicenames[ t ] + "\n";