[gnome-disk-utility] Spruce up typography in new translatable strings
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility] Spruce up typography in new translatable strings
- Date: Mon, 18 Sep 2017 15:58:47 +0000 (UTC)
commit 6fa9fc207f72853214306dc1b501e8167a40b94e
Author: Piotr Drąg <piotrdrag gmail com>
Date: Mon Sep 18 17:57:44 2017 +0200
Spruce up typography in new translatable strings
See https://developer.gnome.org/hig/stable/typography.html
src/disks/gducreateconfirmpage.c | 2 +-
src/disks/gducreateotherpage.c | 10 +++++-----
src/disks/ui/create-filesystem-page.ui | 2 +-
src/disks/ui/create-partition-page.ui | 4 ++--
4 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/disks/gducreateconfirmpage.c b/src/disks/gducreateconfirmpage.c
index e93ac2e..be98943 100644
--- a/src/disks/gducreateconfirmpage.c
+++ b/src/disks/gducreateconfirmpage.c
@@ -105,7 +105,7 @@ gdu_create_confirm_page_fill_confirmation (GduCreateConfirmPage *page)
/* Translators: In most cases this should not need translation unless the
* separation character '—' is not appropriate. The strings come
* from UDisks, first is description, second the name:
- * "Partition 1 of 32 GB Flash Disk – /dev/sdb1".
+ * "Partition 1 of 32 GB Flash Disk — /dev/sdb1".
*/
s1 = g_strdup_printf (_("%s — %s"), udisks_object_info_get_description (info),
udisks_object_info_get_name (info));
diff --git a/src/disks/gducreateotherpage.c b/src/disks/gducreateotherpage.c
index 83557da..76e531d 100644
--- a/src/disks/gducreateotherpage.c
+++ b/src/disks/gducreateotherpage.c
@@ -112,17 +112,17 @@ static const gchar *
get_fs_description (const gchar *fs_type)
{
if (g_strcmp0 (fs_type, "xfs") == 0)
- return _("XFS – Linux Filesystem");
+ return _("XFS — Linux Filesystem");
else if (g_strcmp0 (fs_type, "swap") == 0)
return _("Linux Swap Partition");
else if (g_strcmp0 (fs_type, "btrfs") == 0)
- return _("Btrfs – Copy-on-write Linux Filesystem, for snapshots");
+ return _("Btrfs — Copy-on-write Linux Filesystem, for snapshots");
else if (g_strcmp0 (fs_type, "f2fs") == 0)
- return _("F2FS – Flash Storage Linux Filesystem");
+ return _("F2FS — Flash Storage Linux Filesystem");
else if (g_strcmp0 (fs_type, "exfat") == 0)
- return _("exFAT – Flash Storage Windows Filesystem, used on SDXC cards");
+ return _("exFAT — Flash Storage Windows Filesystem, used on SDXC cards");
else if (g_strcmp0 (fs_type, "udf") == 0)
- return _("UDF – Universal Disk Format, for removable devices on many systems");
+ return _("UDF — Universal Disk Format, for removable devices on many systems");
else if (g_strcmp0 (fs_type, "empty") == 0)
return _("No Filesystem");
else
diff --git a/src/disks/ui/create-filesystem-page.ui b/src/disks/ui/create-filesystem-page.ui
index aaf674a..471b8eb 100644
--- a/src/disks/ui/create-filesystem-page.ui
+++ b/src/disks/ui/create-filesystem-page.ui
@@ -44,7 +44,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="margin_bottom">20</property>
- <property name="label" translatable="yes">For example: "Angela's Files" or "Backup".</property>
+ <property name="label" translatable="yes">For example: “Angela’s Files” or “Backup”.</property>
<style>
<class name="dim-label"/>
<class name="explanation-label"/>
diff --git a/src/disks/ui/create-partition-page.ui b/src/disks/ui/create-partition-page.ui
index 534671e..c57f7ea 100644
--- a/src/disks/ui/create-partition-page.ui
+++ b/src/disks/ui/create-partition-page.ui
@@ -92,7 +92,7 @@
<property name="has_tooltip">True</property>
<property name="tooltip_text" translatable="yes">The size of the partition to
create</property>
<property name="activates_default">True</property>
- <property name="text" translatable="yes">0</property>
+ <property name="text">0</property>
<property name="adjustment">size_adjustment</property>
</object>
<packing>
@@ -147,7 +147,7 @@
<property name="has_tooltip">True</property>
<property name="tooltip_text" translatable="yes">The free space following the
partition</property>
<property name="activates_default">True</property>
- <property name="text" translatable="yes">0</property>
+ <property name="text">0</property>
<property name="adjustment">free_following_adjustment</property>
</object>
<packing>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]