mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
use version translations
This commit is contained in:
@@ -78,39 +78,38 @@ const Help = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<SectionContent>
|
<SectionContent>
|
||||||
<Stack
|
{customSupportHTML && (
|
||||||
padding={1}
|
<Stack
|
||||||
mb={2}
|
padding={1}
|
||||||
direction="row"
|
mb={2}
|
||||||
divider={<Divider orientation="vertical" flexItem />}
|
direction="row"
|
||||||
sx={{
|
divider={<Divider orientation="vertical" flexItem />}
|
||||||
borderRadius: 3,
|
|
||||||
border: '2px solid grey',
|
|
||||||
justifyContent: 'space-evenly',
|
|
||||||
alignItems: 'center'
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<Typography variant="subtitle1">
|
|
||||||
{customSupportHTML ? (
|
|
||||||
<div dangerouslySetInnerHTML={{ __html: customSupportHTML }} />
|
|
||||||
) : (
|
|
||||||
LL.HELP_INFORMATION_5()
|
|
||||||
)}
|
|
||||||
</Typography>
|
|
||||||
<Box
|
|
||||||
component="img"
|
|
||||||
referrerPolicy="no-referrer"
|
|
||||||
sx={{
|
sx={{
|
||||||
maxHeight: { xs: 100, md: 250 }
|
borderRadius: 3,
|
||||||
|
border: '2px solid grey',
|
||||||
|
justifyContent: 'space-evenly',
|
||||||
|
alignItems: 'center'
|
||||||
}}
|
}}
|
||||||
onError={() => setNotFound(true)}
|
>
|
||||||
src={
|
<Typography variant="subtitle1">
|
||||||
notFound
|
<div dangerouslySetInnerHTML={{ __html: customSupportHTML }} />
|
||||||
? ''
|
</Typography>
|
||||||
: customSupportIMG || 'https://emsesp.org/_media/images/installer.jpeg'
|
<Box
|
||||||
}
|
component="img"
|
||||||
/>
|
referrerPolicy="no-referrer"
|
||||||
</Stack>
|
sx={{
|
||||||
|
maxHeight: { xs: 100, md: 250 }
|
||||||
|
}}
|
||||||
|
onError={() => setNotFound(true)}
|
||||||
|
src={
|
||||||
|
notFound
|
||||||
|
? ''
|
||||||
|
: customSupportIMG ||
|
||||||
|
'https://emsesp.org/_media/images/installer.jpeg'
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
</Stack>
|
||||||
|
)}
|
||||||
|
|
||||||
{me.admin && (
|
{me.admin && (
|
||||||
<List sx={{ borderRadius: 3, border: '2px solid grey' }}>
|
<List sx={{ borderRadius: 3, border: '2px solid grey' }}>
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ const Version = () => {
|
|||||||
Firmware Version
|
Firmware Version
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|
||||||
<Grid container spacing={11}>
|
<Grid container spacing={4}>
|
||||||
<Grid mb={1}>
|
<Grid mb={1}>
|
||||||
<Typography mb={1} color="secondary">
|
<Typography mb={1} color="secondary">
|
||||||
{LL.VERSION()}
|
{LL.VERSION()}
|
||||||
@@ -243,10 +243,10 @@ const Version = () => {
|
|||||||
<Grid container spacing={4}>
|
<Grid container spacing={4}>
|
||||||
<Grid mb={1}>
|
<Grid mb={1}>
|
||||||
<Typography mb={1} color="secondary">
|
<Typography mb={1} color="secondary">
|
||||||
Stable Release
|
{LL.STABLE()}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography mb={1} color="secondary">
|
<Typography mb={1} color="secondary">
|
||||||
Development Release
|
{LL.DEVELOPMENT()}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid mb={1}>
|
<Grid mb={1}>
|
||||||
|
|||||||
@@ -159,7 +159,6 @@ const cz: Translation = {
|
|||||||
HELP_INFORMATION_2: 'Pro živý chat s komunitou se připojte k našemu serveru Discord',
|
HELP_INFORMATION_2: 'Pro živý chat s komunitou se připojte k našemu serveru Discord',
|
||||||
HELP_INFORMATION_3: 'Požádejte o funkci nebo nahlášte chybu',
|
HELP_INFORMATION_3: 'Požádejte o funkci nebo nahlášte chybu',
|
||||||
HELP_INFORMATION_4: 'Stáhněte a připojte informace podpoře pro rychlejší odezvu při hlášení problému',
|
HELP_INFORMATION_4: 'Stáhněte a připojte informace podpoře pro rychlejší odezvu při hlášení problému',
|
||||||
HELP_INFORMATION_5: 'Pro pomoc a dotazy kontaktujte svého instalatéra',
|
|
||||||
UPLOAD: 'Nahrát',
|
UPLOAD: 'Nahrát',
|
||||||
DOWNLOAD: '{{S|s|s}}táhnout',
|
DOWNLOAD: '{{S|s|s}}táhnout',
|
||||||
INSTALL: 'Instalovat {0}',
|
INSTALL: 'Instalovat {0}',
|
||||||
|
|||||||
@@ -159,7 +159,6 @@ const de: Translation = {
|
|||||||
HELP_INFORMATION_2: 'Für einen Live-Community-Chat besuchen Sie unseren Discord-Server',
|
HELP_INFORMATION_2: 'Für einen Live-Community-Chat besuchen Sie unseren Discord-Server',
|
||||||
HELP_INFORMATION_3: 'Um neue Funktionen anzufragen oder Fehler zu melden, eröffnen Sie ein Issue auf GitHub',
|
HELP_INFORMATION_3: 'Um neue Funktionen anzufragen oder Fehler zu melden, eröffnen Sie ein Issue auf GitHub',
|
||||||
HELP_INFORMATION_4: 'Bitte laden Sie die Systemdetails und hängen Sie sie an das Support-Issue an',
|
HELP_INFORMATION_4: 'Bitte laden Sie die Systemdetails und hängen Sie sie an das Support-Issue an',
|
||||||
HELP_INFORMATION_5: 'Für Hilfe und Fragen wenden Sie sich bitte an Ihren Installateur',
|
|
||||||
UPLOAD: 'Hochladen',
|
UPLOAD: 'Hochladen',
|
||||||
DOWNLOAD: '{{H|h|h}}erunterladen',
|
DOWNLOAD: '{{H|h|h}}erunterladen',
|
||||||
INSTALL: 'Installieren {0}',
|
INSTALL: 'Installieren {0}',
|
||||||
|
|||||||
@@ -159,7 +159,6 @@ const en: Translation = {
|
|||||||
HELP_INFORMATION_2: 'For live community chat join our Discord server',
|
HELP_INFORMATION_2: 'For live community chat join our Discord server',
|
||||||
HELP_INFORMATION_3: 'To request a feature or report a bug',
|
HELP_INFORMATION_3: 'To request a feature or report a bug',
|
||||||
HELP_INFORMATION_4: 'Download and attach your support information for a faster response when reporting an issue',
|
HELP_INFORMATION_4: 'Download and attach your support information for a faster response when reporting an issue',
|
||||||
HELP_INFORMATION_5: 'For help and questions please contact your installer',
|
|
||||||
UPLOAD: 'Upload',
|
UPLOAD: 'Upload',
|
||||||
DOWNLOAD: '{{D|d|d}}ownload',
|
DOWNLOAD: '{{D|d|d}}ownload',
|
||||||
INSTALL: 'Install {0}',
|
INSTALL: 'Install {0}',
|
||||||
|
|||||||
@@ -159,7 +159,6 @@ const fr: Translation = {
|
|||||||
HELP_INFORMATION_2: 'Pour une discussion en direct avec la communauté, rejoignez notre serveur Discord',
|
HELP_INFORMATION_2: 'Pour une discussion en direct avec la communauté, rejoignez notre serveur Discord',
|
||||||
HELP_INFORMATION_3: 'Pour demander une fonctionnalité ou signaler un problème',
|
HELP_INFORMATION_3: 'Pour demander une fonctionnalité ou signaler un problème',
|
||||||
HELP_INFORMATION_4: "N'oubliez pas de télécharger et de joindre les informations relatives à votre système pour obtenir une réponse plus rapide lorsque vous signalez un problème",
|
HELP_INFORMATION_4: "N'oubliez pas de télécharger et de joindre les informations relatives à votre système pour obtenir une réponse plus rapide lorsque vous signalez un problème",
|
||||||
HELP_INFORMATION_5: 'For help and questions please contact your installer', // TODO translate
|
|
||||||
UPLOAD: 'Upload',
|
UPLOAD: 'Upload',
|
||||||
DOWNLOAD: '{{D|d|d}}ownload',
|
DOWNLOAD: '{{D|d|d}}ownload',
|
||||||
INSTALL: 'Installer {0}',
|
INSTALL: 'Installer {0}',
|
||||||
|
|||||||
@@ -159,7 +159,6 @@ const it: Translation = {
|
|||||||
HELP_INFORMATION_2: 'Per la chat della community dal vivo unisciti al nostro server Discord',
|
HELP_INFORMATION_2: 'Per la chat della community dal vivo unisciti al nostro server Discord',
|
||||||
HELP_INFORMATION_3: 'Per richiedere una funzionalità o segnalare un errore',
|
HELP_INFORMATION_3: 'Per richiedere una funzionalità o segnalare un errore',
|
||||||
HELP_INFORMATION_4: 'Ricordati di scaricare e allegare le informazioni del tuo sistema per una risposta più rapida quando segnali un problema',
|
HELP_INFORMATION_4: 'Ricordati di scaricare e allegare le informazioni del tuo sistema per una risposta più rapida quando segnali un problema',
|
||||||
HELP_INFORMATION_5: 'For help and questions please contact your installer', // TODO translate
|
|
||||||
UPLOAD: 'Carica',
|
UPLOAD: 'Carica',
|
||||||
DOWNLOAD: 'Scarica',
|
DOWNLOAD: 'Scarica',
|
||||||
INSTALL: 'Installare {0}',
|
INSTALL: 'Installare {0}',
|
||||||
|
|||||||
@@ -159,7 +159,6 @@ const nl: Translation = {
|
|||||||
HELP_INFORMATION_2: 'Voor de live community ga naar de Discord server',
|
HELP_INFORMATION_2: 'Voor de live community ga naar de Discord server',
|
||||||
HELP_INFORMATION_3: 'Om een nieuwe feature te vragen of een bug te rapporteren',
|
HELP_INFORMATION_3: 'Om een nieuwe feature te vragen of een bug te rapporteren',
|
||||||
HELP_INFORMATION_4: 'Zorg dat je ook je systeem details zijn toevoeged voor een sneller antwoord',
|
HELP_INFORMATION_4: 'Zorg dat je ook je systeem details zijn toevoeged voor een sneller antwoord',
|
||||||
HELP_INFORMATION_5: 'For help and questions please contact your installer', // TODO translate
|
|
||||||
UPLOAD: 'Upload',
|
UPLOAD: 'Upload',
|
||||||
DOWNLOAD: '{{D|d|d}}ownload',
|
DOWNLOAD: '{{D|d|d}}ownload',
|
||||||
INSTALL: 'Installeren {0}',
|
INSTALL: 'Installeren {0}',
|
||||||
|
|||||||
@@ -159,7 +159,6 @@ const no: Translation = {
|
|||||||
HELP_INFORMATION_2: 'For community-support besøk vår Discord-server',
|
HELP_INFORMATION_2: 'For community-support besøk vår Discord-server',
|
||||||
HELP_INFORMATION_3: 'For å be om en ny funksjon eller melde feil',
|
HELP_INFORMATION_3: 'For å be om en ny funksjon eller melde feil',
|
||||||
HELP_INFORMATION_4: 'Husk å laste ned og legg ved din systeminformasjon for en raskere respons når du rapporterer et problem',
|
HELP_INFORMATION_4: 'Husk å laste ned og legg ved din systeminformasjon for en raskere respons når du rapporterer et problem',
|
||||||
HELP_INFORMATION_5: 'For help and questions please contact your installer', // TODO translate
|
|
||||||
UPLOAD: 'Opplasning',
|
UPLOAD: 'Opplasning',
|
||||||
DOWNLOAD: '{{N|n|n}}edlasting',
|
DOWNLOAD: '{{N|n|n}}edlasting',
|
||||||
INSTALL: 'Installer {0}',
|
INSTALL: 'Installer {0}',
|
||||||
|
|||||||
@@ -159,7 +159,6 @@ const pl: BaseTranslation = {
|
|||||||
HELP_INFORMATION_2: 'Dołącz do naszego serwera Discord by komunikować się na żywo ze społecznością',
|
HELP_INFORMATION_2: 'Dołącz do naszego serwera Discord by komunikować się na żywo ze społecznością',
|
||||||
HELP_INFORMATION_3: 'Zaproponuj nową funkcjonalność lub zgłoś problem',
|
HELP_INFORMATION_3: 'Zaproponuj nową funkcjonalność lub zgłoś problem',
|
||||||
HELP_INFORMATION_4: 'Zgłaszając problem, nie zapomnij pobrać i dołączyć informacji o swoim systemie!',
|
HELP_INFORMATION_4: 'Zgłaszając problem, nie zapomnij pobrać i dołączyć informacji o swoim systemie!',
|
||||||
HELP_INFORMATION_5: 'For help and questions please contact your installer', // TODO translate
|
|
||||||
UPLOAD: 'Wysyłanie',
|
UPLOAD: 'Wysyłanie',
|
||||||
DOWNLOAD: '{{P|p||P}}obier{{anie|z||z}}',
|
DOWNLOAD: '{{P|p||P}}obier{{anie|z||z}}',
|
||||||
INSTALL: 'Zainstalować {0}',
|
INSTALL: 'Zainstalować {0}',
|
||||||
|
|||||||
@@ -159,7 +159,6 @@ const sk: Translation = {
|
|||||||
HELP_INFORMATION_2: 'Pre živý komunitný chat sa pripojte na náš Discord server',
|
HELP_INFORMATION_2: 'Pre živý komunitný chat sa pripojte na náš Discord server',
|
||||||
HELP_INFORMATION_3: 'Ak chcete požiadať o funkciu alebo nahlásiť chybu',
|
HELP_INFORMATION_3: 'Ak chcete požiadať o funkciu alebo nahlásiť chybu',
|
||||||
HELP_INFORMATION_4: 'nezabudnite si stiahnuť a pripojiť informácie o vašom systéme, aby ste mohli rýchlejšie reagovať pri nahlasovaní problému',
|
HELP_INFORMATION_4: 'nezabudnite si stiahnuť a pripojiť informácie o vašom systéme, aby ste mohli rýchlejšie reagovať pri nahlasovaní problému',
|
||||||
HELP_INFORMATION_5: 'Pre pomoc a otázky, kontaktujte svojho inštalatéra',
|
|
||||||
UPLOAD: 'Nahrať',
|
UPLOAD: 'Nahrať',
|
||||||
DOWNLOAD: '{{S|s|s}}tiahnuť',
|
DOWNLOAD: '{{S|s|s}}tiahnuť',
|
||||||
INSTALL: 'Inštalovať {0}',
|
INSTALL: 'Inštalovať {0}',
|
||||||
|
|||||||
@@ -159,7 +159,6 @@ const sv: Translation = {
|
|||||||
HELP_INFORMATION_2: 'För community-support besök vår Discord-server',
|
HELP_INFORMATION_2: 'För community-support besök vår Discord-server',
|
||||||
HELP_INFORMATION_3: 'Önska en ny funktion eller rapportera en bugg',
|
HELP_INFORMATION_3: 'Önska en ny funktion eller rapportera en bugg',
|
||||||
HELP_INFORMATION_4: 'Bifoga din systeminformation för snabbare hantering när du rapporterar ett problem',
|
HELP_INFORMATION_4: 'Bifoga din systeminformation för snabbare hantering när du rapporterar ett problem',
|
||||||
HELP_INFORMATION_5: 'For help and questions please contact your installer', // TODO translate
|
|
||||||
UPLOAD: 'Uppladdning',
|
UPLOAD: 'Uppladdning',
|
||||||
DOWNLOAD: '{{N|n|n}}edladdning',
|
DOWNLOAD: '{{N|n|n}}edladdning',
|
||||||
INSTALL: 'Installera {0}',
|
INSTALL: 'Installera {0}',
|
||||||
|
|||||||
@@ -159,7 +159,6 @@ const tr: Translation = {
|
|||||||
HELP_INFORMATION_2: 'Canlı topluluk sohbeti için Discord sunucumuza katılın',
|
HELP_INFORMATION_2: 'Canlı topluluk sohbeti için Discord sunucumuza katılın',
|
||||||
HELP_INFORMATION_3: 'Yeni bir özellik talep etmek yada hata bildirmek için',
|
HELP_INFORMATION_3: 'Yeni bir özellik talep etmek yada hata bildirmek için',
|
||||||
HELP_INFORMATION_4: 'Bir sorun bildirirken daha hızlı bir dönüş için sistem bilginizi indirip eklemeyi unutmayın',
|
HELP_INFORMATION_4: 'Bir sorun bildirirken daha hızlı bir dönüş için sistem bilginizi indirip eklemeyi unutmayın',
|
||||||
HELP_INFORMATION_5: 'For help and questions please contact your installer', // TODO translate
|
|
||||||
UPLOAD: 'Yükleme',
|
UPLOAD: 'Yükleme',
|
||||||
DOWNLOAD: '{{İ|i|i}}İndirme',
|
DOWNLOAD: '{{İ|i|i}}İndirme',
|
||||||
INSTALL: 'Düzenlemek {0}',
|
INSTALL: 'Düzenlemek {0}',
|
||||||
|
|||||||
Reference in New Issue
Block a user