Change field labels to sentence capitalization (#583885)
This change done to align with the GNOME Human Interface Guidelines. http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en
This commit is contained in:
parent
4a8ecdc613
commit
a960d280d8
|
@ -53,7 +53,7 @@ Dialog_Base_Partition::Dialog_Base_Partition()
|
|||
|
||||
//add spinbutton_before
|
||||
table_resize .attach(
|
||||
* Utils::mk_label( static_cast<Glib::ustring>( _( "Free Space Preceding (MiB):") ) + " \t" ),
|
||||
* Utils::mk_label( static_cast<Glib::ustring>( _( "Free space preceding (MiB):") ) + " \t" ),
|
||||
0, 1, 0, 1,
|
||||
Gtk::SHRINK );
|
||||
|
||||
|
@ -62,14 +62,14 @@ Dialog_Base_Partition::Dialog_Base_Partition()
|
|||
table_resize.attach( spinbutton_before, 1, 2, 0, 1, Gtk::FILL );
|
||||
|
||||
//add spinbutton_size
|
||||
table_resize.attach( * Utils::mk_label( _( "New Size (MiB):" ) ), 0, 1, 1, 2 );
|
||||
table_resize.attach( * Utils::mk_label( _( "New size (MiB):" ) ), 0, 1, 1, 2 );
|
||||
|
||||
spinbutton_size .set_numeric( true );
|
||||
spinbutton_size .set_increments( 1, 100 );
|
||||
table_resize.attach( spinbutton_size, 1, 2, 1, 2, Gtk::FILL );
|
||||
|
||||
//add spinbutton_after
|
||||
table_resize.attach( * Utils::mk_label( _( "Free Space Following (MiB):") ), 0, 1, 2, 3 ) ;
|
||||
table_resize.attach( * Utils::mk_label( _( "Free space following (MiB):") ), 0, 1, 2, 3 ) ;
|
||||
|
||||
spinbutton_after .set_numeric( true );
|
||||
spinbutton_after .set_increments( 1, 100 );
|
||||
|
@ -187,8 +187,8 @@ void Dialog_Base_Partition::Set_Confirm_Button( CONFIRMBUTTON button_type )
|
|||
|
||||
void Dialog_Base_Partition::Set_MinMax_Text( Sector min, Sector max )
|
||||
{
|
||||
str_temp = String::ucompose( _("Minimum Size: %1 MiB"), min ) + "\t\t" ;
|
||||
str_temp += String::ucompose( _("Maximum Size: %1 MiB"), max ) ;
|
||||
str_temp = String::ucompose( _("Minimum size: %1 MiB"), min ) + "\t\t" ;
|
||||
str_temp += String::ucompose( _("Maximum size: %1 MiB"), max ) ;
|
||||
label_minmax .set_text( str_temp ) ;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2004, 2005, 2006, 2007, 2008 Bart Hakvoort
|
||||
/* Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Bart Hakvoort
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -148,7 +148,7 @@ void Dialog_Partition_Info::Display_Info()
|
|||
this ->get_vbox() ->pack_start( *table, Gtk::PACK_SHRINK ) ;
|
||||
|
||||
//filesystem
|
||||
table ->attach( * Utils::mk_label( "<b>" + Glib::ustring( _("File System:") ) + "</b>" ),
|
||||
table ->attach( * Utils::mk_label( "<b>" + Glib::ustring( _("File system:") ) + "</b>" ),
|
||||
0, 1,
|
||||
top, bottom,
|
||||
Gtk::FILL ) ;
|
||||
|
@ -289,7 +289,7 @@ void Dialog_Partition_Info::Display_Info()
|
|||
table ->attach( * Utils::mk_label( "" ), 1, 2, top++, bottom++, Gtk::FILL ) ;
|
||||
|
||||
//first sector
|
||||
table ->attach( * Utils::mk_label( "<b>" + Glib::ustring( _("First Sector:") ) + "</b>" ),
|
||||
table ->attach( * Utils::mk_label( "<b>" + Glib::ustring( _("First sector:") ) + "</b>" ),
|
||||
0, 1,
|
||||
top, bottom,
|
||||
Gtk::FILL ) ;
|
||||
|
@ -299,7 +299,7 @@ void Dialog_Partition_Info::Display_Info()
|
|||
Gtk::FILL ) ;
|
||||
|
||||
//last sector
|
||||
table ->attach( * Utils::mk_label( "<b>" + Glib::ustring( _("Last Sector:") ) + "</b>" ),
|
||||
table ->attach( * Utils::mk_label( "<b>" + Glib::ustring( _("Last sector:") ) + "</b>" ),
|
||||
0, 1,
|
||||
top, bottom,
|
||||
Gtk::FILL ) ;
|
||||
|
@ -309,7 +309,7 @@ void Dialog_Partition_Info::Display_Info()
|
|||
Gtk::FILL ) ;
|
||||
|
||||
//total sectors
|
||||
table ->attach( * Utils::mk_label( "<b>" + Glib::ustring( _("Total Sectors:") ) + "</b>" ),
|
||||
table ->attach( * Utils::mk_label( "<b>" + Glib::ustring( _("Total sectors:") ) + "</b>" ),
|
||||
0, 1,
|
||||
top, bottom,
|
||||
Gtk::FILL ) ;
|
||||
|
|
|
@ -108,7 +108,7 @@ void Dialog_Partition_New::Set_Data( const Partition & partition,
|
|||
table_create .attach( optionmenu_type, 1, 2, 0, 1, Gtk::FILL );
|
||||
|
||||
//file systems to choose from
|
||||
table_create .attach( * Utils::mk_label( static_cast<Glib::ustring>( _("File System:") ) + "\t" ),
|
||||
table_create .attach( * Utils::mk_label( static_cast<Glib::ustring>( _("File system:") ) + "\t" ),
|
||||
0, 1, 1, 2,
|
||||
Gtk::FILL );
|
||||
|
||||
|
|
Loading…
Reference in New Issue