The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(i18n): add centering test and update translations
Steven Enamakel6c5088dc57d6
diff --git a/app/src/components/ui/Dialog.centering.test.tsx b/app/src/components/ui/Dialog.centering.test.tsxindex 8e5f3e5fd3..c1fce1f437 100644--- a/app/src/components/ui/Dialog.centering.test.tsx+++ b/app/src/components/ui/Dialog.centering.test.tsx@@ -42,8 +42,8 @@ const declaredIn = (keyframe: string, property: string): string[] => {if (start === -1) throw new Error(`no keyframes named ${keyframe}`);const end = tailwindSource.indexOf('\n }', start);const block = tailwindSource.slice(start, end);- return Array.from(block.matchAll(new RegExp(`(?:^|[;{\\s])${property}:\\s*([^;]+);`, 'g'))).map(m =>- m[1].trim()+ return Array.from(block.matchAll(new RegExp(`(?:^|[;{\\s])${property}:\\s*([^;]+);`, 'g'))).map(+ m => m[1].trim());};diff --git a/app/src/lib/i18n/ar.ts b/app/src/lib/i18n/ar.tsindex a5686c4327..9ac35a60b9 100644--- a/app/src/lib/i18n/ar.ts+++ b/app/src/lib/i18n/ar.ts@@ -6567,7 +6567,8 @@ const messages: TranslationMap = {'userErrors.dismiss': 'تجاهل','userErrors.action.openConnections': 'فتح الاتصالات','userErrors.integrationDegraded.title': 'الاتصالات تعرض حالة قديمة',- 'userErrors.integrationDegraded.body': 'أحد التكاملات المتصلة يعيد أخطاء، لذا قد تكون حالة الاتصال المعروضة في التطبيق غير محدثة.',+ 'userErrors.integrationDegraded.body':+ 'أحد التكاملات المتصلة يعيد أخطاء، لذا قد تكون حالة الاتصال المعروضة في التطبيق غير محدثة.','userErrors.action.openBilling': 'فتح الفوترة','userErrors.action.openProviderSettings': 'إعدادات المزود','userErrors.action.openEmbeddingsSettings': 'إعداد التضمينات',diff --git a/app/src/lib/i18n/bn.ts b/app/src/lib/i18n/bn.tsindex fb3f69b19b..a77ac11394 100644--- a/app/src/lib/i18n/bn.ts+++ b/app/src/lib/i18n/bn.ts@@ -6719,7 +6719,8 @@ const messages: TranslationMap = {'userErrors.dismiss': 'বাতিল করুন','userErrors.action.openConnections': 'সংযোগ খুলুন','userErrors.integrationDegraded.title': 'সংযোগগুলি পুরনো অবস্থা দেখাচ্ছে',- 'userErrors.integrationDegraded.body': 'একটি সংযুক্ত ইন্টিগ্রেশন ত্রুটি ফেরত দিচ্ছে, তাই অ্যাপে দেখানো সংযোগের অবস্থা পুরনো হতে পারে।',+ 'userErrors.integrationDegraded.body':+ 'একটি সংযুক্ত ইন্টিগ্রেশন ত্রুটি ফেরত দিচ্ছে, তাই অ্যাপে দেখানো সংযোগের অবস্থা পুরনো হতে পারে।','userErrors.action.openBilling': 'বিলিং খুলুন','userErrors.action.openProviderSettings': 'প্রদানকারী সেটিংস','userErrors.action.openEmbeddingsSettings': 'এমবেডিং সেট আপ করুন',diff --git a/app/src/lib/i18n/de.ts b/app/src/lib/i18n/de.tsindex 0db62b6038..134711e5bb 100644--- a/app/src/lib/i18n/de.ts+++ b/app/src/lib/i18n/de.ts@@ -6902,7 +6902,8 @@ const messages: TranslationMap = {'userErrors.dismiss': 'Verwerfen','userErrors.action.openConnections': 'Verbindungen öffnen','userErrors.integrationDegraded.title': 'Verbindungen zeigen einen veralteten Status',- 'userErrors.integrationDegraded.body': 'Eine verbundene Integration liefert Fehler, daher ist der in der App angezeigte Verbindungsstatus möglicherweise nicht aktuell.',+ 'userErrors.integrationDegraded.body':+ 'Eine verbundene Integration liefert Fehler, daher ist der in der App angezeigte Verbindungsstatus möglicherweise nicht aktuell.','userErrors.action.openBilling': 'Abrechnung öffnen','userErrors.action.openProviderSettings': 'Anbietereinstellungen','userErrors.action.openEmbeddingsSettings': 'Embeddings einrichten',diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.tsindex 85c2e5b91d..83116ba9b7 100644--- a/app/src/lib/i18n/en.ts+++ b/app/src/lib/i18n/en.ts@@ -7124,7 +7124,8 @@ const en: TranslationMap = {'userErrors.dismiss': 'Dismiss','userErrors.action.openConnections': 'Open connections','userErrors.integrationDegraded.title': 'Connections are showing stale status',- 'userErrors.integrationDegraded.body': 'A connected integration is returning errors, so the connection state shown in the app may be out of date.',+ 'userErrors.integrationDegraded.body':+ 'A connected integration is returning errors, so the connection state shown in the app may be out of date.','userErrors.action.openBilling': 'Open billing','userErrors.action.openProviderSettings': 'Provider settings','userErrors.action.openEmbeddingsSettings': 'Set up embeddings',diff --git a/app/src/lib/i18n/es.ts b/app/src/lib/i18n/es.tsindex a349ba826c..9091e2d1e8 100644--- a/app/src/lib/i18n/es.ts+++ b/app/src/lib/i18n/es.ts@@ -6860,7 +6860,8 @@ const messages: TranslationMap = {'userErrors.dismiss': 'Descartar','userErrors.action.openConnections': 'Abrir conexiones','userErrors.integrationDegraded.title': 'Las conexiones muestran un estado desactualizado',- 'userErrors.integrationDegraded.body': 'Una integración conectada está devolviendo errores, por lo que el estado de conexión que ves puede estar desactualizado.',+ 'userErrors.integrationDegraded.body':+ 'Una integración conectada está devolviendo errores, por lo que el estado de conexión que ves puede estar desactualizado.','userErrors.action.openBilling': 'Abrir facturación','userErrors.action.openProviderSettings': 'Configuración del proveedor','userErrors.action.openEmbeddingsSettings': 'Configurar embeddings',diff --git a/app/src/lib/i18n/fr.ts b/app/src/lib/i18n/fr.tsindex b360444d64..3d8d9ed473 100644--- a/app/src/lib/i18n/fr.ts+++ b/app/src/lib/i18n/fr.ts@@ -6887,7 +6887,8 @@ const messages: TranslationMap = {'userErrors.dismiss': 'Ignorer','userErrors.action.openConnections': 'Ouvrir les connexions','userErrors.integrationDegraded.title': 'Les connexions affichent un état obsolète',- 'userErrors.integrationDegraded.body': 'Une intégration connectée renvoie des erreurs, l\'état des connexions affiché dans l\'application peut donc être obsolète.',+ 'userErrors.integrationDegraded.body':+ "Une intégration connectée renvoie des erreurs, l'état des connexions affiché dans l'application peut donc être obsolète.",'userErrors.action.openBilling': 'Ouvrir la facturation','userErrors.action.openProviderSettings': 'Paramètres du fournisseur','userErrors.action.openEmbeddingsSettings': 'Configurer les embeddings',diff --git a/app/src/lib/i18n/hi.ts b/app/src/lib/i18n/hi.tsindex a3da314b05..ee69f085a0 100644--- a/app/src/lib/i18n/hi.ts+++ b/app/src/lib/i18n/hi.ts@@ -6716,7 +6716,8 @@ const messages: TranslationMap = {'userErrors.dismiss': 'खारिज करें','userErrors.action.openConnections': 'कनेक्शन खोलें','userErrors.integrationDegraded.title': 'कनेक्शन पुरानी स्थिति दिखा रहे हैं',- 'userErrors.integrationDegraded.body': 'एक जुड़ा हुआ इंटीग्रेशन त्रुटियां लौटा रहा है, इसलिए ऐप में दिख रही कनेक्शन स्थिति पुरानी हो सकती है।',+ 'userErrors.integrationDegraded.body':+ 'एक जुड़ा हुआ इंटीग्रेशन त्रुटियां लौटा रहा है, इसलिए ऐप में दिख रही कनेक्शन स्थिति पुरानी हो सकती है।','userErrors.action.openBilling': 'बिलिंग खोलें','userErrors.action.openProviderSettings': 'प्रदाता सेटिंग्स','userErrors.action.openEmbeddingsSettings': 'एम्बेडिंग सेट करें',diff --git a/app/src/lib/i18n/id.ts b/app/src/lib/i18n/id.tsindex e77c296f77..b789fba9e2 100644--- a/app/src/lib/i18n/id.ts+++ b/app/src/lib/i18n/id.ts@@ -6750,7 +6750,8 @@ const messages: TranslationMap = {'userErrors.dismiss': 'Tutup','userErrors.action.openConnections': 'Buka koneksi','userErrors.integrationDegraded.title': 'Koneksi menampilkan status yang usang',- 'userErrors.integrationDegraded.body': 'Sebuah integrasi yang terhubung mengembalikan galat, sehingga status koneksi yang ditampilkan mungkin sudah tidak akurat.',+ 'userErrors.integrationDegraded.body':+ 'Sebuah integrasi yang terhubung mengembalikan galat, sehingga status koneksi yang ditampilkan mungkin sudah tidak akurat.','userErrors.action.openBilling': 'Buka penagihan','userErrors.action.openProviderSettings': 'Pengaturan penyedia','userErrors.action.openEmbeddingsSettings': 'Siapkan embedding',diff --git a/app/src/lib/i18n/it.ts b/app/src/lib/i18n/it.tsindex 1d8b590ba4..169182fdea 100644--- a/app/src/lib/i18n/it.ts+++ b/app/src/lib/i18n/it.ts@@ -6843,7 +6843,8 @@ const messages: TranslationMap = {'userErrors.dismiss': 'Ignora','userErrors.action.openConnections': 'Apri connessioni','userErrors.integrationDegraded.title': 'Le connessioni mostrano uno stato non aggiornato',- 'userErrors.integrationDegraded.body': 'Un\'integrazione collegata restituisce errori, quindi lo stato delle connessioni mostrato nell\'app potrebbe non essere aggiornato.',+ 'userErrors.integrationDegraded.body':+ "Un'integrazione collegata restituisce errori, quindi lo stato delle connessioni mostrato nell'app potrebbe non essere aggiornato.",'userErrors.action.openBilling': 'Apri fatturazione','userErrors.action.openProviderSettings': 'Impostazioni del provider','userErrors.action.openEmbeddingsSettings': 'Configura gli embedding',diff --git a/app/src/lib/i18n/ko.ts b/app/src/lib/i18n/ko.tsindex d7b91bf918..31afa88f6f 100644--- a/app/src/lib/i18n/ko.ts+++ b/app/src/lib/i18n/ko.ts@@ -6642,7 +6642,8 @@ const messages: TranslationMap = {'userErrors.dismiss': '닫기','userErrors.action.openConnections': '연결 열기','userErrors.integrationDegraded.title': '연결 상태가 최신이 아닙니다',- 'userErrors.integrationDegraded.body': '연결된 통합에서 오류가 발생하고 있어 앱에 표시된 연결 상태가 최신이 아닐 수 있습니다.',+ 'userErrors.integrationDegraded.body':+ '연결된 통합에서 오류가 발생하고 있어 앱에 표시된 연결 상태가 최신이 아닐 수 있습니다.','userErrors.action.openBilling': '결제 열기','userErrors.action.openProviderSettings': '제공업체 설정','userErrors.action.openEmbeddingsSettings': '임베딩 설정',diff --git a/app/src/lib/i18n/pl.ts b/app/src/lib/i18n/pl.tsindex 7f5f1f639f..961c5adbc1 100644--- a/app/src/lib/i18n/pl.ts+++ b/app/src/lib/i18n/pl.ts@@ -6814,7 +6814,8 @@ const messages: TranslationMap = {'userErrors.dismiss': 'Odrzuć','userErrors.action.openConnections': 'Otwórz połączenia','userErrors.integrationDegraded.title': 'Połączenia pokazują nieaktualny stan',- 'userErrors.integrationDegraded.body': 'Podłączona integracja zwraca błędy, więc stan połączeń widoczny w aplikacji może być nieaktualny.',+ 'userErrors.integrationDegraded.body':+ 'Podłączona integracja zwraca błędy, więc stan połączeń widoczny w aplikacji może być nieaktualny.','userErrors.action.openBilling': 'Otwórz rozliczenia','userErrors.action.openProviderSettings': 'Ustawienia dostawcy','userErrors.action.openEmbeddingsSettings': 'Skonfiguruj osadzenia',diff --git a/app/src/lib/i18n/pt.ts b/app/src/lib/i18n/pt.tsindex 8d8d316b50..a846c3cb9e 100644--- a/app/src/lib/i18n/pt.ts+++ b/app/src/lib/i18n/pt.ts@@ -6827,7 +6827,8 @@ const messages: TranslationMap = {'userErrors.dismiss': 'Dispensar','userErrors.action.openConnections': 'Abrir conexões','userErrors.integrationDegraded.title': 'As conexões estão com status desatualizado',- 'userErrors.integrationDegraded.body': 'Uma integração conectada está retornando erros, então o status de conexão exibido no app pode estar desatualizado.',+ 'userErrors.integrationDegraded.body':+ 'Uma integração conectada está retornando erros, então o status de conexão exibido no app pode estar desatualizado.','userErrors.action.openBilling': 'Abrir faturamento','userErrors.action.openProviderSettings': 'Configurações do provedor','userErrors.action.openEmbeddingsSettings': 'Configurar embeddings',diff --git a/app/src/lib/i18n/ru.ts b/app/src/lib/i18n/ru.tsindex e8bae8b25d..d3dac58919 100644--- a/app/src/lib/i18n/ru.ts+++ b/app/src/lib/i18n/ru.ts@@ -6791,7 +6791,8 @@ const messages: TranslationMap = {'userErrors.dismiss': 'Отклонить','userErrors.action.openConnections': 'Открыть подключения','userErrors.integrationDegraded.title': 'Подключения показывают устаревший статус',- 'userErrors.integrationDegraded.body': 'Подключенная интеграция возвращает ошибки, поэтому отображаемый статус подключений может быть неактуальным.',+ 'userErrors.integrationDegraded.body':+ 'Подключенная интеграция возвращает ошибки, поэтому отображаемый статус подключений может быть неактуальным.','userErrors.action.openBilling': 'Открыть оплату','userErrors.action.openProviderSettings': 'Настройки провайдера','userErrors.action.openEmbeddingsSettings': 'Настроить эмбеддинги',diff --git a/app/src/lib/i18n/zh-CN.ts b/app/src/lib/i18n/zh-CN.tsindex 04e2dcad79..117c0da861 100644--- a/app/src/lib/i18n/zh-CN.ts+++ b/app/src/lib/i18n/zh-CN.ts@@ -6354,7 +6354,8 @@ const messages: TranslationMap = {'userErrors.dismiss': '忽略','userErrors.action.openConnections': '打开连接','userErrors.integrationDegraded.title': '连接显示的状态已过期',- 'userErrors.integrationDegraded.body': '某个已连接的集成正在返回错误,因此应用中显示的连接状态可能不是最新的。',+ 'userErrors.integrationDegraded.body':+ '某个已连接的集成正在返回错误,因此应用中显示的连接状态可能不是最新的。','userErrors.action.openBilling': '打开账单','userErrors.action.openProviderSettings': '提供商设置','userErrors.action.openEmbeddingsSettings': '设置嵌入',diff --git a/app/src/pages/__tests__/Conversations.render.test.tsx b/app/src/pages/__tests__/Conversations.render.test.tsxindex 1324b16625..090a836be4 100644--- a/app/src/pages/__tests__/Conversations.render.test.tsx+++ b/app/src/pages/__tests__/Conversations.render.test.tsx@@ -735,7 +735,6 @@ describe('Conversations — smoke render (#1123 welcome-lock removal)', () => {expect(writeText).toHaveBeenCalledWith(agentContent);});-// Covers line 247: if (cancelled) return — the non-cancelled path through loadThreads callbackit('selects first thread after loadThreads resolves (non-cancelled path)', async () => {const threads = [makeThread({ id: 't-1', title: 'First Thread' })];@@ -829,7 +828,6 @@ describe('Conversations — smoke render (#1123 welcome-lock removal)', () => {expect(screen.getByTestId('route-path')).toHaveTextContent('/chat');});-it('handles /new from the composer without a selected thread or sending chat text', async () => {mockGetThreads.mockReturnValue(new Promise(() => {}));