[nautilus/wip/piotrdrag/string-fixes: 6/6] new-folder-dialog-controller: Stop translating a dot



commit 2304597034e550f59eff3e373298372ff0db29c9
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Thu Jul 26 19:09:33 2018 +0200

    new-folder-dialog-controller: Stop translating a dot

 src/nautilus-new-folder-dialog-controller.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-new-folder-dialog-controller.c b/src/nautilus-new-folder-dialog-controller.c
index cb51db663..14d46a5ec 100644
--- a/src/nautilus-new-folder-dialog-controller.c
+++ b/src/nautilus-new-folder-dialog-controller.c
@@ -59,7 +59,7 @@ nautilus_new_folder_dialog_controller_name_is_valid (NautilusFileNameWidgetContr
     {
         *error_message = _("A folder cannot be called “..”.");
     }
-    else if (g_str_has_prefix (name, _(".")))
+    else if (g_str_has_prefix (name, "."))
     {
         *error_message = _("Folders with “.” at the beginning of their name are hidden.");
         return TRUE;


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