aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gns@gnome.org>2009-09-21 02:23:27 +0800
committerGustavo Noronha Silva <gns@gnome.org>2009-09-21 02:27:50 +0800
commit1f41cc53955a0049635fc3f25af59274f899192e (patch)
tree1cad12edd78e5f323b1f39672cc4cf40b9e117cf /embed
parent5c594b0747b1f274b64ecc0fbb866793f6e5ff4a (diff)
downloadgsoc2013-epiphany-1f41cc53955a0049635fc3f25af59274f899192e.tar
gsoc2013-epiphany-1f41cc53955a0049635fc3f25af59274f899192e.tar.gz
gsoc2013-epiphany-1f41cc53955a0049635fc3f25af59274f899192e.tar.bz2
gsoc2013-epiphany-1f41cc53955a0049635fc3f25af59274f899192e.tar.lz
gsoc2013-epiphany-1f41cc53955a0049635fc3f25af59274f899192e.tar.xz
gsoc2013-epiphany-1f41cc53955a0049635fc3f25af59274f899192e.tar.zst
gsoc2013-epiphany-1f41cc53955a0049635fc3f25af59274f899192e.zip
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.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-web-view.c9
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);