mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-06 08:50:50 +08:00
fix(electron): optimize meeting privacy settings (#12530)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added support for requesting screen recording permission on macOS in addition to microphone permission. - Introduced a new "Permission issues" section in meeting privacy settings, including a button to restart the app if permission status is not updated. - **Improvements** - Unified permission handling for screen and microphone settings, simplifying the user experience. - Added new localized strings for enhanced clarity regarding permission issues and app restart instructions. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -5598,6 +5598,18 @@ export function useAFFiNEI18N(): {
|
||||
* `Click to allow`
|
||||
*/
|
||||
["com.affine.settings.meetings.privacy.microphone.permission-setting"](): string;
|
||||
/**
|
||||
* `Permission issues`
|
||||
*/
|
||||
["com.affine.settings.meetings.privacy.issues"](): string;
|
||||
/**
|
||||
* `Permissions are granted but the status isn't updated? Restart the app to refresh permissions.`
|
||||
*/
|
||||
["com.affine.settings.meetings.privacy.issues.description"](): string;
|
||||
/**
|
||||
* `Restart App`
|
||||
*/
|
||||
["com.affine.settings.meetings.privacy.issues.restart"](): string;
|
||||
/**
|
||||
* `Do nothing`
|
||||
*/
|
||||
|
||||
@@ -1398,6 +1398,9 @@
|
||||
"com.affine.settings.meetings.privacy.microphone": "Microphone",
|
||||
"com.affine.settings.meetings.privacy.microphone.description": "The Meeting feature requires permission to be used.",
|
||||
"com.affine.settings.meetings.privacy.microphone.permission-setting": "Click to allow",
|
||||
"com.affine.settings.meetings.privacy.issues": "Permission issues",
|
||||
"com.affine.settings.meetings.privacy.issues.description": "Permissions are granted but the status isn't updated? Restart the app to refresh permissions.",
|
||||
"com.affine.settings.meetings.privacy.issues.restart": "Restart App",
|
||||
"com.affine.settings.meetings.record.recording-mode.none": "Do nothing",
|
||||
"com.affine.settings.meetings.record.recording-mode.auto-start": "Auto start recording",
|
||||
"com.affine.settings.meetings.record.recording-mode.prompt": "Show a recording prompt",
|
||||
|
||||
Reference in New Issue
Block a user