mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-26 14:19:24 +00:00
unused auto rename tooltip
This commit is contained in:
parent
feba136044
commit
cfbf2c7ed9
@ -1325,6 +1325,18 @@
|
|||||||
},
|
},
|
||||||
"results": {
|
"results": {
|
||||||
"title": "Auto-Rename Results"
|
"title": "Auto-Rename Results"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"header": {
|
||||||
|
"title": "How Auto-Rename Works"
|
||||||
|
},
|
||||||
|
"howItWorks": {
|
||||||
|
"title": "Smart Renaming",
|
||||||
|
"text": "Automatically finds the best title from your PDF content and uses it as the filename.",
|
||||||
|
"bullet1": "Looks for text that appears to be a title or heading",
|
||||||
|
"bullet2": "Creates a clean, valid filename from the detected title",
|
||||||
|
"bullet3": "Keeps the original name if no suitable title is found"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"adjust-contrast": {
|
"adjust-contrast": {
|
||||||
|
@ -1052,6 +1052,18 @@
|
|||||||
},
|
},
|
||||||
"results": {
|
"results": {
|
||||||
"title": "Auto-Rename Results"
|
"title": "Auto-Rename Results"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"header": {
|
||||||
|
"title": "How Auto-Rename Works"
|
||||||
|
},
|
||||||
|
"howItWorks": {
|
||||||
|
"title": "Smart Renaming",
|
||||||
|
"text": "Automatically finds the best title from your PDF content and uses it as the filename.",
|
||||||
|
"bullet1": "Looks for text that appears to be a title or heading",
|
||||||
|
"bullet2": "Creates a clean, valid filename from the detected title",
|
||||||
|
"bullet3": "Keeps the original name if no suitable title is found"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"adjust-contrast": {
|
"adjust-contrast": {
|
||||||
|
23
frontend/src/components/tooltips/useAutoRenameTips.ts
Normal file
23
frontend/src/components/tooltips/useAutoRenameTips.ts
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
import { useTranslation } from 'react-i18next';
|
||||||
|
import { TooltipContent } from '../../types/tips';
|
||||||
|
|
||||||
|
export const useAutoRenameTips = (): TooltipContent => {
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
return {
|
||||||
|
header: {
|
||||||
|
title: t("auto-rename.tooltip.header.title", "How Auto-Rename Works")
|
||||||
|
},
|
||||||
|
tips: [
|
||||||
|
{
|
||||||
|
title: t("auto-rename.tooltip.howItWorks.title", "Smart Renaming"),
|
||||||
|
description: t("auto-rename.tooltip.howItWorks.text", "Automatically finds the best title from your PDF content and uses it as the filename."),
|
||||||
|
bullets: [
|
||||||
|
t("auto-rename.tooltip.howItWorks.bullet1", "Looks for text that appears to be a title or heading"),
|
||||||
|
t("auto-rename.tooltip.howItWorks.bullet2", "Creates a clean, valid filename from the detected title"),
|
||||||
|
t("auto-rename.tooltip.howItWorks.bullet3", "Keeps the original name if no suitable title is found")
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
};
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user