minor i18n related tweaks.

This commit is contained in:
Bart Hakvoort 2004-09-29 09:13:04 +00:00
parent 872951fc67
commit dbb478b789
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2004-09-29 Bart Hakvoort <gparted@users.sf.net>
* src/VBox_VisualDisk.cc,
src/Win_GParted.cc: minor i18n related tweaks.
2004-09-29 Duarte Loreto <happyguy_pt@hotmail.com> 2004-09-29 Duarte Loreto <happyguy_pt@hotmail.com>
* configure.in: Added Portuguese (pt) to ALL_LINGUAS. * configure.in: Added Portuguese (pt) to ALL_LINGUAS.

View File

@ -205,8 +205,8 @@ void VBox_VisualDisk::Build_Legend( )
hbox_legend = manage( new Gtk::HBox() ); hbox_legend = manage( new Gtk::HBox() );
frame_disk_legend ->add( *hbox_legend ); frame_disk_legend ->add( *hbox_legend );
Add_Legend_Item( " " + (Glib::ustring) _( "used" ) + "\t", color_used ) ; Add_Legend_Item( (Glib::ustring) _( "used" ) + " ", color_used ) ;
Add_Legend_Item( " " + (Glib::ustring) _( "unused") + " ", color_unused ) ; Add_Legend_Item( (Glib::ustring) _( "unused") + " ", color_unused ) ;
} }
} }

View File

@ -350,8 +350,8 @@ void Win_GParted::Find_Devices()
hbox ->pack_start( *image, Gtk::PACK_SHRINK ); hbox ->pack_start( *image, Gtk::PACK_SHRINK );
//the label... //the label...
os << Sector_To_MB( devices[i] ->Get_Length() ) ; label = manage( new Gtk::Label( " " + devices[i] ->Get_Path() + "\t(" + String::ucompose( _("%1 MB"), Sector_To_MB( devices[i] ->Get_Length() ) ) + ")" ) ) ;
label = manage( new Gtk::Label( " " + devices[i] ->Get_Path() + "\t (" + os.str() + " MB)" ) ); os.str("") ;
label ->set_alignment( Gtk::ALIGN_LEFT ); label ->set_alignment( Gtk::ALIGN_LEFT );
hbox ->pack_start( *label, Gtk::PACK_SHRINK ); hbox ->pack_start( *label, Gtk::PACK_SHRINK );