mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
autoformatting
This commit is contained in:
@@ -101,7 +101,6 @@ const DashboarDevicesDialog = ({
|
|||||||
if (dv.s) {
|
if (dv.s) {
|
||||||
helperText += 'n';
|
helperText += 'n';
|
||||||
if (dv.m !== undefined && dv.x !== undefined) {
|
if (dv.m !== undefined && dv.x !== undefined) {
|
||||||
|
|
||||||
helperText += ' between ' + dv.m + ' and ' + dv.x;
|
helperText += ' between ' + dv.m + ' and ' + dv.x;
|
||||||
} else {
|
} else {
|
||||||
helperText += ' , step ' + dv.s;
|
helperText += ' , step ' + dv.s;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/*
|
SIGN_IN_ENDPOINT /*
|
||||||
* EMS-ESP - https://github.com/emsesp/EMS-ESP
|
* EMS-ESP - https://github.com/emsesp/EMS-ESP
|
||||||
* Copyright 2020-2023 Paul Derbyshire
|
* Copyright 2020-2023 Paul Derbyshire
|
||||||
*
|
*
|
||||||
@@ -15,7 +15,6 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef EMSESP_ROOMCONTROL_H
|
#ifndef EMSESP_ROOMCONTROL_H
|
||||||
#define EMSESP_ROOMCONTROL_H
|
#define EMSESP_ROOMCONTROL_H
|
||||||
|
|
||||||
|
|||||||
@@ -60,8 +60,15 @@ const char * const languages[] = {EMSESP_LOCALE_EN};
|
|||||||
#elif defined(EMSESP_DE_ONLY)
|
#elif defined(EMSESP_DE_ONLY)
|
||||||
const char * const languages[] = {EMSESP_LOCALE_DE};
|
const char * const languages[] = {EMSESP_LOCALE_DE};
|
||||||
#else
|
#else
|
||||||
const char * const languages[] =
|
const char * const languages[] = {EMSESP_LOCALE_EN,
|
||||||
{EMSESP_LOCALE_EN, EMSESP_LOCALE_DE, EMSESP_LOCALE_NL, EMSESP_LOCALE_SV, EMSESP_LOCALE_PL, EMSESP_LOCALE_NO, EMSESP_LOCALE_FR, EMSESP_LOCALE_TR, EMSESP_LOCALE_IT};
|
EMSESP_LOCALE_DE,
|
||||||
|
EMSESP_LOCALE_NL,
|
||||||
|
EMSESP_LOCALE_SV,
|
||||||
|
EMSESP_LOCALE_PL,
|
||||||
|
EMSESP_LOCALE_NO,
|
||||||
|
EMSESP_LOCALE_FR,
|
||||||
|
EMSESP_LOCALE_TR,
|
||||||
|
EMSESP_LOCALE_IT};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static constexpr uint8_t NUM_LANGUAGES = sizeof(languages) / sizeof(const char *);
|
static constexpr uint8_t NUM_LANGUAGES = sizeof(languages) / sizeof(const char *);
|
||||||
|
|||||||
Reference in New Issue
Block a user