aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMasanori Kakura <kakurasan@gmail.com>2018-08-29 21:58:05 +0900
committerMasanori Kakura <kakurasan@gmail.com>2018-08-29 21:58:05 +0900
commit74a5295da0261215d9bb0868db7b4a5f3515af89 (patch)
treeb9add64e819fc5465385d71870b49e16e6de0985 /src
parentMerge pull request #641 from jonls/delete-de-mo (diff)
downloadredshift-ng-74a5295da0261215d9bb0868db7b4a5f3515af89.tar.gz
redshift-ng-74a5295da0261215d9bb0868db7b4a5f3515af89.tar.bz2
redshift-ng-74a5295da0261215d9bb0868db7b4a5f3515af89.tar.xz
Fix "Some translated strings are still in English" issue
ENABLE_NLS is always undefined in some files and some translatable messages in these files are always displayed in English. This commit fixes the issue.
Diffstat (limited to 'src')
-rw-r--r--src/config-ini.c3
-rw-r--r--src/gamma-drm.c4
-rw-r--r--src/gamma-dummy.c4
-rw-r--r--src/gamma-randr.c4
-rw-r--r--src/gamma-vidmode.c4
-rw-r--r--src/gamma-w32gdi.c4
-rw-r--r--src/location-geoclue2.c4
-rw-r--r--src/location-manual.c4
8 files changed, 31 insertions, 0 deletions
diff --git a/src/config-ini.c b/src/config-ini.c
index 05fca5d..c596f92 100644
--- a/src/config-ini.c
+++ b/src/config-ini.c
@@ -17,6 +17,9 @@
Copyright (c) 2010 Jon Lund Steffensen <jonlst@gmail.com>
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/gamma-drm.c b/src/gamma-drm.c
index c0863e5..04d4f2c 100644
--- a/src/gamma-drm.c
+++ b/src/gamma-drm.c
@@ -18,6 +18,10 @@
Copyright (c) 2017 Jon Lund Steffensen <jonlst@gmail.com>
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
diff --git a/src/gamma-dummy.c b/src/gamma-dummy.c
index c2f2736..1730743 100644
--- a/src/gamma-dummy.c
+++ b/src/gamma-dummy.c
@@ -17,6 +17,10 @@
Copyright (c) 2013-2017 Jon Lund Steffensen <jonlst@gmail.com>
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/gamma-randr.c b/src/gamma-randr.c
index 70e8228..388f322 100644
--- a/src/gamma-randr.c
+++ b/src/gamma-randr.c
@@ -17,6 +17,10 @@
Copyright (c) 2010-2017 Jon Lund Steffensen <jonlst@gmail.com>
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
diff --git a/src/gamma-vidmode.c b/src/gamma-vidmode.c
index bd5435f..e604c3b 100644
--- a/src/gamma-vidmode.c
+++ b/src/gamma-vidmode.c
@@ -17,6 +17,10 @@
Copyright (c) 2010-2017 Jon Lund Steffensen <jonlst@gmail.com>
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
diff --git a/src/gamma-w32gdi.c b/src/gamma-w32gdi.c
index de34bb6..730cd0c 100644
--- a/src/gamma-w32gdi.c
+++ b/src/gamma-w32gdi.c
@@ -17,6 +17,10 @@
Copyright (c) 2010-2017 Jon Lund Steffensen <jonlst@gmail.com>
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/location-geoclue2.c b/src/location-geoclue2.c
index 696867e..06015c5 100644
--- a/src/location-geoclue2.c
+++ b/src/location-geoclue2.c
@@ -17,6 +17,10 @@
Copyright (c) 2014-2017 Jon Lund Steffensen <jonlst@gmail.com>
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/location-manual.c b/src/location-manual.c
index 137500c..db3a8a9 100644
--- a/src/location-manual.c
+++ b/src/location-manual.c
@@ -17,6 +17,10 @@
Copyright (c) 2010-2017 Jon Lund Steffensen <jonlst@gmail.com>
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <math.h>