Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(projects): shorten the agent access notice (#10529)
Bohan Jiangaaa069a9efdf
diff --git a/packages/views/locales/en/projects.json b/packages/views/locales/en/projects.jsonindex 9bea2fdd07..da0d75dfc6 100644--- a/packages/views/locales/en/projects.json+++ b/packages/views/locales/en/projects.json@@ -204,7 +204,7 @@}},"access": {- "agent_notice": "Agents follow their owner's access. Add the owner to let their agents work here.",+ "agent_notice": "Agents follow their owner's access.","label": "Access","title": "Access to {{title}}","description": "Controls who can see this project and its issues, comments, and attachments.",diff --git a/packages/views/locales/es/projects.json b/packages/views/locales/es/projects.jsonindex 2dcd75a897..0e37fdce22 100644--- a/packages/views/locales/es/projects.json+++ b/packages/views/locales/es/projects.json@@ -204,7 +204,7 @@}},"access": {- "agent_notice": "Los agentes tienen el mismo acceso que su propietario. Añade al propietario al proyecto para que sus agentes puedan trabajar aquí.",+ "agent_notice": "Los agentes tienen el mismo acceso que su propietario.","label": "Acceso","title": "Acceso a {{title}}","description": "Define quién puede ver este proyecto, sus tareas, comentarios y archivos adjuntos.",diff --git a/packages/views/locales/fr/projects.json b/packages/views/locales/fr/projects.jsonindex 802fb39dcd..cf5b7d94ae 100644--- a/packages/views/locales/fr/projects.json+++ b/packages/views/locales/fr/projects.json@@ -204,7 +204,7 @@}},"access": {- "agent_notice": "Les agents suivent les droits d’accès de leur propriétaire. Ajoutez le propriétaire au projet pour que ses agents puissent y travailler.",+ "agent_notice": "Les agents suivent les droits d’accès de leur propriétaire.","label": "Accès","title": "Accès à {{title}}","description": "Définit qui peut voir ce projet, ses tâches, commentaires et pièces jointes.",diff --git a/packages/views/locales/ja/projects.json b/packages/views/locales/ja/projects.jsonindex 92cd6b29b3..ae62abbb4c 100644--- a/packages/views/locales/ja/projects.json+++ b/packages/views/locales/ja/projects.json@@ -204,7 +204,7 @@}},"access": {- "agent_notice": "エージェントのアクセス権は所有者に従います。所有者をプロジェクトに追加すると、そのエージェントがここで作業できるようになります。",+ "agent_notice": "エージェントのアクセス権は所有者に従います。","label": "アクセス権","title": "{{title}}のアクセス権","description": "プロジェクトとそのタスク、コメント、添付ファイルの閲覧範囲を設定します。",diff --git a/packages/views/locales/ko/projects.json b/packages/views/locales/ko/projects.jsonindex 6111d01fa0..b4ebe6cf1a 100644--- a/packages/views/locales/ko/projects.json+++ b/packages/views/locales/ko/projects.json@@ -204,7 +204,7 @@}},"access": {- "agent_notice": "에이전트의 접근 권한은 소유자를 따릅니다. 소유자를 프로젝트에 추가하면 해당 에이전트가 여기서 작업할 수 있습니다.",+ "agent_notice": "에이전트의 접근 권한은 소유자를 따릅니다.","label": "접근 권한","title": "{{title}} 접근 권한","description": "프로젝트와 해당 태스크, 댓글, 첨부 파일을 볼 수 있는 사람을 설정합니다.",diff --git a/packages/views/locales/ru/projects.json b/packages/views/locales/ru/projects.jsonindex 0a3a5d955a..13d4cf0f1a 100644--- a/packages/views/locales/ru/projects.json+++ b/packages/views/locales/ru/projects.json@@ -204,7 +204,7 @@"title": "Разбивайте большую работу на проекты"},"access": {- "agent_notice": "Доступ агентов определяется доступом их владельца. Добавьте владельца в проект, чтобы его агенты могли здесь работать.",+ "agent_notice": "Доступ агентов определяется доступом их владельца.","label": "Доступ","title": "Доступ к {{title}}","description": "Определяет, кто видит проект, его задачи, комментарии и вложения.",diff --git a/packages/views/locales/zh-Hans/projects.json b/packages/views/locales/zh-Hans/projects.jsonindex 35537fbe4c..d8be32abf3 100644--- a/packages/views/locales/zh-Hans/projects.json+++ b/packages/views/locales/zh-Hans/projects.json@@ -204,7 +204,7 @@}},"access": {- "agent_notice": "智能体的权限跟随其所有者。将所有者加入项目,即可让其智能体在此工作。",+ "agent_notice": "智能体的权限跟随其所有者。","label": "访问权限","title": "{{title}}的访问权限","description": "控制谁能查看项目及其中的任务、评论和附件。",diff --git a/packages/views/locales/zh-Hant/projects.json b/packages/views/locales/zh-Hant/projects.jsonindex 32b687cfc3..a47a5cf198 100644--- a/packages/views/locales/zh-Hant/projects.json+++ b/packages/views/locales/zh-Hant/projects.json@@ -204,7 +204,7 @@}},"access": {- "agent_notice": "AI 代理的權限跟隨其擁有者。將擁有者加入專案,即可讓其 AI 代理在此工作。",+ "agent_notice": "AI 代理的權限跟隨其擁有者。","label": "存取權限","title": "{{title}}的存取權限","description": "控制誰能查看專案及其中的任務、評論和附件。",diff --git a/packages/views/projects/components/project-access.test.tsx b/packages/views/projects/components/project-access.test.tsxindex 614b3a5873..a24bb74d24 100644--- a/packages/views/projects/components/project-access.test.tsx+++ b/packages/views/projects/components/project-access.test.tsx@@ -70,7 +70,7 @@ it("loads the member list, finds people by email, and adds and removes only afteawait user.click(screen.getByRole("button", { name: "Access" }));await screen.findByText("member@test");expect(screen.getByText(/owners and admins always have access/)).toBeVisible();- expect(screen.getByText("Agents follow their owner's access. Add the owner to let their agents work here.")).toBeVisible();+ expect(screen.getByText("Agents follow their owner's access.")).toBeVisible();expect(api.listAgents).not.toHaveBeenCalled();await user.click(screen.getByRole("button", { name: "Add workspace member" }));await user.type(screen.getByRole("combobox"), "outside@test");