🐛 accidental translation of module name
This commit is contained in:
Vendored
-1
@@ -7,7 +7,6 @@ import { TablerIcon } from '@tabler/icons';
|
||||
// Note: Maybe use context to keep track of the modules
|
||||
export interface IModule {
|
||||
title: string;
|
||||
description: string;
|
||||
icon: TablerIcon;
|
||||
component: React.ComponentType;
|
||||
options?: Option;
|
||||
|
||||
@@ -25,8 +25,7 @@ import { serviceItem } from '../../tools/types';
|
||||
import { useColorTheme } from '../../tools/color';
|
||||
|
||||
export const CalendarModule: IModule = {
|
||||
title: 'descriptor.name',
|
||||
description: 'descriptor.description',
|
||||
title: 'Calendar',
|
||||
icon: CalendarIcon,
|
||||
component: CalendarComponent,
|
||||
options: {
|
||||
|
||||
@@ -9,8 +9,7 @@ import { IModule } from '../ModuleTypes';
|
||||
|
||||
const asModule = <T extends IModule>(t: T) => t;
|
||||
export const DashdotModule = asModule({
|
||||
title: 'descriptor.name',
|
||||
description: 'descriptor.description',
|
||||
title: 'Dash.',
|
||||
icon: CalendarIcon,
|
||||
component: DashdotComponent,
|
||||
options: {
|
||||
|
||||
@@ -7,8 +7,7 @@ import { IModule } from '../ModuleTypes';
|
||||
import { useSetSafeInterval } from '../../tools/hooks/useSetSafeInterval';
|
||||
|
||||
export const DateModule: IModule = {
|
||||
title: 'descriptor.name',
|
||||
description: 'descriptor.description',
|
||||
title: 'Date',
|
||||
icon: Clock,
|
||||
component: DateComponent,
|
||||
options: {
|
||||
|
||||
@@ -12,8 +12,7 @@ import { useConfig } from '../../tools/state';
|
||||
import { IModule } from '../ModuleTypes';
|
||||
|
||||
export const DockerModule: IModule = {
|
||||
title: 'descriptor.name',
|
||||
description: 'descriptor.description',
|
||||
title: 'Docker',
|
||||
icon: IconBrandDocker,
|
||||
component: DockerMenuButton,
|
||||
translationNamespace: 'modules/docker-module',
|
||||
|
||||
@@ -23,8 +23,7 @@ import { useSetSafeInterval } from '../../tools/hooks/useSetSafeInterval';
|
||||
import { humanFileSize } from '../../tools/humanFileSize';
|
||||
|
||||
export const DownloadsModule: IModule = {
|
||||
title: 'descriptor.name',
|
||||
description: 'descriptor.description',
|
||||
title: 'Torrent',
|
||||
icon: Download,
|
||||
component: DownloadComponent,
|
||||
options: {
|
||||
|
||||
@@ -15,8 +15,7 @@ import { IModule } from '../ModuleTypes';
|
||||
import { useSetSafeInterval } from '../../tools/hooks/useSetSafeInterval';
|
||||
|
||||
export const TotalDownloadsModule: IModule = {
|
||||
title: 'descriptor.name',
|
||||
description: 'descriptor.description',
|
||||
title: 'Download Speed',
|
||||
icon: Download,
|
||||
component: TotalDownloadsComponent,
|
||||
translationNamespace: 'modules/total-downloads-module',
|
||||
|
||||
@@ -3,8 +3,7 @@ import { OverseerrMediaDisplay } from '../common';
|
||||
import { IModule } from '../ModuleTypes';
|
||||
|
||||
export const OverseerrModule: IModule = {
|
||||
title: 'descriptor.name',
|
||||
description: 'descriptor.description',
|
||||
title: 'Overseerr',
|
||||
icon: IconEyeglass,
|
||||
component: OverseerrMediaDisplay,
|
||||
translationNamespace: 'modules/overseerr-module',
|
||||
|
||||
@@ -8,8 +8,7 @@ import { useConfig } from '../../tools/state';
|
||||
import { IModule } from '../ModuleTypes';
|
||||
|
||||
export const PingModule: IModule = {
|
||||
title: 'descriptor.name',
|
||||
description: 'descriptor.description',
|
||||
title: 'Ping Services',
|
||||
icon: Plug,
|
||||
component: PingComponent,
|
||||
translationNamespace: 'modules/ping-module',
|
||||
|
||||
@@ -27,8 +27,7 @@ const useStyles = createStyles((theme) => ({
|
||||
}));
|
||||
|
||||
export const SearchModule: IModule = {
|
||||
title: 'descriptor.name',
|
||||
description: 'descriptor.description',
|
||||
title: 'Search',
|
||||
icon: Search,
|
||||
component: SearchBar,
|
||||
translationNamespace: 'modules/search-module',
|
||||
|
||||
@@ -19,8 +19,7 @@ import { IModule } from '../ModuleTypes';
|
||||
import { WeatherResponse } from './WeatherInterface';
|
||||
|
||||
export const WeatherModule: IModule = {
|
||||
title: 'descriptor.name',
|
||||
description: 'descriptor.description',
|
||||
title: 'Weather',
|
||||
icon: Sun,
|
||||
component: WeatherComponent,
|
||||
options: {
|
||||
|
||||
Reference in New Issue
Block a user