aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/main.vala2
-rw-r--r--vapi/config.vapi2
3 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 65a0155..0a8dee9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,7 +57,7 @@ IT_PROG_INTLTOOL([0.41.0])
GETTEXT_PACKAGE=ayatana-indicator-bluetooth
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the default get text domain])
-AC_DEFINE_PATH(GNOMELOCALEDIR, "${datadir}/locale", [locale directory])
+AC_DEFINE_PATH(LOCALEDIR, "${datadir}/locale", [locale directory])
AM_GLIB_GNU_GETTEXT
diff --git a/src/main.vala b/src/main.vala
index 828a96b..be02a67 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -22,7 +22,7 @@ public static int main (string[] args)
// set up i18n
Intl.bind_textdomain_codeset (Config.GETTEXT_PACKAGE, "UTF-8");
Intl.setlocale (LocaleCategory.ALL, "");
- Intl.bindtextdomain (Config.GETTEXT_PACKAGE, Config.GNOMELOCALEDIR);
+ Intl.bindtextdomain (Config.GETTEXT_PACKAGE, Config.LOCALEDIR);
Intl.textdomain (Config.GETTEXT_PACKAGE);
// create the backend
diff --git a/vapi/config.vapi b/vapi/config.vapi
index 15c4c88..4be6d11 100644
--- a/vapi/config.vapi
+++ b/vapi/config.vapi
@@ -1,7 +1,7 @@
[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "../config.h")]
namespace Config {
public const string GETTEXT_PACKAGE;
- public const string GNOMELOCALEDIR;
+ public const string LOCALEDIR;
public const string PKGDATADIR;
public const string PACKAGE_NAME;
public const string PACKAGE_VERSION;