mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
i18n baseLocale back to en, 18 pl-chars to font.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"adapter": "react",
|
"adapter": "react",
|
||||||
"baseLocale": "pl",
|
"baseLocale": "en",
|
||||||
"$schema": "https://unpkg.com/typesafe-i18n@5.15.0/schema/typesafe-i18n.json"
|
"$schema": "https://unpkg.com/typesafe-i18n@5.15.0/schema/typesafe-i18n.json"
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -19,8 +19,8 @@ const en: BaseTranslation = {
|
|||||||
UPLOAD_SUCCESSFUL: 'Upload successful',
|
UPLOAD_SUCCESSFUL: 'Upload successful',
|
||||||
DOWNLOAD_SUCCESSFUL: 'Download successful',
|
DOWNLOAD_SUCCESSFUL: 'Download successful',
|
||||||
INVALID_LOGIN: 'Invalid login details',
|
INVALID_LOGIN: 'Invalid login details',
|
||||||
NETWORK: 'Network',
|
NETWORK: '{{Network}}',
|
||||||
SECURITY: 'Security',
|
SECURITY: '{{Security}}',
|
||||||
ONOFF_CAP: 'ON/OFF',
|
ONOFF_CAP: 'ON/OFF',
|
||||||
ONOFF: 'on/off',
|
ONOFF: 'on/off',
|
||||||
TYPE: 'Type',
|
TYPE: 'Type',
|
||||||
@@ -31,7 +31,7 @@ const en: BaseTranslation = {
|
|||||||
DEVICE_DETAILS: 'Device Details',
|
DEVICE_DETAILS: 'Device Details',
|
||||||
BRAND: 'Brand',
|
BRAND: 'Brand',
|
||||||
ENTITY_NAME: 'Entity Name',
|
ENTITY_NAME: 'Entity Name',
|
||||||
VALUE: 'Value',
|
VALUE: '{{Value}}',
|
||||||
SHOW_FAV: 'only show favorites',
|
SHOW_FAV: 'only show favorites',
|
||||||
DEVICE_SENSOR_DATA: 'Device and Sensor Data',
|
DEVICE_SENSOR_DATA: 'Device and Sensor Data',
|
||||||
DEVICES_SENSORS: 'Devices & Sensors',
|
DEVICES_SENSORS: 'Devices & Sensors',
|
||||||
@@ -39,7 +39,7 @@ const en: BaseTranslation = {
|
|||||||
RUN_COMMAND: 'Call Command',
|
RUN_COMMAND: 'Call Command',
|
||||||
CHANGE_VALUE: 'Change Value',
|
CHANGE_VALUE: 'Change Value',
|
||||||
CANCEL: 'Cancel',
|
CANCEL: 'Cancel',
|
||||||
RESET: 'Reset',
|
RESET: '{{Reset}}',
|
||||||
SEND: 'Send',
|
SEND: 'Send',
|
||||||
SAVE: 'Save',
|
SAVE: 'Save',
|
||||||
REMOVE: 'Remove',
|
REMOVE: 'Remove',
|
||||||
@@ -66,7 +66,7 @@ const en: BaseTranslation = {
|
|||||||
EMS_BUS_WARNING:
|
EMS_BUS_WARNING:
|
||||||
'EMS bus disconnected. If this warning still persists after a few seconds please check settings and board profile',
|
'EMS bus disconnected. If this warning still persists after a few seconds please check settings and board profile',
|
||||||
EMS_BUS_SCANNING: 'Scanning for EMS devices...',
|
EMS_BUS_SCANNING: 'Scanning for EMS devices...',
|
||||||
CONNECTED: 'Connected',
|
CONNECTED: '{{Connected}}',
|
||||||
TX_ISSUES: 'Tx issues - try a different Tx Mode',
|
TX_ISSUES: 'Tx issues - try a different Tx Mode',
|
||||||
DISCONNECTED: 'Disconnected',
|
DISCONNECTED: 'Disconnected',
|
||||||
EMS_SCAN: 'Are you sure you want to initiate a full device scan of the EMS bus?',
|
EMS_SCAN: 'Are you sure you want to initiate a full device scan of the EMS bus?',
|
||||||
@@ -171,7 +171,7 @@ const en: BaseTranslation = {
|
|||||||
ABORTED: 'aborted',
|
ABORTED: 'aborted',
|
||||||
FAILED: 'failed',
|
FAILED: 'failed',
|
||||||
SUCCESSFUL: 'successful',
|
SUCCESSFUL: 'successful',
|
||||||
SYSTEM: 'System',
|
SYSTEM: '{{System}}',
|
||||||
LOG_OF: '{0} Log',
|
LOG_OF: '{0} Log',
|
||||||
STATUS_OF: '{0} Status',
|
STATUS_OF: '{0} Status',
|
||||||
UPLOAD_DOWNLOAD: 'Upload/Download',
|
UPLOAD_DOWNLOAD: 'Upload/Download',
|
||||||
@@ -182,7 +182,7 @@ const en: BaseTranslation = {
|
|||||||
FACTORY_RESET: 'Factory Reset',
|
FACTORY_RESET: 'Factory Reset',
|
||||||
SYSTEM_FACTORY_TEXT: 'Device has been factory reset and will now restart',
|
SYSTEM_FACTORY_TEXT: 'Device has been factory reset and will now restart',
|
||||||
SYSTEM_FACTORY_TEXT_DIALOG: 'Are you sure you want to reset the device to its factory defaults?',
|
SYSTEM_FACTORY_TEXT_DIALOG: 'Are you sure you want to reset the device to its factory defaults?',
|
||||||
VERSION_CHECK: 'Version Check',
|
VERSION_CHECK: '{{Version Check}}',
|
||||||
THE_LATEST: 'The latest',
|
THE_LATEST: 'The latest',
|
||||||
OFFICIAL: 'official',
|
OFFICIAL: 'official',
|
||||||
DEVELOPMENT: 'development',
|
DEVELOPMENT: 'development',
|
||||||
@@ -209,14 +209,14 @@ const en: BaseTranslation = {
|
|||||||
ERROR: 'Unexpected Error, please try again',
|
ERROR: 'Unexpected Error, please try again',
|
||||||
TIME_SET: 'Time set',
|
TIME_SET: 'Time set',
|
||||||
MANAGE_USERS: 'Manage Users',
|
MANAGE_USERS: 'Manage Users',
|
||||||
IS_ADMIN: 'is Admin',
|
IS_ADMIN: '{{is Admin}}',
|
||||||
USER_WARNING: 'You must have at least one admin user configured',
|
USER_WARNING: 'You must have at least one admin user configured',
|
||||||
ADD: 'Add',
|
ADD: '{{Add}}',
|
||||||
ACCESS_TOKEN_FOR: 'Access Token for',
|
ACCESS_TOKEN_FOR: 'Access Token for',
|
||||||
ACCESS_TOKEN_TEXT:
|
ACCESS_TOKEN_TEXT:
|
||||||
'The token below is used with REST API calls that require authorization. It can be passed either as a Bearer token in the Authorization header or in the access_token URL query parameter.',
|
'The token below is used with REST API calls that require authorization. It can be passed either as a Bearer token in the Authorization header or in the access_token URL query parameter.',
|
||||||
GENERATING_TOKEN: 'Generating token',
|
GENERATING_TOKEN: 'Generating token',
|
||||||
USER: 'User',
|
USER: '{{User}}',
|
||||||
MODIFY: 'Modify',
|
MODIFY: 'Modify',
|
||||||
SU_TEXT:
|
SU_TEXT:
|
||||||
'The su (super user) password is used to sign authentication tokens and also enable admin privileges within the Console.',
|
'The su (super user) password is used to sign authentication tokens and also enable admin privileges within the Console.',
|
||||||
@@ -246,14 +246,14 @@ const en: BaseTranslation = {
|
|||||||
INACTIVE: 'Inactive',
|
INACTIVE: 'Inactive',
|
||||||
ACTIVE: 'Active',
|
ACTIVE: 'Active',
|
||||||
UNKNOWN: 'Unknown',
|
UNKNOWN: 'Unknown',
|
||||||
SET_TIME: 'Set Time',
|
SET_TIME: '{{Set Time}}',
|
||||||
SET_TIME_TEXT: 'Enter local date and time below to set the time',
|
SET_TIME_TEXT: 'Enter local date and time below to set the time',
|
||||||
LOCAL_TIME: 'Local Time',
|
LOCAL_TIME: 'Local Time',
|
||||||
UTC_TIME: 'UTC Time',
|
UTC_TIME: 'UTC Time',
|
||||||
ENABLE_NTP: 'Enable NTP',
|
ENABLE_NTP: 'Enable NTP',
|
||||||
NTP_SERVER: 'NTP Server',
|
NTP_SERVER: 'NTP Server',
|
||||||
TIME_ZONE: 'Time Zone',
|
TIME_ZONE: 'Time Zone',
|
||||||
ACCESS_POINT: 'Access Point',
|
ACCESS_POINT: '{{Access Point}}',
|
||||||
AP_PROVIDE: 'Enable Access Point',
|
AP_PROVIDE: 'Enable Access Point',
|
||||||
AP_PROVIDE_TEXT_1: 'always',
|
AP_PROVIDE_TEXT_1: 'always',
|
||||||
AP_PROVIDE_TEXT_2: 'when WiFi is disconnected',
|
AP_PROVIDE_TEXT_2: 'when WiFi is disconnected',
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -7,7 +7,7 @@ import type { LocaleTranslationFunctions, TranslateByString } from 'typesafe-i18
|
|||||||
import { detectLocale as detectLocaleFn } from 'typesafe-i18n/detectors'
|
import { detectLocale as detectLocaleFn } from 'typesafe-i18n/detectors'
|
||||||
import type { Formatters, Locales, Translations, TranslationFunctions } from './i18n-types'
|
import type { Formatters, Locales, Translations, TranslationFunctions } from './i18n-types'
|
||||||
|
|
||||||
export const baseLocale: Locales = 'pl'
|
export const baseLocale: Locales = 'en'
|
||||||
|
|
||||||
export const locales: Locales[] = [
|
export const locales: Locales[] = [
|
||||||
'de',
|
'de',
|
||||||
|
|||||||
Reference in New Issue
Block a user