[gparted] Remove partition information vgname from status field (#690542)
- From: Mike Fleetwood <mfleetwo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted] Remove partition information vgname from status field (#690542)
- Date: Mon, 28 Apr 2014 07:50:58 +0000 (UTC)
commit 09711ae22d15cb96e2c02a7255f21bc85ef8b897
Author: Curtis Gedak <gedakc gmail com>
Date: Fri Apr 25 10:24:08 2014 -0600
Remove partition information vgname from status field (#690542)
With the volume group name displayed immediately below the status field,
the vgname is no longer needed in the status field.
Bug 690542 - Partition Information Dialog Warning not readable
src/Dialog_Partition_Info.cc | 23 ++++++++---------------
1 files changed, 8 insertions(+), 15 deletions(-)
---
diff --git a/src/Dialog_Partition_Info.cc b/src/Dialog_Partition_Info.cc
index ac76646..5b31a59 100644
--- a/src/Dialog_Partition_Info.cc
+++ b/src/Dialog_Partition_Info.cc
@@ -301,22 +301,15 @@ void Dialog_Partition_Info::Display_Info()
}
else if ( partition .filesystem == FS_LINUX_SWAP
|| partition .filesystem == FS_LINUX_SWRAID
- )
+ || partition .filesystem == FS_LVM2_PV
+ )
{
/* TO TRANSLATORS: Active
- * means that this linux swap or linux software raid partition
- * is enabled and being used by the operating system.
+ * means that this linux swap, linux software raid partition, or
+ * LVM physical volume is enabled and being used by the operating system.
*/
str_temp = _("Active") ;
}
- else if ( partition .filesystem == FS_LVM2_PV )
- {
- /* TO TRANSLATORS: myvgname active
- * means that the partition is a member of an LVM volume group and the
- * volume group is active and being used by the operating system.
- */
- str_temp = String::ucompose( _("%1 active"), vgname ) ;
- }
else if ( partition .get_mountpoints() .size() )
{
str_temp = String::ucompose(
@@ -353,19 +346,19 @@ void Dialog_Partition_Info::Display_Info()
*/
str_temp = _("Not active (Not a member of any volume group)") ;
else if ( lvm2_pv_info .is_vg_exported( vgname ) )
- /* TO TRANSLATORS: myvgname not active and exported
+ /* TO TRANSLATORS: Not active and exported
* means that the partition is a member of an LVM volume group but
* the volume group is not active and not being used by the operating system.
* The volume group has also been exported making the LVM physical volumes
* ready for moving to a different computer system.
*/
- str_temp = String::ucompose( _("%1 not active and exported"), vgname ) ;
+ str_temp = _("Not active and exported") ;
else
- /* TO TRANSLATORS: myvgname not active
+ /* TO TRANSLATORS: Not active
* means that the partition is a member of an LVM volume group but
* the volume group is not active and not being used by the operating system.
*/
- str_temp = String::ucompose( _("%1 not active"), vgname ) ;
+ str_temp = _("Not active") ;
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]