mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-09-18 09:29:24 +00:00
Improve tool step titles
This commit is contained in:
parent
93366beeae
commit
06dbe8cc06
@ -1087,11 +1087,11 @@
|
|||||||
"title": "Metadata Settings"
|
"title": "Metadata Settings"
|
||||||
},
|
},
|
||||||
"standardFields": {
|
"standardFields": {
|
||||||
"title": "Standard Metadata"
|
"title": "Standard Fields"
|
||||||
},
|
},
|
||||||
"deleteAll": {
|
"deleteAll": {
|
||||||
"label": "Delete all metadata",
|
"label": "Remove Existing Metadata",
|
||||||
"description": "Remove all metadata from the PDF document"
|
"checkbox": "Delete all metadata"
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"label": "Title",
|
"label": "Title",
|
||||||
@ -1118,7 +1118,7 @@
|
|||||||
"placeholder": "Document producer"
|
"placeholder": "Document producer"
|
||||||
},
|
},
|
||||||
"dates": {
|
"dates": {
|
||||||
"title": "Document Dates"
|
"title": "Date Fields"
|
||||||
},
|
},
|
||||||
"creationDate": {
|
"creationDate": {
|
||||||
"label": "Creation Date",
|
"label": "Creation Date",
|
||||||
@ -1130,7 +1130,6 @@
|
|||||||
},
|
},
|
||||||
"trapped": {
|
"trapped": {
|
||||||
"label": "Trapped Status",
|
"label": "Trapped Status",
|
||||||
"description": "Indicates whether the document has been trapped for high-quality printing",
|
|
||||||
"unknown": "Unknown",
|
"unknown": "Unknown",
|
||||||
"true": "True",
|
"true": "True",
|
||||||
"false": "False"
|
"false": "False"
|
||||||
@ -1181,8 +1180,8 @@
|
|||||||
"bullet3": "Delete All: Remove all metadata for privacy"
|
"bullet3": "Delete All: Remove all metadata for privacy"
|
||||||
},
|
},
|
||||||
"deleteAll": {
|
"deleteAll": {
|
||||||
"title": "Delete All Metadata",
|
"title": "Remove Existing Metadata",
|
||||||
"text": "Complete metadata removal for privacy and clean documents."
|
"text": "Complete metadata deletion to ensure privacy."
|
||||||
},
|
},
|
||||||
"customFields": {
|
"customFields": {
|
||||||
"title": "Custom Metadata",
|
"title": "Custom Metadata",
|
||||||
|
@ -28,7 +28,6 @@ const AdvancedOptionsStep = ({
|
|||||||
{/* Trapped Status */}
|
{/* Trapped Status */}
|
||||||
<Select
|
<Select
|
||||||
label={t('changeMetadata.trapped.label', 'Trapped Status')}
|
label={t('changeMetadata.trapped.label', 'Trapped Status')}
|
||||||
description={t('changeMetadata.trapped.description', 'Indicates whether the document has been trapped for high-quality printing')}
|
|
||||||
value={parameters.trapped}
|
value={parameters.trapped}
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
if (value) {
|
if (value) {
|
||||||
|
@ -17,8 +17,7 @@ const DeleteAllStep = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Checkbox
|
<Checkbox
|
||||||
label={t('changeMetadata.deleteAll.label', 'Delete all metadata')}
|
label={t('changeMetadata.deleteAll.checkbox', 'Delete all metadata')}
|
||||||
description={t('changeMetadata.deleteAll.description', 'Remove all metadata from the PDF document')}
|
|
||||||
checked={parameters.deleteAll}
|
checked={parameters.deleteAll}
|
||||||
onChange={(e) => onParameterChange('deleteAll', e.target.checked)}
|
onChange={(e) => onParameterChange('deleteAll', e.target.checked)}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
|
@ -6,12 +6,11 @@ export const useDeleteAllTips = (): TooltipContent => {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
header: {
|
header: {
|
||||||
title: t("changeMetadata.tooltip.deleteAll.title", "Delete All Metadata")
|
title: t("changeMetadata.tooltip.deleteAll.title", "Remove Existing Metadata")
|
||||||
},
|
},
|
||||||
tips: [
|
tips: [
|
||||||
{
|
{
|
||||||
title: t("changeMetadata.tooltip.deleteAll.title", "Delete All Metadata"),
|
description: t("changeMetadata.tooltip.deleteAll.text", "Complete metadata deletion to ensure privacy."),
|
||||||
description: t("changeMetadata.tooltip.deleteAll.text", "Complete metadata removal for privacy and clean documents."),
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
@ -26,7 +25,6 @@ export const useStandardMetadataTips = (): TooltipContent => {
|
|||||||
},
|
},
|
||||||
tips: [
|
tips: [
|
||||||
{
|
{
|
||||||
title: t("changeMetadata.tooltip.standardFields.title", "Standard Fields"),
|
|
||||||
description: t("changeMetadata.tooltip.standardFields.text", "Common PDF metadata fields that describe the document."),
|
description: t("changeMetadata.tooltip.standardFields.text", "Common PDF metadata fields that describe the document."),
|
||||||
bullets: [
|
bullets: [
|
||||||
t("changeMetadata.tooltip.standardFields.bullet1", "Title: Document name or heading"),
|
t("changeMetadata.tooltip.standardFields.bullet1", "Title: Document name or heading"),
|
||||||
@ -49,7 +47,6 @@ export const useDocumentDatesTips = (): TooltipContent => {
|
|||||||
},
|
},
|
||||||
tips: [
|
tips: [
|
||||||
{
|
{
|
||||||
title: t("changeMetadata.tooltip.dates.title", "Date Fields"),
|
|
||||||
description: t("changeMetadata.tooltip.dates.text", "When the document was created and modified."),
|
description: t("changeMetadata.tooltip.dates.text", "When the document was created and modified."),
|
||||||
bullets: [
|
bullets: [
|
||||||
t("changeMetadata.tooltip.dates.bullet1", "Creation Date: When original document was made"),
|
t("changeMetadata.tooltip.dates.bullet1", "Creation Date: When original document was made"),
|
||||||
@ -69,7 +66,6 @@ export const useCustomMetadataTips = (): TooltipContent => {
|
|||||||
},
|
},
|
||||||
tips: [
|
tips: [
|
||||||
{
|
{
|
||||||
title: t("changeMetadata.tooltip.customFields.title", "Custom Metadata"),
|
|
||||||
description: t("changeMetadata.tooltip.customFields.text", "Add your own custom key-value metadata pairs."),
|
description: t("changeMetadata.tooltip.customFields.text", "Add your own custom key-value metadata pairs."),
|
||||||
bullets: [
|
bullets: [
|
||||||
t("changeMetadata.tooltip.customFields.bullet1", "Add any custom fields relevant to your document"),
|
t("changeMetadata.tooltip.customFields.bullet1", "Add any custom fields relevant to your document"),
|
||||||
|
@ -65,7 +65,7 @@ const ChangeMetadata = (props: BaseToolProps) => {
|
|||||||
|
|
||||||
// Create step objects
|
// Create step objects
|
||||||
const createStandardMetadataStep = () => ({
|
const createStandardMetadataStep = () => ({
|
||||||
title: t("changeMetadata.standardFields.title", "Standard Metadata"),
|
title: t("changeMetadata.standardFields.title", "Standard Fields"),
|
||||||
isCollapsed: getActualCollapsedState(MetadataStep.STANDARD_METADATA),
|
isCollapsed: getActualCollapsedState(MetadataStep.STANDARD_METADATA),
|
||||||
onCollapsedClick: () => handleStepToggle(MetadataStep.STANDARD_METADATA),
|
onCollapsedClick: () => handleStepToggle(MetadataStep.STANDARD_METADATA),
|
||||||
tooltip: standardMetadataTips,
|
tooltip: standardMetadataTips,
|
||||||
@ -79,7 +79,7 @@ const ChangeMetadata = (props: BaseToolProps) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const createDocumentDatesStep = () => ({
|
const createDocumentDatesStep = () => ({
|
||||||
title: t("changeMetadata.dates.title", "Document Dates"),
|
title: t("changeMetadata.dates.title", "Date Fields"),
|
||||||
isCollapsed: getActualCollapsedState(MetadataStep.DOCUMENT_DATES),
|
isCollapsed: getActualCollapsedState(MetadataStep.DOCUMENT_DATES),
|
||||||
onCollapsedClick: () => handleStepToggle(MetadataStep.DOCUMENT_DATES),
|
onCollapsedClick: () => handleStepToggle(MetadataStep.DOCUMENT_DATES),
|
||||||
tooltip: documentDatesTips,
|
tooltip: documentDatesTips,
|
||||||
@ -113,7 +113,7 @@ const ChangeMetadata = (props: BaseToolProps) => {
|
|||||||
const buildSteps = () => {
|
const buildSteps = () => {
|
||||||
const steps = [
|
const steps = [
|
||||||
{
|
{
|
||||||
title: t("changeMetadata.deleteAll.label", "Delete All Metadata"),
|
title: t("changeMetadata.deleteAll.label", "Remove Existing Metadata"),
|
||||||
isCollapsed: getActualCollapsedState(MetadataStep.DELETE_ALL),
|
isCollapsed: getActualCollapsedState(MetadataStep.DELETE_ALL),
|
||||||
onCollapsedClick: () => handleStepToggle(MetadataStep.DELETE_ALL),
|
onCollapsedClick: () => handleStepToggle(MetadataStep.DELETE_ALL),
|
||||||
tooltip: deleteAllTips,
|
tooltip: deleteAllTips,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user