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,
|
context: ShortcutContext.mailComposer,
|
||||||
keys: ['ESC'],
|
keys: ['ESC'],
|
||||||
),
|
),
|
||||||
|
KeyboardShortcut(
|
||||||
|
label: appLocalizations.closeMailDetailView,
|
||||||
|
category: ShortcutCategory.navigationAndClosing,
|
||||||
|
context: ShortcutContext.openedMailView,
|
||||||
|
keys: ['ESC'],
|
||||||
|
),
|
||||||
KeyboardShortcut(
|
KeyboardShortcut(
|
||||||
label: appLocalizations.removeFocusFromSearch,
|
label: appLocalizations.removeFocusFromSearch,
|
||||||
category: ShortcutCategory.navigationAndClosing,
|
category: ShortcutCategory.navigationAndClosing,
|
||||||
|
|||||||
@@ -5465,5 +5465,11 @@
|
|||||||
"type": "text",
|
"type": "text",
|
||||||
"placeholders_order": [],
|
"placeholders_order": [],
|
||||||
"placeholders": {}
|
"placeholders": {}
|
||||||
|
},
|
||||||
|
"closeMailDetailView": "Close mail detail view",
|
||||||
|
"@closeMailDetailView": {
|
||||||
|
"type": "text",
|
||||||
|
"placeholders_order": [],
|
||||||
|
"placeholders": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5783,4 +5783,11 @@ class AppLocalizations {
|
|||||||
name: 'events',
|
name: 'events',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String get closeMailDetailView {
|
||||||
|
return Intl.message(
|
||||||
|
'Close mail detail view',
|
||||||
|
name: 'closeMailDetailView',
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user