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": "カレンダー",
|
||||
"filters": "フィルター",
|
||||
"templates": "テンプレート",
|
||||
"folders": "フォルダー"
|
||||
"folders": "フォルダー",
|
||||
"keywords": "キーワード"
|
||||
},
|
||||
"tab_groups": {
|
||||
"general": "一般",
|
||||
@@ -487,6 +488,23 @@
|
||||
"description": "スムーズな遷移とエフェクトを表示"
|
||||
}
|
||||
},
|
||||
"keywords": {
|
||||
"title": "メールキーワード",
|
||||
"description": "色でメールを整理するためのキーワード(ラベル/タグ)を定義します。",
|
||||
"add_keyword": "キーワードを追加",
|
||||
"reset_defaults": "デフォルトに戻す",
|
||||
"label_field": "表示名",
|
||||
"label_placeholder": "例:仕事、個人、緊急",
|
||||
"id_field": "キーワードID",
|
||||
"id_placeholder": "例:work、personal",
|
||||
"color_field": "色",
|
||||
"id_exists": "このキーワードIDは既に存在します",
|
||||
"edit": "キーワードを編集",
|
||||
"delete": "キーワードを削除",
|
||||
"save": "保存",
|
||||
"add": "追加",
|
||||
"cancel": "キャンセル"
|
||||
},
|
||||
"language_region": {
|
||||
"title": "言語と地域",
|
||||
"description": "言語と地域の設定を構成",
|
||||
|
||||
Reference in New Issue
Block a user