diff options
author | Robert Tari <robert@tari.in> | 2020-10-25 16:11:47 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-10-26 11:38:50 +0100 |
commit | 447f27c4b1849e8403ea75827d1ec912013acb89 (patch) | |
tree | b728cf77b56f50b5d55f6a85fe35ef4c53c68783 | |
parent | c53da7f664feb24ce3f7a87145dc33189636e274 (diff) | |
download | ayatana-indicator-bluetooth-447f27c4b1849e8403ea75827d1ec912013acb89.tar.gz ayatana-indicator-bluetooth-447f27c4b1849e8403ea75827d1ec912013acb89.tar.bz2 ayatana-indicator-bluetooth-447f27c4b1849e8403ea75827d1ec912013acb89.zip |
Switch from GNOMELOCALEDIR to LOCALEDIR variable name.
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/main.vala | 2 | ||||
-rw-r--r-- | 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; |