mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 07:25:48 +01:00
✨ Add translation for module, fix language changer
This commit is contained in:
@@ -22,7 +22,7 @@ function sendDockerCommand(
|
||||
containerName: string,
|
||||
reload: () => void
|
||||
) {
|
||||
const { t } = useTranslation('modules/docker-module');
|
||||
const { t } = useTranslation('modules/docker');
|
||||
|
||||
showNotification({
|
||||
id: containerId,
|
||||
@@ -64,7 +64,7 @@ export interface ContainerActionBarProps {
|
||||
|
||||
export default function ContainerActionBar({ selected, reload }: ContainerActionBarProps) {
|
||||
const [opened, setOpened] = useState<boolean>(false);
|
||||
const { t } = useTranslation('modules/docker-module');
|
||||
const { t } = useTranslation('modules/docker');
|
||||
|
||||
return (
|
||||
<Group>
|
||||
|
||||
Reference in New Issue
Block a user