aboutsummaryrefslogtreecommitdiffstats
path: root/src/prefs-dialog.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-12-14 03:04:01 +0800
committerChristian Persch <chpe@src.gnome.org>2004-12-14 03:04:01 +0800
commitcacc504b9a60460fc312220ba7461f23e196fd83 (patch)
tree70786e56d7163a160701a36001076a4acf5d4b88 /src/prefs-dialog.c
parent08a1289e48356e9da66ca2a16afa8355d8929cf3 (diff)
downloadgsoc2013-epiphany-cacc504b9a60460fc312220ba7461f23e196fd83.tar
gsoc2013-epiphany-cacc504b9a60460fc312220ba7461f23e196fd83.tar.gz
gsoc2013-epiphany-cacc504b9a60460fc312220ba7461f23e196fd83.tar.bz2
gsoc2013-epiphany-cacc504b9a60460fc312220ba7461f23e196fd83.tar.lz
gsoc2013-epiphany-cacc504b9a60460fc312220ba7461f23e196fd83.tar.xz
gsoc2013-epiphany-cacc504b9a60460fc312220ba7461f23e196fd83.tar.zst
gsoc2013-epiphany-cacc504b9a60460fc312220ba7461f23e196fd83.zip
Prompt for bookmark update.
2004-12-13 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (update_bookmark_response_cb), (update_bookmark_destroy_cb), (redirect_cb): Prompt for bookmark update. * src/prefs-dialog.c: (get_download_button_label): Use gtk domain for Home and Desktop strings to get the same as the filechooser.
Diffstat (limited to 'src/prefs-dialog.c')
-rw-r--r--src/prefs-dialog.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index f47c7474c..c40d680e4 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -518,6 +518,9 @@ struct PrefsDialogPrivate
#endif
};
+/* gtk+' gettext domain */
+#define GTK_DOMAIN "gtk20"
+
static GObjectClass *parent_class = NULL;
GType
@@ -1429,24 +1432,17 @@ get_download_button_label ()
if (key == NULL || g_utf8_collate (key, "~") == 0)
{
- /* Note that this does NOT refer to the home page but to a
- * user's home folder. It should be translated by the same
- * term as GTK+'s "Home" string to be consistent with the
- * filechooser */
- label = g_strdup (_("Home"));
+ label = g_strdup (dgettext (GTK_DOMAIN, "Home"));
}
else if ((converted_dp != NULL && g_utf8_collate (key, converted_dp) == 0) ||
g_utf8_collate (key, "Downloads") == 0)
{
label = g_strdup (_("Downloads"));
}
- else if (g_utf8_collate (key, "~/Desktop") == 0)
- {
- label = g_strdup (_("Desktop"));
- }
- else if (g_utf8_collate (key, "Desktop") == 0)
+ else if (g_utf8_collate (key, "~/Desktop") == 0 ||
+ g_utf8_collate (key, "Desktop") == 0)
{
- label = g_strdup (_("Desktop"));
+ label = g_strdup (dgettext (GTK_DOMAIN, "Desktop"));
}
else
{