Mailspring/app/menus/linux.js
Ben Gotow c629967c3d Add a proper address book with CardDAV + Google People support
commit 423cf4f407
Author: Ben Gotow <ben@foundry376.com>
Date:   Fri Oct 11 22:33:53 2019 -0500

    Replace belcard with homegrown VCard parser because our needs are minimal and the linux binary has relocation issues

commit 4ae19c0ed5
Author: Ben Gotow <ben@foundry376.com>
Date:   Fri Oct 11 10:38:26 2019 -0500

    Skip building a few more belr components, still looking for relocation error cause

commit a7ec02a449
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Oct 10 22:16:15 2019 -0500

    Fix windows SRV record lookups for contact directory autodiscovery

commit 318a31d279
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Oct 10 20:50:06 2019 -0500

    Leave vcard_grammar unpacked so mailsync can find it at runtime

commit bf7e43e37d
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Oct 10 20:43:01 2019 -0500

    Fix bug in icon case sensitivity

commit c283513653
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Oct 10 17:29:24 2019 -0500

    Renew Windows Authenticode code signing cert (there goes $500…)

commit d13235f65b
Author: Ben Gotow <ben@foundry376.com>
Date:   Wed Oct 9 23:25:34 2019 -0500

    Bump mailsync to move belr dlls

commit 00ca6431df
Author: Ben Gotow <ben@foundry376.com>
Date:   Wed Oct 9 23:22:53 2019 -0500

    Bump to xcode9 to fix odd C++11 error

commit 47903c99c4
Author: Ben Gotow <ben@foundry376.com>
Date:   Wed Oct 9 23:01:32 2019 -0500

    Bump mailsync to build belr as a dll instead of a static lib

commit 21d645d4e7
Author: Ben Gotow <ben@foundry376.com>
Date:   Wed Oct 9 22:38:24 2019 -0500

    Bump mailsync

commit 3f943031cb
Author: Ben Gotow <ben@foundry376.com>
Date:   Wed Oct 9 21:57:39 2019 -0500

    Bump mailsync to fix windows libetpan failure

commit 8fb55ca0fc
Author: Ben Gotow <ben@foundry376.com>
Date:   Wed Oct 9 21:36:57 2019 -0500

    Bump mailsync, add grammar

commit b959c54e50
Author: Ben Gotow <ben@foundry376.com>
Date:   Wed Oct 9 21:20:13 2019 -0500

    Bump mailsync for linux / win32

commit ddb5229d67
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Oct 8 22:44:12 2019 -0500

    Bump mailsync

commit f80e1bc422
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Oct 8 11:11:39 2019 -0500

    Fix LESS linter failures

commit 66dc60a731
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Oct 8 11:00:37 2019 -0500

    Extend participant search to return / expand groups

commit 3bded91307
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Oct 8 03:18:11 2019 -0500

    Add comments, etc

commit 4ede5446de
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Oct 8 02:38:50 2019 -0500

    Google People API contacts CRUD alongside CardDav

commit 96c6a64e46
Author: Ben Gotow <ben@foundry376.com>
Date:   Mon Oct 7 14:00:34 2019 -0500

    Build ContactBook concept to track which accounts have sync running

commit 1f6aab1083
Author: Ben Gotow <ben@foundry376.com>
Date:   Mon Oct 7 11:38:03 2019 -0500

    Contact and contact group CRUD, address book menus

commit b877c58d48
Author: Ben Gotow <ben@foundry376.com>
Date:   Sun Oct 6 16:32:33 2019 -0500

    Editing contact names working

commit 761079304c
Author: Ben Gotow <ben@foundry376.com>
Date:   Mon Sep 30 15:42:59 2019 -0500

    Improved styling of YYYYMMDD field

commit 71a567276b
Author: Ben Gotow <ben@foundry376.com>
Date:   Mon Sep 30 15:06:28 2019 -0500

    UI for edit + move + delete contacts

commit f1967dd603
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Sep 26 13:50:44 2019 -0500

    Allow you to turn on / off the “Found in Mail” autocompletions

commit 0c2b0eb03b
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Sep 26 13:50:14 2019 -0500

    Improve contacts window launch perf by lazy loading composer support, scanning less of fs for themes

commit 07abd6cb71
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Sep 26 04:36:10 2019 -0500

    Support for CardDav contact display, better groups presentation

commit 0a9e166d79
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Sep 24 12:42:37 2019 -0500

    Add hidden attribute to the model in prep for deletion of auto-created contacts

commit e6ce3b2af9
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Sep 24 12:12:52 2019 -0500

    Initial pass at address book

commit 740d7e8655
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Sep 24 08:27:06 2019 -0500

    Make headers of Preferences > Accounts consistent with General
2019-10-12 12:40:57 -05:00

226 lines
8.9 KiB
JavaScript

const { localized } = require('../src/intl');
module.exports = {
menu: [
{
id: 'File',
label: localized('File'),
submenu: [
{ label: localized('Sync New Mail Now'), command: 'window:sync-mail-now' },
{ type: 'separator' },
{ label: localized('New Message') + '...', command: 'application:new-message' },
{ type: 'separator' },
{
label: localized('Add Account') + '...',
command: 'application:add-account',
args: { source: 'Menu' },
},
{ label: localized('Close Window'), command: 'window:close' },
{ type: 'separator' },
{ label: localized('Print Current Thread'), command: 'core:print-thread' },
{ type: 'separator' },
{ label: localized('Quit'), command: 'application:quit' },
],
},
{
id: 'Edit',
label: localized('Edit'),
submenu: [
{ label: localized('Undo'), command: 'core:undo' },
{ label: localized('Redo'), command: 'core:redo' },
{ type: 'separator' },
{ label: localized('Cut'), command: 'core:cut' },
{ label: localized('Copy'), command: 'core:copy' },
{ label: localized('Paste'), command: 'core:paste' },
{ label: localized('Paste and Match Style'), command: 'core:paste-and-match-style' },
{ label: localized('Select All'), command: 'core:select-all' },
{ type: 'separator' },
{ label: localized('Select All Read'), command: 'thread-list:select-read' },
{ label: localized('Select All Unread'), command: 'thread-list:select-unread' },
{ label: localized('Select All Starred'), command: 'thread-list:select-starred' },
{ label: localized('Select All Unstarred'), command: 'thread-list:select-unstarred' },
{ type: 'separator' },
{
label: localized('Find'),
submenu: [
{ label: localized('Find in Mailbox') + '...', command: 'core:focus-search' },
{ label: localized('Find in Thread') + '...', command: 'core:find-in-thread' },
{ label: localized('Find Next'), command: 'core:find-in-thread-next' },
{ label: localized('Find Previous'), command: 'core:find-in-thread-previous' },
],
},
{ type: 'separator' },
{ label: localized('Preferences'), command: 'application:open-preferences' },
{ label: localized('Change Theme') + '...', command: 'window:launch-theme-picker' },
{ label: localized('Install Theme') + '...', command: 'window:install-package' },
],
},
{
id: 'View',
label: localized('View'),
submenu: [
{
label: localized('Reading Pane Off'),
type: 'radio',
command: 'navigation:select-split-mode',
checked: true,
hideWhenDisabled: true,
},
{
label: localized('Reading Pane On'),
type: 'radio',
command: 'navigation:select-split-mode',
checked: false,
hideWhenDisabled: true,
},
{
label: localized('Reading Pane Off'),
type: 'radio',
command: 'navigation:select-list-mode',
checked: false,
hideWhenDisabled: true,
},
{
label: localized('Reading Pane On'),
type: 'radio',
command: 'navigation:select-list-mode',
checked: true,
hideWhenDisabled: true,
},
{ type: 'separator' },
{
label: localized('Go to %@', localized('Inbox')),
command: 'navigation:go-to-inbox',
id: 'first',
},
{ label: localized('Go to %@', localized('Starred')), command: 'navigation:go-to-starred' },
{ label: localized('Go to %@', localized('Sent Mail')), command: 'navigation:go-to-sent' },
{ label: localized('Go to %@', localized('Drafts')), command: 'navigation:go-to-drafts' },
{ label: localized('Go to %@', localized('All Mail')), command: 'navigation:go-to-all' },
{ type: 'separator' },
{ label: localized('Enter Full Screen'), command: 'window:toggle-full-screen' },
{
label: localized('Exit Full Screen'),
command: 'window:toggle-full-screen',
visible: false,
},
],
},
{
id: 'Thread',
label: localized('Thread'),
submenu: [
{ label: localized('Reply'), command: 'core:reply' },
{ label: localized('Reply All'), command: 'core:reply-all' },
{ label: localized('Forward'), command: 'core:forward' },
{ type: 'separator' },
{ label: localized('Mark as %@', localized('Unread')), command: 'core:mark-as-unread' },
{ label: localized('Mark as %@', localized('Read')), command: 'core:mark-as-read' },
{ label: localized('Mark as %@', localized('Spam')), command: 'core:report-as-spam' },
{ label: localized('Mark as %@', localized('Not Spam')), command: 'core:report-not-spam' },
{
label: localized('Mark as Important'),
command: 'core:mark-important',
hideWhenDisabled: true,
},
{
label: localized('Mark as Not Important'),
command: 'core:mark-unimportant',
hideWhenDisabled: true,
},
{ label: localized('Star'), command: 'core:star-item' },
{ label: localized('Snooze') + '...', command: 'core:snooze-item' },
{ type: 'separator' },
{ label: localized('Share this thread') + '...', command: 'core:share-item-link' },
{ label: localized('Copy mailbox permalink'), command: 'core:copy-mailbox-link' },
{ type: 'separator' },
{ label: localized('Remove from view'), command: 'core:remove-from-view' },
{ label: localized('Remove and show next'), command: 'core:remove-and-next' },
{ label: localized('Remove and show previous'), command: 'core:remove-and-previous' },
{ type: 'separator' },
{ label: localized('Move to Trash'), command: 'core:delete-item' },
{
label: localized('Move to Archive'),
command: 'core:archive-item',
hideWhenDisabled: true,
},
{ label: localized('Move to Folder') + '...', command: 'core:change-folders' },
{
label: localized('Apply Label') + '...',
command: 'core:change-labels',
hideWhenDisabled: true,
},
{ type: 'separator' },
{
label: localized('Expand / collapse conversation'),
command: 'message-list:toggle-expanded',
},
],
},
{
id: 'Developer',
label: localized('Developer'),
submenu: [
{
label: localized('Run with Debug Flags'),
type: 'checkbox',
command: 'application:toggle-dev',
},
{ type: 'separator' },
{ label: localized('Calendar Preview'), command: 'application:show-calendar' },
{ type: 'separator' },
{ label: localized('Create a Plugin') + '...', command: 'window:create-package' },
{ label: localized('Install a Plugin') + '...', command: 'window:install-package' },
{ type: 'separator' },
{ label: localized('Reload'), command: 'window:reload' },
{ label: localized('Toggle Localizer Tools'), command: 'window:toggle-localizer-tools' },
{ label: localized('Toggle Developer Tools'), command: 'window:toggle-dev-tools' },
{
label: localized('Toggle Component Regions'),
command: 'window:toggle-component-regions',
},
{ label: localized('Toggle Screenshot Mode'), command: 'window:toggle-screenshot-mode' },
{ type: 'separator' },
{ label: localized('Open Mailsync Logs'), command: 'window:open-mailsync-logs' },
],
},
{
id: 'Window',
label: localized('Window'),
submenu: [
{ label: localized('Minimize'), command: 'application:minimize' },
{ label: localized('Zoom'), command: 'application:zoom' },
{ type: 'separator' },
{
label: localized('Message Viewer'),
command: 'application:show-main-window',
accelerator: 'CmdOrCtrl+0',
},
{
label: localized('Contacts'),
command: 'application:show-contacts',
},
{ type: 'separator', id: 'window-list-separator' },
{ type: 'separator', id: 'account-shortcuts-separator' },
],
},
{
id: 'Help',
label: localized('Help'),
submenu: [
{ label: 'VERSION', enabled: false },
{ type: 'separator' },
{ label: localized('Mailspring Help'), command: 'application:view-help' },
{ type: 'separator' },
{ label: localized('Getting Started Guide'), command: 'application:view-getting-started' },
{ label: localized('Frequently Asked Questions'), command: 'application:view-faq' },
{ type: 'separator' },
{ label: localized('View License'), command: 'application:view-license' },
],
},
],
};