mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
feat(app): guide privacy review with dots and an inline alert (#3356)
This commit is contained in:
1 parent
ec681e6061
commit
2f6201bcbd
60 files changed
+2975
-2500
No files matched your search
@@ -316,6 +316,15 @@ export const USER_SETTINGS_LABEL_DESCRIPTOR = msg({
|
||||
message: 'User settings',
|
||||
comment: 'Root label for the current user settings modal and settings search paths.',
|
||||
});
|
||||
export const USER_SETTINGS_PRIVACY_REVIEW_NEEDED_DESCRIPTOR = msg({
|
||||
message: 'User settings, privacy review needed',
|
||||
comment: 'Accessible label for the user settings button while the user has not yet reviewed who can message them.',
|
||||
});
|
||||
export const PRIVACY_REVIEW_NEEDED_DESCRIPTOR = msg({
|
||||
message: 'Review needed',
|
||||
comment:
|
||||
'Screen reader text read after the Privacy item in the settings sidebar while the user has not yet reviewed who can message them. A red dot marks the item visually.',
|
||||
});
|
||||
|
||||
export function getUserSettingsTabLabel(i18n: I18n, tabType: UserSettingsTabType): string {
|
||||
const tab = ALL_TABS_DESCRIPTORS.find((candidate) => candidate.type === tabType);
|
||||
|
||||
Reference in new issue
Block a user