[nautilus] file: Use Unicode ellipsis and em dash for default attribute strings
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] file: Use Unicode ellipsis and em dash for default attribute strings
- Date: Thu, 17 Aug 2017 13:57:31 +0000 (UTC)
commit 33694f0e17b81d509f77a1236e3a90ab8277551e
Author: António Fernandes <AntonioJPFernandes gmail com>
Date: Mon Aug 14 09:35:33 2017 +0100
file: Use Unicode ellipsis and em dash for default attribute strings
We are using three dots "..." and two hyphens "--" as the default
string of some attributes.
Replace them with "…" and "—" respectively.
https://bugzilla.gnome.org/show_bug.cgi?id=99439
src/nautilus-file.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/nautilus-file.c b/src/nautilus-file.c
index f3346b8..fa16eb5 100644
--- a/src/nautilus-file.c
+++ b/src/nautilus-file.c
@@ -7534,14 +7534,14 @@ nautilus_file_get_string_attribute_with_default_q (NautilusFile *file,
{
if (!nautilus_file_should_show_directory_item_count (file))
{
- return g_strdup ("--");
+ return g_strdup ("—");
}
count_unreadable = FALSE;
if (nautilus_file_is_directory (file))
{
nautilus_file_get_directory_item_count (file, &item_count, &count_unreadable);
}
- return g_strdup (count_unreadable ? "--" : "...");
+ return g_strdup (count_unreadable ? "—" : "…");
}
if (attribute_q == attribute_deep_size_q)
{
@@ -7551,7 +7551,7 @@ nautilus_file_get_string_attribute_with_default_q (NautilusFile *file,
/* This means no contents at all were readable */
return g_strdup (_("? bytes"));
}
- return g_strdup ("...");
+ return g_strdup ("…");
}
if (attribute_q == attribute_deep_file_count_q
|| attribute_q == attribute_deep_directory_count_q
@@ -7563,7 +7563,7 @@ nautilus_file_get_string_attribute_with_default_q (NautilusFile *file,
/* This means no contents at all were readable */
return g_strdup (_("? items"));
}
- return g_strdup ("...");
+ return g_strdup ("…");
}
if (attribute_q == attribute_type_q
|| attribute_q == attribute_detailed_type_q
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]