summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntónio Fernandes <AntonioJPFernandes@gmail.com>2017-08-14 09:35:33 +0100
committerCarlos Soriano <csoriano@localhost.localdomain>2017-08-17 15:41:09 +0200
commit33694f0e17b81d509f77a1236e3a90ab8277551e (patch)
tree9d254ea093df988c0c684524d4cbfdc3a32c1851
parent0fe9cc2f733ecb1febb41e640cccede740f2bc99 (diff)
downloadnautilus-33694f0e17b81d509f77a1236e3a90ab8277551e.tar.gz
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
-rw-r--r--src/nautilus-file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nautilus-file.c b/src/nautilus-file.c
index f3346b894..fa16eb523 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