summaryrefslogtreecommitdiff
path: root/lib/ephy-langs.c
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2015-06-29 15:06:40 -0500
committerMichael Catanzaro <mcatanzaro@igalia.com>2015-06-30 10:38:23 -0500
commitb73db5522be075a651a7b3a812ad726fde47f585 (patch)
tree318b6c97709ae3b22ec104e56e5dff218fe300b0 /lib/ephy-langs.c
parentc205fbe91a1e725be4648688da4e35b8b352d1e6 (diff)
downloadepiphany-b73db5522be075a651a7b3a812ad726fde47f585.tar.gz
Use plain LOCALEDIR
The variable rename is itself of no consequence, just to be more standard. But $(localedir) may not necessarily be $(datadir)/locale, so this aspect of the change makes a real difference.
Diffstat (limited to 'lib/ephy-langs.c')
-rw-r--r--lib/ephy-langs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/ephy-langs.c b/lib/ephy-langs.c
index 208e3cb57..ccfcbc0c3 100644
--- a/lib/ephy-langs.c
+++ b/lib/ephy-langs.c
@@ -150,8 +150,6 @@ ephy_langs_get_languages (void)
return (char **) g_array_free (array, FALSE);
}
-#define ISOCODESLOCALEDIR ISO_CODES_PREFIX "/share/locale"
-
static void
ephy_langs_bind_iso_domains (void)
{
@@ -159,10 +157,10 @@ ephy_langs_bind_iso_domains (void)
if (bound == FALSE)
{
- bindtextdomain (ISO_639_DOMAIN, ISOCODESLOCALEDIR);
+ bindtextdomain (ISO_639_DOMAIN, LOCALEDIR);
bind_textdomain_codeset (ISO_639_DOMAIN, "UTF-8");
- bindtextdomain(ISO_3166_DOMAIN, ISOCODESLOCALEDIR);
+ bindtextdomain(ISO_3166_DOMAIN, LOCALEDIR);
bind_textdomain_codeset (ISO_3166_DOMAIN, "UTF-8");
bound = TRUE;