From 447f27c4b1849e8403ea75827d1ec912013acb89 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Sun, 25 Oct 2020 16:11:47 +0100 Subject: Switch from GNOMELOCALEDIR to LOCALEDIR variable name. --- configure.ac | 2 +- src/main.vala | 2 +- vapi/config.vapi | 2 +- 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; -- cgit v1.2.3