[gnome-applets] trash: mark missing strings for translation with ngettext
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] trash: mark missing strings for translation with ngettext
- Date: Sat, 5 Aug 2017 20:44:23 +0000 (UTC)
commit 66ca1d4c254703ed3c6b8cb4aefba20988726abd
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sat Aug 5 20:02:53 2017 +0200
trash: mark missing strings for translation with ngettext
https://bugzilla.gnome.org/show_bug.cgi?id=618991
trash/src/trash-applet.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/trash/src/trash-applet.c b/trash/src/trash-applet.c
index 4c3e633..bbeb968 100644
--- a/trash/src/trash-applet.c
+++ b/trash/src/trash-applet.c
@@ -466,12 +466,16 @@ confirm_delete_immediately (GtkWidget *parent_view,
if (all)
{
prompt = _("Cannot move items to trash, do you want to delete them immediately?");
- detail = g_strdup_printf ("None of the %d selected items can be moved to the Trash", num_files);
+ detail = g_strdub_printf (ngettext ("The selected item cannot be moved to the trash",
+ "None of the %d selected items can be moved to the Trash",
+ num_files), num_files);
}
else
{
prompt = _("Cannot move some items to trash, do you want to delete these immediately?");
- detail = g_strdup_printf ("%d of the selected items cannot be moved to the Trash", num_files);
+ detail = g_strdub_printf (ngettext ("The selected item cannot be moved to the Trash",
+ "%d of the selected items cannot be moved to the Trash",
+ num_files) , num_files);
}
str = g_strconcat ("<span weight=\"bold\" size=\"larger\">",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]