system description update

master
Tudor Stanciu 2023-03-26 04:56:12 +03:00
parent d3f359c6dd
commit 5ffed1c995
3 changed files with 18 additions and 18 deletions

View File

@ -86,13 +86,13 @@
"Api": "API",
"Server": "Server",
"Tuitio": "Tuitio"
}
},
"SystemVersion": {
"Version": {
"Server": "Server: {{version}}",
"Api": "API: {{version}}",
"Frontend": "UI: {{version}}",
"LastReleaseDate": "Last update date: {{date}}"
}
}
}
}

View File

@ -77,13 +77,13 @@
"Api": "API",
"Server": "Server",
"Tuitio": "Tuitio"
}
},
"SystemVersion": {
"Version": {
"Server": "Server: {{version}}",
"Api": "API: {{version}}",
"Frontend": "UI: {{version}}",
"LastReleaseDate": "Data ultimei actualizări: {{date}}"
}
}
}
}

View File

@ -91,12 +91,12 @@ const SystemVersionComponent = ({ data }) => {
<ListItemText
primary={
<span className={classes.value}>
{t("About.SystemVersion.Server", {
{t("About.System.Version.Server", {
version: data.server.version
})}
</span>
}
secondary={t("About.SystemVersion.LastReleaseDate", {
secondary={t("About.System.Version.LastReleaseDate", {
date: lastReleaseDate.server
})}
/>
@ -110,12 +110,12 @@ const SystemVersionComponent = ({ data }) => {
<ListItemText
primary={
<span className={classes.value}>
{t("About.SystemVersion.Api", {
{t("About.System.Version.Api", {
version: data.api.version
})}
</span>
}
secondary={t("About.SystemVersion.LastReleaseDate", {
secondary={t("About.System.Version.LastReleaseDate", {
date: lastReleaseDate.api
})}
/>
@ -129,12 +129,12 @@ const SystemVersionComponent = ({ data }) => {
<ListItemText
primary={
<span className={classes.value}>
{t("About.SystemVersion.Frontend", {
{t("About.System.Version.Frontend", {
version: process.env.APP_VERSION ?? packageData.version
})}
</span>
}
secondary={t("About.SystemVersion.LastReleaseDate", {
secondary={t("About.System.Version.LastReleaseDate", {
date: lastReleaseDate.frontend
})}
/>