added other context menu icons. see #680 #184

This commit is contained in:
Mic 2026-04-17 01:53:00 +02:00
parent 954c650d4b
commit 4c7b38fffc
14 changed files with 14 additions and 4 deletions

View file

@ -121,6 +121,7 @@ _The language status represents the percentage of translated strings in the late
- [HideMau](https://www.flaticon.com/authors/hidemaru) for the ai summarize icon - [HideMau](https://www.flaticon.com/authors/hidemaru) for the ai summarize icon
- [Hilmy Abiyyu A.](https://www.flaticon.com/authors/hilmy-abiyyu-a) for the ai translate and context menu icons - [Hilmy Abiyyu A.](https://www.flaticon.com/authors/hilmy-abiyyu-a) for the ai translate and context menu icons
- [bearicons](https://www.flaticon.com/authors/bearicons) for the empty context menu icon - [bearicons](https://www.flaticon.com/authors/bearicons) for the empty context menu icon
- [meaicon](https://www.flaticon.com/authors/meaicon) for the add task context menu icon
<br> <br>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 857 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 987 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 664 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 859 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

View file

@ -30,11 +30,17 @@ const MICZ_IT_LOCALIZED_LANGS = ['es', 'de', 'fr', 'it'];
export const getMenuContextCompose = () => 'compose_action_menu'; export const getMenuContextCompose = () => 'compose_action_menu';
export const getMenuContextDisplay = () => 'message_display_action_menu'; export const getMenuContextDisplay = () => 'message_display_action_menu';
export const contextMenuID_GetCalendarEvent = 'mzta-get-calendar-event';
export const contextMenuID_GetCalendarEventFromClipboard = 'mzta-get-calendar-event-from-clipboard';
export const contextMenuID_GetTask = 'mzta-get-task';
export const contextMenuID_AddTags = 'mzta-add-tags'; export const contextMenuID_AddTags = 'mzta-add-tags';
export const contextMenuID_Spamfilter = 'mzta-spamfilter'; export const contextMenuID_Spamfilter = 'mzta-spamfilter';
export const contextMenuID_Summarize = 'mzta-summarize'; export const contextMenuID_Summarize = 'mzta-summarize';
export const contextMenuID_Translate = 'mzta-translate'; export const contextMenuID_Translate = 'mzta-translate';
export const contextMenuIconsPath = { export const contextMenuIconsPath = {
[contextMenuID_GetCalendarEvent]: 'moz-extension:images/context_menu/getcalendarevent.png',
[contextMenuID_GetCalendarEventFromClipboard]: 'moz-extension:images/context_menu/getcalendareventfromclipboard.png',
[contextMenuID_GetTask]: 'moz-extension:images/context_menu/gettask.png',
[contextMenuID_AddTags]: 'moz-extension:images/context_menu/autotags.png', [contextMenuID_AddTags]: 'moz-extension:images/context_menu/autotags.png',
[contextMenuID_Spamfilter]: 'moz-extension:images/context_menu/spamfilter.png', [contextMenuID_Spamfilter]: 'moz-extension:images/context_menu/spamfilter.png',
[contextMenuID_Summarize]: 'moz-extension:images/context_menu/summarize.png', [contextMenuID_Summarize]: 'moz-extension:images/context_menu/summarize.png',
@ -43,6 +49,9 @@ export const contextMenuIconsPath = {
// Map from special prompt IDs to context menu IDs // Map from special prompt IDs to context menu IDs
export const specialPromptToContextMenuID = { export const specialPromptToContextMenuID = {
'prompt_get_calendar_event': contextMenuID_GetCalendarEvent,
'prompt_get_calendar_event_from_clipboard': contextMenuID_GetCalendarEventFromClipboard,
'prompt_get_task': contextMenuID_GetTask,
'prompt_add_tags': contextMenuID_AddTags, 'prompt_add_tags': contextMenuID_AddTags,
'prompt_spamfilter': contextMenuID_Spamfilter, 'prompt_spamfilter': contextMenuID_Spamfilter,
'prompt_summarize': contextMenuID_Summarize, 'prompt_summarize': contextMenuID_Summarize,

View file

@ -22,12 +22,10 @@ export const customMenuIcons = [
'adventure-game.png', 'adventure-game.png',
'airport.png', 'airport.png',
'alert-sign.png', 'alert-sign.png',
'apple.png',
'calendar.png', 'calendar.png',
'cash.png', 'cash.png',
'clapboard.png', 'clapboard.png',
'clock.png', 'clock.png',
'coffee.png',
'coins.png', 'coins.png',
'copywriting.png', 'copywriting.png',
'customer-service.png', 'customer-service.png',
@ -39,6 +37,7 @@ export const customMenuIcons = [
'express-delivery.png', 'express-delivery.png',
'flammable.png', 'flammable.png',
'home.png', 'home.png',
'idea.png',
'info.png', 'info.png',
'invoice.png', 'invoice.png',
'justice-scale.png', 'justice-scale.png',
@ -46,14 +45,15 @@ export const customMenuIcons = [
'love-letter.png', 'love-letter.png',
'policeman.png', 'policeman.png',
'printer.png', 'printer.png',
'profit.png',
'puzzle-game.png', 'puzzle-game.png',
'radiation-hazard.png', 'radiation-hazard.png',
'receipt.png', 'receipt.png',
'recycle-sign.png', 'recycle-sign.png',
'science.png',
'scissors.png', 'scissors.png',
'send.png',
'star.png', 'star.png',
'statistics.png', 'start-up.png',
'sticky-notes.png', 'sticky-notes.png',
'target.png', 'target.png',
'thermometer.png', 'thermometer.png',