Commit 151f0f35 authored by David Zeuthen's avatar David Zeuthen

rework terminology for filesystem labels / partition labels

This is another iteration of this bug

http://bugzilla.gnome.org/show_bug.cgi?id=576929#c6
parent accb1871
......@@ -64,8 +64,15 @@ different terminology is used.
In Palimpsest the following terminology is used
- Partition/Partition Table
- File system/Label/UUID
- Avoid using terms that are used for other concepts; e.g.
use "Partition Label" instead of "Label"
- Filesystem
- Use the spelling "Filesystem"
- http://en.wiktionary.org/wiki/filesystem
- Use the word "Label" when referring to a filesystem label
- Generally refer to a filesystem by it's label
- Don't show/reference the UUID (might be shown in a "Details" dialog)
- Disk: Only to be used when referring to the entirety of a
device; e.g. avoid using it for individual things
......
......@@ -266,7 +266,7 @@ gdu_section_filesystem_init (GduSectionFilesystem *section)
/* file system label */
label = gtk_label_new (NULL);
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_label_set_markup_with_mnemonic (GTK_LABEL (label), _("_Name:"));
gtk_label_set_markup_with_mnemonic (GTK_LABEL (label), _("_Label:"));
gtk_table_attach (GTK_TABLE (table), label, 0, 1, row, row + 1,
GTK_FILL, GTK_EXPAND | GTK_FILL, 2, 2);
entry = gtk_entry_new ();
......
......@@ -544,7 +544,7 @@ gdu_section_partition_init (GduSectionPartition *section)
/* partition label */
label = gtk_label_new (NULL);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_label_set_markup_with_mnemonic (GTK_LABEL (label), _("_Label:"));
gtk_label_set_markup_with_mnemonic (GTK_LABEL (label), _("Part_ition Label:"));
gtk_table_attach (GTK_TABLE (table), label, 0, 1, row, row + 1,
GTK_FILL, GTK_EXPAND | GTK_FILL, 2, 2);
entry = gtk_entry_new ();
......
......@@ -697,7 +697,7 @@ gdu_section_unallocated_init (GduSectionUnallocated *section)
/* _file system_ label */
label = gtk_label_new (NULL);
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_label_set_markup_with_mnemonic (GTK_LABEL (label), _("_Name:"));
gtk_label_set_markup_with_mnemonic (GTK_LABEL (label), _("_Label:"));
gtk_table_attach (GTK_TABLE (table), label, 0, 1, row, row + 1,
GTK_FILL, GTK_EXPAND | GTK_FILL, 2, 2);
......
......@@ -464,7 +464,7 @@ gdu_section_unrecognized_init (GduSectionUnrecognized *section)
/* file system label */
label = gtk_label_new (NULL);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_label_set_markup_with_mnemonic (GTK_LABEL (label), _("_Name:"));
gtk_label_set_markup_with_mnemonic (GTK_LABEL (label), _("_Label:"));
gtk_table_attach (GTK_TABLE (table), label, 0, 1, row, row + 1,
GTK_FILL, GTK_EXPAND | GTK_FILL, 2, 2);
entry = gtk_entry_new ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment