[gnome-disk-utility/udisks2-port] GduVolumeGrid: Rework how the partition name is displayed
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility/udisks2-port] GduVolumeGrid: Rework how the partition name is displayed
- Date: Tue, 1 Nov 2011 05:03:08 +0000 (UTC)
commit cb5e72cbbef9c234eac45d881c550227ba1957f9
Author: David Zeuthen <davidz redhat com>
Date: Tue Nov 1 01:02:26 2011 -0400
GduVolumeGrid: Rework how the partition name is displayed
Signed-off-by: David Zeuthen <davidz redhat com>
src/palimpsest/gduvolumegrid.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/palimpsest/gduvolumegrid.c b/src/palimpsest/gduvolumegrid.c
index 6f42a1a..83756e5 100644
--- a/src/palimpsest/gduvolumegrid.c
+++ b/src/palimpsest/gduvolumegrid.c
@@ -1863,10 +1863,16 @@ maybe_add_partition (GduVolumeGrid *grid,
if (strlen (name) > 0)
{
- s = g_strdup_printf (C_("volume-grid", "Partition %d (%s)"), number, name);
+ /* Translators: This is shown in the volume grid for a partition with a name/label.
+ * The %d is the partition number. The %s is the name
+ */
+ s = g_strdup_printf (C_("volume-grid", "Partition %d: %s"), number, name);
}
else
{
+ /* Translators: This is shown in the volume grid for a partition with no name/label.
+ * The %d is the partition number
+ */
s = g_strdup_printf (C_("volume-grid", "Partition %d"), number);
}
g_ptr_array_add (lines, s);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]