update translations

This commit is contained in:
MichaelDvP
2022-09-20 16:35:13 +02:00
parent eb432d9acb
commit dbbbfc1170
8 changed files with 57 additions and 23 deletions

View File

@@ -96,7 +96,7 @@ const SystemStatusForm: FC = () => {
const renderRestartDialog = () => (
<Dialog open={confirmRestart} onClose={() => setConfirmRestart(false)}>
<DialogTitle>Restart</DialogTitle>
<DialogContent dividers>{LL.RESTART_TEXT()}</DialogContent>
<DialogContent dividers>{LL.RESTART_CONFIRM()}</DialogContent>
<DialogActions>
<Button
startIcon={<CancelIcon />}
@@ -128,7 +128,7 @@ const SystemStatusForm: FC = () => {
<MessageBox my={0} level="info" message={LL.SYSTEM_VERSION_RUNNING() + ' ' + data?.emsesp_version} />
{latestVersion && (
<Box mt={2} mb={2}>
{LL.THE_LATEST()}&nbsp;<u>official</u> version is <b>{latestVersion.version}</b>&nbsp;(
{LL.THE_LATEST()}&nbsp;<u>official</u>&nbsp;{LL.VERSION_IS()}&nbsp;<b>{latestVersion.version}</b>&nbsp;(
<Link target="_blank" href={latestVersion.changelog} color="primary">
{'release notes'}
</Link>
@@ -142,8 +142,7 @@ const SystemStatusForm: FC = () => {
{latestDevVersion && (
<Box mt={2} mb={2}>
{LL.THE_LATEST()}&nbsp;<u>development</u> version is&nbsp;<b>{latestDevVersion.version}</b>
&nbsp;(
{LL.THE_LATEST()}&nbsp;<u>development</u>&nbsp;{LL.VERSION_IS()}&nbsp;<b>{latestDevVersion.version}</b>&nbsp;(
<Link target="_blank" href={latestDevVersion.changelog} color="primary">
{'release notes'}
</Link>
@@ -158,7 +157,7 @@ const SystemStatusForm: FC = () => {
<Box color="warning.main" p={0} pl={0} pr={0} mt={4} mb={0}>
<Typography variant="body2">
{LL.USE()}&nbsp;
<Link target="_blank" href={uploadURL} color="primary">
<Link href={uploadURL} color="primary">
{'UPLOAD'}
</Link>
&nbsp;{LL.SYSTEM_APPLY_FIRMWARE()}

View File

@@ -130,6 +130,7 @@ const de: Translation = {
HOURS: 'Stunden',
RESTART: 'Neu starten',
RESTART_TEXT: 'EMS-ESP muss neu gestartet werden, um geänderte Systemeinstellungen zu übernehmen',
RESTART_CONFIRM: 'EMS-ESP wirklich neu starten?',
COMMAND: 'Befehl',
CUSTOMIZATIONS_RESTART: 'Alle Anpassungen wurden entfernt. Neustart...',
CUSTOMIZATIONS_FULL: 'Ausgewählte Entitäten haben das Limit überschritten. Bitte stapelweise speichern',
@@ -174,6 +175,7 @@ const de: Translation = {
SYSTEM_FACTORY_TEXT_DIALOG: 'Sind Sie sicher alle Einstellungen auf Werkseinstellung zu setzen?',
VERSION_CHECK: 'Versionsprüfung',
THE_LATEST: 'Die neueste',
VERSION_IS: 'Version ist',
PLATFORM: 'Platform (Platform / SDK)',
UPTIME: 'System Betriebszeit',
CPU_FREQ: 'CPU Frequenz',

View File

@@ -130,6 +130,7 @@ const en: BaseTranslation = {
RESTART: 'Restart',
HOURS: 'hours',
RESTART_TEXT: 'EMS-ESP needs to be restarted to apply changed system settings',
RESTART_CONFIRM: 'Are you sure you want to restart EMS-ESP?',
COMMAND: 'Command',
CUSTOMIZATIONS_RESTART: 'All customizations have been removed. Restarting...',
CUSTOMIZATIONS_FULL: 'Selected entities exceeded limit. Please save in batches',
@@ -174,6 +175,7 @@ const en: BaseTranslation = {
SYSTEM_FACTORY_TEXT_DIALOG: 'Are you sure you want to reset the device to its factory defaults?',
VERSION_CHECK: 'Version Check',
THE_LATEST: 'The latest',
VERSION_IS: 'version is',
PLATFORM: 'Device (Platform / SDK)',
UPTIME: 'System Uptime',
CPU_FREQ: 'CPU Frequency',

View File

@@ -529,6 +529,10 @@ type RootTranslation = {
* EMS-ESP needs to be restarted to apply changed system settings
*/
RESTART_TEXT: string
/**
* Are you sure you want to restart EMS-ESP?
*/
RESTART_CONFIRM: string
/**
* Command
*/
@@ -697,6 +701,10 @@ type RootTranslation = {
* The latest
*/
THE_LATEST: string
/**
* version is
*/
VERSION_IS: string
/**
* Device (Platform / SDK)
*/
@@ -1534,6 +1542,10 @@ export type TranslationFunctions = {
* EMS-ESP needs to be restarted to apply changed system settings
*/
RESTART_TEXT: () => LocalizedString
/**
* Are you sure you want to restart EMS-ESP?
*/
RESTART_CONFIRM: () => LocalizedString
/**
* Command
*/
@@ -1702,6 +1714,10 @@ export type TranslationFunctions = {
* The latest
*/
THE_LATEST: () => LocalizedString
/**
* version is
*/
VERSION_IS: () => LocalizedString
/**
* Device (Platform / SDK)
*/

View File

@@ -27,6 +27,7 @@ const nl: BaseTranslation = {
ENTITIES: 'Entiteiten',
REFRESH: 'Ververs',
EXPORT: 'Export',
DEVICE_DETAILS: 'Device Details',
BRAND: 'Merk',
ENTITY_NAME: 'Entiteit',
VALUE: 'Waarde',
@@ -129,6 +130,7 @@ const nl: BaseTranslation = {
RESTART: 'Herstarten',
HOURS: 'uren',
RESTART_TEXT: 'EMS-ESP dient opnieuw gestart te worden om de wijzingen toe te passen',
RESTART_CONFIRM: 'Are you sure you want to restart EMS-ESP?',
COMMAND: 'Commando',
CUSTOMIZATIONS_RESTART: 'Alle custom profielen worden verwijderd. Herstarten...',
CUSTOMIZATIONS_FULL: 'Te veel entiteiten geselecteerd. Sla op in delen aub',
@@ -174,6 +176,7 @@ const nl: BaseTranslation = {
SYSTEM_FACTORY_TEXT_DIALOG: 'Weet je zeker dat je een reset naar fabrieksinstellingen uit wilt voeren?',
VERSION_CHECK: 'Versie Check',
THE_LATEST: 'De laatste',
VERSION_IS: 'version is',
PLATFORM: 'Apparaat (Platform / SDK)',
UPTIME: 'Systeem Uptime',
CPU_FREQ: 'CPU Frequency',

View File

@@ -130,6 +130,7 @@ const no: BaseTranslation = {
RESTART: 'Restart',
HOURS: 'hours',
RESTART_TEXT: 'EMS-ESP needs to be restarted to apply changed system settings',
RESTART_CONFIRM: 'Are you sure you want to restart EMS-ESP?',
COMMAND: 'Command',
CUSTOMIZATIONS_RESTART: 'All customizations have been removed. Restarting...',
CUSTOMIZATIONS_FULL: 'Selected entities exceeded limit. Please save in batches',
@@ -174,6 +175,7 @@ const no: BaseTranslation = {
SYSTEM_FACTORY_TEXT_DIALOG: 'Are you sure you want to reset the device to its factory defaults?',
VERSION_CHECK: 'Version Check',
THE_LATEST: 'The latest',
VERSION_IS: 'version is',
PLATFORM: 'Device (Platform / SDK)',
UPTIME: 'System Uptime',
CPU_FREQ: 'CPU Frequency',

View File

@@ -51,8 +51,10 @@ const pl: BaseTranslation = {
UPDATE: 'Aktualizacja',
REMOVED: 'Usunięto',
DELETION: 'Skasowano',
// OFFSET: '',
// FACTOR: '',
// missing translations
OFFSET: 'Offset',
FACTOR: 'Factor',
FREQ: 'Częstotliwość',
STARTVALUE: 'Wartość początkowa',
WARN_GPIO: 'Ostrzeżenie',
@@ -109,25 +111,28 @@ const pl: BaseTranslation = {
BYPASS_TOKEN: '',
READONLY: 'Włącz tryb odczytu ',
UNDERCLOCK_CPU: 'Zastosuj obniżone taktowanie CPU',
// ENABLE_SHOWER_TIMER: '',
// ENABLE_SHOWER_ALERT: '',
// TRIGGER_TIME: '',
// COLD_SHOT_DURATION: '',
// FORMATTING_OPTIONS: '',
// BOOLEAN_FORMAT_DASHBOARD: '',
// BOOLEAN_FORMAT_API: '',
// ENUM_FORMAT: '',
// INDEX: '',
// ENABLE_PARASITE: '',
// missing translations
ENABLE_SHOWER_TIMER: 'Enable Shower Timer',
ENABLE_SHOWER_ALERT: 'Enable Shower Alert',
TRIGGER_TIME: 'Trigger Time',
COLD_SHOT_DURATION: 'Cold Shot Duration',
FORMATTING_OPTIONS: 'Formatting Options',
BOOLEAN_FORMAT_DASHBOARD: 'Boolean Format Dashboard',
BOOLEAN_FORMAT_API: 'Boolean Format API/MQTT',
ENUM_FORMAT: 'Enum Format API/MQTT',
INDEX: 'Index',
ENABLE_PARASITE: 'Enable parasite power',
LOGGING: 'Logowanie',
LOG_HEX: 'Logowanie w systemie szesnastkowym (HEX)',
ENABLE_SYSLOG: 'Włącz log systemowy',
MARK_INTERVAL: 'Oznacz interwały',
SECONDS: 'Sekundy',
MINUTES: 'Minuty',
HOURS: 'Restart',
RESTART: 'Godziny',
HOURS: 'Godziny',
RESTART: 'Restart',
RESTART_TEXT: 'Urządzenie musi zostać zrestartowane aby zastosować wprowadzone zmiany',
RESTART_CONFIRM: 'Are you sure you want to restart EMS-ESP?',
COMMAND: 'Komenda',
CUSTOMIZATIONS_RESTART: 'Wszystkie personalizacje zostały usunięte. Restartuję...',
CUSTOMIZATIONS_FULL: 'Wybrano za dużo obiektów. Wprowadź zmiany w mniejszych partiach',
@@ -142,8 +147,10 @@ const pl: BaseTranslation = {
OPTIONS: 'Opcje',
NAME: 'Nazwa',
CUSTOMIZATIONS_RESET: 'Czy jesteś pewien, że chcesz usunąć wszystkie personalizacje łącznie z ustawieniami dla czujników temperatury i analogowych?',
// DEVICE_ENTITIES: '',
// USER_CUSTOMIZATION: '',
// missing translations
DEVICE_ENTITIES: 'Device Entities',
USER_CUSTOMIZATION: 'User Customization',
SUPPORT_INFORMATION: 'Dodatkowe informacje',
CLICK_HERE: 'Kliknij tu',
HELP_INFORMATION_1: 'Skorzystaj z wiki w celu znalezienia szczegółowych instrukcji jak skonfigurowac EMS-ESP',
@@ -170,6 +177,7 @@ const pl: BaseTranslation = {
SYSTEM_FACTORY_TEXT_DIALOG: 'Czy jesteś pewien, że chcesz zresetować urządzenie do ustawień fabrycznych? ',
VERSION_CHECK: 'Sprawdź wersję oprogramowania wbudowanego',
THE_LATEST: 'Ostatnia',
VERSION_IS: 'version is',
PLATFORM: 'Urządzenie (Platforma/SDK)',
UPTIME: 'Czas działania systemu',
CPU_FREQ: 'Taktowanie procesora (CPU)',
@@ -245,7 +253,9 @@ const pl: BaseTranslation = {
NETWORK_BLANK_SSID: 'Zostaw puste aby wyłączyć WiFi',
POWER: 'Zasilanie',
NETWORK_DISABLE_SLEEP: 'Wyłącz tryb uśpienia WiFi',
// NETWORK_LOW_BAND: '',
// missing translation
NETWORK_LOW_BAND: 'Use Lower WiFi Bandwidth',
NETWORK_USE_DNS: 'Włącz wsparcie dla mDNS',
NETWORK_ENABLE_IPV6: 'Włącz wsparcie dla IPv6',
NETWORK_FIXED_IP: 'Korzystaj ze stałego adresu IP',

View File

@@ -118,7 +118,7 @@ const HelpInformation: FC = () => {
{LL.HELP_INFORMATION_5()}
</Typography>
<Typography align="center">
<Link href="https://github.com/emsesp/EMS-ESP32" color="primary">
<Link target="_blank" href="https://github.com/emsesp/EMS-ESP32" color="primary">
{'Github'}
</Link>
<StarIcon style={{ fontSize: 20, color: 'yellow', verticalAlign: 'middle' }} />