summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMayank Sharma <mayank8019@gmail.com>2019-03-19 18:12:24 +0530
committerMayank Sharma <mayank8019@gmail.com>2019-03-21 20:00:23 +0000
commitca44f349b19466aaa20feeedca81591e715efb0f (patch)
treeb8f072ffbf51d16a97763b07120121c7a7acc757
parentf9c2f23f310a88a779284e3dfb6c0e4b90ab20b4 (diff)
downloadgvfs-ca44f349b19466aaa20feeedca81591e715efb0f.tar.gz
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
-rw-r--r--daemon/gvfsbackendafc.c2
-rw-r--r--daemon/gvfsbackendafp.c4
-rw-r--r--daemon/gvfsbackendsftp.c4
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);
}