[gnome-usage/wip/piotrdrag/fix-strings: 3/3] storage-actionbar: Fix the delete messages fix



commit a615c82e202e2b78359356d4c65ebb2ef96bf522
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Fri Apr 6 19:06:39 2018 +0200

    storage-actionbar: Fix the delete messages fix
    
    Correct grammar, typography, and comments.

 src/storage-actionbar.vala | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/storage-actionbar.vala b/src/storage-actionbar.vala
index 87c376b..79bee34 100644
--- a/src/storage-actionbar.vala
+++ b/src/storage-actionbar.vala
@@ -140,12 +140,12 @@ namespace Usage
                 var row = (GLib.Application.get_default() as 
Application).get_window().get_views()[Views.STORAGE];
                 StorageRow storage_row = (StorageRow) ((StorageView) 
row).get_storage_list_box().get_selected_rows();
                 string filename = storage_row.get_item_name();
-                //Translators: %d is the number of files to be deleted. var msg = "Are you sure you want to 
permanently delete the %d selected item(s)?"
-                display_message = _("Are you sure you want to permanently delete \"%s\" ?").printf(filename);
+                //Translators: %s is the name of the file to be deleted.
+                display_message = _("Are you sure you want to permanently delete “%s”?").printf(filename);
             }
             else
-                //Translators: %d is the number of files to be deleted. var msg = "Are you sure you want to 
permanently delete the %d selected item(s)?"
-                display_message = ngettext("Are you sure you want to permanently delete the %d selected 
items?", "Are you sure you want to permanently delete the %d selected items?", 
(int)number_of_files).printf((int)number_of_files);
+                //Translators: %d is the number of files to be deleted.
+                display_message = ngettext("Are you sure you want to permanently delete the %d selected 
item?", "Are you sure you want to permanently delete the %d selected items?", 
(int)number_of_files).printf((int)number_of_files);
 
             var dialog = new Gtk.MessageDialog ((GLib.Application.get_default() as 
Application).get_window(), Gtk.DialogFlags.MODAL,
                 Gtk.MessageType.WARNING, Gtk.ButtonsType.OK_CANCEL, display_message);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]