feat(i18n): Enhance internationalization support for tool specifications and notifications
- Added TitleKey and DescriptionKey fields to ToolSpec for dynamic localization. - Updated tool specifications to use i18nx for titles, descriptions, and appendices. - Refactored notification messages to utilize i18nx for localization in conversation and ticket assignment events. - Improved localization in the debug dialog component for skill definitions. - Added new translation keys in English and Chinese for ticket and conversation assignment notifications. - Ensured that fallback messages are properly localized based on user locale.
This commit is contained in:
+16
-1
@@ -53,7 +53,15 @@
|
||||
"markAllReadFailed": "Could not mark all notifications as read.",
|
||||
"fallbackTitle": "Notification",
|
||||
"loading": "Loading notifications",
|
||||
"empty": "No notifications"
|
||||
"empty": "No notifications",
|
||||
"ticketAssignedTitle": "Ticket assigned",
|
||||
"ticketAssignedLine": "Ticket {ticketNo} has been assigned to you.",
|
||||
"assignmentReason": "Assignment reason: {reason}",
|
||||
"conversationTransferredTitle": "Conversation transferred",
|
||||
"conversationAutoAssignedTitle": "Conversation auto-assigned",
|
||||
"conversationAssignedTitle": "Conversation assigned",
|
||||
"conversationAssignedLine": "Conversation #{conversationId} has been assigned to you.",
|
||||
"transferReason": "Transfer reason: {reason}"
|
||||
},
|
||||
"json": {
|
||||
"invalid": "Invalid JSON.",
|
||||
@@ -1643,6 +1651,13 @@
|
||||
"agentRequired": "Select an AI agent.",
|
||||
"messageRequired": "Enter a user message.",
|
||||
"emptyData": "No data",
|
||||
"skillRouteTrace": "Skill Route Trace",
|
||||
"toolSearchTrace": "Tool Search Trace",
|
||||
"graphToolTrace": "Graph Tool Trace",
|
||||
"traceData": "Trace Data",
|
||||
"resumeToolSearchTrace": "Resume Tool Search Trace",
|
||||
"resumeGraphToolTrace": "Resume Graph Tool Trace",
|
||||
"resumeTraceData": "Resume Trace Data",
|
||||
"confirm": "Confirm",
|
||||
"reject": "Cancel",
|
||||
"debugFailed": "Skill debug failed.",
|
||||
|
||||
Reference in New Issue
Block a user