Updated translation and code comments

svn path=/trunk/; revision=1110
This commit is contained in:
Curtis Gedak 2009-03-27 16:58:31 +00:00
parent a97415d6c4
commit 6e287d1911
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2009-03-27 Curtis Gedak <gedakc@gmail.com>
* src/DMRaid.cc: Updated translation and code comments.
- Closes GParted bug #576956
2009-03-26 Curtis Gedak <gedakc@gmail.com>
* README: Updated requirements for dmraid support.

View File

@ -199,9 +199,9 @@ bool DMRaid::create_dev_map_entries( const Partition & partition, OperationDetai
// Try both dmraid -ay and kpartx -a
Glib::ustring command ;
bool exit_status = true ; //assume success
bool exit_status = true ;
/*TO TRANSLATORS: looks like create /dev/mapper entries */
/*TO TRANSLATORS: looks like create missing /dev/mapper entries */
Glib::ustring tmp = String::ucompose ( _("create missing %1 entries"), DEV_MAP_PATH ) ;
operationdetail .add_child( OperationDetail( tmp ) );
@ -290,7 +290,7 @@ bool DMRaid::delete_affected_dev_map_entries( const Partition & partition, Opera
std::vector<Glib::ustring> affected_entries ;
Glib::ustring command ;
bool exit_status = true ; //assume successful
bool exit_status = true ;
/*TO TRANSLATORS: looks like delete affected /dev/mapper entries */
Glib::ustring tmp = String::ucompose ( _("delete affected %1 entries"), DEV_MAP_PATH ) ;
@ -313,7 +313,7 @@ bool DMRaid::delete_affected_dev_map_entries( const Partition & partition, Opera
bool DMRaid::delete_dev_map_entry( const Partition & partition, OperationDetail & operationdetail )
{
//Delete a single partition which may be represented by multiple dev mapper entries
bool exit_status = true ; //assume success
bool exit_status = true ;
/*TO TRANSLATORS: looks like delete /dev/mapper entry */
Glib::ustring tmp = String::ucompose ( _("delete %1 entry"), DEV_MAP_PATH ) ;
@ -341,7 +341,7 @@ bool DMRaid::purge_dev_map_entries( const Glib::ustring & dev_path )
std::vector<Glib::ustring> dir_list ;
Glib::ustring command ;
Glib::ustring output, error ;
bool exit_status = true ; //assume successful
bool exit_status = true ;
get_dmraid_dir_entries( dev_path, dir_list ) ;
@ -363,8 +363,8 @@ bool DMRaid::update_dev_map_entry( const Partition & partition, OperationDetail
if ( partition .type == GParted::TYPE_EXTENDED )
return true ;
bool exit_status = true ; //assume successful
bool exit_status = true ;
/*TO TRANSLATORS: looks like update /dev/mapper entry */
Glib::ustring tmp = String::ucompose ( _("update %1 entry"), DEV_MAP_PATH ) ;
operationdetail .add_child( OperationDetail( tmp ) );