[gvfs] Always write (S)FTP in capitals.
- From: Friedel Wolff <fwolff src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] Always write (S)FTP in capitals.
- Date: Wed, 24 Aug 2011 14:48:07 +0000 (UTC)
commit e9538c0c6313b5a995b399291e09f6ef92b58d44
Author: Friedel Wolff <friedel translate org za>
Date: Wed Aug 24 16:47:11 2011 +0200
Always write (S)FTP in capitals.
https://bugzilla.gnome.org/show_bug.cgi?id=629116
daemon/daemon-main.c | 2 +-
daemon/gvfsbackendftp.c | 8 ++++----
daemon/gvfsbackendsftp.c | 10 +++++-----
3 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/daemon/daemon-main.c b/daemon/daemon-main.c
index 13e4780..bc53346 100644
--- a/daemon/daemon-main.c
+++ b/daemon/daemon-main.c
@@ -87,7 +87,7 @@ daemon_setup (void)
up = g_ascii_strup (G_STRINGIFY (DEFAULT_BACKEND_TYPE), -1);
/* translators: This is the default daemon's application name,
- * the %s is the type of the backend, like "ftp" */
+ * the %s is the type of the backend, like "FTP" */
name = g_strdup_printf (_("%s Filesystem Service"), up);
g_set_application_name (name);
g_free (name);
diff --git a/daemon/gvfsbackendftp.c b/daemon/gvfsbackendftp.c
index a715ec4..f8514a3 100644
--- a/daemon/gvfsbackendftp.c
+++ b/daemon/gvfsbackendftp.c
@@ -485,10 +485,10 @@ restart:
{
if (ftp->has_initial_user)
/* Translators: the first %s is the username, the second the host name */
- prompt = g_strdup_printf (_("Enter password for ftp as %s on %s"), ftp->user, ftp->host_display_name);
+ prompt = g_strdup_printf (_("Enter password for FTP as %s on %s"), ftp->user, ftp->host_display_name);
else
/* translators: %s here is the hostname */
- prompt = g_strdup_printf (_("Enter password for ftp on %s"), ftp->host_display_name);
+ prompt = g_strdup_printf (_("Enter password for FTP on %s"), ftp->host_display_name);
}
flags = G_ASK_PASSWORD_NEED_PASSWORD;
@@ -627,11 +627,11 @@ try_login:
g_mount_spec_set (mount_spec, "user", ftp->user);
if (g_str_equal (ftp->user, "anonymous"))
- display_name = g_strdup_printf (_("ftp on %s"), ftp->host_display_name);
+ display_name = g_strdup_printf (_("FTP on %s"), ftp->host_display_name);
else
{
/* Translators: the first %s is the username, the second the host name */
- display_name = g_strdup_printf (_("ftp as %s on %s"), ftp->user, ftp->host_display_name);
+ display_name = g_strdup_printf (_("FTP as %s on %s"), ftp->user, ftp->host_display_name);
}
g_vfs_backend_set_mount_spec (backend, mount_spec);
g_mount_spec_unref (mount_spec);
diff --git a/daemon/gvfsbackendsftp.c b/daemon/gvfsbackendsftp.c
index 580d380..4bd44a8 100644
--- a/daemon/gvfsbackendsftp.c
+++ b/daemon/gvfsbackendsftp.c
@@ -1687,11 +1687,11 @@ do_mount (GVfsBackend *backend,
g_mount_spec_unref (sftp_mount_spec);
if (op_backend->user_specified_in_uri)
- /* Translators: This is the name of an sftp share, like "sftp for <user>on <hostname>" */
- display_name = g_strdup_printf (_("sftp for %s on %s"), op_backend->user, op_backend->host);
+ /* Translators: This is the name of an SFTP share, like "SFTP for <user> on <hostname>" */
+ display_name = g_strdup_printf (_("SFTP for %s on %s"), op_backend->user, op_backend->host);
else
- /* Translators: This is the name of an sftp share, like "sftp on <hostname>" */
- display_name = g_strdup_printf (_("sftp on %s"), op_backend->host);
+ /* Translators: This is the name of an SFTP share, like "SFTP on <hostname>" */
+ display_name = g_strdup_printf (_("SFTP on %s"), op_backend->host);
g_vfs_backend_set_display_name (backend, display_name);
g_free (display_name);
@@ -2265,7 +2265,7 @@ parse_attributes (GVfsBackendSftp *backend,
char *name;
- /* Translators: This is the name of the root of an sftp share, like "/ on <hostname>" */
+ /* Translators: This is the name of the root of an SFTP share, like "/ on <hostname>" */
name = g_strdup_printf (_("/ on %s"), G_VFS_BACKEND_SFTP (backend)->host);
g_file_info_set_display_name (info, name);
g_free (name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]