[gvfs] archive: Fix display_name of root entry
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] archive: Fix display_name of root entry
- Date: Tue, 23 Aug 2016 12:39:40 +0000 (UTC)
commit 4fd6c8cbf42e1b740e5245fe9b352e42594d2e9b
Author: Christian Kellner <gicmo gnome org>
Date: Mon Aug 22 21:00:41 2016 +0200
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
daemon/gvfsbackendarchive.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/daemon/gvfsbackendarchive.c b/daemon/gvfsbackendarchive.c
index 1d4f7e1..abcb2ce 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]