mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-26 01:19:33 +02:00
fix: misc
This commit is contained in:
@@ -39,15 +39,15 @@ export default function XmlBeautifier({
|
||||
input={input}
|
||||
inputComponent={
|
||||
<ToolTextInput
|
||||
title={t('xml.beautifier.inputTitle')}
|
||||
title={t('xml:beautifier.inputTitle')}
|
||||
value={input}
|
||||
onChange={setInput}
|
||||
placeholder={t('xml.beautifier.placeholder')}
|
||||
placeholder={t('xml:beautifier.placeholder')}
|
||||
/>
|
||||
}
|
||||
resultComponent={
|
||||
<ToolTextResult
|
||||
title={t('xml.beautifier.resultTitle')}
|
||||
title={t('xml:beautifier.resultTitle')}
|
||||
value={result}
|
||||
extension="xml"
|
||||
/>
|
||||
@@ -58,7 +58,7 @@ export default function XmlBeautifier({
|
||||
setInput={setInput}
|
||||
compute={compute}
|
||||
toolInfo={{
|
||||
title: t('xml.beautifier.toolInfo.title', { title }),
|
||||
title: t('xml:beautifier.toolInfo.title', { title }),
|
||||
description: longDescription
|
||||
}}
|
||||
/>
|
||||
|
@@ -11,8 +11,8 @@ export const tool = defineTool('xml', {
|
||||
keywords: ['xml', 'beautify', 'format', 'code', 'indent'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
name: 'xml.xmlBeautifier.name',
|
||||
description: 'xml.xmlBeautifier.description',
|
||||
shortDescription: 'xml.xmlBeautifier.shortDescription'
|
||||
name: 'xml:xmlBeautifier.title',
|
||||
description: 'xml:xmlBeautifier.description',
|
||||
shortDescription: 'xml:xmlBeautifier.shortDescription'
|
||||
}
|
||||
});
|
||||
|
@@ -48,7 +48,7 @@ export default function XmlValidator({
|
||||
<ToolTextInput
|
||||
value={input}
|
||||
onChange={setInput}
|
||||
placeholder={t('xml.xmlValidator.placeholder')}
|
||||
placeholder={t('xml:xmlValidator.placeholder')}
|
||||
/>
|
||||
}
|
||||
resultComponent={<ToolTextResult value={result} extension="txt" />}
|
||||
@@ -58,8 +58,8 @@ export default function XmlValidator({
|
||||
setInput={setInput}
|
||||
compute={compute}
|
||||
toolInfo={{
|
||||
title: t('xml.xmlValidator.toolInfo.title'),
|
||||
description: t('xml.xmlValidator.toolInfo.description')
|
||||
title: t('xml:xmlValidator.toolInfo.title'),
|
||||
description: t('xml:xmlValidator.toolInfo.description')
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
@@ -11,8 +11,8 @@ export const tool = defineTool('xml', {
|
||||
keywords: ['xml', 'validate', 'check', 'syntax', 'errors'],
|
||||
component: lazy(() => import('./index')),
|
||||
i18n: {
|
||||
name: 'xml.xmlValidator.name',
|
||||
description: 'xml.xmlValidator.description',
|
||||
shortDescription: 'xml.xmlValidator.shortDescription'
|
||||
name: 'xml:xmlValidator.title',
|
||||
description: 'xml:xmlValidator.description',
|
||||
shortDescription: 'xml:xmlValidator.shortDescription'
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user