mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-21 23:19:30 +02:00
fix: translation related behaviors
This commit is contained in:
@@ -2,12 +2,9 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('time', {
|
||||
name: 'Check Leap Years',
|
||||
path: 'check-leap-years',
|
||||
icon: 'material-symbols:calendar-month',
|
||||
description:
|
||||
'Check if a year is a leap year. Enter a year to determine if it has 366 days instead of 365.',
|
||||
shortDescription: 'Check if a year is a leap year',
|
||||
|
||||
keywords: ['leap', 'year', 'calendar', 'date'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
|
@@ -2,12 +2,9 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('time', {
|
||||
name: 'Convert Days to Hours',
|
||||
path: 'convert-days-to-hours',
|
||||
icon: 'material-symbols:schedule',
|
||||
description:
|
||||
'Convert days to hours. Enter the number of days to get the equivalent number of hours.',
|
||||
shortDescription: 'Convert days to hours',
|
||||
|
||||
keywords: ['days', 'hours', 'convert', 'time'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
|
@@ -2,12 +2,9 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('time', {
|
||||
name: 'Convert Hours to Days',
|
||||
path: 'convert-hours-to-days',
|
||||
icon: 'material-symbols:schedule',
|
||||
description:
|
||||
'Convert hours to days. Enter the number of hours to get the equivalent number of days.',
|
||||
shortDescription: 'Convert hours to days',
|
||||
|
||||
keywords: ['hours', 'days', 'convert', 'time'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
|
@@ -2,12 +2,9 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('time', {
|
||||
name: 'Convert Seconds to Time',
|
||||
path: 'convert-seconds-to-time',
|
||||
icon: 'material-symbols:schedule',
|
||||
description:
|
||||
'Convert seconds to a readable time format (hours:minutes:seconds). Enter the number of seconds to get the formatted time.',
|
||||
shortDescription: 'Convert seconds to time format',
|
||||
|
||||
keywords: ['seconds', 'time', 'convert', 'format'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
|
@@ -2,12 +2,9 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('time', {
|
||||
name: 'Convert Time to Seconds',
|
||||
path: 'convert-time-to-seconds',
|
||||
icon: 'material-symbols:schedule',
|
||||
description:
|
||||
'Convert time format (hours:minutes:seconds) to total seconds. Enter time in HH:MM:SS format to get the total seconds.',
|
||||
shortDescription: 'Convert time format to seconds',
|
||||
|
||||
keywords: ['time', 'seconds', 'convert', 'format'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
|
@@ -2,12 +2,9 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('time', {
|
||||
name: 'Crontab Guru',
|
||||
path: 'crontab-guru',
|
||||
icon: 'material-symbols:schedule',
|
||||
description:
|
||||
'Generate and understand cron expressions. Create cron schedules for automated tasks and system jobs.',
|
||||
shortDescription: 'Generate and understand cron expressions',
|
||||
|
||||
keywords: ['cron', 'schedule', 'automation', 'expression'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
|
@@ -2,12 +2,9 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('time', {
|
||||
name: 'Time Between Dates',
|
||||
path: 'time-between-dates',
|
||||
icon: 'material-symbols:schedule',
|
||||
description:
|
||||
'Calculate the time difference between two dates. Get the exact duration in days, hours, minutes, and seconds.',
|
||||
shortDescription: 'Calculate time between two dates',
|
||||
|
||||
keywords: ['dates', 'time', 'difference', 'duration', 'calculate'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
|
@@ -2,12 +2,9 @@ import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('time', {
|
||||
name: 'Truncate Clock Time',
|
||||
path: 'truncate-clock-time',
|
||||
icon: 'material-symbols:schedule',
|
||||
description:
|
||||
'Truncate clock time to remove seconds or minutes. Round time to the nearest hour, minute, or custom interval.',
|
||||
shortDescription: 'Truncate clock time to specified precision',
|
||||
|
||||
keywords: ['time', 'truncate', 'clock', 'round', 'precision'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
|
Reference in New Issue
Block a user