Add more translator comments requested in bug #631684

This commit is contained in:
Curtis Gedak 2010-10-15 14:50:58 -06:00
parent 120864926d
commit 7dd6381c43
1 changed files with 4 additions and 1 deletions

View File

@ -535,7 +535,9 @@ bool GParted_Core::snap_to_alignment( const Device & device, Partition & partiti
//do some basic checks on the partition //do some basic checks on the partition
if ( partition .get_sector_length() <= 0 ) if ( partition .get_sector_length() <= 0 )
{ {
error = String::ucompose( _("A partition cannot have a length of %1 sectors"), error = String::ucompose(
/* TO TRANSLATORS: looks like A partition cannot have a length of -1 sectors */
_("A partition cannot have a length of %1 sectors"),
partition .get_sector_length() ) ; partition .get_sector_length() ) ;
return false ; return false ;
} }
@ -543,6 +545,7 @@ bool GParted_Core::snap_to_alignment( const Device & device, Partition & partiti
if ( partition .get_sector_length() < partition .sectors_used ) if ( partition .get_sector_length() < partition .sectors_used )
{ {
error = String::ucompose( error = String::ucompose(
/* TO TRANSLATORS: looks like A partition with used sectors (2048) greater than its length (1536) is not valid */
_("A partition with used sectors (%1) greater than its length (%2) is not valid"), _("A partition with used sectors (%1) greater than its length (%2) is not valid"),
partition .sectors_used, partition .sectors_used,
partition .get_sector_length() ) ; partition .get_sector_length() ) ;