From 1f41cc53955a0049635fc3f25af59274f899192e Mon Sep 17 00:00:00 2001 From: Gustavo Noronha Silva Date: Sun, 20 Sep 2009 15:23:27 -0300 Subject: Cleanup string freeze break for save as Use '%s Files', instead of '%s/%s Files' as the translatable string to avoid confusion, and reuse existing mozilla-era translations. Fix the languages that had already translated the new strings using old po files as reference. Also add a translator comment to the source file, for future reference. --- embed/ephy-web-view.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'embed') 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); -- cgit v1.2.3