mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-15 09:46:19 +01:00
Merge pull request #468 from ajnart/407-fix-typo-stoped-stoping-instead-of-stopped-stopping
407 fix typo stoped stoping instead of stopped stopping
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "homarr",
|
||||
"version": "0.10.1",
|
||||
"version": "0.10.2",
|
||||
"description": "Homarr - A homepage for your server.",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
|
||||
@@ -47,10 +47,22 @@
|
||||
"title": "Add to Homarr"
|
||||
}
|
||||
},
|
||||
"messages": {
|
||||
"successfullyExecuted": {
|
||||
"title": "Container {{containerName}} {{action}}ed",
|
||||
"message": "Your container was successfully {{action}}ed"
|
||||
"actions": {
|
||||
"start": {
|
||||
"start": "Starting",
|
||||
"end": "Started"
|
||||
},
|
||||
"stop": {
|
||||
"start": "Stopping",
|
||||
"end": "Stopped"
|
||||
},
|
||||
"restart": {
|
||||
"start": "Restarting",
|
||||
"end": "Restarted"
|
||||
},
|
||||
"remove": {
|
||||
"start": "Removing",
|
||||
"end": "Removed"
|
||||
}
|
||||
},
|
||||
"errors": {
|
||||
|
||||
@@ -31,7 +31,7 @@ function sendDockerCommand(
|
||||
showNotification({
|
||||
id: containerId,
|
||||
loading: true,
|
||||
title: `${action}ing container ${containerName}`,
|
||||
title: `${t(`actions.${action}.start`)} ${containerName}`,
|
||||
message: undefined,
|
||||
autoClose: false,
|
||||
disallowClose: true,
|
||||
@@ -41,8 +41,8 @@ function sendDockerCommand(
|
||||
.then((res) => {
|
||||
updateNotification({
|
||||
id: containerId,
|
||||
title: t('messages.successfullyExecuted.message', { containerName, action }),
|
||||
message: t('messages.successfullyExecuted.message', { action }),
|
||||
title: containerName,
|
||||
message: `${t(`actions.${action}.end`)} ${containerName}`,
|
||||
icon: <IconCheck />,
|
||||
autoClose: 2000,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user