[gvfs] daemon: Use "Backups not supported" consistently



commit ca44f349b19466aaa20feeedca81591e715efb0f
Author: Mayank Sharma <mayank8019 gmail com>
Date:   Tue Mar 19 18:12:24 2019 +0530

    daemon: Use "Backups not supported" consistently
    
    GVfs uses different forms of "Backups not supported" string,
    e.g. "Backups are not yet supported.", "backups not supported"
    and "backups not supported yet". Let's use "Backups not
    supported" consistently.
    
    https://gitlab.gnome.org/GNOME/gvfs/issues/170

 daemon/gvfsbackendafc.c  | 2 +-
 daemon/gvfsbackendafp.c  | 4 ++--
 daemon/gvfsbackendsftp.c | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/daemon/gvfsbackendafc.c b/daemon/gvfsbackendafc.c
index 12064aee..653b1297 100644
--- a/daemon/gvfsbackendafc.c
+++ b/daemon/gvfsbackendafc.c
@@ -1341,7 +1341,7 @@ g_vfs_backend_afc_replace (GVfsBackend *backend,
       g_vfs_job_failed (G_VFS_JOB (job),
                         G_IO_ERROR,
                         G_IO_ERROR_CANT_CREATE_BACKUP,
-                        _("Backups are not yet supported."));
+                        _("Backups not supported"));
       return;
     }
 
diff --git a/daemon/gvfsbackendafp.c b/daemon/gvfsbackendafp.c
index dada2082..48aa7d75 100644
--- a/daemon/gvfsbackendafp.c
+++ b/daemon/gvfsbackendafp.c
@@ -1267,7 +1267,7 @@ replace_create_tmp_file_cb (GObject *source_object, GAsyncResult *res, gpointer
       {
         g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR,
                                   G_IO_ERROR_CANT_CREATE_BACKUP,
-                                  _("backups not supported"));
+                                  _("Backups not supported"));
       }
       else
       {
@@ -1356,7 +1356,7 @@ replace_get_filedir_parms_cb (GObject *source_object, GAsyncResult *res, gpointe
       {
         g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR,
                                   G_IO_ERROR_CANT_CREATE_BACKUP,
-                                  _("backups not supported"));
+                                  _("Backups not supported"));
       }
       else
       {
diff --git a/daemon/gvfsbackendsftp.c b/daemon/gvfsbackendsftp.c
index a4430eb4..3feccc9c 100644
--- a/daemon/gvfsbackendsftp.c
+++ b/daemon/gvfsbackendsftp.c
@@ -3646,7 +3646,7 @@ replace_create_temp_reply (GVfsBackendSftp *backend,
                 backing up before truncating, but for now error out... */
              g_vfs_job_failed (job, G_IO_ERROR,
                                G_IO_ERROR_CANT_CREATE_BACKUP,
-                               _("backups not supported yet"));
+                               _("Backups not supported"));
            }
         }
       else
@@ -3822,7 +3822,7 @@ replace_stat_reply (GVfsBackendSftp *backend,
     {
       if (op_job->make_backup)
         g_vfs_job_failed (job, G_IO_ERROR, G_IO_ERROR_CANT_CREATE_BACKUP,
-                          _("backups not supported yet"));
+                          _("Backups not supported"));
       else
         replace_truncate_original (backend, job);
     }


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