diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-web-view.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 3ef682669..3eb8b4da1 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -2289,6 +2289,7 @@ ephy_web_view_save_sub_resources (EphyWebView *view, const char *uri, GList *sub char *filename; char *dotpos; char *directory_uri; + char *tmp; char *destination_uri; GError *error = NULL; @@ -2299,7 +2300,13 @@ ephy_web_view_save_sub_resources (EphyWebView *view, const char *uri, GList *sub *dotpos = '\0'; directory_uri = g_path_get_dirname (uri); - destination_uri = g_strdup_printf (_("%s/%s Files"), directory_uri, filename); + + /* Translators: this is the directory name to store auxilary files + * when saving html files. + */ + tmp = g_strdup_printf (_("%s Files"), filename); + destination_uri = g_strdup_printf ("%s/%s", directory_uri, tmp); + g_free (tmp); g_free (filename); g_free (directory_uri); |