diff options
author | William Jon McCann <jmccann@redhat.com> | 2012-08-28 09:43:10 -0400 |
---|---|---|
committer | William Jon McCann <jmccann@redhat.com> | 2012-08-30 14:54:10 -0400 |
commit | a1983951e725e511ae4cb901c19eb7c900cae23d (patch) | |
tree | bc272148c26220e2065de982dbffd8c9d5102bc6 /daemon/gvfsbackendftp.c | |
parent | 3ef1deba4a05597a8b2bba6222ce9d94b02d6312 (diff) | |
download | gvfs-a1983951e725e511ae4cb901c19eb7c900cae23d.tar.gz |
Don't include jargon in mount display names and messages
The backend protocol isn't necessary in the display name for a
location. And having it there makes it much harder to actually
find the user interesting part of the name. Once a mount is connected
the user interesting part of the name is "what it is" and not
"how it is accessed".
This is possible now that we aren't using the display name
to make a unique mount point.
https://bugzilla.gnome.org/show_bug.cgi?id=682878
Diffstat (limited to 'daemon/gvfsbackendftp.c')
-rw-r--r-- | daemon/gvfsbackendftp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/daemon/gvfsbackendftp.c b/daemon/gvfsbackendftp.c index 831bcdf3..c55640e9 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 %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 %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 (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 (_("%s on %s"), ftp->user, ftp->host_display_name); } g_vfs_backend_set_mount_spec (backend, mount_spec); g_mount_spec_unref (mount_spec); |