From 74a5295da0261215d9bb0868db7b4a5f3515af89 Mon Sep 17 00:00:00 2001 From: Masanori Kakura Date: Wed, 29 Aug 2018 21:58:05 +0900 Subject: 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. --- src/config-ini.c | 3 +++ src/gamma-drm.c | 4 ++++ src/gamma-dummy.c | 4 ++++ src/gamma-randr.c | 4 ++++ src/gamma-vidmode.c | 4 ++++ src/gamma-w32gdi.c | 4 ++++ src/location-geoclue2.c | 4 ++++ src/location-manual.c | 4 ++++ 8 files changed, 31 insertions(+) (limited to 'src') 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 */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include 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 */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include 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 */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include 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 */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include 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 */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include 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 */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include 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 */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include 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 */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include -- cgit v1.2.3-70-g09d2