[gvfs] sftp: Mark error string as translatable



commit d0bae4a05ad48055d21105206341a722eba83b12
Author: Ondrej Holy <oholy redhat com>
Date:   Wed Jan 4 15:50:59 2017 +0100

    sftp: Mark error string as translatable
    
    The error string, which might be shown in UI is not marked as
    translatable, fix it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=776824

 daemon/gvfsbackendsftp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsbackendsftp.c b/daemon/gvfsbackendsftp.c
index a6f2240..7c2eb12 100644
--- a/daemon/gvfsbackendsftp.c
+++ b/daemon/gvfsbackendsftp.c
@@ -2140,7 +2140,7 @@ error_message (GIOErrorEnum error)
     case G_IO_ERROR_NOT_FOUND:
       return _("No such file or directory");
     default:
-      return "Unknown reason";
+      return _("Unknown reason");
     }
 }
 


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