Add Keyboard shortcuts dictionary for close email detail view in Setting
This commit is contained in:
+6
@@ -15,6 +15,12 @@ class KeyboardShortcutsManager {
|
||||
context: ShortcutContext.mailComposer,
|
||||
keys: ['ESC'],
|
||||
),
|
||||
KeyboardShortcut(
|
||||
label: appLocalizations.closeMailDetailView,
|
||||
category: ShortcutCategory.navigationAndClosing,
|
||||
context: ShortcutContext.openedMailView,
|
||||
keys: ['ESC'],
|
||||
),
|
||||
KeyboardShortcut(
|
||||
label: appLocalizations.removeFocusFromSearch,
|
||||
category: ShortcutCategory.navigationAndClosing,
|
||||
|
||||
@@ -5465,5 +5465,11 @@
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"closeMailDetailView": "Close mail detail view",
|
||||
"@closeMailDetailView": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
@@ -5783,4 +5783,11 @@ class AppLocalizations {
|
||||
name: 'events',
|
||||
);
|
||||
}
|
||||
|
||||
String get closeMailDetailView {
|
||||
return Intl.message(
|
||||
'Close mail detail view',
|
||||
name: 'closeMailDetailView',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user