minor i18n related tweaks.
This commit is contained in:
parent
872951fc67
commit
dbb478b789
|
@ -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>
|
||||
|
||||
* configure.in: Added Portuguese (pt) to ALL_LINGUAS.
|
||||
|
|
|
@ -205,8 +205,8 @@ void VBox_VisualDisk::Build_Legend( )
|
|||
hbox_legend = manage( new Gtk::HBox() );
|
||||
frame_disk_legend ->add( *hbox_legend );
|
||||
|
||||
Add_Legend_Item( " " + (Glib::ustring) _( "used" ) + "\t", color_used ) ;
|
||||
Add_Legend_Item( " " + (Glib::ustring) _( "unused") + " ", color_unused ) ;
|
||||
Add_Legend_Item( (Glib::ustring) _( "used" ) + " ", color_used ) ;
|
||||
Add_Legend_Item( (Glib::ustring) _( "unused") + " ", color_unused ) ;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -350,8 +350,8 @@ void Win_GParted::Find_Devices()
|
|||
hbox ->pack_start( *image, Gtk::PACK_SHRINK );
|
||||
|
||||
//the label...
|
||||
os << Sector_To_MB( devices[i] ->Get_Length() ) ;
|
||||
label = manage( new Gtk::Label( " " + devices[i] ->Get_Path() + "\t (" + os.str() + " MB)" ) ); os.str("") ;
|
||||
label = manage( new Gtk::Label( " " + devices[i] ->Get_Path() + "\t(" + String::ucompose( _("%1 MB"), Sector_To_MB( devices[i] ->Get_Length() ) ) + ")" ) ) ;
|
||||
|
||||
label ->set_alignment( Gtk::ALIGN_LEFT );
|
||||
hbox ->pack_start( *label, Gtk::PACK_SHRINK );
|
||||
|
||||
|
|
Loading…
Reference in New Issue