feat: SmartAssistant v2.0.0 — feminine Hebrew + AI Gateway
- Shira speaks in feminine form (חושבת instead of חושב) - Neutral verb forms for buttons (הוספת/חיפוש instead of הוסף/חפש) - Updated fallback texts to reference שירה by name - Description updated: AI Gateway integration replaces n8n Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -168,7 +168,7 @@ define('modules/smart-assistant/views/floating-chat', ['view'], function (View)
|
|||||||
|
|
||||||
self.$el.find('.sa-fab').show();
|
self.$el.find('.sa-fab').show();
|
||||||
self.$el.find('.sa-chat-messages').attr('data-empty-text',
|
self.$el.find('.sa-chat-messages').attr('data-empty-text',
|
||||||
self.translate('Chat with the assistant', 'labels', 'SmartAssistant') || 'שוחח/י עם העוזר החכם');
|
self.translate('Chat with the assistant', 'labels', 'SmartAssistant') || 'שוחח/י עם שירה');
|
||||||
self.loadAlertCount();
|
self.loadAlertCount();
|
||||||
self._setupRouteListener();
|
self._setupRouteListener();
|
||||||
}).catch(function () {
|
}).catch(function () {
|
||||||
@@ -417,7 +417,7 @@ define('modules/smart-assistant/views/floating-chat', ['view'], function (View)
|
|||||||
|
|
||||||
$messages.append('<div class="sa-msg sa-msg-user">' + this.escapeHtml(message) + '</div>');
|
$messages.append('<div class="sa-msg sa-msg-user">' + this.escapeHtml(message) + '</div>');
|
||||||
var $loading = $('<div class="sa-msg sa-msg-loading"><span class="fas fa-spinner fa-spin" style="margin-left: 5px;"></span> ' +
|
var $loading = $('<div class="sa-msg sa-msg-loading"><span class="fas fa-spinner fa-spin" style="margin-left: 5px;"></span> ' +
|
||||||
this.escapeHtml(this.translate('Thinking', 'labels', 'SmartAssistant') || 'חושב...') + '</div>');
|
this.escapeHtml(this.translate('Thinking', 'labels', 'SmartAssistant') || 'חושבת...') + '</div>');
|
||||||
$messages.append($loading);
|
$messages.append($loading);
|
||||||
this.scrollToBottom();
|
this.scrollToBottom();
|
||||||
|
|
||||||
|
|||||||
@@ -3,14 +3,14 @@
|
|||||||
"Smart Assistant": "שירה",
|
"Smart Assistant": "שירה",
|
||||||
"Office Mode": "מצב משרד",
|
"Office Mode": "מצב משרד",
|
||||||
"Case Mode": "מצב תיק",
|
"Case Mode": "מצב תיק",
|
||||||
"Add Memory": "הוסף זיכרון",
|
"Add Memory": "הוספת זיכרון",
|
||||||
"Search Memory": "חפש בזיכרון",
|
"Search Memory": "חיפוש בזיכרון",
|
||||||
"New Conversation": "שיחה חדשה",
|
"New Conversation": "שיחה חדשה",
|
||||||
"Conversation History": "היסטוריית שיחות",
|
"Conversation History": "היסטוריית שיחות",
|
||||||
"Previous Conversations": "שיחות קודמות",
|
"Previous Conversations": "שיחות קודמות",
|
||||||
"No previous conversations": "אין שיחות קודמות",
|
"No previous conversations": "אין שיחות קודמות",
|
||||||
"Ask the assistant...": "שאל/י את שירה...",
|
"Ask the assistant...": "שאל/י את שירה...",
|
||||||
"Thinking": "חושב...",
|
"Thinking": "חושבת...",
|
||||||
"Error": "שגיאה בתקשורת",
|
"Error": "שגיאה בתקשורת",
|
||||||
"Back": "חזרה",
|
"Back": "חזרה",
|
||||||
"Chat with the assistant": "שוחח/י עם שירה",
|
"Chat with the assistant": "שוחח/י עם שירה",
|
||||||
|
|||||||
+3
-3
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"name": "SmartAssistant",
|
"name": "SmartAssistant",
|
||||||
"module": "SmartAssistant",
|
"module": "SmartAssistant",
|
||||||
"description": "Unified AI Assistant for Legal CRM — floating chat with case memory, office alerts, and n8n integration",
|
"description": "Unified AI Assistant for Legal CRM — floating chat with case memory, office alerts, and AI Gateway integration",
|
||||||
"author": "klear",
|
"author": "klear",
|
||||||
"version": "1.1.7",
|
"version": "2.0.0",
|
||||||
"acceptableVersions": [
|
"acceptableVersions": [
|
||||||
">=8.0.0"
|
">=8.0.0"
|
||||||
],
|
],
|
||||||
"releaseDate": "2026-03-29",
|
"releaseDate": "2026-04-04",
|
||||||
"php": [
|
"php": [
|
||||||
">=8.1"
|
">=8.1"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user