[gnome-disk-utility] Correct text for partition size entry



commit 5d7b90aa3cc77e630d6b65552243013c7c31f5c8
Author: Kai Lüke <kailueke riseup net>
Date:   Mon Aug 14 14:21:56 2017 +0200

    Correct text for partition size entry
    
    The tooltip was always claiming to have MB as unit
    while the unit could be changed to any other.
    The new image dialog was talking about partitions.
    
    Mentioning the unit is removed. In the label and tooltip
    of the new image dialog "partition" is replaced by "image".
    The tooltip markup text is deleted instead of updated
    because it's not in use.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786276

 src/disks/ui/create-partition-dialog.ui |    6 ++----
 src/disks/ui/new-disk-image-dialog.ui   |    5 ++---
 2 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/src/disks/ui/create-partition-dialog.ui b/src/disks/ui/create-partition-dialog.ui
index 6a4abf8..02699a2 100644
--- a/src/disks/ui/create-partition-dialog.ui
+++ b/src/disks/ui/create-partition-dialog.ui
@@ -127,8 +127,7 @@
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="has_tooltip">True</property>
-                        <property name="tooltip_markup" translatable="yes">The size of the partition to 
create, in megabytes</property>
-                        <property name="tooltip_text" translatable="yes">The size of the partition to 
create, in megabytes</property>
+                        <property name="tooltip_text" translatable="yes">The size of the partition to 
create</property>
                         <property name="invisible_char">●</property>
                         <property name="activates_default">True</property>
                         <property name="invisible_char_set">True</property>
@@ -192,8 +191,7 @@
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="has_tooltip">True</property>
-                        <property name="tooltip_markup" translatable="yes">The free space following the 
partition, in megabytes</property>
-                        <property name="tooltip_text" translatable="yes">The free space following the 
partition, in megabytes</property>
+                        <property name="tooltip_text" translatable="yes">The free space following the 
partition</property>
                         <property name="invisible_char">●</property>
                         <property name="activates_default">True</property>
                         <property name="invisible_char_set">True</property>
diff --git a/src/disks/ui/new-disk-image-dialog.ui b/src/disks/ui/new-disk-image-dialog.ui
index ca7e468..1e1a832 100644
--- a/src/disks/ui/new-disk-image-dialog.ui
+++ b/src/disks/ui/new-disk-image-dialog.ui
@@ -26,7 +26,7 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="xalign">1</property>
-                <property name="label" translatable="yes">Partition _Size</property>
+                <property name="label" translatable="yes">Image _Size</property>
                 <property name="use_underline">True</property>
                 <property name="mnemonic_widget">size-spinbutton</property>
                 <style>
@@ -83,8 +83,7 @@
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="has_tooltip">True</property>
-                <property name="tooltip_markup" translatable="yes">The size of the partition to create, in 
megabytes</property>
-                <property name="tooltip_text" translatable="yes">The size of the partition to create, in 
megabytes</property>
+                <property name="tooltip_text" translatable="yes">The size of the image to create</property>
                 <property name="invisible_char">●</property>
                 <property name="activates_default">True</property>
                 <property name="invisible_char_set">True</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]