mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-27 06:39:24 +00:00
Merge branch 'V2' into UIUX/V2/StylingSnags
This commit is contained in:
commit
5d00425690
@ -2127,7 +2127,7 @@
|
||||
"selectedCount": "{{count}} selected",
|
||||
"download": "Download",
|
||||
"delete": "Delete",
|
||||
"unsupported":"Unsupported"
|
||||
"unsupported": "Unsupported"
|
||||
},
|
||||
"storage": {
|
||||
"temporaryNotice": "Files are stored temporarily in your browser and may be cleared automatically",
|
||||
@ -2299,69 +2299,68 @@
|
||||
}
|
||||
},
|
||||
"automate": {
|
||||
"title": "Automate",
|
||||
"desc": "Build multi-step workflows by chaining together PDF actions. Ideal for recurring tasks.",
|
||||
"invalidStep": "Invalid step",
|
||||
"files": {
|
||||
"placeholder": "Select files to process with this automation"
|
||||
"title": "Automate",
|
||||
"desc": "Build multi-step workflows by chaining together PDF actions. Ideal for recurring tasks.",
|
||||
"invalidStep": "Invalid step",
|
||||
"files": {
|
||||
"placeholder": "Select files to process with this automation"
|
||||
},
|
||||
"selection": {
|
||||
"title": "Automation Selection",
|
||||
"saved": {
|
||||
"title": "Saved"
|
||||
},
|
||||
"selection": {
|
||||
"title": "Automation Selection",
|
||||
"saved": {
|
||||
"title": "Saved"
|
||||
},
|
||||
"createNew": {
|
||||
"title": "Create New Automation"
|
||||
},
|
||||
"suggested": {
|
||||
"title": "Suggested"
|
||||
}
|
||||
"createNew": {
|
||||
"title": "Create New Automation"
|
||||
},
|
||||
"creation": {
|
||||
"createTitle": "Create Automation",
|
||||
"editTitle": "Edit Automation",
|
||||
"description": "Automations run tools sequentially. To get started, add tools in the order you want them to run.",
|
||||
"name": {
|
||||
"placeholder": "Automation name"
|
||||
},
|
||||
"tools": {
|
||||
"selectTool": "Select a tool...",
|
||||
"selected": "Selected Tools",
|
||||
"remove": "Remove tool",
|
||||
"configure": "Configure tool",
|
||||
"notConfigured": "! Not Configured",
|
||||
"addTool": "Add Tool",
|
||||
"add": "Add a tool..."
|
||||
},
|
||||
"save": "Save Automation",
|
||||
"unsavedChanges": {
|
||||
"title": "Unsaved Changes",
|
||||
"message": "You have unsaved changes. Are you sure you want to go back? All changes will be lost.",
|
||||
"cancel": "Cancel",
|
||||
"confirm": "Go Back"
|
||||
}
|
||||
"suggested": {
|
||||
"title": "Suggested"
|
||||
}
|
||||
},
|
||||
"creation": {
|
||||
"createTitle": "Create Automation",
|
||||
"editTitle": "Edit Automation",
|
||||
"description": "Automations run tools sequentially. To get started, add tools in the order you want them to run.",
|
||||
"name": {
|
||||
"placeholder": "Automation name"
|
||||
},
|
||||
"run": {
|
||||
"title": "Run Automation"
|
||||
"tools": {
|
||||
"selectTool": "Select a tool...",
|
||||
"selected": "Selected Tools",
|
||||
"remove": "Remove tool",
|
||||
"configure": "Configure tool",
|
||||
"notConfigured": "! Not Configured",
|
||||
"addTool": "Add Tool",
|
||||
"add": "Add a tool..."
|
||||
},
|
||||
"sequence": {
|
||||
"unnamed": "Unnamed Automation",
|
||||
"steps": "{{count}} steps",
|
||||
"running": "Running Automation...",
|
||||
"run": "Run Automation",
|
||||
"finish": "Finish"
|
||||
},
|
||||
"reviewTitle": "Automation Results",
|
||||
"config": {
|
||||
"loading": "Loading tool configuration...",
|
||||
"noSettings": "This tool does not have configurable settings.",
|
||||
"title": "Configure {{toolName}}",
|
||||
"description": "Configure the settings for this tool. These settings will be applied when the automation runs.",
|
||||
"save": "Save Automation",
|
||||
"unsavedChanges": {
|
||||
"title": "Unsaved Changes",
|
||||
"message": "You have unsaved changes. Are you sure you want to go back? All changes will be lost.",
|
||||
"cancel": "Cancel",
|
||||
"save": "Save Configuration"
|
||||
},
|
||||
"copyToSaved": "Copy to Saved"
|
||||
}
|
||||
"confirm": "Go Back"
|
||||
}
|
||||
},
|
||||
"run": {
|
||||
"title": "Run Automation"
|
||||
},
|
||||
"sequence": {
|
||||
"unnamed": "Unnamed Automation",
|
||||
"steps": "{{count}} steps",
|
||||
"running": "Running Automation...",
|
||||
"run": "Run Automation",
|
||||
"finish": "Finish"
|
||||
},
|
||||
"reviewTitle": "Automation Results",
|
||||
"config": {
|
||||
"loading": "Loading tool configuration...",
|
||||
"noSettings": "This tool does not have configurable settings.",
|
||||
"title": "Configure {{toolName}}",
|
||||
"description": "Configure the settings for this tool. These settings will be applied when the automation runs.",
|
||||
"cancel": "Cancel",
|
||||
"save": "Save Configuration"
|
||||
},
|
||||
"copyToSaved": "Copy to Saved"
|
||||
},
|
||||
"automation": {
|
||||
"suggested": {
|
||||
|
@ -11,6 +11,8 @@ interface RainbowThemeHook {
|
||||
deactivateRainbow: () => void;
|
||||
}
|
||||
|
||||
const allowRainbowMode = false; // Override to allow/disallow fun
|
||||
|
||||
export function useRainbowTheme(initialTheme: 'light' | 'dark' = 'light'): RainbowThemeHook {
|
||||
// Get theme from localStorage or use initial
|
||||
const [themeMode, setThemeMode] = useState<ThemeMode>(() => {
|
||||
@ -162,7 +164,7 @@ export function useRainbowTheme(initialTheme: 'light' | 'dark' = 'light'): Rainb
|
||||
lastToggleTime.current = currentTime;
|
||||
|
||||
// Easter egg: Activate rainbow mode after 10 rapid toggles
|
||||
if (toggleCount.current >= 10) {
|
||||
if (allowRainbowMode && toggleCount.current >= 10) {
|
||||
setThemeMode('rainbow');
|
||||
console.log('🌈 RAINBOW MODE ACTIVATED! 🌈 You found the secret easter egg!');
|
||||
console.log('🌈 Button will be disabled for 3 seconds, then click once to exit!');
|
||||
|
Loading…
x
Reference in New Issue
Block a user