From bab3fa397dd3f6c932a272cedde79d175c667910 Mon Sep 17 00:00:00 2001 From: Tomáš Chvátal Date: Mon, 1 Dec 2014 14:21:06 +0100 Subject: Create new autotools buildsystem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reflect what was done before and try to mimic it Remove ChangeLog, now autogenerated for dist target Remove confusing gettext README and try to add new approach for translations [JK: Fixed build without RPC support] Signed-off-by: Tomáš Chvátal Signed-off-by: Jan Kara --- pot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pot.c') diff --git a/pot.c b/pot.c index e5a1e1d..6d9108d 100644 --- a/pot.c +++ b/pot.c @@ -10,7 +10,7 @@ void gettexton(void) { #ifdef USE_GETTEXT setlocale(LC_ALL, ""); - bindtextdomain("quota", "/usr/share/locale"); - textdomain("quota"); + bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR); + textdomain(PACKAGE); #endif } -- cgit v1.2.3