Skip to content

Commit

Permalink
moved locale include files to the include directory
Browse files Browse the repository at this point in the history
  • Loading branch information
lmarzen committed Oct 27, 2024
1 parent dbee9fc commit f8db9fa
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ PlatformIO for VSCode is used for managing dependencies, code compilation, and u

5. Configure Options.

- Most configuration options are located in [config.cpp](platformio/src/config.cpp), with a few in [config.h](platformio/include/config.h). Locale/language options can also be found in locales/locale_**.cpp.
- Most configuration options are located in [config.cpp](platformio/src/config.cpp), with a few in [config.h](platformio/include/config.h). Locale/language options can also be found in include/locales/locale_*.inc.

- Important settings to configure in config.cpp:

Expand Down
1 change: 0 additions & 1 deletion platformio/include/_locale.h
Original file line number Diff line number Diff line change
Expand Up @@ -272,5 +272,4 @@ extern const char *TXT_WL_CONNECT_FAILED;
extern const char *TXT_WL_CONNECTION_LOST;
extern const char *TXT_WL_DISCONNECTED;


#endif
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Locale source for esp32-weather-epd.
* Copyright (C) 2022-2023 Luke Marzen
* Copyright (C) 2022-2024 Luke Marzen
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand All @@ -18,8 +18,7 @@
#include "config.h"

#define STR(s) #s
#define X_LOCALE_INC(code) STR(locale_ ## code.inc)
#define X_LOCALE_INC(code) STR(locales/locale_ ## code.inc)
#define LOCALE_INC(code) X_LOCALE_INC(code)

#include LOCALE_INC(LOCALE)

0 comments on commit f8db9fa

Please sign in to comment.