♻️ refactor(client): 浏览器半拆成 src 模块,client.js 改由构建产出
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
/**
|
||||
* English dictionary of this package's own copies.
|
||||
*
|
||||
* The key set must stay identical to `zh.js`: `createTranslator` falls back to
|
||||
* whichever dictionary has the key, so an asymmetric key would silently change
|
||||
* language rather than fail loudly.
|
||||
*
|
||||
* @module @dsh-plugin/session-notify/client/i18n/en
|
||||
*/
|
||||
|
||||
export const en = {
|
||||
'notification.completion': 'Conversation finished',
|
||||
'notification.approval': 'Approval required',
|
||||
'notification.question': 'Answer needed',
|
||||
'body.completion': '{title} finished this round',
|
||||
'body.approval': '{title}: {tool} is waiting for your approval',
|
||||
'body.approvalPlain': '{title}: a tool is waiting for your approval',
|
||||
'body.question': '{title}: waiting for your answer',
|
||||
'body.planReview': '{title}: a plan is waiting for your review',
|
||||
'body.untitled': 'Untitled conversation',
|
||||
'toast.view': 'View',
|
||||
'toast.dismiss': 'Dismiss',
|
||||
'settings.title': 'Session notifications',
|
||||
'settings.description': 'A system notification while the window is in the background, a light in-app popup while it is in the foreground; the conversation on screen is never interrupted.',
|
||||
'settings.permission.granted': 'System notifications are on',
|
||||
'settings.permission.default': 'System notification permission has not been granted',
|
||||
'settings.permission.denied': 'System notifications are switched off in system settings',
|
||||
'settings.permission.unsupported': 'This environment cannot show system notifications; the in-app popup still works',
|
||||
'settings.permission.hint.plain': 'Allow DeepSeek Harness in your system notification settings',
|
||||
'settings.permission.hint.win': 'Windows Settings → System → Notifications → DeepSeek Harness',
|
||||
'settings.permission.hint.mac': 'System Settings → Notifications → DeepSeek Harness',
|
||||
'settings.permission.hint.linux': 'Allow DeepSeek Harness in your desktop notification settings (GNOME / KDE)',
|
||||
'settings.action.allow': 'Allow notifications',
|
||||
'settings.action.testSystem': 'Test system notification',
|
||||
'settings.action.testAny': 'Test alert',
|
||||
'settings.action.unsupported': 'Unavailable',
|
||||
'settings.permission.promptFailed': 'Could not request notification permission: {message}',
|
||||
'settings.health.watching': 'Watching session status',
|
||||
'settings.health.noHooks': 'No session status received (notifications will not fire)',
|
||||
'settings.health.error': 'Watching session status failed: {message}',
|
||||
'settings.health.starting': 'Waiting for the session list',
|
||||
'settings.kinds.label': 'Notify about',
|
||||
'settings.kind.completion': 'Finished',
|
||||
'settings.kind.approval': 'Approval',
|
||||
'settings.kind.question': 'Questions',
|
||||
'config.section.kinds': 'What to notify about',
|
||||
'config.section.permission': 'System notification permission',
|
||||
'config.section.status': 'Status',
|
||||
'config.intro': 'Every alert comes from this page: a system notification while the window is in the background, the light popup here while it is in the foreground.',
|
||||
'config.saveNote': 'The switches are stored in this browser and survive reinstalling the plugin.',
|
||||
'config.testHint': 'The buttons here go straight to the system channel, so you can verify it on its own (they fire even while the window is in front).',
|
||||
'config.testAny': 'Test alert',
|
||||
'config.testSystem': 'Test system notification',
|
||||
'config.diag.window': 'Window',
|
||||
'config.diag.inFront': 'in front (popup is used)',
|
||||
'config.diag.away': 'not in front (system notification is used)',
|
||||
'config.diag.last': 'Last delivery',
|
||||
'config.diag.none': 'nothing delivered yet',
|
||||
'config.diag.systemShown': 'system notification (confirmed on screen)',
|
||||
'config.diag.systemUnconfirmed': 'system notification (no confirmation, replayed in-app on return)',
|
||||
'config.diag.systemFailed': 'system notification never appeared, replayed in-app on return',
|
||||
'config.diag.replayDelivery': 'in-app popup (replayed when you came back)',
|
||||
'config.diag.popup': 'in-app popup',
|
||||
'config.diag.refused': 'system channel refused, popup was used instead',
|
||||
'config.diag.replay': 'waiting for you to come back: {count}',
|
||||
'config.diag.replayNone': 'nothing waiting to be replayed',
|
||||
}
|
||||
Reference in New Issue
Block a user