aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2010-02-10 21:58:06 +0100
committerJon Lund Steffensen <jonlst@gmail.com>2010-02-10 21:58:06 +0100
commita3f67071c1a1fcf0501191f1439be1ce20362d3b (patch)
treec4c8380da3ca8679f0203c9ce2ee0ddff7585948 /src
parentgtk-redshift.py: Use 'redshift' gettext catalog (diff)
downloadredshift-ng-a3f67071c1a1fcf0501191f1439be1ce20362d3b.tar.gz
redshift-ng-a3f67071c1a1fcf0501191f1439be1ce20362d3b.tar.bz2
redshift-ng-a3f67071c1a1fcf0501191f1439be1ce20362d3b.tar.xz
redshift.c: Use LOCALEDIR define.
Diffstat (limited to 'src')
-rw-r--r--src/redshift.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/redshift.c b/src/redshift.c
index c022224..ee9dae5 100644
--- a/src/redshift.c
+++ b/src/redshift.c
@@ -241,8 +241,8 @@ main(int argc, char *argv[])
#ifdef ENABLE_NLS
/* Internationalisation */
- bindtextdomain("redshift", "/usr/share/locale");
- textdomain("redshift");
+ bindtextdomain(PACKAGE, LOCALEDIR);
+ textdomain(PACKAGE);
#endif
/* Initialize to defaults */