summaryrefslogtreecommitdiff
path: root/pot.c
diff options
context:
space:
mode:
authorTomáš Chvátal <tomas.chvatal@gmail.com>2014-12-01 14:21:06 +0100
committerJan Kara <jack@suse.cz>2014-12-02 14:21:56 +0100
commitbab3fa397dd3f6c932a272cedde79d175c667910 (patch)
tree6062cf2122f5b469bc7174abaaa29f0e8c6d9a01 /pot.c
parent204620858132006a77ba8df1bff04861b058b31b (diff)
Create new autotools buildsystem
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 <tchvatal@suse.cz> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'pot.c')
-rw-r--r--pot.c4
1 files changed, 2 insertions, 2 deletions
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
}