[nautilus] Revert "file: reword "items" to "files and folders""
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Revert "file: reword "items" to "files and folders""
- Date: Tue, 22 Nov 2016 11:09:56 +0000 (UTC)
commit f879c81b4e6af0cfb13329c33e7fd1717db92b79
Author: Carlos Soriano <csoriano gnome org>
Date: Tue Nov 22 12:07:09 2016 +0100
Revert "file: reword "items" to "files and folders""
It needs more handling than just this, and sometimes we cannot know
whether the child has both files and folders or not. So "items" it's
probably the safest bet in here.
This reverts commit a8dbefc0bfef7f09bc2a651d64f264ebe93cafba.
src/nautilus-file.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/src/nautilus-file.c b/src/nautilus-file.c
index c162b08..9ac9b51 100644
--- a/src/nautilus-file.c
+++ b/src/nautilus-file.c
@@ -6990,12 +6990,10 @@ format_item_count_for_display (guint item_count,
{
g_assert (includes_directories || includes_files);
- return g_strdup_printf (includes_directories ? (includes_files
- /* Translators: "file and folder" is a string that will
never
- * happen, since this is only used when there are
minimum 2 items
- */
- ? ngettext ("%'u file and folder", "%'u files and
folders", item_count)
- : ngettext ("%'u folder", "%'u folders", item_count))
+ return g_strdup_printf (includes_directories
+ ? (includes_files
+ ? ngettext ("%'u item", "%'u items", item_count)
+ : ngettext ("%'u folder", "%'u folders", item_count))
: ngettext ("%'u file", "%'u files", item_count), item_count);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]