translate NTP, AP, MQTT and User

This commit is contained in:
Proddy
2022-08-28 15:06:20 +02:00
parent d8e324a005
commit 3ea71e1dfb
18 changed files with 689 additions and 171 deletions

View File

@@ -18,7 +18,6 @@ const de: Translation = {
INVALID_LOGIN: 'Ungültige Login Daten',
NETWORK_CONNECTION: 'Netzwerkverbindung',
SECURITY: 'Sicherheit',
NETWORK_TIME: 'Netzwerkzeit',
ONOFF_CAP: 'AN/AUS',
ONOFF: 'an/aus',
TYPE: 'Typ',
@@ -173,7 +172,58 @@ const de: Translation = {
UPLOADING: 'DE_Uploading',
UPLOAD_DROP_TEXT: 'DE_Drop file or click here',
ERROR: 'DE_Unexpected Error, please try again',
TIME_SET: 'DE_Time set'
TIME_SET: 'DE_Time set',
MANAGE_USERS: 'DE_Manage Users',
IS_ADMIN: 'DE_is Admin',
USER_WARNING: 'DE_You must have at least one admin user configured',
ADD: 'DE_Add',
ACCESS_TOKEN_FOR: 'DE_Access Token for',
ACCESS_TOKEN_TEXT:
'DE_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: 'DE_Generating token',
USER: 'DE_User',
MODIFY: 'DE_Modify',
SU_TEXT:
'DE_The su (super user) password is used to sign authentication tokens and also enable admin privileges within the Console.',
NOT_ENABLED: 'DE_Not enabled',
ERRORS: 'DE_Errors',
DISCONNECT_REASON: 'DE_Disconnect Reason',
ENABLE_MQTT: 'DE_Enable MQTT',
OPTIONAL: 'DE_Optional',
FORMATTING: 'DE_Formatting',
FORMAT: 'DE_Format',
MQTT_NEST_1: 'DE_Nested in a single topic',
MQTT_NEST_2: 'DE_As individual topics',
MQTT_RESPONSE: 'DE_Publish command output to a `response` topic',
MQTT_PUBLISH_TEXT_1: 'DE_Publish single value topics on change',
MQTT_PUBLISH_TEXT_2: 'DE_Publish to command topics (ioBroker)',
MQTT_PUBLISH_TEXT_3: 'DE_Enable MQTT Discovery (Home Assistant, Domoticz)',
MQTT_PUBLISH_TEXT_4: 'DE_Prefix for the Discovery topics',
MQTT_PUBLISH_INTERVALS: 'DE_Publish Intervals',
MQTT_INT_BOILER: 'DE_Boilers and Heat Pumps',
MQTT_INT_THERMOSTATS: 'DE_Thermostats',
MQTT_INT_SOLAR: 'DE_Solar Modules',
MQTT_INT_MIXER: 'DE_Mixer Modules',
DEFAULT: 'DE_Default',
MQTT_CLEAN_SESSION: 'DE_Set Clean Session',
MQTT_RETAIN_FLAG: 'DE_Always set Retain flag',
INACTIVE: 'DE_Inactive',
ACTIVE: 'DE_Active',
UNKNOWN: 'DE_Unknown',
SET_TIME: 'DE_Set Time',
SET_TIME_TEXT: 'DE_Enter local date and time below to set the time.',
LOCAL_TIME: 'DE_Local Time',
UTC_TIME: 'DE_UTC Time',
ENABLE_NTP: 'DE_Enable NTP',
TIME_ZONE: 'DE_Time Zone',
ACCESS_POINT: 'DE_Access Point',
AP_PROVIDE: 'DE_Enable Access Point',
AP_PROVIDE_TEXT_1: 'DE_always',
AP_PROVIDE_TEXT_2: 'DE_when WiFi is disconnected',
AP_PROVIDE_TEXT_3: 'DE_never',
AP_PREFERRED_CHANNEL: 'DE_Preferred Channel',
AP_HIDE_SSID: 'DE_Hide SSID'
};
export default de;

View File

@@ -18,7 +18,6 @@ const en: BaseTranslation = {
INVALID_LOGIN: 'Invalid login details',
NETWORK_CONNECTION: 'Network Connection',
SECURITY: 'Security',
NETWORK_TIME: 'Network Time',
ONOFF_CAP: 'ON/OFF',
ONOFF: 'on/off',
TYPE: 'Type',
@@ -173,7 +172,57 @@ const en: BaseTranslation = {
UPLOADING: 'Uploading',
UPLOAD_DROP_TEXT: 'Drop file or click here',
ERROR: 'Unexpected Error, please try again',
TIME_SET: 'Time set'
TIME_SET: 'Time set',
MANAGE_USERS: 'Manage Users',
IS_ADMIN: 'is Admin',
USER_WARNING: 'You must have at least one admin user configured',
ADD: 'Add',
ACCESS_TOKEN_FOR: 'Access Token for',
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.',
GENERATING_TOKEN: 'Generating token',
USER: 'User',
MODIFY: 'Modify',
SU_TEXT:
'The su (super user) password is used to sign authentication tokens and also enable admin privileges within the Console.',
NOT_ENABLED: 'Not enabled',
ERRORS: 'Errors',
DISCONNECT_REASON: 'Disconnect Reason',
ENABLE_MQTT: 'Enable MQTT',
OPTIONAL: 'Optional',
FORMATTING: 'Formatting',
FORMAT: 'Format',
MQTT_NEST_1: 'Nested in a single topic',
MQTT_NEST_2: 'As individual topics',
MQTT_RESPONSE: 'Publish command output to a `response` topic',
MQTT_PUBLISH_TEXT_1: 'Publish single value topics on change',
MQTT_PUBLISH_TEXT_2: 'Publish to command topics (ioBroker)',
MQTT_PUBLISH_TEXT_3: 'Enable MQTT Discovery (Home Assistant, Domoticz)',
MQTT_PUBLISH_TEXT_4: 'Prefix for the Discovery topics',
MQTT_PUBLISH_INTERVALS: 'Publish Intervals',
MQTT_INT_BOILER: 'Boilers and Heat Pumps',
MQTT_INT_THERMOSTATS: 'Thermostats',
MQTT_INT_SOLAR: 'Solar Modules',
MQTT_INT_MIXER: 'Mixer Modules',
DEFAULT: 'Default',
MQTT_CLEAN_SESSION: 'Set Clean Session',
MQTT_RETAIN_FLAG: 'Always set Retain flag',
INACTIVE: 'Inactive',
ACTIVE: 'Active',
UNKNOWN: 'Unknown',
SET_TIME: 'Set Time',
SET_TIME_TEXT: 'Enter local date and time below to set the time.',
LOCAL_TIME: 'Local Time',
UTC_TIME: 'UTC Time',
ENABLE_NTP: 'Enable NTP',
TIME_ZONE: 'Time Zone',
ACCESS_POINT: 'Access Point',
AP_PROVIDE: 'Enable Access Point',
AP_PROVIDE_TEXT_1: 'always',
AP_PROVIDE_TEXT_2: 'when WiFi is disconnected',
AP_PROVIDE_TEXT_3: 'never',
AP_PREFERRED_CHANNEL: 'Preferred Channel',
AP_HIDE_SSID: 'Hide SSID'
};
export default en;

View File

@@ -83,10 +83,6 @@ type RootTranslation = {
* Security
*/
SECURITY: string
/**
* Network Time
*/
NETWORK_TIME: string
/**
* ON/OFF
*/
@@ -695,6 +691,198 @@ type RootTranslation = {
* Time set
*/
TIME_SET: string
/**
* Manage Users
*/
MANAGE_USERS: string
/**
* is Admin
*/
IS_ADMIN: string
/**
* You must have at least one admin user configured
*/
USER_WARNING: string
/**
* Add
*/
ADD: string
/**
* Access Token for
*/
ACCESS_TOKEN_FOR: string
/**
* 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.
*/
ACCESS_TOKEN_TEXT: string
/**
* Generating token
*/
GENERATING_TOKEN: string
/**
* User
*/
USER: string
/**
* Modify
*/
MODIFY: string
/**
* The su (super user) password is used to sign authentication tokens and also enable admin privileges within the Console.
*/
SU_TEXT: string
/**
* Not enabled
*/
NOT_ENABLED: string
/**
* Errors
*/
ERRORS: string
/**
* Disconnect Reason
*/
DISCONNECT_REASON: string
/**
* Enable MQTT
*/
ENABLE_MQTT: string
/**
* Optional
*/
OPTIONAL: string
/**
* Formatting
*/
FORMATTING: string
/**
* Format
*/
FORMAT: string
/**
* Nested in a single topic
*/
MQTT_NEST_1: string
/**
* As individual topics
*/
MQTT_NEST_2: string
/**
* Publish command output to a `response` topic
*/
MQTT_RESPONSE: string
/**
* Publish single value topics on change
*/
MQTT_PUBLISH_TEXT_1: string
/**
* Publish to command topics (ioBroker)
*/
MQTT_PUBLISH_TEXT_2: string
/**
* Enable MQTT Discovery (Home Assistant, Domoticz)
*/
MQTT_PUBLISH_TEXT_3: string
/**
* Prefix for the Discovery topics
*/
MQTT_PUBLISH_TEXT_4: string
/**
* Publish Intervals
*/
MQTT_PUBLISH_INTERVALS: string
/**
* Boilers and Heat Pumps
*/
MQTT_INT_BOILER: string
/**
* Thermostats
*/
MQTT_INT_THERMOSTATS: string
/**
* Solar Modules
*/
MQTT_INT_SOLAR: string
/**
* Mixer Modules
*/
MQTT_INT_MIXER: string
/**
* Default
*/
DEFAULT: string
/**
* Set Clean Session
*/
MQTT_CLEAN_SESSION: string
/**
* Always set Retain flag
*/
MQTT_RETAIN_FLAG: string
/**
* Inactive
*/
INACTIVE: string
/**
* Active
*/
ACTIVE: string
/**
* Unknown
*/
UNKNOWN: string
/**
* Set Time
*/
SET_TIME: string
/**
* Enter local date and time below to set the time.
*/
SET_TIME_TEXT: string
/**
* Local Time
*/
LOCAL_TIME: string
/**
* UTC Time
*/
UTC_TIME: string
/**
* Enable NTP
*/
ENABLE_NTP: string
/**
* Time Zone
*/
TIME_ZONE: string
/**
* Access Point
*/
ACCESS_POINT: string
/**
* Enable Access Point
*/
AP_PROVIDE: string
/**
* always
*/
AP_PROVIDE_TEXT_1: string
/**
* when WiFi is disconnected
*/
AP_PROVIDE_TEXT_2: string
/**
* never
*/
AP_PROVIDE_TEXT_3: string
/**
* Preferred Channel
*/
AP_PREFERRED_CHANNEL: string
/**
* Hide SSID
*/
AP_HIDE_SSID: string
}
export type TranslationFunctions = {
@@ -766,10 +954,6 @@ export type TranslationFunctions = {
* Security
*/
SECURITY: () => LocalizedString
/**
* Network Time
*/
NETWORK_TIME: () => LocalizedString
/**
* ON/OFF
*/
@@ -1368,6 +1552,198 @@ export type TranslationFunctions = {
* Time set
*/
TIME_SET: () => LocalizedString
/**
* Manage Users
*/
MANAGE_USERS: () => LocalizedString
/**
* is Admin
*/
IS_ADMIN: () => LocalizedString
/**
* You must have at least one admin user configured
*/
USER_WARNING: () => LocalizedString
/**
* Add
*/
ADD: () => LocalizedString
/**
* Access Token for
*/
ACCESS_TOKEN_FOR: () => LocalizedString
/**
* 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.
*/
ACCESS_TOKEN_TEXT: () => LocalizedString
/**
* Generating token
*/
GENERATING_TOKEN: () => LocalizedString
/**
* User
*/
USER: () => LocalizedString
/**
* Modify
*/
MODIFY: () => LocalizedString
/**
* The su (super user) password is used to sign authentication tokens and also enable admin privileges within the Console.
*/
SU_TEXT: () => LocalizedString
/**
* Not enabled
*/
NOT_ENABLED: () => LocalizedString
/**
* Errors
*/
ERRORS: () => LocalizedString
/**
* Disconnect Reason
*/
DISCONNECT_REASON: () => LocalizedString
/**
* Enable MQTT
*/
ENABLE_MQTT: () => LocalizedString
/**
* Optional
*/
OPTIONAL: () => LocalizedString
/**
* Formatting
*/
FORMATTING: () => LocalizedString
/**
* Format
*/
FORMAT: () => LocalizedString
/**
* Nested in a single topic
*/
MQTT_NEST_1: () => LocalizedString
/**
* As individual topics
*/
MQTT_NEST_2: () => LocalizedString
/**
* Publish command output to a `response` topic
*/
MQTT_RESPONSE: () => LocalizedString
/**
* Publish single value topics on change
*/
MQTT_PUBLISH_TEXT_1: () => LocalizedString
/**
* Publish to command topics (ioBroker)
*/
MQTT_PUBLISH_TEXT_2: () => LocalizedString
/**
* Enable MQTT Discovery (Home Assistant, Domoticz)
*/
MQTT_PUBLISH_TEXT_3: () => LocalizedString
/**
* Prefix for the Discovery topics
*/
MQTT_PUBLISH_TEXT_4: () => LocalizedString
/**
* Publish Intervals
*/
MQTT_PUBLISH_INTERVALS: () => LocalizedString
/**
* Boilers and Heat Pumps
*/
MQTT_INT_BOILER: () => LocalizedString
/**
* Thermostats
*/
MQTT_INT_THERMOSTATS: () => LocalizedString
/**
* Solar Modules
*/
MQTT_INT_SOLAR: () => LocalizedString
/**
* Mixer Modules
*/
MQTT_INT_MIXER: () => LocalizedString
/**
* Default
*/
DEFAULT: () => LocalizedString
/**
* Set Clean Session
*/
MQTT_CLEAN_SESSION: () => LocalizedString
/**
* Always set Retain flag
*/
MQTT_RETAIN_FLAG: () => LocalizedString
/**
* Inactive
*/
INACTIVE: () => LocalizedString
/**
* Active
*/
ACTIVE: () => LocalizedString
/**
* Unknown
*/
UNKNOWN: () => LocalizedString
/**
* Set Time
*/
SET_TIME: () => LocalizedString
/**
* Enter local date and time below to set the time.
*/
SET_TIME_TEXT: () => LocalizedString
/**
* Local Time
*/
LOCAL_TIME: () => LocalizedString
/**
* UTC Time
*/
UTC_TIME: () => LocalizedString
/**
* Enable NTP
*/
ENABLE_NTP: () => LocalizedString
/**
* Time Zone
*/
TIME_ZONE: () => LocalizedString
/**
* Access Point
*/
ACCESS_POINT: () => LocalizedString
/**
* Enable Access Point
*/
AP_PROVIDE: () => LocalizedString
/**
* always
*/
AP_PROVIDE_TEXT_1: () => LocalizedString
/**
* when WiFi is disconnected
*/
AP_PROVIDE_TEXT_2: () => LocalizedString
/**
* never
*/
AP_PROVIDE_TEXT_3: () => LocalizedString
/**
* Preferred Channel
*/
AP_PREFERRED_CHANNEL: () => LocalizedString
/**
* Hide SSID
*/
AP_HIDE_SSID: () => LocalizedString
}
export type Formatters = {}