mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-21 02:20:12 +00:00
Move the voice reminder (domina mode) feature from a built-in Angular feature into a self-contained plugin with its own manifest, i18n, and config dialog. Add registerConfigHandler plugin API for settings button on plugin cards. Include migration logic to auto-enable the plugin and transfer config for users who had domina mode enabled. - Fix currentTaskChange hook to dispatch full Task object instead of ID - Extract shared BUNDLED_PLUGIN_PATHS constant to eliminate duplication - Use firstValueFrom instead of deprecated .toPromise() - Add voice name fallback matching for migrated configs - Mark DominaModeConfig and selector as @deprecated - Add unit tests for onCurrentTaskChange and config handler
18 lines
630 B
JSON
18 lines
630 B
JSON
{
|
|
"SETTINGS": {
|
|
"TITLE": "Voice Reminder Settings",
|
|
"ENABLE": "Enable Voice Reminder",
|
|
"TEXT_LABEL": "Text (use ${currentTaskTitle} for task name)",
|
|
"INTERVAL_LABEL": "Interval (seconds)",
|
|
"VOLUME_LABEL": "Volume",
|
|
"VOICE_LABEL": "Voice",
|
|
"VOICE_DEFAULT": "-- Default --",
|
|
"TEST": "Test",
|
|
"SAVE": "Save",
|
|
"CANCEL": "Cancel",
|
|
"SAVED_MSG": "Voice reminder settings saved",
|
|
"TEST_NO_TEXT": "No text configured for voice reminder",
|
|
"TEST_PLACEHOLDER": "current task title",
|
|
"DESCRIPTION": "Repeats the configured phrase at a set interval when tracking time for a task."
|
|
}
|
|
}
|