⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
chore(i18n): sync the locale files and teach the checker about plurals
Andrej Acevski1d34cf831b7f
diff --git a/i18n/de-DE.json b/i18n/de-DE.jsonindex bb6ea0545..e5549a50f 100644--- a/i18n/de-DE.json+++ b/i18n/de-DE.json@@ -56,7 +56,30 @@"troubleshooting": "Schritte zur Fehlerbehebung:","tryAgain": "Erneut versuchen","viewDeploymentGuide": "Bereitstellungsanleitung ansehen",- "refreshPage": "Seite neu laden"+ "refreshPage": "Seite neu laden",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "Nie"diff --git a/i18n/el-GR.json b/i18n/el-GR.jsonindex ca2efb6fe..9223b05b1 100644--- a/i18n/el-GR.json+++ b/i18n/el-GR.json@@ -56,7 +56,30 @@"troubleshooting": "Βήματα αντιμετώπισης προβλημάτων:","tryAgain": "Δοκιμάστε ξανά","viewDeploymentGuide": "Προβολή οδηγού εγκατάστασης",- "refreshPage": "Ανανέωση σελίδας"+ "refreshPage": "Ανανέωση σελίδας",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "Ποτέ"diff --git a/i18n/es-ES.json b/i18n/es-ES.jsonindex 9cf2e4454..bb4cfbecf 100644--- a/i18n/es-ES.json+++ b/i18n/es-ES.json@@ -56,7 +56,30 @@"troubleshooting": "Pasos para solucionar problemas:","tryAgain": "Intentar de nuevo","viewDeploymentGuide": "Ver el manual del despliegue",- "refreshPage": "Actualizar página"+ "refreshPage": "Actualizar página",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "Nunca"@@ -1098,7 +1121,8 @@"deleteDialog": {"title": "Eliminar rol","description": "Esto eliminará permanentemente el rol \"{{role}}\". Los miembros con este rol asignado perderán sus permisos."- }+ },+ "permissionCount_many": "{{count}} permisos"},"workspaceLabels": {"pageTitle": "Ajustes de etiquetas",@@ -1418,8 +1442,12 @@"hours_one": "{{count}} hora","hours_other": "{{count}} horas","days_one": "{{count}} día",- "days_other": "{{count}} días"- }+ "days_other": "{{count}} días",+ "days_many": "{{count}} días",+ "hours_many": "{{count}} horas",+ "minutes_many": "{{count}} minutos"+ },+ "newCount_many": "{{count}} nuevas"},"activity": {"assignedToSelf": "se ha asignado la tarea a sí mismo",@@ -1857,7 +1885,8 @@"open": "Abierta","label": "Pull Request","count_one": "{{count}} PR",- "count_other": "{{count}} PRs"+ "count_other": "{{count}} PRs",+ "count_many": "{{count}} PRs"},"assignee": {"label": "Asignado",@@ -2024,7 +2053,8 @@"suggestionBug": "Bugs","suggestionFeature": "Features","suggestionInProgress": "En progreso",- "suggestionCompleted": "Completadas"+ "suggestionCompleted": "Completadas",+ "resultsFound_many": "{{count}} resultados"},"create": {"pageTitle": "Crear espacio de trabajo",diff --git a/i18n/fr-FR.json b/i18n/fr-FR.jsonindex 52fa11176..434ae1c39 100644--- a/i18n/fr-FR.json+++ b/i18n/fr-FR.json@@ -56,7 +56,30 @@"troubleshooting": "Étapes de dépannage :","tryAgain": "Réessayer","viewDeploymentGuide": "Voir le guide de déploiement",- "refreshPage": "Rafraîchir la page"+ "refreshPage": "Rafraîchir la page",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "Jamais"@@ -1220,7 +1243,8 @@"deleteDialog": {"title": "Supprimer le rôle","description": "Cela supprimera définitivement le rôle \"{{role}}\". Les membres assignés à ce rôle perdront ses permissions."- }+ },+ "permissionCount_many": "{{count}} permissions"},"workspaceLabels": {"pageTitle": "Paramètres des labels",@@ -1418,8 +1442,12 @@"hours_one": "{{count}} heure","hours_other": "{{count}} heures","days_one": "{{count}} jour",- "days_other": "{{count}} jours"- }+ "days_other": "{{count}} jours",+ "minutes_many": "{{count}} minutes",+ "days_many": "{{count}} jours",+ "hours_many": "{{count}} heures"+ },+ "newCount_many": "{{count}} nouvelles"},"activity": {"assignedToSelf": "s'est assigné la tâche",@@ -1868,7 +1896,8 @@"open": "Ouvert","label": "Pull Request","count_one": "{{count}} PR",- "count_other": "{{count}} PR"+ "count_other": "{{count}} PR",+ "count_many": "{{count}} PR"},"assignee": {"label": "Assigné",@@ -2024,7 +2053,8 @@"suggestionBug": "Bug","suggestionFeature": "Fonctionnalité","suggestionInProgress": "En cours",- "suggestionCompleted": "Terminé"+ "suggestionCompleted": "Terminé",+ "resultsFound_many": "{{count}} résultats trouvés"},"create": {"pageTitle": "Créer un workspace",diff --git a/i18n/hi-IN.json b/i18n/hi-IN.jsonindex 5344c3962..032daedf9 100644--- a/i18n/hi-IN.json+++ b/i18n/hi-IN.json@@ -56,7 +56,30 @@"troubleshooting": "समस्या निवारण कदम:","tryAgain": "पुनः प्रयास करें","viewDeploymentGuide": "डिप्लॉयमेंट गाइड देखें",- "refreshPage": "पेज रिफ़्रेश करें"+ "refreshPage": "पेज रिफ़्रेश करें",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "कभी नहीं"diff --git a/i18n/id-ID.json b/i18n/id-ID.jsonindex 8f3e04bc3..6cd4833f6 100644--- a/i18n/id-ID.json+++ b/i18n/id-ID.json@@ -56,7 +56,30 @@"troubleshooting": "Langkah pemecahan masalah:","tryAgain": "Coba lagi","viewDeploymentGuide": "Lihat panduan deployment",- "refreshPage": "Muat ulang halaman"+ "refreshPage": "Muat ulang halaman",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "Tidak pernah"@@ -1099,7 +1122,6 @@"emptyTitle": "Belum ada peran","emptyDescription": "Peran bawaan akan muncul di sini setelah disiapkan untuk ruang kerja ini.","defaultBadge": "Bawaan",- "permissionCount_one": "{{count}} izin","permissionCount_other": "{{count}} izin","nameLabel": "Nama","nameHint": "Huruf kecil. Tidak dapat diubah nanti.",@@ -1363,7 +1385,6 @@},"notifications": {"title": "Notifikasi",- "newCount_one": "{{count}} baru","newCount_other": "{{count}} baru","emptyTitle": "Belum ada notifikasi","emptySubtitle": "Pembaruan dan aktivitas akan muncul di sini.",@@ -1413,11 +1434,8 @@}},"reminderLeadTime": {- "minutes_one": "{{count}} menit","minutes_other": "{{count}} menit",- "hours_one": "{{count}} jam","hours_other": "{{count}} jam",- "days_one": "{{count}} hari","days_other": "{{count}} hari"}},@@ -1867,7 +1885,6 @@"draft": "Draf","open": "Terbuka","label": "Pull Request",- "count_one": "{{count}} PR","count_other": "{{count}} PR"},"assignee": {@@ -2013,7 +2030,6 @@"placeholder": "Cari tugas berdasarkan judul atau ID pendek (mis. DEP-23)...","hint": "Cari di semua proyek dalam ruang kerja ini. Gunakan ID pendek seperti DEP-23 untuk menemukan tugas tertentu.","searching": "Mencari...",- "resultsFound_one": "{{count}} hasil ditemukan","resultsFound_other": "{{count}} hasil ditemukan","noResultsTitle": "Tidak ada hasil ditemukan","noResultsDescription": "Coba sesuaikan kata pencarian atau cari hal lain",diff --git a/i18n/it-IT.json b/i18n/it-IT.jsonindex 234927819..4375e15d5 100644--- a/i18n/it-IT.json+++ b/i18n/it-IT.json@@ -56,7 +56,30 @@"troubleshooting": "Passaggi per la risoluzione:","tryAgain": "Riprova","viewDeploymentGuide": "Visualizza guida al deployment",- "refreshPage": "Aggiorna pagina"+ "refreshPage": "Aggiorna pagina",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "Mai"@@ -746,7 +769,8 @@"deleteDialog": {"title": "Elimina ruolo","description": "Questo eliminerà permanentemente il ruolo \"{{role}}\". I membri assegnati a questo ruolo perderanno i suoi permessi."- }+ },+ "permissionCount_many": "{{count}} permessi"},"workspaceLabels": {"pageTitle": "Impostazioni Etichette",@@ -1379,7 +1403,10 @@"hours_one": "{{count}} ora","hours_other": "{{count}} ore","days_one": "{{count}} giorno",- "days_other": "{{count}} giorni"+ "days_other": "{{count}} giorni",+ "days_many": "{{count}} giorni",+ "hours_many": "{{count}} ore",+ "minutes_many": "{{count}} minuti"},"events": {"task_created": {@@ -1419,7 +1446,8 @@"contentWithTask": "Tracciamento tempo iniziato sull'attività: {{taskTitle}}","contentWithoutTask": "Tracciamento tempo iniziato su un'attività"}- }+ },+ "newCount_many": "{{count}} nuove"},"activity": {"assignedToSelf": "ha assegnato l'attività a sé stesso",@@ -1868,7 +1896,8 @@"open": "Aperto","label": "Pull Request","count_one": "{{count}} PR",- "count_other": "{{count}} PR"+ "count_other": "{{count}} PR",+ "count_many": "{{count}} PR"},"assignee": {"label": "Assegnatario",@@ -2024,7 +2053,8 @@"suggestionBug": "Bug","suggestionFeature": "Funzionalità","suggestionInProgress": "In corso",- "suggestionCompleted": "Completato"+ "suggestionCompleted": "Completato",+ "resultsFound_many": "{{count}} risultati trovati"},"create": {"pageTitle": "Crea Workspace",diff --git a/i18n/ko-KR.json b/i18n/ko-KR.jsonindex 8457bbae1..2b594d7ca 100644--- a/i18n/ko-KR.json+++ b/i18n/ko-KR.json@@ -56,7 +56,30 @@"troubleshooting": "문제 해결 단계:","tryAgain": "다시 시도","viewDeploymentGuide": "배포 가이드 보기",- "refreshPage": "페이지 새로고침"+ "refreshPage": "페이지 새로고침",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "안 함"@@ -1099,7 +1122,6 @@"emptyTitle": "아직 역할이 없습니다","emptyDescription": "이 워크스페이스에 기본 역할이 생성되면 여기에 표시됩니다.","defaultBadge": "기본",- "permissionCount_one": "권한 {{count}}개","permissionCount_other": "권한 {{count}}개","nameLabel": "이름","nameHint": "소문자로 입력하세요. 나중에 변경할 수 없습니다.",@@ -1363,7 +1385,6 @@},"notifications": {"title": "알림",- "newCount_one": "새 알림 {{count}}개","newCount_other": "새 알림 {{count}}개","emptyTitle": "아직 알림이 없습니다","emptySubtitle": "여기서 업데이트와 활동을 확인할 수 있습니다.",@@ -1413,11 +1434,8 @@}},"reminderLeadTime": {- "minutes_one": "{{count}}분","minutes_other": "{{count}}분",- "hours_one": "{{count}}시간","hours_other": "{{count}}시간",- "days_one": "{{count}}일","days_other": "{{count}}일"}},@@ -1880,7 +1898,6 @@"draft": "초안","open": "열림","label": "풀 리퀘스트",- "count_one": "PR {{count}}개","count_other": "PR {{count}}개"},"assignee": {@@ -2013,7 +2030,6 @@"placeholder": "제목 또는 짧은 ID로 작업 검색 (예: DEP-23)...","hint": "이 워크스페이스의 모든 프로젝트에서 검색합니다. DEP-23과 같은 짧은 ID를 사용하여 특정 작업을 찾으세요.","searching": "검색 중...",- "resultsFound_one": "결과 {{count}}개를 찾았습니다","resultsFound_other": "결과 {{count}}개를 찾았습니다","noResultsTitle": "결과를 찾을 수 없음","noResultsDescription": "검색어를 조정하거나 다른 항목을 검색해 보세요",diff --git a/i18n/mk-MK.json b/i18n/mk-MK.jsonindex 27381d1ed..4f587ae92 100644--- a/i18n/mk-MK.json+++ b/i18n/mk-MK.json@@ -56,7 +56,30 @@"troubleshooting": "Чекори за решавање проблеми:","tryAgain": "Обиди се повторно","viewDeploymentGuide": "Погледни го водичот за поставување",- "refreshPage": "Освежи ја страницата"+ "refreshPage": "Освежи ја страницата",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "Никогаш"diff --git a/i18n/nl-NL.json b/i18n/nl-NL.jsonindex 314cb45a3..ab369d44d 100644--- a/i18n/nl-NL.json+++ b/i18n/nl-NL.json@@ -56,7 +56,30 @@"troubleshooting": "Stappen voor probleemoplossing:","tryAgain": "Opnieuw proberen","viewDeploymentGuide": "Implementatiehandleiding bekijken",- "refreshPage": "Pagina vernieuwen"+ "refreshPage": "Pagina vernieuwen",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "Nooit"diff --git a/i18n/pt-BR.json b/i18n/pt-BR.jsonindex 097e399eb..50f64fde8 100644--- a/i18n/pt-BR.json+++ b/i18n/pt-BR.json@@ -56,7 +56,30 @@"troubleshooting": "Passos para solução de problemas:","tryAgain": "Tentar novamente","viewDeploymentGuide": "Ver guia de implantação",- "refreshPage": "Atualizar página"+ "refreshPage": "Atualizar página",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "Nunca"@@ -746,7 +769,8 @@"deleteDialog": {"title": "Excluir função","description": "Isso excluirá permanentemente a função \"{{role}}\". Os membros atribuídos a esta função perderão suas permissões."- }+ },+ "permissionCount_many": "{{count}} permissões"},"workspaceLabels": {"pageTitle": "Configurações de etiquetas",@@ -1379,7 +1403,10 @@"hours_one": "{{count}} hora","hours_other": "{{count}} horas","days_one": "{{count}} dia",- "days_other": "{{count}} dias"+ "days_other": "{{count}} dias",+ "days_many": "{{count}} dias",+ "hours_many": "{{count}} horas",+ "minutes_many": "{{count}} minutos"},"events": {"task_created": {@@ -1419,7 +1446,8 @@"contentWithTask": "Registro de tempo iniciado na tarefa: {{taskTitle}}","contentWithoutTask": "Registro de tempo iniciado em uma tarefa"}- }+ },+ "newCount_many": "{{count}} novas"},"activity": {"assignedToSelf": "atribuiu a tarefa a si mesmo",@@ -1868,7 +1896,8 @@"open": "Aberto","label": "Pull Request","count_one": "{{count}} PR",- "count_other": "{{count}} PRs"+ "count_other": "{{count}} PRs",+ "count_many": "{{count}} PRs"},"assignee": {"label": "Responsável",@@ -2024,7 +2053,8 @@"suggestionBug": "Bug","suggestionFeature": "Funcionalidade","suggestionInProgress": "Em andamento",- "suggestionCompleted": "Concluído"+ "suggestionCompleted": "Concluído",+ "resultsFound_many": "{{count}} resultados encontrados"},"create": {"pageTitle": "Criar espaço de trabalho",diff --git a/i18n/ru-RU.json b/i18n/ru-RU.jsonindex 518462dad..bbdc04e4c 100644--- a/i18n/ru-RU.json+++ b/i18n/ru-RU.json@@ -56,7 +56,30 @@"troubleshooting": "Шаги для устранения неполадок:","tryAgain": "Попробовать снова","viewDeploymentGuide": "Руководство по развёртыванию",- "refreshPage": "Обновить страницу"+ "refreshPage": "Обновить страницу",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "Никогда"diff --git a/i18n/schema.json b/i18n/schema.jsonindex b6a21d3cc..2648324be 100644--- a/i18n/schema.json+++ b/i18n/schema.json@@ -206,6 +206,9 @@"title": {"type": "string"},+ "description": {+ "type": "string"+ },"troubleshooting": {"type": "string"},@@ -217,14 +220,98 @@},"refreshPage": {"type": "string"+ },+ "messages": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "cors": {+ "type": "string"+ },+ "network": {+ "type": "string"+ },+ "auth": {+ "type": "string"+ },+ "server": {+ "type": "string"+ },+ "unknown": {+ "type": "string"+ }+ },+ "required": ["cors", "network", "auth", "server", "unknown"]+ },+ "troubleshootingSteps": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "cors": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "checkApiRunning": {+ "type": "string"+ },+ "checkApiUrl": {+ "type": "string"+ },+ "verifyCorsOrigins": {+ "type": "string"+ },+ "checkProtocol": {+ "type": "string"+ },+ "checkAccessibility": {+ "type": "string"+ }+ },+ "required": [+ "checkApiRunning",+ "checkApiUrl",+ "verifyCorsOrigins",+ "checkProtocol",+ "checkAccessibility"+ ]+ },+ "network": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "checkConnection": {+ "type": "string"+ },+ "verifyApiRunning": {+ "type": "string"+ },+ "tryRefresh": {+ "type": "string"+ },+ "checkFirewall": {+ "type": "string"+ }+ },+ "required": [+ "checkConnection",+ "verifyApiRunning",+ "tryRefresh",+ "checkFirewall"+ ]+ }+ },+ "required": ["cors", "network"]}},"required": ["title",+ "description","troubleshooting","tryAgain","viewDeploymentGuide",- "refreshPage"+ "refreshPage",+ "messages",+ "troubleshootingSteps"]},"formats": {@@ -2483,6 +2570,18 @@"permissionCount_one": {"type": "string"},+ "permissionCount_zero": {+ "type": "string"+ },+ "permissionCount_two": {+ "type": "string"+ },+ "permissionCount_few": {+ "type": "string"+ },+ "permissionCount_many": {+ "type": "string"+ },"permissionCount_other": {"type": "string"},@@ -2896,8 +2995,6 @@"emptyTitle","emptyDescription","defaultBadge",- "permissionCount_one",- "permissionCount_other","nameLabel","nameHint","namePlaceholder",@@ -4713,11 +4810,65 @@"relativeMinutesAgo": {"type": "string"},+ "relativeMinutesAgo_zero": {+ "type": "string"+ },+ "relativeMinutesAgo_one": {+ "type": "string"+ },+ "relativeMinutesAgo_two": {+ "type": "string"+ },+ "relativeMinutesAgo_few": {+ "type": "string"+ },+ "relativeMinutesAgo_many": {+ "type": "string"+ },+ "relativeMinutesAgo_other": {+ "type": "string"+ },"relativeHoursAgo": {"type": "string"},+ "relativeHoursAgo_zero": {+ "type": "string"+ },+ "relativeHoursAgo_one": {+ "type": "string"+ },+ "relativeHoursAgo_two": {+ "type": "string"+ },+ "relativeHoursAgo_few": {+ "type": "string"+ },+ "relativeHoursAgo_many": {+ "type": "string"+ },+ "relativeHoursAgo_other": {+ "type": "string"+ },"relativeDaysAgo": {"type": "string"+ },+ "relativeDaysAgo_zero": {+ "type": "string"+ },+ "relativeDaysAgo_one": {+ "type": "string"+ },+ "relativeDaysAgo_two": {+ "type": "string"+ },+ "relativeDaysAgo_few": {+ "type": "string"+ },+ "relativeDaysAgo_many": {+ "type": "string"+ },+ "relativeDaysAgo_other": {+ "type": "string"}},"required": [@@ -4734,10 +4885,7 @@"footerSummary","manageInstallations","updatedPrefix",- "relativeJustNow",- "relativeMinutesAgo",- "relativeHoursAgo",- "relativeDaysAgo"+ "relativeJustNow"]},"tasksImportExport": {@@ -4780,9 +4928,45 @@"importSuccess": {"type": "string"},+ "importSuccess_zero": {+ "type": "string"+ },+ "importSuccess_one": {+ "type": "string"+ },+ "importSuccess_two": {+ "type": "string"+ },+ "importSuccess_few": {+ "type": "string"+ },+ "importSuccess_many": {+ "type": "string"+ },+ "importSuccess_other": {+ "type": "string"+ },"importPartialError": {"type": "string"},+ "importPartialError_zero": {+ "type": "string"+ },+ "importPartialError_one": {+ "type": "string"+ },+ "importPartialError_two": {+ "type": "string"+ },+ "importPartialError_few": {+ "type": "string"+ },+ "importPartialError_many": {+ "type": "string"+ },+ "importPartialError_other": {+ "type": "string"+ },"importError": {"type": "string"},@@ -4808,8 +4992,6 @@"exportSuccess","exportError","importing",- "importSuccess",- "importPartialError","importError","invalidFormat","noFileDropped",@@ -5418,6 +5600,18 @@"newCount_one": {"type": "string"},+ "newCount_zero": {+ "type": "string"+ },+ "newCount_two": {+ "type": "string"+ },+ "newCount_few": {+ "type": "string"+ },+ "newCount_many": {+ "type": "string"+ },"newCount_other": {"type": "string"},@@ -5453,30 +5647,59 @@"minutes_one": {"type": "string"},+ "minutes_zero": {+ "type": "string"+ },+ "minutes_two": {+ "type": "string"+ },+ "minutes_few": {+ "type": "string"+ },+ "minutes_many": {+ "type": "string"+ },"minutes_other": {"type": "string"},"hours_one": {"type": "string"},+ "hours_zero": {+ "type": "string"+ },+ "hours_two": {+ "type": "string"+ },+ "hours_few": {+ "type": "string"+ },+ "hours_many": {+ "type": "string"+ },"hours_other": {"type": "string"},"days_one": {"type": "string"},+ "days_zero": {+ "type": "string"+ },+ "days_two": {+ "type": "string"+ },+ "days_few": {+ "type": "string"+ },+ "days_many": {+ "type": "string"+ },"days_other": {"type": "string"}},- "required": [- "minutes_one",- "minutes_other",- "hours_one",- "hours_other",- "days_one",- "days_other"- ]+ "required": []},"events": {"type": "object",@@ -5618,8 +5841,6 @@},"required": ["title",- "newCount_one",- "newCount_other","emptyTitle","emptySubtitle","clearAll",@@ -7005,9 +7226,45 @@"moveAllConfirm": {"type": "string"},+ "moveAllConfirm_zero": {+ "type": "string"+ },+ "moveAllConfirm_one": {+ "type": "string"+ },+ "moveAllConfirm_two": {+ "type": "string"+ },+ "moveAllConfirm_few": {+ "type": "string"+ },+ "moveAllConfirm_many": {+ "type": "string"+ },+ "moveAllConfirm_other": {+ "type": "string"+ },"moveAllSuccess": {"type": "string"},+ "moveAllSuccess_zero": {+ "type": "string"+ },+ "moveAllSuccess_one": {+ "type": "string"+ },+ "moveAllSuccess_two": {+ "type": "string"+ },+ "moveAllSuccess_few": {+ "type": "string"+ },+ "moveAllSuccess_many": {+ "type": "string"+ },+ "moveAllSuccess_other": {+ "type": "string"+ },"plan": {"type": "string"},@@ -7082,8 +7339,6 @@"required": ["pageTitle","noTasksToMove",- "moveAllConfirm",- "moveAllSuccess","plan","moveAllTooltip","moveAll",@@ -7181,6 +7436,24 @@"selectedCount": {"type": "string"},+ "selectedCount_zero": {+ "type": "string"+ },+ "selectedCount_one": {+ "type": "string"+ },+ "selectedCount_two": {+ "type": "string"+ },+ "selectedCount_few": {+ "type": "string"+ },+ "selectedCount_many": {+ "type": "string"+ },+ "selectedCount_other": {+ "type": "string"+ },"subjects": {"type": "object","additionalProperties": false,@@ -7230,7 +7503,6 @@"allAssignees","allDueDates","allLabels",- "selectedCount","subjects","operators"]@@ -7263,6 +7535,24 @@"moreTasks": {"type": "string"},+ "moreTasks_zero": {+ "type": "string"+ },+ "moreTasks_one": {+ "type": "string"+ },+ "moreTasks_two": {+ "type": "string"+ },+ "moreTasks_few": {+ "type": "string"+ },+ "moreTasks_many": {+ "type": "string"+ },+ "moreTasks_other": {+ "type": "string"+ },"loadError": {"type": "string"},@@ -7281,7 +7571,6 @@"today","noTasks","noTasksSubtitle",- "moreTasks","loadError","dayTasksAriaLabel","taskAriaLabel"@@ -7379,9 +7668,27 @@"properties": {"success": {"type": "string"+ },+ "success_zero": {+ "type": "string"+ },+ "success_one": {+ "type": "string"+ },+ "success_two": {+ "type": "string"+ },+ "success_few": {+ "type": "string"+ },+ "success_many": {+ "type": "string"+ },+ "success_other": {+ "type": "string"}},- "required": ["success"]+ "required": []},"listView": {"type": "object",@@ -7428,18 +7735,23 @@"count_one": {"type": "string"},+ "count_zero": {+ "type": "string"+ },+ "count_two": {+ "type": "string"+ },+ "count_few": {+ "type": "string"+ },+ "count_many": {+ "type": "string"+ },"count_other": {"type": "string"}},- "required": [- "merged",- "draft",- "open",- "label",- "count_one",- "count_other"- ]+ "required": ["merged", "draft", "open", "label"]},"assignee": {"type": "object",@@ -7548,12 +7860,48 @@"selectedCount": {"type": "string"},+ "selectedCount_zero": {+ "type": "string"+ },+ "selectedCount_one": {+ "type": "string"+ },+ "selectedCount_two": {+ "type": "string"+ },+ "selectedCount_few": {+ "type": "string"+ },+ "selectedCount_many": {+ "type": "string"+ },+ "selectedCount_other": {+ "type": "string"+ },"moveToBacklog": {"type": "string"},"moveToBacklogSuccess": {"type": "string"},+ "moveToBacklogSuccess_zero": {+ "type": "string"+ },+ "moveToBacklogSuccess_one": {+ "type": "string"+ },+ "moveToBacklogSuccess_two": {+ "type": "string"+ },+ "moveToBacklogSuccess_few": {+ "type": "string"+ },+ "moveToBacklogSuccess_many": {+ "type": "string"+ },+ "moveToBacklogSuccess_other": {+ "type": "string"+ },"moveToBacklogError": {"type": "string"},@@ -7563,6 +7911,24 @@"moveToBoardSuccess": {"type": "string"},+ "moveToBoardSuccess_zero": {+ "type": "string"+ },+ "moveToBoardSuccess_one": {+ "type": "string"+ },+ "moveToBoardSuccess_two": {+ "type": "string"+ },+ "moveToBoardSuccess_few": {+ "type": "string"+ },+ "moveToBoardSuccess_many": {+ "type": "string"+ },+ "moveToBoardSuccess_other": {+ "type": "string"+ },"moveToBoardError": {"type": "string"},@@ -7572,9 +7938,45 @@"deleteConfirm": {"type": "string"},+ "deleteConfirm_zero": {+ "type": "string"+ },+ "deleteConfirm_one": {+ "type": "string"+ },+ "deleteConfirm_two": {+ "type": "string"+ },+ "deleteConfirm_few": {+ "type": "string"+ },+ "deleteConfirm_many": {+ "type": "string"+ },+ "deleteConfirm_other": {+ "type": "string"+ },"deleteSuccess": {"type": "string"},+ "deleteSuccess_zero": {+ "type": "string"+ },+ "deleteSuccess_one": {+ "type": "string"+ },+ "deleteSuccess_two": {+ "type": "string"+ },+ "deleteSuccess_few": {+ "type": "string"+ },+ "deleteSuccess_many": {+ "type": "string"+ },+ "deleteSuccess_other": {+ "type": "string"+ },"deleteError": {"type": "string"},@@ -7584,12 +7986,48 @@"archiveSuccess": {"type": "string"},+ "archiveSuccess_zero": {+ "type": "string"+ },+ "archiveSuccess_one": {+ "type": "string"+ },+ "archiveSuccess_two": {+ "type": "string"+ },+ "archiveSuccess_few": {+ "type": "string"+ },+ "archiveSuccess_many": {+ "type": "string"+ },+ "archiveSuccess_other": {+ "type": "string"+ },"archiveError": {"type": "string"},"updateSuccess": {"type": "string"},+ "updateSuccess_zero": {+ "type": "string"+ },+ "updateSuccess_one": {+ "type": "string"+ },+ "updateSuccess_two": {+ "type": "string"+ },+ "updateSuccess_few": {+ "type": "string"+ },+ "updateSuccess_many": {+ "type": "string"+ },+ "updateSuccess_other": {+ "type": "string"+ },"updateError": {"type": "string"},@@ -7599,6 +8037,24 @@"assignSuccess": {"type": "string"},+ "assignSuccess_zero": {+ "type": "string"+ },+ "assignSuccess_one": {+ "type": "string"+ },+ "assignSuccess_two": {+ "type": "string"+ },+ "assignSuccess_few": {+ "type": "string"+ },+ "assignSuccess_many": {+ "type": "string"+ },+ "assignSuccess_other": {+ "type": "string"+ },"assignError": {"type": "string"},@@ -7614,6 +8070,24 @@"addLabelSuccess": {"type": "string"},+ "addLabelSuccess_zero": {+ "type": "string"+ },+ "addLabelSuccess_one": {+ "type": "string"+ },+ "addLabelSuccess_two": {+ "type": "string"+ },+ "addLabelSuccess_few": {+ "type": "string"+ },+ "addLabelSuccess_many": {+ "type": "string"+ },+ "addLabelSuccess_other": {+ "type": "string"+ },"addLabelError": {"type": "string"},@@ -7637,29 +8111,20 @@}},"required": [- "selectedCount","moveToBacklog",- "moveToBacklogSuccess","moveToBacklogError","moveToBoard",- "moveToBoardSuccess","moveToBoardError","delete",- "deleteConfirm",- "deleteSuccess","deleteError","archive",- "archiveSuccess","archiveError",- "updateSuccess","updateError","assignTo",- "assignSuccess","assignError","setPriority","updatePriorityError","addLabel",- "addLabelSuccess","addLabelError","setDueDate","updateDueDateError",@@ -7968,6 +8433,18 @@"resultsFound_one": {"type": "string"},+ "resultsFound_zero": {+ "type": "string"+ },+ "resultsFound_two": {+ "type": "string"+ },+ "resultsFound_few": {+ "type": "string"+ },+ "resultsFound_many": {+ "type": "string"+ },"resultsFound_other": {"type": "string"},@@ -8008,8 +8485,6 @@"placeholder","hint","searching",- "resultsFound_one",- "resultsFound_other","noResultsTitle","noResultsDescription","startTitle",diff --git a/i18n/tr-TR.json b/i18n/tr-TR.jsonindex 3f3b42336..86ecb1934 100644--- a/i18n/tr-TR.json+++ b/i18n/tr-TR.json@@ -56,7 +56,30 @@"troubleshooting": "Sorun giderme adımları:","tryAgain": "Tekrar dene","viewDeploymentGuide": "Dağıtım Kılavuzunu Görüntüle",- "refreshPage": "Sayfayı Yenile"+ "refreshPage": "Sayfayı Yenile",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "Asla"diff --git a/i18n/uk-UA.json b/i18n/uk-UA.jsonindex aa169172b..d4042e899 100644--- a/i18n/uk-UA.json+++ b/i18n/uk-UA.json@@ -56,7 +56,30 @@"troubleshooting": "Кроки для усунення проблеми:","tryAgain": "Спробувати ще раз","viewDeploymentGuide": "Переглянути інструкцію з розгортання",- "refreshPage": "Оновити сторінку"+ "refreshPage": "Оновити сторінку",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "Ніколи"diff --git a/i18n/vi-VN.json b/i18n/vi-VN.jsonindex 8daad8720..1bd9a8955 100644--- a/i18n/vi-VN.json+++ b/i18n/vi-VN.json@@ -56,7 +56,30 @@"troubleshooting": "Các bước khắc phục:","tryAgain": "Thử lại","viewDeploymentGuide": "Xem hướng dẫn triển khai",- "refreshPage": "Tải lại trang"+ "refreshPage": "Tải lại trang",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "Không bao giờ"@@ -625,7 +648,6 @@"emptyTitle": "Chưa có vai trò nào","emptyDescription": "Các vai trò mặc định sẽ xuất hiện ở đây khi được khởi tạo cho không gian làm việc này.","defaultBadge": "Mặc định",- "permissionCount_one": "{{count}} quyền","permissionCount_other": "{{count}} quyền","nameLabel": "Tên","nameHint": "Chữ thường. Không thể thay đổi sau này.",@@ -1363,7 +1385,6 @@},"notifications": {"title": "Thông báo",- "newCount_one": "{{count}} mới","newCount_other": "{{count}} mới","emptyTitle": "Chưa có thông báo nào","emptySubtitle": "Bạn sẽ thấy các cập nhật và hoạt động ở đây.",@@ -1374,11 +1395,8 @@"open": "Mở thông báo"},"reminderLeadTime": {- "minutes_one": "{{count}} phút","minutes_other": "{{count}} phút",- "hours_one": "{{count}} giờ","hours_other": "{{count}} giờ",- "days_one": "{{count}} ngày","days_other": "{{count}} ngày"},"events": {@@ -1867,7 +1885,6 @@"draft": "Bản nháp","open": "Đang mở","label": "Pull Request",- "count_one": "{{count}} PR","count_other": "{{count}} PR"},"assignee": {@@ -2013,7 +2030,6 @@"placeholder": "Tìm công việc theo tiêu đề hoặc mã ngắn (ví dụ: DEP-23)...","hint": "Tìm kiếm trong tất cả dự án của không gian làm việc này. Dùng mã ngắn như DEP-23 để tìm công việc cụ thể.","searching": "Đang tìm kiếm...",- "resultsFound_one": "Tìm thấy {{count}} kết quả","resultsFound_other": "Tìm thấy {{count}} kết quả","noResultsTitle": "Không tìm thấy kết quả nào","noResultsDescription": "Hãy thử điều chỉnh từ khóa tìm kiếm hoặc tìm nội dung khác",diff --git a/i18n/zh-CN.json b/i18n/zh-CN.jsonindex 4fae7c7c6..ef3755f5d 100644--- a/i18n/zh-CN.json+++ b/i18n/zh-CN.json@@ -56,7 +56,30 @@"troubleshooting": "故障排查步骤:","tryAgain": "重试","viewDeploymentGuide": "查看部署指南",- "refreshPage": "刷新页面"+ "refreshPage": "刷新页面",+ "description": "The page crashed unexpectedly. Refreshing usually fixes it.",+ "messages": {+ "auth": "Authentication failed. Please sign in again.",+ "cors": "Unable to connect to the server. This might be due to CORS configuration issues.",+ "network": "Network error. Please check your internet connection and try again.",+ "server": "Server error. Please try again later.",+ "unknown": "An unexpected error occurred."+ },+ "troubleshootingSteps": {+ "cors": {+ "checkAccessibility": "Check that your API server is accessible from your browser",+ "checkApiRunning": "Make sure your API server is running",+ "checkApiUrl": "Check that VITE_API_URL in your frontend .env matches your API server URL",+ "checkProtocol": "Ensure both frontend and API are using the same protocol (http/https)",+ "verifyCorsOrigins": "Verify CORS_ORIGINS in your API .env includes your frontend URL"+ },+ "network": {+ "checkConnection": "Check your internet connection",+ "checkFirewall": "Check if there are any firewall or proxy issues",+ "tryRefresh": "Try refreshing the page",+ "verifyApiRunning": "Verify the API server is running and accessible"+ }+ }},"formats": {"never": "永不过期"@@ -625,7 +648,6 @@"emptyTitle": "暂无角色","emptyDescription": "默认角色在为该工作区初始化后显示在这里。","defaultBadge": "默认",- "permissionCount_one": "{{count}} 个权限","permissionCount_other": "{{count}} 个权限","nameLabel": "姓名","nameHint": "小写,保存后不可更改。",@@ -1363,7 +1385,6 @@},"notifications": {"title": "通知",- "newCount_one": "{{count}} 条新通知","newCount_other": "{{count}} 条新通知","emptyTitle": "暂无通知","emptySubtitle": "更新和活动将显示在这里。",@@ -1374,11 +1395,8 @@"open": "打开通知"},"reminderLeadTime": {- "minutes_one": "{{count}} 分钟","minutes_other": "{{count}} 分钟",- "hours_one": "{{count}} 小时","hours_other": "{{count}} 小时",- "days_one": "{{count}} 天","days_other": "{{count}} 天"},"events": {@@ -1867,7 +1885,6 @@"draft": "草稿","open": "打开","label": "Pull Request",- "count_one": "{{count}} 个 PR","count_other": "{{count}} 个 PR"},"assignee": {@@ -2013,7 +2030,6 @@"placeholder": "按任务标题或短 ID 搜索(例如 DEP-23)…","hint": "在此工作区的所有项目中搜索。使用类似 DEP-23 的短 ID 来定位任务。","searching": "搜索中…",- "resultsFound_one": "找到 {{count}} 条结果","resultsFound_other": "找到 {{count}} 条结果","noResultsTitle": "未找到结果","noResultsDescription": "请调整搜索条件或搜索其他内容",diff --git a/scripts/i18n/check.mjs b/scripts/i18n/check.mjsindex 43bc70953..b6e9d3637 100644--- a/scripts/i18n/check.mjs+++ b/scripts/i18n/check.mjs@@ -4,10 +4,91 @@ import {formatKeyList,getValueAtKey,loadLocales,+ PLURAL_CATEGORIES,setValueAtKey,writeJson,} from "./shared.mjs";+function pluralBase(key) {+ for (const category of PLURAL_CATEGORIES) {+ const suffix = `_${category}`;+ if (key.endsWith(suffix)) {+ return key.slice(0, -suffix.length);+ }+ }+ return null;+}++function categoriesFor(locale) {+ let categories;+ try {+ categories = new Intl.PluralRules(locale).resolvedOptions()+ .pluralCategories;+ } catch (error) {+ throw new Error(+ `Unknown locale "${locale}": Intl.PluralRules rejected it`,+ {+ cause: error,+ },+ );+ }++ return new Set(categories);+}++function isCountBearing(referenceData, key) {+ const value = getValueAtKey(referenceData, key);+ return typeof value === "string" && value.includes("{{count}}");+}++function pluralFamilies(referenceKeys) {+ const families = new Set();+ for (const key of referenceKeys) {+ const base = pluralBase(key);+ if (base) {+ families.add(base);+ }+ }+ return families;+}++function localeValueFor(localeData, key) {+ const base = pluralBase(key);+ if (!base) {+ return undefined;+ }++ for (const candidate of [`${base}_other`, base, `${base}_one`]) {+ const value = getValueAtKey(localeData, candidate);+ if (value !== undefined) {+ return value;+ }+ }++ return undefined;+}++function referenceValueFor(referenceData, key) {+ const direct = getValueAtKey(referenceData, key);+ if (direct !== undefined) {+ return direct;+ }++ const base = pluralBase(key);+ if (!base) {+ return undefined;+ }++ for (const candidate of [`${base}_other`, base, `${base}_one`]) {+ const value = getValueAtKey(referenceData, candidate);+ if (value !== undefined) {+ return value;+ }+ }++ return undefined;+}+const args = process.argv.slice(2);const shouldFix = args.includes("--fix");const localeFilter = args.find((arg) => arg !== "--fix");@@ -26,13 +107,69 @@ if (localeFilter && filteredLocales.length === 0) {let hasIssues = false;+const families = pluralFamilies(referenceKeys);+for (const locale of filteredLocales) {const localeKeys = flattenLocale(locale.data);+ const required = categoriesFor(locale.locale);+ // i18next selects _zero for an exact count of 0 even where CLDR omits it, so+ // it is accepted without being demanded.+ const allowed = new Set([...required, "zero"]);++ // A locale may pluralise a key the reference keeps singular; those forms are+ // its own, and once it has any it needs the full set for its language. This+ // is computed first because such a locale does not also need the singular.+ const localeOwnFamilies = new Set();+ for (const key of localeKeys) {+ const base = pluralBase(key);+ if (+ base &&+ referenceKeys.has(base) &&+ isCountBearing(reference.data, base)+ ) {+ localeOwnFamilies.add(base);+ }+ }+const missing = new Set(- [...referenceKeys].filter((key) => !localeKeys.has(key)),+ [...referenceKeys].filter((key) => {+ if (localeKeys.has(key) || localeOwnFamilies.has(key)) {+ return false;+ }+ const base = pluralBase(key);+ if (!base) {+ return true;+ }+ const category = key.slice(base.length + 1);+ // _zero is an exact-count override rather than a CLDR category, so a+ // locale cannot opt out of one the reference declares.+ return category === "zero" || required.has(category);+ }),);++ for (const base of [...families, ...localeOwnFamilies]) {+ for (const category of required) {+ const key = `${base}_${category}`;+ if (!localeKeys.has(key)) {+ missing.add(key);+ }+ }+ }+const extra = new Set(- [...localeKeys].filter((key) => !referenceKeys.has(key)),+ [...localeKeys].filter((key) => {+ if (referenceKeys.has(key)) {+ return false;+ }+ const base = pluralBase(key);+ const known =+ families.has(base) ||+ (referenceKeys.has(base) && isCountBearing(reference.data, base));+ if (!base || !known) {+ return true;+ }+ return !allowed.has(key.slice(base.length + 1));+ }),);if (missing.size === 0 && extra.size === 0) {@@ -43,12 +180,26 @@ for (const locale of filteredLocales) {hasIssues = true;console.log(`${locale.locale}:`);+ const localeSnapshot = shouldFix ? structuredClone(locale.data) : null;+if (missing.size > 0) {console.log(" Missing keys:");for (const key of formatKeyList(missing)) {console.log(` - ${key}`);if (shouldFix) {- setValueAtKey(locale.data, key, getValueAtKey(reference.data, key));+ // The reference wins whenever it declares this exact category. Locale+ // wording is only synthesised for a category the reference lacks, and+ // is read from the pre-fix snapshot so a key inserted earlier in this+ // loop cannot become the source for a later one.+ const exact = getValueAtKey(reference.data, key);+ setValueAtKey(+ locale.data,+ key,+ exact !== undefined+ ? exact+ : (localeValueFor(localeSnapshot, key) ??+ referenceValueFor(reference.data, key)),+ );}}}@@ -62,7 +213,9 @@ for (const locale of filteredLocales) {if (shouldFix && missing.size > 0) {await writeJson(locale.path, locale.data);- console.log(" Added missing keys from en-US.");+ console.log(+ " Added missing keys, using the locale's own plural wording where it had one.",+ );}}diff --git a/scripts/i18n/report.mjs b/scripts/i18n/report.mjsindex a6f7a73d6..2b3575f66 100644--- a/scripts/i18n/report.mjs+++ b/scripts/i18n/report.mjs@@ -4,7 +4,9 @@ import {defaultLocale,flattenLocale,formatKeyList,+ getValueAtKey,loadLocales,+ PLURAL_CATEGORIES,pruneLocale,repoRoot,writeJson,@@ -20,8 +22,11 @@ const localeKeys = flattenLocale(reference.data);const sourceFiles = await collectSourceFiles(path.join(repoRoot, "apps", "web", "src"),);-const { staticKeys, dynamicCalls, dynamicPrefixes } =- await collectUsedKeys(sourceFiles);+const namespaces = new Set(Object.keys(reference.data));+const { staticKeys, dynamicCalls, dynamicPrefixes } = await collectUsedKeys(+ sourceFiles,+ namespaces,+);const missing = new Set([...staticKeys].filter((key) => !isRepresentedByLocaleKeys(key, localeKeys)),@@ -34,7 +39,56 @@ const unused = new Set(),);-if (missing.size === 0 && unused.size === 0 && dynamicCalls.length === 0) {+function referenceFallback(key) {+ for (const category of PLURAL_CATEGORIES) {+ const suffix = `_${category}`;+ if (!key.endsWith(suffix)) {+ continue;+ }+ const base = key.slice(0, -suffix.length);+ for (const candidate of [`${base}_other`, base, `${base}_one`]) {+ const value = getValueAtKey(reference.data, candidate);+ if (value !== undefined) {+ return value;+ }+ }+ }+ return undefined;+}++// A value byte-identical to en-US has not been translated yet. Keys added by+// `i18n:check --fix` land here, which is the only place they surface.+const untranslated = new Map();+for (const locale of locales) {+ if (locale.locale === defaultLocale) {+ continue;+ }++ // Locale-specific plural forms (_few, _many, …) are absent from en-US, so+ // they are compared against the wording their family falls back to.+ const candidates = new Set([...localeKeys, ...flattenLocale(locale.data)]);++ const pending = [...candidates].filter((key) => {+ const target = getValueAtKey(locale.data, key);+ if (typeof target !== "string") {+ return false;+ }++ const source = getValueAtKey(reference.data, key) ?? referenceFallback(key);+ return typeof source === "string" && source === target;+ });++ if (pending.length > 0) {+ untranslated.set(locale.locale, pending);+ }+}++if (+ missing.size === 0 &&+ unused.size === 0 &&+ dynamicCalls.length === 0 &&+ untranslated.size === 0+) {console.log("i18n report is clean.");} else {if (missing.size > 0) {@@ -57,6 +111,16 @@ if (missing.size === 0 && unused.size === 0 && dynamicCalls.length === 0) {console.log(` - ${call}`);}}++ if (untranslated.size > 0) {+ console.log("Untranslated (still identical to en-US):");+ for (const [locale, keys] of [...untranslated].sort()) {+ console.log(` ${locale}: ${keys.length}`);+ for (const key of formatKeyList(new Set(keys))) {+ console.log(` - ${key}`);+ }+ }+ }}if (shouldFix) {@@ -68,7 +132,7 @@ if (shouldFix) {);for (const locale of locales) {- const nextLocale = pruneLocale(locale.data, allowedKeys);+ const nextLocale = pruneLocale(locale.data, allowedKeys, reference.data);await writeJson(locale.path, nextLocale);}@@ -104,7 +168,7 @@ async function collectSourceFiles(rootDir) {return files.flat();}-async function collectUsedKeys(files) {+async function collectUsedKeys(files, knownNamespaces) {const staticKeys = new Set();const dynamicCalls = [];const dynamicPrefixes = [];@@ -124,6 +188,19 @@ async function collectUsedKeys(files) {staticKeys.add(match[2]);}+ // Keys are not always handed straight to t(): error-handler.ts returns them+ // as values that error-display.tsx resolves through t(variable). A real+ // namespace plus a dotted path keeps Tailwind variants, storage keys and+ // permission statements out, while still reporting an indirect key the+ // reference has not defined yet.+ for (const match of source.matchAll(+ /(['"])([a-z][\w-]*):([A-Za-z0-9_-]+(?:\.[A-Za-z0-9_-]+)+)\1/gu,+ )) {+ if (knownNamespaces.has(match[2])) {+ staticKeys.add(`${match[2]}:${match[3]}`);+ }+ }+for (const match of source.matchAll(/\b(?:[\w$]+\.)?t\(\s*(`[^`]*\$\{[^`]*\}`|[^'"`\s][^,\n)]*)/gu,)) {diff --git a/scripts/i18n/schema.mjs b/scripts/i18n/schema.mjsindex 7d446db0e..a9467629d 100644--- a/scripts/i18n/schema.mjs+++ b/scripts/i18n/schema.mjs@@ -1,5 +1,14 @@-import { loadLocales, schemaPath, writeJson } from "./shared.mjs";+import {+ loadLocales,+ PLURAL_CATEGORIES,+ schemaPath,+ writeJson,+} from "./shared.mjs";+// A locale supplies the plural categories its own language needs, which is not+// the set en-US happens to use: Russian adds _few and _many, Chinese omits+// _one, and i18next allows a _zero override anywhere. So every plural form of a+// known key is accepted, and no plural form is demanded.const { reference } = await loadLocales();const schema = {@@ -9,16 +18,64 @@ const schema = {type: "object",additionalProperties: false,properties: buildProperties(reference.data),- required: Object.keys(reference.data),+ required: requiredKeys(reference.data),};await writeJson(schemaPath, schema);console.log(`Wrote ${schemaPath}`);+function pluralBase(key) {+ for (const category of PLURAL_CATEGORIES) {+ const suffix = `_${category}`;+ if (key.endsWith(suffix)) {+ return key.slice(0, -suffix.length);+ }+ }+ return null;+}++function requiredKeys(value) {+ return Object.keys(value).filter((key) => {+ // _zero is an exact-count override the reference can declare, and check.mjs+ // requires it, so it stays required even when it interpolates a count.+ if (key.endsWith("_zero")) {+ return true;+ }+ if (pluralBase(key)) {+ return false;+ }+ // A count-bearing key may be represented purely by plural variants.+ const child = value[key];+ return !(typeof child === "string" && child.includes("{{count}}"));+ });+}+function buildProperties(value) {- return Object.fromEntries(- Object.entries(value).map(([key, child]) => [key, buildSchemaNode(child)]),- );+ const properties = {};++ for (const [key, child] of Object.entries(value)) {+ properties[key] = buildSchemaNode(child);++ if (typeof child !== "string") {+ continue;+ }++ // Only a key that is already pluralised, or one interpolating a count, can+ // legitimately gain a locale-specific plural form.+ const base = pluralBase(key);+ if (!base && !child.includes("{{count}}")) {+ continue;+ }++ for (const category of PLURAL_CATEGORIES) {+ const variant = `${base ?? key}_${category}`;+ if (!(variant in properties)) {+ properties[variant] = { type: "string" };+ }+ }+ }++ return properties;}function buildSchemaNode(value) {@@ -30,6 +87,6 @@ function buildSchemaNode(value) {type: "object",additionalProperties: false,properties: buildProperties(value),- required: Object.keys(value),+ required: requiredKeys(value),};}diff --git a/scripts/i18n/shared.mjs b/scripts/i18n/shared.mjsindex 5670dbf18..bd93956bc 100644--- a/scripts/i18n/shared.mjs+++ b/scripts/i18n/shared.mjs@@ -112,11 +112,59 @@ export function setValueAtKey(localeData, translationKey, value) {current[segments.at(-1)] = value;}-export function pruneLocale(localeData, allowedKeys) {+export const PLURAL_CATEGORIES = ["zero", "one", "two", "few", "many", "other"];++// A locale supplies the plural categories its own language needs, so _few and+// _many have no en-US counterpart. Pruning purely against the reference key set+// would delete them.+function isAllowedKey(key, allowedKeys, referenceData) {+ if (allowedKeys.has(key)) {+ return true;+ }++ for (const category of PLURAL_CATEGORIES) {+ const suffix = `_${category}`;+ if (!key.endsWith(suffix)) {+ continue;+ }++ const base = key.slice(0, -suffix.length);++ // A reference family the locale extends with its own categories.+ if (+ PLURAL_CATEGORIES.some((other) => allowedKeys.has(`${base}_${other}`))+ ) {+ return true;+ }++ // A plain reference key may only gain plural forms if it interpolates a+ // count; otherwise the suffix is a typo and should be pruned.+ if (allowedKeys.has(base) && isCountBearing(referenceData, base)) {+ return true;+ }+ }++ return false;+}++function isCountBearing(referenceData, key) {+ if (!referenceData) {+ return false;+ }+ const value = getValueAtKey(referenceData, key);+ return typeof value === "string" && value.includes("{{count}}");+}++export function pruneLocale(localeData, allowedKeys, referenceData) {const nextLocale = {};for (const [namespace, value] of Object.entries(localeData)) {- const nextValue = pruneNamespace(value, `${namespace}:`, allowedKeys);+ const nextValue = pruneNamespace(+ value,+ `${namespace}:`,+ allowedKeys,+ referenceData,+ );if (nextValue !== undefined) {nextLocale[namespace] = nextValue;}@@ -125,13 +173,17 @@ export function pruneLocale(localeData, allowedKeys) {return nextLocale;}-function pruneNamespace(value, prefix, allowedKeys) {+function pruneNamespace(value, prefix, allowedKeys, referenceData) {if (typeof value === "string") {- return allowedKeys.has(prefix.slice(0, -1)) ? value : undefined;+ return isAllowedKey(prefix.slice(0, -1), allowedKeys, referenceData)+ ? value+ : undefined;}if (!value || typeof value !== "object" || Array.isArray(value)) {- return allowedKeys.has(prefix.slice(0, -1)) ? value : undefined;+ return isAllowedKey(prefix.slice(0, -1), allowedKeys, referenceData)+ ? value+ : undefined;}const nextValue = {};@@ -141,6 +193,7 @@ function pruneNamespace(value, prefix, allowedKeys) {childValue,`${prefix}${childKey}.`,allowedKeys,+ referenceData,);if (pruned !== undefined) {nextValue[childKey] = pruned;