feat: implement email keyword management with color tagging
- Introduced a new settings section for managing email keywords (labels/tags) with associated colors. - Updated email context menu, viewer, and list item components to support the new keyword system. - Refactored color tag handling to accommodate both new $label: and legacy $color: prefixes. - Added utility functions for retrieving email color tags based on keywords. - Enhanced localization files to include translations for the new keyword management features. - Updated the settings store to manage keyword definitions, including add, update, delete, and reorder functionalities. - Added tests for the new keyword handling logic.
This commit is contained in:
+19
-1
@@ -447,7 +447,8 @@
|
||||
"calendar": "Calendário",
|
||||
"filters": "Filtros",
|
||||
"templates": "Modelos",
|
||||
"folders": "Pastas"
|
||||
"folders": "Pastas",
|
||||
"keywords": "Palavras-chave"
|
||||
},
|
||||
"tab_groups": {
|
||||
"general": "Geral",
|
||||
@@ -487,6 +488,23 @@
|
||||
"description": "Mostrar transições e efeitos suaves"
|
||||
}
|
||||
},
|
||||
"keywords": {
|
||||
"title": "Palavras-chave de e-mail",
|
||||
"description": "Defina palavras-chave (rótulos/tags) para organizar seus e-mails com cores.",
|
||||
"add_keyword": "Adicionar palavra-chave",
|
||||
"reset_defaults": "Restaurar padrões",
|
||||
"label_field": "Nome de exibição",
|
||||
"label_placeholder": "ex. Trabalho, Pessoal, Urgente",
|
||||
"id_field": "ID da palavra-chave",
|
||||
"id_placeholder": "ex. trabalho, pessoal",
|
||||
"color_field": "Cor",
|
||||
"id_exists": "Este ID de palavra-chave já existe",
|
||||
"edit": "Editar palavra-chave",
|
||||
"delete": "Excluir palavra-chave",
|
||||
"save": "Salvar",
|
||||
"add": "Adicionar",
|
||||
"cancel": "Cancelar"
|
||||
},
|
||||
"language_region": {
|
||||
"title": "Idioma e Região",
|
||||
"description": "Configure preferências de idioma e região",
|
||||
|
||||
Reference in New Issue
Block a user