mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-14 18:46:58 +01:00
✨ i18n translation for modules
This commit is contained in:
@@ -3,15 +3,16 @@ import axios, { AxiosResponse } from 'axios';
|
||||
import { motion } from 'framer-motion';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { IconPlug as Plug } from '@tabler/icons';
|
||||
import { useTranslation } from 'next-i18next';
|
||||
import { useConfig } from '../../tools/state';
|
||||
import { IModule } from '../ModuleTypes';
|
||||
import { useTranslation } from 'next-i18next';
|
||||
|
||||
export const PingModule: IModule = {
|
||||
title: 'Ping Services',
|
||||
description: 'Pings your services and shows their status as an indicator',
|
||||
title: 'descriptor.name',
|
||||
description: 'descriptor.description',
|
||||
icon: Plug,
|
||||
component: PingComponent,
|
||||
translationNamespace: 'modules/ping-module',
|
||||
};
|
||||
|
||||
export default function PingComponent(props: any) {
|
||||
|
||||
Reference in New Issue
Block a user