[nautilus] nautilus-window: add translator comments
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] nautilus-window: add translator comments
- Date: Fri, 6 Mar 2015 13:58:51 +0000 (UTC)
commit ee6b81e5161d5c67e5a4f3b4ae59b544e11c0c17
Author: Carlos Soriano <csoriano gnome org>
Date: Fri Mar 6 14:58:32 2015 +0100
nautilus-window: add translator comments
src/nautilus-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 607551e..3ecd3fc 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -1540,9 +1540,12 @@ nautilus_window_notification_delete_get_label (NautilusFileUndoInfo *undo_info,
length = g_list_length (files);
if (length == 1) {
file_label = g_file_get_basename (files->data);
+ /* Translators: only one item has been deleted and %s is its name. */
label = g_strdup_printf (_("“%s” deleted"), file_label);
g_free (file_label);
} else {
+ /* Translators: one or more items might have been deleted, and %d
+ * is the count. */
label = g_strdup_printf (ngettext ("%d file deleted", "%d files deleted", length), length);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]