diff options
author | Christian Kellner <gicmo@gnome.org> | 2016-08-22 21:00:41 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2016-08-23 14:33:14 +0200 |
commit | 4fd6c8cbf42e1b740e5245fe9b352e42594d2e9b (patch) | |
tree | e458d65a3c5c104903ab3d9ab14cca15e9256215 /daemon/gvfsbackendarchive.c | |
parent | c37777f4f52c93f2045dc7ce7d28bd9916c5257a (diff) | |
download | gvfs-4fd6c8cbf42e1b740e5245fe9b352e42594d2e9b.tar.gz |
archive: Fix display_name of root entry
Change display-name file info property from "/ on XYZ" to
"/ in XYZ", as indicated by the FIXME in the code.
https://bugzilla.gnome.org/show_bug.cgi?id=770238
Diffstat (limited to 'daemon/gvfsbackendarchive.c')
-rw-r--r-- | daemon/gvfsbackendarchive.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/daemon/gvfsbackendarchive.c b/daemon/gvfsbackendarchive.c index 1d4f7e1a..abcb2ce0 100644 --- a/daemon/gvfsbackendarchive.c +++ b/daemon/gvfsbackendarchive.c @@ -343,9 +343,10 @@ create_root_file (GVfsBackendArchive *ba) g_file_info_set_name (info, "/"); s = g_file_get_basename (ba->file); - /* FIXME: this should really be "/ in %s", but can't change - due to string freeze. */ - display_name = g_strdup_printf (_("/ on %s"), s); + + /* Translators: This is the name of the root in a mounted archive file, + e.g. "/ in archive.tar.gz" for a file with the name "archive.tar.gz" */ + display_name = g_strdup_printf (_("/ in %s"), s); g_free (s); g_file_info_set_display_name (info, display_name); g_free (display_name); |