Add more translator comments requested in bug #631684
This commit is contained in:
parent
120864926d
commit
7dd6381c43
|
@ -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() ) ;
|
||||||
|
|
Loading…
Reference in New Issue