Skip to content

Commit

Permalink
Fix "Some translated strings are still in English" issue
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kakurasan committed Aug 29, 2018
1 parent ca8362c commit 74a5295
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/config-ini.c
Expand Up @@ -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>
Expand Down
4 changes: 4 additions & 0 deletions src/gamma-drm.c
Expand Up @@ -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>
Expand Down
4 changes: 4 additions & 0 deletions src/gamma-dummy.c
Expand Up @@ -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>

Expand Down
4 changes: 4 additions & 0 deletions src/gamma-randr.c
Expand Up @@ -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>
Expand Down
4 changes: 4 additions & 0 deletions src/gamma-vidmode.c
Expand Up @@ -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>
Expand Down
4 changes: 4 additions & 0 deletions src/gamma-w32gdi.c
Expand Up @@ -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>

Expand Down
4 changes: 4 additions & 0 deletions src/location-geoclue2.c
Expand Up @@ -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>

Expand Down
4 changes: 4 additions & 0 deletions src/location-manual.c
Expand Up @@ -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>
Expand Down

0 comments on commit 74a5295

Please sign in to comment.