[gvfs] MTP: Fully avoid untranslated strings.



commit ab05416b79fe455559dfb6d6ea36c6c6ec127e91
Author: Philip Langdale <philipl overt org>
Date:   Sun Mar 31 09:53:07 2013 -0700

    MTP: Fully avoid untranslated strings.
    
    Fixed one typo from the first fix, and re-replaced one string. My
    first choice had not really been translated (though it was present
    in some of the existing translation files)

 daemon/gvfsbackendmtp.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/daemon/gvfsbackendmtp.c b/daemon/gvfsbackendmtp.c
index 595a420..5c66005 100644
--- a/daemon/gvfsbackendmtp.c
+++ b/daemon/gvfsbackendmtp.c
@@ -1724,7 +1724,7 @@ do_open_for_read (GVfsBackend *backend,
   if (!G_VFS_BACKEND_MTP (backend)->android_extension) {
     g_vfs_job_failed_literal (G_VFS_JOB (job),
                               G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
-                              _("Operation unsupported."));
+                              _("Operation unsupported"));
     return;
   }
 
@@ -1960,7 +1960,7 @@ do_create (GVfsBackend *backend,
   if (!G_VFS_BACKEND_MTP (backend)->android_extension) {
     g_vfs_job_failed_literal (G_VFS_JOB (job),
                               G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
-                              _("Operation unsupported."));
+                              _("Operation unsupported"));
     return;
   }
 
@@ -1976,7 +1976,7 @@ do_create (GVfsBackend *backend,
   if (ne < 3) {
     g_vfs_job_failed_literal (G_VFS_JOB (job),
                               G_IO_ERROR, G_IO_ERROR_FAILED,
-                              _("Invalid destination filename"));
+                              _("Invalid filename"));
     goto exit;
   }
 
@@ -2047,7 +2047,7 @@ do_append_to (GVfsBackend *backend,
   if (!G_VFS_BACKEND_MTP (backend)->android_extension) {
     g_vfs_job_failed_literal (G_VFS_JOB (job),
                               G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
-                              _("Operation unsupported."));
+                              _("Operation unsupported"));
     return;
   }
 
@@ -2114,7 +2114,7 @@ do_replace (GVfsBackend *backend,
   if (!G_VFS_BACKEND_MTP (backend)->android_extension) {
     g_vfs_job_failed_literal (G_VFS_JOB (job),
                               G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
-                              _("Operation unsupported."));
+                              _("Operation unsupported"));
     return;
   }
 


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