diff options
38 files changed, 159 insertions, 159 deletions
diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c index d66d6175..52ae9dc2 100644 --- a/client/gdaemonfile.c +++ b/client/gdaemonfile.c @@ -1090,7 +1090,7 @@ read_async_cb (GVfsDBusMount *proxy, { g_simple_async_result_set_error (orig_result, G_IO_ERROR, G_IO_ERROR_FAILED, - _("Couldn't get stream file descriptor")); + _("Couldn’t get stream file descriptor")); } else { @@ -1219,7 +1219,7 @@ g_daemon_file_read (GFile *file, (fd = g_unix_fd_list_get (fd_list, g_variant_get_handle (fd_id_val), NULL)) == -1) { g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED, - _("Didn't get stream file descriptor")); + _("Didn’t get stream file descriptor")); return NULL; } @@ -1291,7 +1291,7 @@ file_open_write (GFile *file, (fd = g_unix_fd_list_get (fd_list, g_variant_get_handle (fd_id_val), NULL)) == -1) { g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED, - _("Didn't get stream file descriptor")); + _("Didn’t get stream file descriptor")); return NULL; } @@ -2661,7 +2661,7 @@ set_metadata_attribute (GFile *file, { g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, _("Error setting file metadata: %s"), - _("can't open metadata tree")); + _("can’t open metadata tree")); return FALSE; } @@ -2671,7 +2671,7 @@ set_metadata_attribute (GFile *file, { g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, _("Error setting file metadata: %s"), - _("can't get metadata proxy")); + _("can’t get metadata proxy")); } else { @@ -3219,7 +3219,7 @@ file_open_write_async_cb (GVfsDBusMount *proxy, { g_simple_async_result_set_error (orig_result, G_IO_ERROR, G_IO_ERROR_FAILED, - _("Couldn't get stream file descriptor")); + _("Couldn’t get stream file descriptor")); } else { diff --git a/client/gdaemonvfs.c b/client/gdaemonvfs.c index be1bbc6c..ab6615bf 100644 --- a/client/gdaemonvfs.c +++ b/client/gdaemonvfs.c @@ -1251,7 +1251,7 @@ g_daemon_vfs_local_file_set_attributes (GVfs *vfs, { g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, _("Error setting file metadata: %s"), - _("can't open metadata tree")); + _("can’t open metadata tree")); res = FALSE; error = NULL; /* Don't set further errors */ } @@ -1262,7 +1262,7 @@ g_daemon_vfs_local_file_set_attributes (GVfs *vfs, { g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, _("Error setting file metadata: %s"), - _("can't get metadata proxy")); + _("can’t get metadata proxy")); res = FALSE; error = NULL; /* Don't set further errors */ } diff --git a/client/gvfsiconloadable.c b/client/gvfsiconloadable.c index 5822a3cf..a464774f 100644 --- a/client/gvfsiconloadable.c +++ b/client/gvfsiconloadable.c @@ -124,7 +124,7 @@ g_vfs_icon_load (GLoadableIcon *icon, (fd = g_unix_fd_list_get (fd_list, g_variant_get_handle (fd_id_val), NULL)) == -1) { g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED, - _("Didn't get stream file descriptor")); + _("Didn’t get stream file descriptor")); return NULL; } @@ -298,7 +298,7 @@ open_icon_read_cb (GVfsDBusMount *proxy, { g_simple_async_result_set_error (data->result, G_IO_ERROR, G_IO_ERROR_FAILED, - _("Couldn't get stream file descriptor")); + _("Couldn’t get stream file descriptor")); } else { diff --git a/common/gvfsdnssdresolver.c b/common/gvfsdnssdresolver.c index a63cb45d..217f2388 100644 --- a/common/gvfsdnssdresolver.c +++ b/common/gvfsdnssdresolver.c @@ -1085,7 +1085,7 @@ service_resolver_changed (GVfsDnsSdResolver *resolver, * - the second %s refers to the service name * - the third %s refers to the domain */ - _("Error resolving \"%s\" service \"%s\" on domain \"%s\""), + _("Error resolving “%s” service “%s” on domain “%s”"), data->resolver->service_type, data->resolver->service_name, data->resolver->domain); @@ -1111,8 +1111,8 @@ service_resolver_timed_out (ResolveData *data) * - the third %s refers to the domain * - the fourth %s refers to the required TXT keys */ - _("Error resolving \"%s\" service \"%s\" on domain \"%s\". " - "One or more TXT records are missing. Keys required: \"%s\"."), + _("Error resolving “%s” service “%s” on domain “%s”. " + "One or more TXT records are missing. Keys required: “%s”."), data->resolver->service_type, data->resolver->service_name, data->resolver->domain, @@ -1128,7 +1128,7 @@ service_resolver_timed_out (ResolveData *data) * - the second %s refers to the service name * - the third %s refers to the domain */ - _("Timed out resolving \"%s\" service \"%s\" on domain \"%s\""), + _("Timed out resolving “%s” service “%s” on domain “%s”"), data->resolver->service_type, data->resolver->service_name, data->resolver->domain); diff --git a/common/gvfsdnssdutils.c b/common/gvfsdnssdutils.c index 4126be49..a17d07b1 100644 --- a/common/gvfsdnssdutils.c +++ b/common/gvfsdnssdutils.c @@ -230,7 +230,7 @@ g_vfs_decode_dns_sd_triple (const gchar *encoded_triple, g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT, - _("Malformed DNS-SD encoded_triple '%s'"), + _("Malformed DNS-SD encoded_triple “%s”"), encoded_triple); goto out; } @@ -260,7 +260,7 @@ g_vfs_decode_dns_sd_triple (const gchar *encoded_triple, g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT, - _("Malformed DNS-SD encoded_triple '%s'"), + _("Malformed DNS-SD encoded_triple “%s”"), encoded_triple); goto out; } @@ -277,7 +277,7 @@ g_vfs_decode_dns_sd_triple (const gchar *encoded_triple, g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT, - _("Malformed DNS-SD encoded_triple '%s'"), + _("Malformed DNS-SD encoded_triple “%s”"), encoded_triple); goto out; } diff --git a/common/gvfsicon.c b/common/gvfsicon.c index 3bacf8c5..3f1dacc6 100644 --- a/common/gvfsicon.c +++ b/common/gvfsicon.c @@ -247,7 +247,7 @@ g_vfs_icon_from_tokens (gchar **tokens, g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT, - _("Can't handle version %d of GVfsIcon encoding"), + _("Can’t handle version %d of GVfsIcon encoding"), version); goto out; } diff --git a/daemon/daemon-main.c b/daemon/daemon-main.c index a81313d1..ba67ad47 100644 --- a/daemon/daemon-main.c +++ b/daemon/daemon-main.c @@ -257,7 +257,7 @@ daemon_parse_args (int argc, char *argv[], const char *default_type) p = strchr (argv[i], '='); if (p == NULL || p[1] == 0 || p == argv[i]) { - g_printerr (_("Usage: %s key=value key=value ..."), argv[0]); + g_printerr (_("Usage: %s key=value key=value …"), argv[0]); g_printerr ("\n"); exit (1); } @@ -275,7 +275,7 @@ daemon_parse_args (int argc, char *argv[], const char *default_type) { g_printerr (_("No mount type specified")); g_printerr ("\n"); - g_printerr (_("Usage: %s key=value key=value ..."), argv[0]); + g_printerr (_("Usage: %s key=value key=value …"), argv[0]); g_printerr ("\n"); exit (1); } diff --git a/daemon/gvfsafpserver.c b/daemon/gvfsafpserver.c index c10b66ff..a86ede0f 100644 --- a/daemon/gvfsafpserver.c +++ b/daemon/gvfsafpserver.c @@ -195,8 +195,8 @@ dhx2_login (GVfsAfpServer *server, { /* Translators: %d is a constant, currently hardcoded to 256 */ g_set_error (error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED, - ngettext ("The server doesn't support passwords longer than %d character.", - "The server doesn't support passwords longer than %d characters.", + ngettext ("The server doesn’t support passwords longer than %d character.", + "The server doesn’t support passwords longer than %d characters.", 256), 256); goto error; } @@ -477,8 +477,8 @@ dhx_login (GVfsAfpServer *server, if (strlen (password) > 64) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED, - ngettext ("The server doesn't support passwords longer than %d character.", - "The server doesn't support passwords longer than %d characters.", + ngettext ("The server doesn’t support passwords longer than %d character.", + "The server doesn’t support passwords longer than %d characters.", 64), 64); return FALSE; } @@ -673,7 +673,7 @@ do_login (GVfsAfpServer *server, if (!g_slist_find_custom (priv->info.uams, AFP_UAM_NO_USER, (GCompareFunc)g_strcmp0)) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("The server “%s” doesn't support anonymous access."), + _("The server “%s” doesn’t support anonymous access."), priv->info.server_name); return FALSE; } @@ -698,7 +698,7 @@ do_login (GVfsAfpServer *server, case AFP_RESULT_USER_NOT_AUTH: case AFP_RESULT_BAD_UAM: g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("The server “%s” doesn't support anonymous access."), + _("The server “%s” doesn’t support anonymous access."), priv->info.server_name); break; @@ -801,7 +801,7 @@ get_server_info (GVfsAfpServer *server, g_object_unref (reply); g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, - _("Unable to connect to the server “%s”. The server doesn't support AFP version 3.0 or later."), + _("Unable to connect to the server “%s”. The server doesn’t support AFP version 3.0 or later."), priv->info.server_name); return FALSE; } diff --git a/daemon/gvfsafputils.c b/daemon/gvfsafputils.c index c945d850..19fa41f4 100644 --- a/daemon/gvfsafputils.c +++ b/daemon/gvfsafputils.c @@ -121,7 +121,7 @@ afp_result_code_to_gerror (AfpResultCode res_code) if (res_string) return g_error_new (G_IO_ERROR, G_IO_ERROR_FAILED, - _("Got error \"%s\" from server"), res_string); + _("Got error “%s” from server"), res_string); else return g_error_new (G_IO_ERROR, G_IO_ERROR_FAILED, _("Got unknown error code %d from server"), res_code); diff --git a/daemon/gvfsafpvolume.c b/daemon/gvfsafpvolume.c index 248b0536..c65597b3 100644 --- a/daemon/gvfsafpvolume.c +++ b/daemon/gvfsafpvolume.c @@ -137,7 +137,7 @@ g_vfs_afp_volume_mount_sync (GVfsAfpVolume *volume, if (res_code == AFP_RESULT_OBJECT_NOT_FOUND) { g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Volume doesn't exist")); + _("Volume doesn’t exist")); return FALSE; } @@ -159,7 +159,7 @@ g_vfs_afp_volume_mount_sync (GVfsAfpVolume *volume, generic_error: g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, /* Translators: first %s is volumename and second servername */ - _("Couldn't load %s on %s"), volume_name, + _("Couldn’t load %s on %s"), volume_name, g_vfs_afp_server_get_info(priv->server)->server_name); return FALSE; } @@ -411,7 +411,7 @@ open_fork_cb (GObject *source_object, GAsyncResult *result, gpointer user_data) break; case AFP_RESULT_OBJECT_NOT_FOUND: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); break; case AFP_RESULT_OBJECT_TYPE_ERR: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, @@ -693,7 +693,7 @@ delete_cb (GObject *source_object, GAsyncResult *res, gpointer user_data) break; case AFP_RESULT_OBJECT_NOT_FOUND: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Target object doesn't exist")); + _("Target object doesn’t exist")); break; case AFP_RESULT_VOL_LOCKED: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED, @@ -846,7 +846,7 @@ create_file_cb (GObject *object, GAsyncResult *res, gpointer user_data) break; case AFP_RESULT_OBJECT_NOT_FOUND: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Ancestor directory doesn't exist")); + _("Ancestor directory doesn’t exist")); break; case AFP_RESULT_VOL_LOCKED: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED, @@ -1034,11 +1034,11 @@ make_directory_cb (GObject *source_object, GAsyncResult *res, gpointer user_data g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, /* Translators: flat means volume doesn't support directories (all files are in the volume root) */ - _("Volume is flat and doesn't support directories")); + _("Volume is flat and doesn’t support directories")); break; case AFP_RESULT_OBJECT_NOT_FOUND: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Ancestor directory doesn't exist")); + _("Ancestor directory doesn’t exist")); break; case AFP_RESULT_OBJECT_EXISTS: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_EXISTS, @@ -1230,7 +1230,7 @@ rename_cb (GObject *source_object, GAsyncResult *res, gpointer user_data) break; case AFP_RESULT_CANT_RENAME: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_INVALID_FILENAME, - _("Can't rename volume")); + _("Can’t rename volume")); break; case AFP_RESULT_OBJECT_EXISTS: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_EXISTS, @@ -1242,7 +1242,7 @@ rename_cb (GObject *source_object, GAsyncResult *res, gpointer user_data) break; case AFP_RESULT_OBJECT_NOT_FOUND: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Target object doesn't exist")); + _("Target object doesn’t exist")); break; case AFP_RESULT_VOL_LOCKED: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED, @@ -1413,15 +1413,15 @@ move_and_rename_cb (GObject *source_object, GAsyncResult *res, gpointer user_dat break; case AFP_RESULT_CANT_MOVE: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_WOULD_RECURSE, - _("Can't move directory into one of its descendants")); + _("Can’t move directory into one of its descendants")); break; case AFP_RESULT_INSIDE_SHARE_ERR: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_FAILED, - _("Can't move sharepoint into a shared directory")); + _("Can’t move sharepoint into a shared directory")); break; case AFP_RESULT_INSIDE_TRASH_ERR: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_FAILED, - _("Can't move a shared directory into the Trash")); + _("Can’t move a shared directory into the Trash")); break; case AFP_RESULT_OBJECT_EXISTS: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_EXISTS, @@ -1433,7 +1433,7 @@ move_and_rename_cb (GObject *source_object, GAsyncResult *res, gpointer user_dat break; case AFP_RESULT_OBJECT_NOT_FOUND: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Object being moved doesn't exist")); + _("Object being moved doesn’t exist")); break; default: g_simple_async_result_take_error (simple, afp_result_code_to_gerror (res_code)); @@ -1570,7 +1570,7 @@ copy_file_cb (GObject *source_object, GAsyncResult *res, gpointer user_data) break; case AFP_RESULT_CALL_NOT_SUPPORTED: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("Server doesn't support the FPCopyFile operation")); + _("Server doesn’t support the FPCopyFile operation")); break; case AFP_RESULT_DENY_CONFLICT: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_FAILED, @@ -1586,7 +1586,7 @@ copy_file_cb (GObject *source_object, GAsyncResult *res, gpointer user_data) break; case AFP_RESULT_OBJECT_NOT_FOUND: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Source file and/or destination directory doesn't exist")); + _("Source file and/or destination directory doesn’t exist")); break; case AFP_RESULT_OBJECT_TYPE_ERR: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, @@ -1732,7 +1732,7 @@ get_filedir_parms_cb (GObject *source_object, GAsyncResult *result, gpointer use { case AFP_RESULT_OBJECT_NOT_FOUND: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); break; default: g_simple_async_result_take_error (simple, afp_result_code_to_gerror (res_code)); @@ -2144,7 +2144,7 @@ set_unix_privs_cb (GObject *source_object, GAsyncResult *res, gpointer user_data break; case AFP_RESULT_OBJECT_NOT_FOUND: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Target object doesn't exist")); + _("Target object doesn’t exist")); break; case AFP_RESULT_VOL_LOCKED: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED, @@ -2306,7 +2306,7 @@ enumerate_cb (GObject *source_object, GAsyncResult *res, gpointer user_data) break; case AFP_RESULT_DIR_NOT_FOUND: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Directory doesn't exist")); + _("Directory doesn’t exist")); break; case AFP_RESULT_OBJECT_TYPE_ERR: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_NOT_DIRECTORY, @@ -2526,7 +2526,7 @@ close_replace_exchange_files_cb (GObject *source_object, GAsyncResult *res, gpoi break; case AFP_RESULT_ID_NOT_FOUND: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); break; case AFP_RESULT_OBJECT_TYPE_ERR: g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, diff --git a/daemon/gvfsbackendafc.c b/daemon/gvfsbackendafc.c index e3834152..b473154e 100644 --- a/daemon/gvfsbackendafc.c +++ b/daemon/gvfsbackendafc.c @@ -207,7 +207,7 @@ g_vfs_backend_afc_check (afc_error_t cond, GVfsJob *job) break; case AFC_E_OBJECT_NOT_FOUND: g_vfs_job_failed (job, G_IO_ERROR, error, - _("File doesn't exist")); + _("File doesn’t exist")); break; case AFC_E_DIR_NOT_EMPTY: g_vfs_job_failed (job, G_IO_ERROR, error, @@ -1102,7 +1102,7 @@ is_dir_bail: g_free (app); g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, - _("Can't open directory")); + _("Can’t open directory")); return; } @@ -1113,7 +1113,7 @@ not_found_bail: g_free (app); g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); return; } diff --git a/daemon/gvfsbackendafp.c b/daemon/gvfsbackendafp.c index 41e6fd57..7bff73e6 100644 --- a/daemon/gvfsbackendafp.c +++ b/daemon/gvfsbackendafp.c @@ -283,7 +283,7 @@ do_copy (CopyData *copy_data) { if (source_is_dir) g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_MERGE, - _("Can't copy directory over directory")); + _("Can’t copy directory over directory")); else g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, _("File is directory")); @@ -302,7 +302,7 @@ do_copy (CopyData *copy_data) if (source_is_dir) { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_RECURSE, - _("Can't recursively copy directory")); + _("Can’t recursively copy directory")); goto error; } @@ -486,7 +486,7 @@ do_move (MoveData *move_data) { if (source_is_dir) g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_MERGE, - _("Can't move directory over directory")); + _("Can’t move directory over directory")); else g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, _("File is directory")); @@ -601,7 +601,7 @@ try_set_display_name (GVfsBackend *backend, if (is_root (filename)) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_INVALID_FILENAME, - _("Can't rename volume")); + _("Can’t rename volume")); return TRUE; } diff --git a/daemon/gvfsbackendafpbrowse.c b/daemon/gvfsbackendafpbrowse.c index 41e05a3c..426507b5 100644 --- a/daemon/gvfsbackendafpbrowse.c +++ b/daemon/gvfsbackendafpbrowse.c @@ -187,7 +187,7 @@ mount_mountable_cb (GObject *source_object, if (!vol_data) { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); return; } @@ -324,7 +324,7 @@ try_enumerate (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); return TRUE; } @@ -356,7 +356,7 @@ query_info_cb (GObject *source_object, if (!vol_data) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); return; } diff --git a/daemon/gvfsbackendarchive.c b/daemon/gvfsbackendarchive.c index abcb2ce0..edbd68f6 100644 --- a/daemon/gvfsbackendarchive.c +++ b/daemon/gvfsbackendarchive.c @@ -734,7 +734,7 @@ do_open_for_read (GVfsBackend * backend, g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); return; } @@ -742,7 +742,7 @@ do_open_for_read (GVfsBackend * backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, - _("Can't open directory")); + _("Can’t open directory")); return; } @@ -789,7 +789,7 @@ do_open_for_read (GVfsBackend * backend, g_set_error_literal (&archive->error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); } gvfs_archive_finish (archive); } @@ -841,7 +841,7 @@ do_query_info (GVfsBackend *backend, g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); return; } @@ -870,7 +870,7 @@ do_enumerate (GVfsBackend *backend, g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); return; } diff --git a/daemon/gvfsbackendburn.c b/daemon/gvfsbackendburn.c index d26468ca..8b38368a 100644 --- a/daemon/gvfsbackendburn.c +++ b/daemon/gvfsbackendburn.c @@ -452,7 +452,7 @@ try_open_for_read (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, - _("Can't copy file over directory")); + _("Can’t copy file over directory")); return TRUE; } @@ -872,7 +872,7 @@ try_push (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_MERGE, - _("Can't copy directory over directory")); + _("Can’t copy directory over directory")); return TRUE; } /* continue to would_recurse error */ @@ -888,7 +888,7 @@ try_push (GVfsBackend *backend, g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_RECURSE, - _("Can't recursively copy directory")); + _("Can’t recursively copy directory")); return TRUE; } @@ -900,7 +900,7 @@ try_push (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, - _("Can't copy file over directory")); + _("Can’t copy file over directory")); return TRUE; } else diff --git a/daemon/gvfsbackendcdda.c b/daemon/gvfsbackendcdda.c index bd10dd04..a2f1e187 100644 --- a/daemon/gvfsbackendcdda.c +++ b/daemon/gvfsbackendcdda.c @@ -829,7 +829,7 @@ do_read (GVfsBackend *backend, g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, g_io_error_from_errno (errsv), /* Translators: paranoia is the name of the cd audio reading library */ - _("Error from 'paranoia' on drive %s"), cdda_backend->device_path); + _("Error from “paranoia” on drive %s"), cdda_backend->device_path); return; } @@ -1021,14 +1021,14 @@ do_query_info (GVfsBackend *backend, if (track_num > cdda_backend->drive->tracks) { - error = g_error_new (G_IO_ERROR, G_IO_ERROR_NOT_FOUND, _("File doesn't exist")); + error = g_error_new (G_IO_ERROR, G_IO_ERROR_NOT_FOUND, _("File doesn’t exist")); g_vfs_job_failed_from_error (G_VFS_JOB (job), error); return; } if (! cdio_cddap_track_audiop (cdda_backend->drive, track_num)) { - error = g_error_new (G_IO_ERROR, G_IO_ERROR_NOT_FOUND, _("The file does not exist or isn't an audio track")); + error = g_error_new (G_IO_ERROR, G_IO_ERROR_NOT_FOUND, _("The file does not exist or isn’t an audio track")); g_vfs_job_failed_from_error (G_VFS_JOB (job), error); return; } diff --git a/daemon/gvfsbackendcomputer.c b/daemon/gvfsbackendcomputer.c index 4b1ff4fd..a14829fe 100644 --- a/daemon/gvfsbackendcomputer.c +++ b/daemon/gvfsbackendcomputer.c @@ -636,7 +636,7 @@ lookup (GVfsBackendComputer *backend, out: g_vfs_job_failed (job, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); return NULL; } @@ -654,11 +654,11 @@ try_open_for_read (GVfsBackend *backend, if (file == &root) g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, - _("Can't open directory")); + _("Can’t open directory")); else if (file != NULL) g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("Can't open mountable file")); + _("Can’t open mountable file")); return TRUE; } @@ -887,7 +887,7 @@ mount_volume_from_drive (GDrive *drive, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("Can't mount file")); + _("Can’t mount file")); } g_list_free_full (volumes, g_object_unref); @@ -1005,7 +1005,7 @@ try_mount_mountable (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("Can't mount file")); + _("Can’t mount file")); } } @@ -1069,7 +1069,7 @@ try_unmount_mountable (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("Can't unmount file")); + _("Can’t unmount file")); } } @@ -1199,7 +1199,7 @@ try_eject_mountable (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("Can't eject file")); + _("Can’t eject file")); } } @@ -1266,14 +1266,14 @@ try_start_mountable (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("Can't start drive")); + _("Can’t start drive")); } } else { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("Can't start drive")); + _("Can’t start drive")); } return TRUE; } @@ -1339,14 +1339,14 @@ try_stop_mountable (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("Can't stop drive")); + _("Can’t stop drive")); } } else { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("Can't stop drive")); + _("Can’t stop drive")); } return TRUE; } @@ -1403,14 +1403,14 @@ try_poll_mountable (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("Can't poll file")); + _("Can’t poll file")); } } else { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("Can't poll file")); + _("Can’t poll file")); } return TRUE; } diff --git a/daemon/gvfsbackenddav.c b/daemon/gvfsbackenddav.c index adaf00d3..89fe54e2 100644 --- a/daemon/gvfsbackenddav.c +++ b/daemon/gvfsbackenddav.c @@ -2864,12 +2864,12 @@ do_move (GVfsBackend *backend, g_vfs_job_failed_literal (G_VFS_JOB(job), G_IO_ERROR, G_IO_ERROR_WOULD_MERGE, - _("Can't move directory over directory")); + _("Can’t move directory over directory")); else g_vfs_job_failed_literal (G_VFS_JOB(job), G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, - _("Can't move over directory")); + _("Can’t move over directory")); goto error; } else if (source_ft == G_FILE_TYPE_DIRECTORY) @@ -2987,7 +2987,7 @@ do_copy (GVfsBackend *backend, g_vfs_job_failed_literal (G_VFS_JOB(job), G_IO_ERROR, G_IO_ERROR_WOULD_MERGE, - _("Can't copy directory over directory")); + _("Can’t copy directory over directory")); else g_vfs_job_failed_literal (G_VFS_JOB(job), G_IO_ERROR, @@ -3016,7 +3016,7 @@ do_copy (GVfsBackend *backend, g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_RECURSE, - _("Can't recursively copy directory")); + _("Can’t recursively copy directory")); goto error; } diff --git a/daemon/gvfsbackenddnssd.c b/daemon/gvfsbackenddnssd.c index 31bf54c9..c7f53b01 100644 --- a/daemon/gvfsbackenddnssd.c +++ b/daemon/gvfsbackenddnssd.c @@ -420,7 +420,7 @@ lookup_link_file (GVfsBackendDnsSd *backend, out: g_vfs_job_failed (job, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); return NULL; } @@ -764,7 +764,7 @@ try_create_monitor (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("Can't monitor file or directory.")); + _("Can’t monitor file or directory.")); return TRUE; } diff --git a/daemon/gvfsbackendftp.c b/daemon/gvfsbackendftp.c index 2b758e6d..4fcbc65f 100644 --- a/daemon/gvfsbackendftp.c +++ b/daemon/gvfsbackendftp.c @@ -775,7 +775,7 @@ error_550_permission_or_not_found (GVfsFtpTask *task, gpointer file) g_set_error_literal (&task->error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); } } @@ -1169,7 +1169,7 @@ do_query_info (GVfsBackend *backend, g_set_error_literal (&task.error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); } g_vfs_ftp_task_done (&task); @@ -1589,7 +1589,7 @@ do_pull_improve_error_message (GVfsFtpTask *task, if (file_type == G_FILE_TYPE_DIRECTORY) { g_set_error_literal (&task->error, G_IO_ERROR, G_IO_ERROR_WOULD_MERGE, - _("Can't copy directory over directory")); + _("Can’t copy directory over directory")); return; } /* continue to would_recurse error */ @@ -1612,7 +1612,7 @@ do_pull_improve_error_message (GVfsFtpTask *task, } g_set_error_literal (&task->error, G_IO_ERROR, G_IO_ERROR_WOULD_RECURSE, - _("Can't recursively copy directory")); + _("Can’t recursively copy directory")); } } diff --git a/daemon/gvfsbackendgoogle.c b/daemon/gvfsbackendgoogle.c index 442e0314..1422760f 100644 --- a/daemon/gvfsbackendgoogle.c +++ b/daemon/gvfsbackendgoogle.c @@ -210,7 +210,7 @@ sanitize_error (GError **error) { g_warning ("%s", (*error)->message); g_clear_error (error); - g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, _("Target object doesn't exist")); + g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, _("Target object doesn’t exist")); } } @@ -1241,7 +1241,7 @@ g_vfs_backend_google_copy (GVfsBackend *_self, g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_RECURSE, - _("Can't recursively copy directory")); + _("Can’t recursively copy directory")); goto out; } } @@ -1803,7 +1803,7 @@ g_vfs_backend_google_push (GVfsBackend *_self, g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_MERGE, - _("Can't copy directory over directory")); + _("Can’t copy directory over directory")); goto out; } else @@ -1811,7 +1811,7 @@ g_vfs_backend_google_push (GVfsBackend *_self, g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, - _("Can't copy file over directory")); + _("Can’t copy file over directory")); goto out; } } @@ -1822,7 +1822,7 @@ g_vfs_backend_google_push (GVfsBackend *_self, g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_RECURSE, - _("Can't recursively copy directory")); + _("Can’t recursively copy directory")); goto out; } } @@ -1842,7 +1842,7 @@ g_vfs_backend_google_push (GVfsBackend *_self, g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_RECURSE, - _("Can't recursively copy directory")); + _("Can’t recursively copy directory")); goto out; } } @@ -2184,7 +2184,7 @@ g_vfs_backend_google_open_for_read (GVfsBackend *_self, if (GDATA_IS_DOCUMENTS_FOLDER (entry)) { - g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, _("Can't open directory")); + g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, _("Can’t open directory")); goto out; } diff --git a/daemon/gvfsbackendgphoto2.c b/daemon/gvfsbackendgphoto2.c index 6c176639..335ea090 100644 --- a/daemon/gvfsbackendgphoto2.c +++ b/daemon/gvfsbackendgphoto2.c @@ -1802,7 +1802,7 @@ do_open_for_read_real (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, - _("Can't open directory")); + _("Can’t open directory")); goto out; } @@ -1901,7 +1901,7 @@ do_open_icon_for_read (GVfsBackend *backend, g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT, - _("Malformed icon identifier '%s'"), + _("Malformed icon identifier “%s”"), icon_id); } } @@ -2815,7 +2815,7 @@ do_delete (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_EMPTY, - _("Directory '%s' is not empty"), filename); + _("Directory “%s” is not empty"), filename); goto out; } else @@ -2905,7 +2905,7 @@ do_create_internal (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, - _("Can't write to directory")); + _("Can’t write to directory")); goto out; } diff --git a/daemon/gvfsbackendmtp.c b/daemon/gvfsbackendmtp.c index 2338235f..ae8057ee 100644 --- a/daemon/gvfsbackendmtp.c +++ b/daemon/gvfsbackendmtp.c @@ -855,7 +855,7 @@ get_dev_path_and_device_from_host (GVfsJob *job, g_free (dev_path); g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Couldn't find matching udev device.")); + _("Couldn’t find matching udev device.")); return NULL; } @@ -1067,7 +1067,7 @@ get_device (GVfsBackend *backend, const char *id, GVfsJob *job) { if (device == NULL) { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_FAILED, - _("Unable to open MTP device '%s'"), name); + _("Unable to open MTP device “%s”"), name); g_free (name); goto exit; } @@ -1435,7 +1435,7 @@ do_query_info (GVfsBackend *backend, LIBMTP_Clear_Errorstack (device); g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Directory doesn't exist")); + _("Directory doesn’t exist")); goto exit; } @@ -1460,7 +1460,7 @@ do_query_info (GVfsBackend *backend, g_debug ("(W) storage %X not found?!\n", entry->storage); g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Directory doesn't exist")); + _("Directory doesn’t exist")); goto exit; } } else { @@ -1610,7 +1610,7 @@ do_make_directory (GVfsBackend *backend, if (!entry) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Directory doesn't exist")); + _("Directory doesn’t exist")); goto exit; } @@ -1656,7 +1656,7 @@ do_pull (GVfsBackend *backend, if (entry == NULL) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); goto exit; } else if (entry->id == -1) { g_vfs_job_failed_literal (G_VFS_JOB (job), @@ -1672,7 +1672,7 @@ do_pull (GVfsBackend *backend, if (file == NULL) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); goto exit; } @@ -1712,12 +1712,12 @@ do_pull (GVfsBackend *backend, } else if (source_is_dir && dest_is_dir) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_MERGE, - _("Can't merge directories")); + _("Can’t merge directories")); goto exit; } else if (source_is_dir && !dest_is_dir) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_RECURSE, - _("Can't recursively copy directory")); + _("Can’t recursively copy directory")); goto exit; } /* Source and Dest are files */ @@ -1740,7 +1740,7 @@ do_pull (GVfsBackend *backend, } else if (source_is_dir) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_RECURSE, - _("Can't recursively copy directory")); + _("Can’t recursively copy directory")); goto exit; } @@ -1993,7 +1993,7 @@ do_push (GVfsBackend *backend, if (!parent) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Directory doesn't exist")); + _("Directory doesn’t exist")); goto exit; } @@ -2037,12 +2037,12 @@ do_push (GVfsBackend *backend, } else if (source_is_dir && dest_is_dir) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_MERGE, - _("Can't merge directories")); + _("Can’t merge directories")); goto exit; } else if (source_is_dir && !dest_is_dir) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_RECURSE, - _("Can't recursively copy directory")); + _("Can’t recursively copy directory")); goto exit; } /* Source and Dest are files */ @@ -2066,7 +2066,7 @@ do_push (GVfsBackend *backend, } else if (source_is_dir) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_RECURSE, - _("Can't recursively copy directory")); + _("Can’t recursively copy directory")); goto exit; } @@ -2126,7 +2126,7 @@ do_delete (GVfsBackend *backend, if (entry == NULL) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); goto exit; } else if (entry->id == -1) { g_vfs_job_failed_literal (G_VFS_JOB (job), @@ -2189,7 +2189,7 @@ do_set_display_name (GVfsBackend *backend, if (entry == NULL) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); goto exit; } else if (entry->id == -1) { g_vfs_job_failed_literal (G_VFS_JOB (job), @@ -2257,7 +2257,7 @@ do_open_for_read (GVfsBackend *backend, if (entry == NULL) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); goto exit; } else if (entry->id == -1) { g_vfs_job_failed_literal (G_VFS_JOB (job), @@ -2279,7 +2279,7 @@ do_open_for_read (GVfsBackend *backend, LIBMTP_destroy_file_t (file); g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, - _("Can't open directory")); + _("Can’t open directory")); goto exit; } @@ -2351,7 +2351,7 @@ do_open_icon_for_read (GVfsBackend *backend, g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("No thumbnail for entity '%s'"), + _("No thumbnail for entity “%s”"), icon_id); goto exit; } @@ -2369,7 +2369,7 @@ do_open_icon_for_read (GVfsBackend *backend, g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT, - _("Malformed icon identifier '%s'"), + _("Malformed icon identifier “%s”"), icon_id); goto exit; } @@ -2536,7 +2536,7 @@ do_create (GVfsBackend *backend, if (!entry) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Directory doesn't exist")); + _("Directory doesn’t exist")); goto exit; } @@ -2611,7 +2611,7 @@ do_append_to (GVfsBackend *backend, if (entry == NULL) { g_vfs_job_failed_literal (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); goto exit; } else if (entry->id == -1) { g_vfs_job_failed_literal (G_VFS_JOB (job), diff --git a/daemon/gvfsbackendnetwork.c b/daemon/gvfsbackendnetwork.c index 068ccb22..92164e3f 100644 --- a/daemon/gvfsbackendnetwork.c +++ b/daemon/gvfsbackendnetwork.c @@ -693,7 +693,7 @@ lookup_network_file (GVfsBackendNetwork *backend, out: g_vfs_job_failed (job, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); return NULL; } @@ -848,7 +848,7 @@ try_create_monitor (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, - _("Can't monitor file or directory.")); + _("Can’t monitor file or directory.")); return TRUE; } diff --git a/daemon/gvfsbackendnfs.c b/daemon/gvfsbackendnfs.c index c7edffd7..3f14ad76 100644 --- a/daemon/gvfsbackendnfs.c +++ b/daemon/gvfsbackendnfs.c @@ -344,7 +344,7 @@ open_for_read_fstat_cb (int err, g_vfs_job_failed_literal (job, G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, - _("Can't open directory")); + _("Can’t open directory")); return; } } @@ -2469,7 +2469,7 @@ move_stat_dest_cb (int err, { g_vfs_job_failed_literal (job, G_IO_ERROR, G_IO_ERROR_WOULD_MERGE, - _("Can't move directory over directory")); + _("Can’t move directory over directory")); } else { diff --git a/daemon/gvfsbackendrecent.c b/daemon/gvfsbackendrecent.c index 7db60cfa..12000403 100644 --- a/daemon/gvfsbackendrecent.c +++ b/daemon/gvfsbackendrecent.c @@ -119,7 +119,7 @@ recent_backend_open_for_read (GVfsBackend *vfs_backend, if (filename[1] == '\0') g_set_error_literal (&error, G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, - _("Can't open directory")); + _("Can’t open directory")); else { diff --git a/daemon/gvfsbackendsftp.c b/daemon/gvfsbackendsftp.c index 1e3d1fcb..58a84550 100644 --- a/daemon/gvfsbackendsftp.c +++ b/daemon/gvfsbackendsftp.c @@ -948,7 +948,7 @@ login_answer_yes_no (GMountSource *mount_source, { g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED, - _("Can't send host identity confirmation")); + _("Can’t send host identity confirmation")); return FALSE; } @@ -1242,7 +1242,7 @@ handle_login (GVfsBackend *backend, { g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED, - _("Can't send password")); + _("Can’t send password")); ret_val = FALSE; break; } @@ -1258,7 +1258,7 @@ handle_login (GVfsBackend *backend, get_hostname_and_fingerprint_from_line (buffer, &hostname, &fingerprint); - message = g_strdup_printf (_("Can't verify the identity of “%s”.\n" + message = g_strdup_printf (_("Can’t verify the identity of “%s”.\n" "This happens when you log in to a computer the first time.\n\n" "The identity sent by the remote computer is “%s”. " "If you want to be absolutely sure it is safe to continue, " @@ -4815,7 +4815,7 @@ move_lstat_reply (GVfsBackendSftp *backend, g_vfs_job_failed (job, G_IO_ERROR, G_IO_ERROR_WOULD_MERGE, - _("Can't move directory over directory")); + _("Can’t move directory over directory")); else g_vfs_job_failed (job, G_IO_ERROR, diff --git a/daemon/gvfsbackendsmb.c b/daemon/gvfsbackendsmb.c index cc23629c..7a38a0a3 100644 --- a/daemon/gvfsbackendsmb.c +++ b/daemon/gvfsbackendsmb.c @@ -811,7 +811,7 @@ do_open_for_read (GVfsBackend *backend, if ((res == 0) && (S_ISDIR (st.st_mode))) g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, - _("Can't open directory")); + _("Can’t open directory")); else g_vfs_job_failed_from_errno (G_VFS_JOB (job), olderr); } @@ -2039,7 +2039,7 @@ do_set_display_name (GVfsBackend *backend, { g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_EXISTS, - _("Can't rename file, filename already exists")); + _("Can’t rename file, filename already exists")); goto out; } @@ -2188,7 +2188,7 @@ do_move (GVfsBackend *backend, g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_MERGE, - _("Can't move directory over directory")); + _("Can’t move directory over directory")); g_free (source_uri); g_free (dest_uri); return; @@ -2260,7 +2260,7 @@ do_move (GVfsBackend *backend, (errsv == EINVAL && source_is_dir)) g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_WOULD_RECURSE, - _("Can't recursively move directory")); + _("Can’t recursively move directory")); else g_vfs_job_failed_from_errno (G_VFS_JOB (job), errsv); } diff --git a/daemon/gvfsbackendsmbbrowse.c b/daemon/gvfsbackendsmbbrowse.c index a811c5ef..ea2b7d86 100644 --- a/daemon/gvfsbackendsmbbrowse.c +++ b/daemon/gvfsbackendsmbbrowse.c @@ -1126,7 +1126,7 @@ run_mount_mountable (GVfsBackendSmbBrowse *backend, else g_set_error_literal (&error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); g_mutex_unlock (&backend->entries_lock); @@ -1193,7 +1193,7 @@ run_open_for_read (GVfsBackendSmbBrowse *backend, else g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); } static void @@ -1380,7 +1380,7 @@ run_query_info (GVfsBackendSmbBrowse *backend, else g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); } static void @@ -1453,7 +1453,7 @@ run_enumerate (GVfsBackendSmbBrowse *backend, else g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("File doesn't exist")); + _("File doesn’t exist")); return; } diff --git a/daemon/gvfsbackendtrash.c b/daemon/gvfsbackendtrash.c index 95f39d7c..9702b860 100644 --- a/daemon/gvfsbackendtrash.c +++ b/daemon/gvfsbackendtrash.c @@ -231,7 +231,7 @@ trash_backend_open_for_read (GVfsBackend *vfs_backend, if (filename[1] == '\0') g_set_error_literal (&error, G_IO_ERROR, G_IO_ERROR_IS_DIRECTORY, - _("Can't open directory")); + _("Can’t open directory")); else { diff --git a/daemon/gvfsdaemonutils.c b/daemon/gvfsdaemonutils.c index 77c7b1b4..ba668317 100644 --- a/daemon/gvfsdaemonutils.c +++ b/daemon/gvfsdaemonutils.c @@ -258,13 +258,13 @@ certificate_flags_to_string (GTlsCertificateFlags errors) if (errors & G_TLS_CERTIFICATE_BAD_IDENTITY) g_string_append_printf (reason, "\n\t%s", _("The certificate does not match the identity of the site.")); if (errors & G_TLS_CERTIFICATE_NOT_ACTIVATED) - g_string_append_printf (reason, "\n\t%s", _("The certificate's activation time is in the future.")); + g_string_append_printf (reason, "\n\t%s", _("The certificate’s activation time is in the future.")); if (errors & G_TLS_CERTIFICATE_EXPIRED) g_string_append_printf (reason, "\n\t%s", _("The certificate has expired.")); if (errors & G_TLS_CERTIFICATE_REVOKED) g_string_append_printf (reason, "\n\t%s", _("The certificate has been revoked.")); if (errors & G_TLS_CERTIFICATE_INSECURE) - g_string_append_printf (reason, "\n\t%s", _("The certificate's algorithm is considered insecure.")); + g_string_append_printf (reason, "\n\t%s", _("The certificate’s algorithm is considered insecure.")); if (errors & G_TLS_CERTIFICATE_GENERIC_ERROR) g_string_append_printf (reason, "\n\t%s", _("Error occurred when validating the certificate.")); @@ -338,7 +338,7 @@ gvfs_accept_certificate (GMountSource *mount_source, certificate_str = certificate_to_string (certificate); reason = certificate_flags_to_string (errors); - message = g_strdup_printf (_("The site's identity can't be verified:" + message = g_strdup_printf (_("The site’s identity can’t be verified:" "%s\n\n" "%s\n\n" "Are you really sure you would like to continue?"), diff --git a/daemon/gvfsjobopenforread.c b/daemon/gvfsjobopenforread.c index 41b5f34d..05f11c6a 100644 --- a/daemon/gvfsjobopenforread.c +++ b/daemon/gvfsjobopenforread.c @@ -180,7 +180,7 @@ create_reply (GVfsJob *job, g_dbus_method_invocation_return_error_literal (invocation, G_IO_ERROR, G_IO_ERROR_TOO_MANY_OPEN_FILES, - _("Couldn't get stream file descriptor")); + _("Couldn’t get stream file descriptor")); g_object_unref (channel); return; } diff --git a/daemon/gvfsjobopenforwrite.c b/daemon/gvfsjobopenforwrite.c index 1388dabf..439b63c4 100644 --- a/daemon/gvfsjobopenforwrite.c +++ b/daemon/gvfsjobopenforwrite.c @@ -323,7 +323,7 @@ create_reply (GVfsJob *job, g_dbus_method_invocation_return_error_literal (invocation, G_IO_ERROR, G_IO_ERROR_TOO_MANY_OPEN_FILES, - _("Couldn't get stream file descriptor")); + _("Couldn’t get stream file descriptor")); g_object_unref (channel); return; } diff --git a/daemon/main.c b/daemon/main.c index 12e3c4d6..dca90396 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -147,7 +147,7 @@ main (int argc, char *argv[]) GOptionContext *context; const GOptionEntry options[] = { { "replace", 'r', 0, G_OPTION_ARG_NONE, &replace, N_("Replace old daemon."), NULL }, - { "no-fuse", 0, 0, G_OPTION_ARG_NONE, &no_fuse, N_("Don't start fuse."), NULL }, + { "no-fuse", 0, 0, G_OPTION_ARG_NONE, &no_fuse, N_("Don’t start fuse."), NULL }, { "debug", 'd', 0, G_OPTION_ARG_NONE, &debugging, N_("Enable debug output."), NULL }, { "version", 0, 0, G_OPTION_ARG_NONE, &show_version, N_("Show program version."), NULL}, { NULL } @@ -187,7 +187,7 @@ main (int argc, char *argv[]) /* the second %s is the error message */ g_printerr (_("%s: %s"), g_get_application_name(), error->message); g_printerr ("\n"); - g_printerr (_("Try \"%s --help\" for more information."), + g_printerr (_("Try “%s --help” for more information."), g_get_prgname ()); g_printerr ("\n"); g_error_free (error); diff --git a/metadata/meta-daemon.c b/metadata/meta-daemon.c index 984ee7f9..16a72196 100644 --- a/metadata/meta-daemon.c +++ b/metadata/meta-daemon.c @@ -159,7 +159,7 @@ handle_set (GVfsMetadata *object, g_dbus_method_invocation_return_error (invocation, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Can't find metadata file %s"), + _("Can’t find metadata file %s"), arg_treefile); return TRUE; } @@ -235,7 +235,7 @@ handle_remove (GVfsMetadata *object, g_dbus_method_invocation_return_error (invocation, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Can't find metadata file %s"), + _("Can’t find metadata file %s"), arg_treefile); return TRUE; } @@ -271,7 +271,7 @@ handle_move (GVfsMetadata *object, g_dbus_method_invocation_return_error (invocation, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - _("Can't find metadata file %s"), + _("Can’t find metadata file %s"), arg_treefile); return TRUE; } @@ -403,7 +403,7 @@ main (int argc, char *argv[]) /* the second %s is the error message */ g_printerr (_("%s: %s"), g_get_application_name(), error->message); g_printerr ("\n"); - g_printerr (_("Try \"%s --help\" for more information."), + g_printerr (_("Try “%s --help” for more information."), g_get_prgname ()); g_printerr ("\n"); g_error_free (error); diff --git a/monitor/gdu/ggdumount.c b/monitor/gdu/ggdumount.c index cf606ab8..eca04c03 100644 --- a/monitor/gdu/ggdumount.c +++ b/monitor/gdu/ggdumount.c @@ -1006,7 +1006,7 @@ _gdu_unmount_cb (GduDevice *device, G_IO_ERROR, G_IO_ERROR_FAILED, /* Translators: can't get block device with unencrypted data from path */ - _("Cannot get LUKS cleartext slave from path `%s'"), + _("Cannot get LUKS cleartext slave from path “%s”"), luks_cleartext_slave_object_path); data->completed = TRUE; _gdu_unmount_data_unref (data); diff --git a/monitor/gdu/ggduvolume.c b/monitor/gdu/ggduvolume.c index c088e5ab..cf42a928 100644 --- a/monitor/gdu/ggduvolume.c +++ b/monitor/gdu/ggduvolume.c @@ -1095,14 +1095,14 @@ mount_with_mount_operation (MountOpData *data) if (gdu_device_is_partition (device)) { message = g_strdup_printf (_("Enter a password to unlock the volume\n" - "The device \"%s\" contains encrypted data on partition %d."), + "The device “%s” contains encrypted data on partition %d."), drive_name, gdu_device_partition_get_number (device)); } else { message = g_strdup_printf (_("Enter a password to unlock the volume\n" - "The device \"%s\" contains encrypted data."), + "The device “%s” contains encrypted data."), drive_name); } } diff --git a/monitor/udisks2/gvfsudisks2utils.c b/monitor/udisks2/gvfsudisks2utils.c index 71d2b7de..91209407 100644 --- a/monitor/udisks2/gvfsudisks2utils.c +++ b/monitor/udisks2/gvfsudisks2utils.c @@ -508,7 +508,7 @@ gvfs_udisks2_utils_spawn_finish (GAsyncResult *res, g_set_error (error, G_IO_ERROR, G_IO_ERROR_TIMED_OUT, - _("Timed out running command-line `%s'"), + _("Timed out running command-line “%s”"), data->command_line); goto out; } @@ -674,7 +674,7 @@ unmount_notify_timer_cb (gpointer user_data) if (data->generic_text) message = g_strdup_printf (_("Unmounting %s\nPlease wait"), name); else - message = g_strdup_printf (_("Writing data to %s\nDon't unplug until finished"), name); + message = g_strdup_printf (_("Writing data to %s\nDon’t unplug until finished"), name); g_signal_emit_by_name (data->op, "show-unmount-progress", message, -1, -1); |