From 42ad58d12801064a61b5de5734fb0ee5981f6328 Mon Sep 17 00:00:00 2001 From: brownrw8 Date: Mon, 27 Jan 2025 10:39:42 -1000 Subject: [PATCH 1/9] feat: READMEs in other languages (es,de,ja,zh) --- README.md | 7 +- locales/es/CODE_OF_CONDUCT.md | 76 +++++++++++++++ locales/es/CONTRIBUTING.md | 82 ++++++++++++++++ locales/es/README.md | 161 ++++++++++++++++++++++++++++++ locales/ja/CODE_OF_CONDUCT.md | 76 +++++++++++++++ locales/ja/CONTRIBUTING.md | 82 ++++++++++++++++ locales/ja/README.md | 0 locales/zh-cn/CODE_OF_CONDUCT.md | 76 +++++++++++++++ locales/zh-cn/CONTRIBUTING.md | 82 ++++++++++++++++ locales/zh-cn/README.md | 162 +++++++++++++++++++++++++++++++ locales/zh-tw/CODE_OF_CONDUCT.md | 76 +++++++++++++++ locales/zh-tw/CONTRIBUTING.md | 82 ++++++++++++++++ locales/zh-tw/README.md | 161 ++++++++++++++++++++++++++++++ 13 files changed, 1122 insertions(+), 1 deletion(-) create mode 100644 locales/es/CODE_OF_CONDUCT.md create mode 100644 locales/es/CONTRIBUTING.md create mode 100644 locales/es/README.md create mode 100644 locales/ja/CODE_OF_CONDUCT.md create mode 100644 locales/ja/CONTRIBUTING.md create mode 100644 locales/ja/README.md create mode 100644 locales/zh-cn/CODE_OF_CONDUCT.md create mode 100644 locales/zh-cn/CONTRIBUTING.md create mode 100644 locales/zh-cn/README.md create mode 100644 locales/zh-tw/CODE_OF_CONDUCT.md create mode 100644 locales/zh-tw/CONTRIBUTING.md create mode 100644 locales/zh-tw/README.md diff --git a/README.md b/README.md index 22a9606a42..86ba0e501c 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,12 @@ -Meet Cline, an AI assistant that can use your **CLI** a**N**d **E**ditor. +Other language [README files](./README.md) are available in: +- [Español](./locale/es/README.md) +- [Deutsch](./locale/de/README.md) +- [日本語](./locale/ja/README.md) +- [简体中文](./locale/zh-cn/README.md) +- [繁體中文](./locale/zh-tw/README.md) Thanks to [Claude 3.5 Sonnet's agentic coding capabilities](https://www-cdn.anthropic.com/fed9cc193a14b84131812372d8d5857f8f304c52/Model_Card_Claude_3_Addendum.pdf), Cline can handle complex software development tasks step-by-step. With tools that let him create & edit files, explore large projects, use the browser, and execute terminal commands (after you grant permission), he can assist you in ways that go beyond code completion or tech support. Cline can even use the Model Context Protocol (MCP) to create new tools and extend his own capabilities. While autonomous AI scripts traditionally run in sandboxed environments, this extension provides a human-in-the-loop GUI to approve every file change and terminal command, providing a safe and accessible way to explore the potential of agentic AI. diff --git a/locales/es/CODE_OF_CONDUCT.md b/locales/es/CODE_OF_CONDUCT.md new file mode 100644 index 0000000000..3547e4628b --- /dev/null +++ b/locales/es/CODE_OF_CONDUCT.md @@ -0,0 +1,76 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +- Using welcoming and inclusive language +- Being respectful of differing viewpoints and experiences +- Gracefully accepting constructive criticism +- Focusing on what is best for the community +- Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +- The use of sexualized language or imagery and unwelcome sexual attention or + advances +- Trolling, insulting/derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or electronic + address, without explicit permission +- Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at hi@cline.bot. All complaints +will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see +https://www.contributor-covenant.org/faq diff --git a/locales/es/CONTRIBUTING.md b/locales/es/CONTRIBUTING.md new file mode 100644 index 0000000000..c4ef158090 --- /dev/null +++ b/locales/es/CONTRIBUTING.md @@ -0,0 +1,82 @@ +# Contribuir a Cline + +Nos alegra que estés interesado en contribuir a Cline. Ya sea que corrijas un error, añadas una función o mejores nuestra documentación, ¡cada contribución hace que Cline sea más inteligente! Para mantener nuestra comunidad viva y acogedora, todos los miembros deben cumplir con nuestro [Código de Conducta](CODE_OF_CONDUCT.md). + +## Informar de errores o problemas + +¡Los informes de errores ayudan a mejorar Cline para todos! Antes de crear un nuevo problema, por favor revisa los [problemas existentes](https://github.com/cline/cline/issues) para evitar duplicados. Cuando estés listo para informar un error, dirígete a nuestra [página de Issues](https://github.com/cline/cline/issues/new/choose), donde encontrarás una plantilla que te ayudará a completar la información relevante. + +
+ 🔐 Importante: Si descubres una vulnerabilidad de seguridad, utiliza la herramienta de seguridad de GitHub para informarla de manera privada. +
+ +## Decidir en qué trabajar + +¿Buscas una buena primera contribución? Revisa los issues etiquetados con ["good first issue"](https://github.com/cline/cline/labels/good%20first%20issue) o ["help wanted"](https://github.com/cline/cline/labels/help%20wanted). ¡Estos están especialmente seleccionados para nuevos colaboradores y son áreas donde nos encantaría recibir ayuda! + +También damos la bienvenida a contribuciones a nuestra [documentación](https://github.com/cline/cline/tree/main/docs). Ya sea corrigiendo errores tipográficos, mejorando guías existentes o creando nuevos contenidos educativos, queremos construir un repositorio de recursos gestionado por la comunidad que ayude a todos a sacar el máximo provecho de Cline. Puedes comenzar explorando `/docs` y buscando áreas que necesiten mejoras. + +Si planeas trabajar en una función más grande, por favor crea primero una [solicitud de función](https://github.com/cline/cline/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop) para que podamos discutir si se alinea con la visión de Cline. + +## Configurar el entorno de desarrollo + +1. **Extensiones de VS Code** + + - Al abrir el proyecto, VS Code te pedirá que instales las extensiones recomendadas + - Estas extensiones son necesarias para el desarrollo, por favor acepta todas las solicitudes de instalación + - Si rechazaste las solicitudes, puedes instalarlas manualmente en la sección de extensiones + +2. **Desarrollo local** + - Ejecuta `npm run install:all` para instalar las dependencias + - Ejecuta `npm run test` para ejecutar las pruebas localmente + - Antes de enviar un PR, ejecuta `npm run format:fix` para formatear tu código + +## Escribir y enviar código + +Cualquiera puede contribuir código a Cline, pero te pedimos que sigas estas pautas para asegurar que tus contribuciones se integren sin problemas: + +1. **Mantén los Pull Requests enfocados** + + - Limita los PRs a una sola función o corrección de errores + - Divide los cambios más grandes en PRs más pequeños y coherentes + - Divide los cambios en commits lógicos que puedan ser revisados independientemente + +2. **Calidad del código** + + - Ejecuta `npm run lint` para verificar el estilo del código + - Ejecuta `npm run format` para formatear el código automáticamente + - Todos los PRs deben pasar las verificaciones de CI, que incluyen linting y formateo + - Corrige todas las advertencias o errores de ESLint antes de enviar + - Sigue las mejores prácticas para TypeScript y mantén la seguridad de tipos + +3. **Pruebas** + + - Añade pruebas para nuevas funciones + - Ejecuta `npm test` para asegurarte de que todas las pruebas pasen + - Actualiza las pruebas existentes si tus cambios las afectan + - Añade tanto pruebas unitarias como de integración donde sea apropiado + +4. **Pautas de commits** + + - Escribe mensajes de commit claros y descriptivos + - Usa el formato de commit convencional (por ejemplo, "feat:", "fix:", "docs:") + - Haz referencia a los issues relevantes en los commits con #número-del-issue + +5. **Antes de enviar** + + - Rebasea tu rama con el último Main + - Asegúrate de que tu rama se construya correctamente + - Verifica que todas las pruebas pasen + - Revisa tus cambios para eliminar cualquier código de depuración o registros de consola + +6. **Descripción del Pull Request** + - Describe claramente lo que hacen tus cambios + - Añade pasos para probar los cambios + - Enumera cualquier cambio importante + - Añade capturas de pantalla para cambios en la interfaz de usuario + +## Acuerdo de contribución + +Al enviar un Pull Request, aceptas que tus contribuciones se licencien bajo la misma licencia que el proyecto ([Apache 2.0](LICENSE)). + +Recuerda: Contribuir a Cline no solo significa escribir código, sino ser parte de una comunidad que está dando forma al futuro del desarrollo asistido por IA. ¡Hagamos algo grandioso juntos! 🚀 diff --git a/locales/es/README.md b/locales/es/README.md new file mode 100644 index 0000000000..7d88225fa8 --- /dev/null +++ b/locales/es/README.md @@ -0,0 +1,161 @@ +# Cline – #1 en OpenRouter + +

+ +

+ +
+ + + + + + + + +
+Descargar en VS Marketplace + +Discord + +r/cline + +Solicitudes de Funciones + +Estamos Contratando! +
+
+ +Conozca a Cline, un asistente de IA que puede usar su **CLI** y **E**ditor. + +Gracias a las [habilidades de codificación agencial de Claude 3.5 Sonnet](https://www-cdn.anthropic.com/fed9cc193a14b84131812372d8d5857f8f304c52/Model_Card_Claude_3_Addendum.pdf), Cline puede abordar tareas complejas de desarrollo de software paso a paso. Con herramientas que le permiten crear y editar archivos, explorar grandes proyectos, usar el navegador y ejecutar comandos de terminal (con su aprobación), puede ayudarle de una manera que va más allá de la autocompletación de código o el soporte técnico. Cline incluso puede usar el Model Context Protocol (MCP) para crear nuevas herramientas y expandir sus propias capacidades. Mientras que los scripts de IA autónomos tradicionalmente se ejecutan en entornos aislados, esta extensión ofrece una GUI con un humano en el bucle para aprobar cada cambio de archivo y comando de terminal, proporcionando una forma segura y accesible de explorar el potencial de la IA agencial. + +1. Ingrese su tarea y agregue imágenes para convertir maquetas en aplicaciones funcionales o solucionar errores con capturas de pantalla. +2. Cline comenzará analizando su estructura de archivos y ASTs de código fuente, realizando búsquedas Regex y leyendo archivos relevantes para orientarse en proyectos existentes. Al gestionar cuidadosamente la información agregada, Cline puede proporcionar asistencia valiosa incluso en proyectos grandes y complejos sin sobrecargar la ventana de contexto. +3. Una vez que Cline tenga la información necesaria, puede: + - Crear y editar archivos + monitorear errores de Linter/Compilador, para que pueda solucionar proactivamente problemas como importaciones faltantes y errores de sintaxis. + - Ejecutar comandos directamente en su terminal y monitorear su salida, para que pueda responder a problemas del servidor de desarrollo después de editar un archivo. + - Para tareas de desarrollo web, Cline puede iniciar el sitio web en un navegador sin cabeza, hacer clic, escribir, desplazarse y capturar capturas de pantalla + registros de consola, para que pueda solucionar errores de tiempo de ejecución y errores visuales. +4. Cuando una tarea esté completa, Cline le presentará el resultado con un comando de terminal como `open -a "Google Chrome" index.html`, que puede ejecutar con un clic en un botón. + +> [!TIP] +> Use el atajo de teclado `CMD/CTRL + Shift + P` para abrir la paleta de comandos y escriba "Cline: Open In New Tab" para abrir la extensión como una pestaña en su editor. De esta manera, puede usar Cline junto a su explorador de archivos y ver más claramente cómo cambia su espacio de trabajo. + +--- + + + +### Use cualquier API y modelo + +Cline admite proveedores de API como OpenRouter, Anthropic, OpenAI, Google Gemini, AWS Bedrock, Azure y GCP Vertex. También puede configurar cualquier API compatible con OpenAI o usar un modelo local a través de LM Studio/Ollama. Si usa OpenRouter, la extensión recupera su lista de modelos más reciente, para que pueda usar los modelos más nuevos tan pronto como estén disponibles. + +La extensión también rastrea el uso total de tokens y costos de API para todo el ciclo de tareas y solicitudes individuales, para que esté informado sobre los gastos en cada paso. + + + +
+ + + +### Ejecutar comandos en el terminal + +Gracias a las nuevas [actualizaciones de integración de Shell en VSCode v1.93](https://code.visualstudio.com/updates/v1_93#_terminal-shell-integration-api), Cline puede ejecutar comandos directamente en su terminal y recibir la salida. Esto le permite realizar una variedad de tareas, desde la instalación de paquetes y la ejecución de scripts de compilación hasta la implementación de aplicaciones, la gestión de bases de datos y la ejecución de pruebas, adaptándose a su entorno de desarrollo y cadena de herramientas para hacer el trabajo correctamente. + +Para procesos de larga duración como servidores de desarrollo, use el botón "Continuar mientras se ejecuta" para permitir que Cline continúe con la tarea mientras el comando se ejecuta en segundo plano. Mientras Cline trabaja, será notificado sobre nuevas salidas del terminal, para que pueda responder a problemas que puedan surgir, como errores de compilación al editar archivos. + + + +
+ + + +### Crear y editar archivos + +Cline puede crear y editar archivos directamente en su editor y presentarle una vista de diferencias de los cambios. Puede editar o deshacer los cambios de Cline directamente en el editor de vista de diferencias o proporcionar comentarios en el chat hasta que esté satisfecho con el resultado. Cline también monitorea errores de Linter/Compilador (importaciones faltantes, errores de sintaxis, etc.), para que pueda solucionar problemas que surjan en el camino. + +Todos los cambios realizados por Cline se registran en la línea de tiempo de su archivo, proporcionando una forma sencilla de rastrear cambios y deshacerlos si es necesario. + + + +
+ + + +### Usar el navegador + +Con la nueva [habilidad de uso de computadora](https://www.anthropic.com/news/3-5-models-and-computer-use) de Claude 3.5 Sonnet, Cline puede iniciar un navegador, hacer clic en elementos, escribir texto y desplazarse, capturando capturas de pantalla y registros de consola. Esto permite la depuración interactiva, pruebas de extremo a extremo e incluso el uso general de la web. Esto le da la autonomía para solucionar errores visuales y problemas de tiempo de ejecución sin que tenga que copiar y pegar registros de errores. + +Intente pedirle a Cline que "pruebe la aplicación" y observe cómo ejecuta un comando como `npm run dev`, inicia su servidor de desarrollo local en un navegador y realiza una serie de pruebas para confirmar que todo funciona. [Vea una demostración aquí.](https://x.com/sdrzn/status/1850880547825823989) + + + +
+ + + +### "agregar una herramienta que..." + +Gracias al [Model Context Protocol](https://github.com/modelcontextprotocol), Cline puede expandir sus habilidades mediante herramientas personalizadas. Mientras que puede usar [servidores creados por la comunidad](https://github.com/modelcontextprotocol/servers), Cline puede en su lugar crear e instalar herramientas adaptadas a su flujo de trabajo específico. Simplemente pida a Cline que "agregue una herramienta" y él se encargará de todo, desde la creación de un nuevo servidor MCP hasta la instalación en la extensión. Estas herramientas personalizadas se convierten en parte del conjunto de herramientas de Cline y están listas para ser utilizadas en tareas futuras. + +- "agregar una herramienta que recupere tickets de Jira": Recuperar ACs de tickets y poner a Cline a trabajar +- "agregar una herramienta que gestione AWS EC2s": Verificar métricas del servidor y escalar instancias hacia arriba o hacia abajo +- "agregar una herramienta que recupere los últimos incidentes de PagerDuty": Recuperar detalles y pedir a Cline que solucione errores + + + +
+ + + +### Agregar contexto + +**`@url`:** Inserte una URL para que la extensión la recupere y convierta en Markdown, útil cuando desee proporcionar a Cline los documentos más recientes + +**`@problems`:** Agregue errores y advertencias del espacio de trabajo (panel 'Problemas') que Cline debe solucionar + +**`@file`:** Agregue el contenido de un archivo para que no tenga que desperdiciar solicitudes de API para aprobar la lectura del archivo (+ para buscar archivos) + +**`@folder`:** Agregue los archivos de una carpeta a la vez para acelerar aún más su flujo de trabajo + + + +
+ + + +### Puntos de control: Comparar y Restaurar + +Mientras Cline trabaja en una tarea, la extensión crea una instantánea de su espacio de trabajo en cada paso. Puede usar el botón 'Comparar' para ver una diferencia entre la instantánea y su espacio de trabajo actual, y el botón 'Restaurar' para volver a ese punto. + +Por ejemplo, si está trabajando con un servidor web local, puede usar 'Restaurar solo espacio de trabajo' para probar rápidamente diferentes versiones de su aplicación, y luego 'Restaurar tarea y espacio de trabajo' cuando encuentre la versión desde la que desea continuar trabajando. Esto le permite explorar diferentes enfoques de manera segura sin perder progreso. + + + +
+ +## Contribuir + +Para contribuir al proyecto, comience con nuestra [guía de contribución](CONTRIBUTING.md) para aprender los conceptos básicos. También puede unirse a nuestro [Discord](https://discord.gg/cline) para chatear con otros colaboradores en el canal `#contributors`. Si está buscando un trabajo a tiempo completo, consulte nuestras vacantes en nuestra [página de carreras](https://cline.bot/join-us). + +
+Instrucciones de desarrollo local + +1. Clone el repositorio _(Requiere [git-lfs](https://git-lfs.com/))_: + ```bash + git clone https://github.com/cline/cline.git + ``` +2. Abra el proyecto en VSCode: + ```bash + code cline + ``` +3. Instale las dependencias necesarias para la extensión y la GUI de Webview: + ```bash + npm run install:all + ``` +4. Inicie presionando `F5` (o `Run`->`Start Debugging`) para abrir una nueva ventana de VSCode con la extensión cargada. (Es posible que deba instalar la [extensión de emparejadores de problemas de esbuild](https://marketplace.visualstudio.com/items?itemName=connor4312.esbuild-problem-matchers) si encuentra problemas al compilar el proyecto.) + +
+ +## Licencia + +[Apache 2.0 © 2024 Cline Bot Inc.](./LICENSE) diff --git a/locales/ja/CODE_OF_CONDUCT.md b/locales/ja/CODE_OF_CONDUCT.md new file mode 100644 index 0000000000..3547e4628b --- /dev/null +++ b/locales/ja/CODE_OF_CONDUCT.md @@ -0,0 +1,76 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +- Using welcoming and inclusive language +- Being respectful of differing viewpoints and experiences +- Gracefully accepting constructive criticism +- Focusing on what is best for the community +- Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +- The use of sexualized language or imagery and unwelcome sexual attention or + advances +- Trolling, insulting/derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or electronic + address, without explicit permission +- Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at hi@cline.bot. All complaints +will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see +https://www.contributor-covenant.org/faq diff --git a/locales/ja/CONTRIBUTING.md b/locales/ja/CONTRIBUTING.md new file mode 100644 index 0000000000..75edd9ed43 --- /dev/null +++ b/locales/ja/CONTRIBUTING.md @@ -0,0 +1,82 @@ +# Contributing to Cline + +We're thrilled you're interested in contributing to Cline. Whether you're fixing a bug, adding a feature, or improving our docs, every contribution makes Cline smarter! To keep our community vibrant and welcoming, all members must adhere to our [Code of Conduct](CODE_OF_CONDUCT.md). + +## Reporting Bugs or Issues + +Bug reports help make Cline better for everyone! Before creating a new issue, please [search existing ones](https://github.com/cline/cline/issues) to avoid duplicates. When you're ready to report a bug, head over to our [issues page](https://github.com/cline/cline/issues/new/choose) where you'll find a template to help you with filling out the relevant information. + +
+ 🔐 Important: If you discover a security vulnerability, please use the Github security tool to report it privately. +
+ +## Deciding What to Work On + +Looking for a good first contribution? Check out issues labeled ["good first issue"](https://github.com/cline/cline/labels/good%20first%20issue) or ["help wanted"](https://github.com/cline/cline/labels/help%20wanted). These are specifically curated for new contributors and areas where we'd love some help! + +We also welcome contributions to our [documentation](https://github.com/cline/cline/tree/main/docs)! Whether it's fixing typos, improving existing guides, or creating new educational content - we'd love to build a community-driven repository of resources that helps everyone get the most out of Cline. You can start by diving into `/docs` and looking for areas that need improvement. + +If you're planning to work on a bigger feature, please create a [feature request](https://github.com/cline/cline/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop) first so we can discuss whether it aligns with Cline's vision. + +## Development Setup + +1. **VS Code Extensions** + + - When opening the project, VS Code will prompt you to install recommended extensions + - These extensions are required for development - please accept all installation prompts + - If you dismissed the prompts, you can install them manually from the Extensions panel + +2. **Local Development** + - Run `npm run install:all` to install dependencies + - Run `npm run test` to run tests locally + - Before submitting PR, run `npm run format:fix` to format your code + +## Writing and Submitting Code + +Anyone can contribute code to Cline, but we ask that you follow these guidelines to ensure your contributions can be smoothly integrated: + +1. **Keep Pull Requests Focused** + + - Limit PRs to a single feature or bug fix + - Split larger changes into smaller, related PRs + - Break changes into logical commits that can be reviewed independently + +2. **Code Quality** + + - Run `npm run lint` to check code style + - Run `npm run format` to automatically format code + - All PRs must pass CI checks which include both linting and formatting + - Address any ESLint warnings or errors before submitting + - Follow TypeScript best practices and maintain type safety + +3. **Testing** + + - Add tests for new features + - Run `npm test` to ensure all tests pass + - Update existing tests if your changes affect them + - Include both unit tests and integration tests where appropriate + +4. **Commit Guidelines** + + - Write clear, descriptive commit messages + - Use conventional commit format (e.g., "feat:", "fix:", "docs:") + - Reference relevant issues in commits using #issue-number + +5. **Before Submitting** + + - Rebase your branch on the latest main + - Ensure your branch builds successfully + - Double-check all tests are passing + - Review your changes for any debugging code or console logs + +6. **Pull Request Description** + - Clearly describe what your changes do + - Include steps to test the changes + - List any breaking changes + - Add screenshots for UI changes + +## Contribution Agreement + +By submitting a pull request, you agree that your contributions will be licensed under the same license as the project ([Apache 2.0](LICENSE)). + +Remember: Contributing to Cline isn't just about writing code - it's about being part of a community that's shaping the future of AI-assisted development. Let's build something amazing together! 🚀 diff --git a/locales/ja/README.md b/locales/ja/README.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/locales/zh-cn/CODE_OF_CONDUCT.md b/locales/zh-cn/CODE_OF_CONDUCT.md new file mode 100644 index 0000000000..3547e4628b --- /dev/null +++ b/locales/zh-cn/CODE_OF_CONDUCT.md @@ -0,0 +1,76 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +- Using welcoming and inclusive language +- Being respectful of differing viewpoints and experiences +- Gracefully accepting constructive criticism +- Focusing on what is best for the community +- Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +- The use of sexualized language or imagery and unwelcome sexual attention or + advances +- Trolling, insulting/derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or electronic + address, without explicit permission +- Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at hi@cline.bot. All complaints +will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see +https://www.contributor-covenant.org/faq diff --git a/locales/zh-cn/CONTRIBUTING.md b/locales/zh-cn/CONTRIBUTING.md new file mode 100644 index 0000000000..75edd9ed43 --- /dev/null +++ b/locales/zh-cn/CONTRIBUTING.md @@ -0,0 +1,82 @@ +# Contributing to Cline + +We're thrilled you're interested in contributing to Cline. Whether you're fixing a bug, adding a feature, or improving our docs, every contribution makes Cline smarter! To keep our community vibrant and welcoming, all members must adhere to our [Code of Conduct](CODE_OF_CONDUCT.md). + +## Reporting Bugs or Issues + +Bug reports help make Cline better for everyone! Before creating a new issue, please [search existing ones](https://github.com/cline/cline/issues) to avoid duplicates. When you're ready to report a bug, head over to our [issues page](https://github.com/cline/cline/issues/new/choose) where you'll find a template to help you with filling out the relevant information. + +
+ 🔐 Important: If you discover a security vulnerability, please use the Github security tool to report it privately. +
+ +## Deciding What to Work On + +Looking for a good first contribution? Check out issues labeled ["good first issue"](https://github.com/cline/cline/labels/good%20first%20issue) or ["help wanted"](https://github.com/cline/cline/labels/help%20wanted). These are specifically curated for new contributors and areas where we'd love some help! + +We also welcome contributions to our [documentation](https://github.com/cline/cline/tree/main/docs)! Whether it's fixing typos, improving existing guides, or creating new educational content - we'd love to build a community-driven repository of resources that helps everyone get the most out of Cline. You can start by diving into `/docs` and looking for areas that need improvement. + +If you're planning to work on a bigger feature, please create a [feature request](https://github.com/cline/cline/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop) first so we can discuss whether it aligns with Cline's vision. + +## Development Setup + +1. **VS Code Extensions** + + - When opening the project, VS Code will prompt you to install recommended extensions + - These extensions are required for development - please accept all installation prompts + - If you dismissed the prompts, you can install them manually from the Extensions panel + +2. **Local Development** + - Run `npm run install:all` to install dependencies + - Run `npm run test` to run tests locally + - Before submitting PR, run `npm run format:fix` to format your code + +## Writing and Submitting Code + +Anyone can contribute code to Cline, but we ask that you follow these guidelines to ensure your contributions can be smoothly integrated: + +1. **Keep Pull Requests Focused** + + - Limit PRs to a single feature or bug fix + - Split larger changes into smaller, related PRs + - Break changes into logical commits that can be reviewed independently + +2. **Code Quality** + + - Run `npm run lint` to check code style + - Run `npm run format` to automatically format code + - All PRs must pass CI checks which include both linting and formatting + - Address any ESLint warnings or errors before submitting + - Follow TypeScript best practices and maintain type safety + +3. **Testing** + + - Add tests for new features + - Run `npm test` to ensure all tests pass + - Update existing tests if your changes affect them + - Include both unit tests and integration tests where appropriate + +4. **Commit Guidelines** + + - Write clear, descriptive commit messages + - Use conventional commit format (e.g., "feat:", "fix:", "docs:") + - Reference relevant issues in commits using #issue-number + +5. **Before Submitting** + + - Rebase your branch on the latest main + - Ensure your branch builds successfully + - Double-check all tests are passing + - Review your changes for any debugging code or console logs + +6. **Pull Request Description** + - Clearly describe what your changes do + - Include steps to test the changes + - List any breaking changes + - Add screenshots for UI changes + +## Contribution Agreement + +By submitting a pull request, you agree that your contributions will be licensed under the same license as the project ([Apache 2.0](LICENSE)). + +Remember: Contributing to Cline isn't just about writing code - it's about being part of a community that's shaping the future of AI-assisted development. Let's build something amazing together! 🚀 diff --git a/locales/zh-cn/README.md b/locales/zh-cn/README.md new file mode 100644 index 0000000000..6fbe1d8215 --- /dev/null +++ b/locales/zh-cn/README.md @@ -0,0 +1,162 @@ +# Cline – \#1 on OpenRouter + +

+ +

+ +
+ + + + + + + + +
+在 VS Marketplace 下载 + +Discord + +r/cline + +功能请求 + +我们正在招聘! +
+
+ +认识 Cline,一个可以使用你的 **CLI** 和 **编辑器** 的 AI 助手。 + +感谢 [Claude 3.5 Sonnet 的代理编码能力](https://www-cdn.anthropic.com/fed9cc193a14b84131812372d8d5857f8f304c52/Model_Card_Claude_3_Addendum.pdf),Cline 可以一步步处理复杂的软件开发任务。通过允许他创建和编辑文件、探索大型项目、使用浏览器和执行终端命令(在你授予权限后),他可以提供超越代码完成或技术支持的帮助。Cline 甚至可以使用 Model Context Protocol (MCP) 创建新工具并扩展自己的能力。虽然自主 AI 脚本传统上在沙盒环境中运行,但此扩展提供了一个人机交互的 GUI 来批准每个文件更改和终端命令,提供了一种安全且可访问的方式来探索代理 AI 的潜力。 + +1. 输入你的任务并添加图像,将模型转换为功能应用程序或通过截图修复错误。 +2. Cline 首先分析你的文件结构和源代码 AST,运行正则表达式搜索,并阅读相关文件以了解现有项目。通过仔细管理添加到上下文中的信息,Cline 即使在大型复杂项目中也能提供有价值的帮助,而不会使上下文窗口过载。 +3. 一旦 Cline 获得所需信息,他可以: + - 创建和编辑文件 + 监控 linter/编译器错误,从而主动修复诸如缺少导入和语法错误等问题。 + - 直接在你的终端中执行命令并监控其输出,从而在编辑文件后对开发服务器问题做出反应。 + - 对于 Web 开发任务,Cline 可以在无头浏览器中启动网站,点击、输入、滚动并捕获截图和控制台日志,从而修复运行时错误和视觉错误。 +4. 当任务完成时,Cline 将通过终端命令如 `open -a "Google Chrome" index.html` 向你展示结果,你可以通过点击按钮运行该命令。 + +> [!提示] +> 使用 `CMD/CTRL + Shift + P` 快捷键打开命令面板并输入 "Cline: Open In New Tab" 将扩展作为标签在编辑器中打开。这让你可以与文件资源管理器并排使用 Cline,更清楚地看到他如何改变你的工作空间。 + +--- + + + +### 使用任何 API 和模型 + +Cline 支持 OpenRouter、Anthropic、OpenAI、Google Gemini、AWS Bedrock、Azure 和 GCP Vertex 等 API 提供商。你还可以配置任何兼容 OpenAI 的 API,或通过 LM Studio/Ollama 使用本地模型。如果你使用 OpenRouter,扩展会获取他们的最新模型列表,让你在新模型可用时立即使用。 + +扩展还会跟踪整个任务循环和单个请求的总令牌和 API 使用成本,让你在每一步都了解支出情况。 + + + +
+ + + +### 在终端中运行命令 + +感谢 VSCode v1.93 中的新 [终端 shell 集成更新](https://code.visualstudio.com/updates/v1_93#_terminal-shell-integration-api),Cline 可以直接在你的终端中执行命令并接收输出。这使他能够执行广泛的任务,从安装包和运行构建脚本到部署应用程序、管理数据库和执行测试,同时适应你的开发环境和工具链以正确完成工作。 + +对于长时间运行的进程如开发服务器,使用“在运行时继续”按钮让 Cline 在命令后台运行时继续任务。当 Cline 工作时,他会在过程中收到任何新的终端输出通知,让他对可能出现的问题做出反应,例如编辑文件时的编译时错误。 + + + +
+ + + +### 创建和编辑文件 + +Cline 可以直接在你的编辑器中创建和编辑文件,向你展示更改的差异视图。你可以直接在差异视图编辑器中编辑或恢复 Cline 的更改,或在聊天中提供反馈,直到你对结果满意。Cline 还会监控 linter/编译器错误(缺少导入、语法错误等),以便他在过程中自行修复出现的问题。 + +Cline 所做的所有更改都会记录在你的文件时间轴中,提供了一种简单的方法来跟踪和恢复修改(如果需要)。 + + + +
+ + + +### 使用浏览器 + +借助 Claude 3.5 Sonnet 的新 [计算机使用](https://www.anthropic.com/news/3-5-models-and-computer-use) 功能,Cline 可以启动浏览器,点击元素,输入文本和滚动,在每一步捕获截图和控制台日志。这允许进行交互式调试、端到端测试,甚至是一般的网页使用!这使他能够自主修复视觉错误和运行时问题,而无需你亲自操作和复制粘贴错误日志。 + +试试让 Cline “测试应用程序”,看看他如何运行 `npm run dev` 命令,在浏览器中启动你本地运行的开发服务器,并执行一系列测试以确认一切正常。[在这里查看演示。](https://x.com/sdrzn/status/1850880547825823989) + + + +
+ + + +### “添加一个工具……” + +感谢 [Model Context Protocol](https://github.com/modelcontextprotocol),Cline 可以通过自定义工具扩展他的能力。虽然你可以使用 [社区制作的服务器](https://github.com/modelcontextprotocol/servers),但 Cline 可以创建和安装适合你特定工作流程的工具。只需让 Cline “添加一个工具”,他将处理所有事情,从创建新的 MCP 服务器到将其安装到扩展中。这些自定义工具将成为 Cline 工具包的一部分,准备在未来的任务中使用。 + +- “添加一个获取 Jira 工单的工具”:检索工单 AC 并让 Cline 开始工作 +- “添加一个管理 AWS EC2 的工具”:检查服务器指标并上下扩展实例 +- “添加一个获取最新 PagerDuty 事件的工具”:获取详细信息并让 Cline 修复错误 + + + +
+ + + +### 添加上下文 + +**`@url`:** 粘贴一个 URL 以供扩展获取并转换为 markdown,当你想给 Cline 提供最新文档时非常有用 + +**`@problems`:** 添加工作区错误和警告(“问题”面板)以供 Cline 修复 + +**`@file`:** 添加文件内容,这样你就不必浪费 API 请求批准读取文件(+ 输入以搜索文件) + +**`@folder`:** 一次添加文件夹的文件,以进一步加快你的工作流程 + + + +
+ + + +### 检查点:比较和恢复 + +当 Cline 完成任务时,扩展会在每一步拍摄你的工作区快照。你可以使用“比较”按钮查看快照和当前工作区之间的差异,并使用“恢复”按钮回滚到该点。 + +例如,当使用本地 Web 服务器时,你可以使用“仅恢复工作区”快速测试应用程序的不同版本,然后在找到要继续构建的版本时使用“恢复任务和工作区”。这让你可以安全地探索不同的方法而不会丢失进度。 + + + +
+ +## 贡献 + +要为项目做出贡献,请从我们的 [贡献指南](CONTRIBUTING.md) 开始,了解基础知识。你还可以加入我们的 [Discord](https://discord.gg/cline) 在 `#contributors` 频道与其他贡献者聊天。如果你正在寻找全职工作,请查看我们在 [招聘页面](https://cline.bot/join-us) 上的开放职位! + +
+本地开发说明 + +1. 克隆仓库 _(需要 [git-lfs](https://git-lfs.com/))_: + ```bash + git clone https://github.com/cline/cline.git + ``` +2. 在 VSCode 中打开项目: + ```bash + code cline + ``` +3. 安装扩展和 webview-gui 的必要依赖: + ```bash + npm run install:all + ``` +4. 按 `F5`(或 `运行`->`开始调试`)启动以打开一个加载了扩展的新 VSCode 窗口。(如果你在构建项目时遇到问题,可能需要安装 [esbuild problem matchers 扩展](https://marketplace.visualstudio.com/items?itemName=connor4312.esbuild-problem-matchers)) + +
+ +## 许可证 + +[Apache 2.0 © 2024 Cline Bot Inc.](./LICENSE) + diff --git a/locales/zh-tw/CODE_OF_CONDUCT.md b/locales/zh-tw/CODE_OF_CONDUCT.md new file mode 100644 index 0000000000..3547e4628b --- /dev/null +++ b/locales/zh-tw/CODE_OF_CONDUCT.md @@ -0,0 +1,76 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +- Using welcoming and inclusive language +- Being respectful of differing viewpoints and experiences +- Gracefully accepting constructive criticism +- Focusing on what is best for the community +- Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +- The use of sexualized language or imagery and unwelcome sexual attention or + advances +- Trolling, insulting/derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or electronic + address, without explicit permission +- Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at hi@cline.bot. All complaints +will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see +https://www.contributor-covenant.org/faq diff --git a/locales/zh-tw/CONTRIBUTING.md b/locales/zh-tw/CONTRIBUTING.md new file mode 100644 index 0000000000..698a897c50 --- /dev/null +++ b/locales/zh-tw/CONTRIBUTING.md @@ -0,0 +1,82 @@ +# 貢獻於 Cline + +我們很高興您有興趣為 Cline 做出貢獻。無論您是修復錯誤、添加功能還是改進我們的文檔,每一個貢獻都讓 Cline 更加智能!為了保持我們的社區充滿活力和歡迎,所有成員必須遵守我們的[行為準則](CODE_OF_CONDUCT.md)。 + +## 報告錯誤或問題 + +錯誤報告有助於讓 Cline 對每個人都更好!在創建新問題之前,請[搜索現有問題](https://github.com/cline/cline/issues)以避免重複。當您準備報告錯誤時,請前往我們的[問題頁面](https://github.com/cline/cline/issues/new/choose),您會找到一個模板來幫助您填寫相關信息。 + +
+ 🔐 重要: 如果您發現安全漏洞,請使用Github 安全工具私下報告。 +
+ +## 決定要做什麼 + +尋找一個好的首次貢獻?查看標有["good first issue"](https://github.com/cline/cline/labels/good%20first%20issue)或["help wanted"](https://github.com/cline/cline/labels/help%20wanted)的問題。這些是專門為新貢獻者和我們希望得到幫助的領域策劃的! + +我們也歡迎對我們[文檔](https://github.com/cline/cline/tree/main/docs)的貢獻!無論是修正錯別字、改進現有指南還是創建新的教育內容 - 我們希望建立一個由社區驅動的資源庫,幫助每個人充分利用 Cline。您可以從深入研究 `/docs` 並尋找需要改進的領域開始。 + +如果您計劃開發一個更大的功能,請先創建一個[功能請求](https://github.com/cline/cline/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop),以便我們討論它是否符合 Cline 的願景。 + +## 開發設置 + +1. **VS Code 擴展** + + - 打開項目時,VS Code 會提示您安裝推薦的擴展 + - 這些擴展是開發所需的 - 請接受所有安裝提示 + - 如果您忽略了提示,可以從擴展面板手動安裝它們 + +2. **本地開發** + - 運行 `npm run install:all` 安裝依賴項 + - 運行 `npm run test` 本地運行測試 + - 提交 PR 之前,運行 `npm run format:fix` 格式化您的代碼 + +## 編寫和提交代碼 + +任何人都可以為 Cline 貢獻代碼,但我們要求您遵循以下指南,以確保您的貢獻能夠順利集成: + +1. **保持 Pull Requests 集中** + + - 將 PR 限制在單個功能或錯誤修復 + - 將較大的更改拆分為較小的相關 PR + - 將更改分為邏輯提交,可以獨立審查 + +2. **代碼質量** + + - 運行 `npm run lint` 檢查代碼風格 + - 運行 `npm run format` 自動格式化代碼 + - 所有 PR 必須通過包括 lint 和格式化在內的 CI 檢查 + - 提交前解決所有 ESLint 警告或錯誤 + - 遵循 TypeScript 最佳實踐並保持類型安全 + +3. **測試** + + - 為新功能添加測試 + - 運行 `npm test` 確保所有測試通過 + - 如果您的更改影響現有測試,請更新它們 + - 在適當的地方包括單元測試和集成測試 + +4. **提交指南** + + - 撰寫清晰、描述性的提交消息 + - 使用常規提交格式(例如 "feat:"、"fix:"、"docs:") + - 在提交中引用相關問題,使用 #issue-number + +5. **提交前** + + - 將您的分支重新基於最新的 main + - 確保您的分支成功構建 + - 仔細檢查所有測試是否通過 + - 檢查您的更改是否有任何調試代碼或控制台日誌 + +6. **Pull Request 描述** + - 清楚地描述您的更改內容 + - 包括測試更改的步驟 + - 列出任何重大更改 + - 為 UI 更改添加截圖 + +## 貢獻協議 + +通過提交 pull request,您同意您的貢獻將根據與項目相同的許可證([Apache 2.0](LICENSE))進行許可。 + +記住:貢獻於 Cline 不僅僅是編寫代碼 - 這是關於成為一個塑造 AI 輔助開發未來的社區的一部分。讓我們一起創造一些驚人的東西!🚀 diff --git a/locales/zh-tw/README.md b/locales/zh-tw/README.md new file mode 100644 index 0000000000..0325650d01 --- /dev/null +++ b/locales/zh-tw/README.md @@ -0,0 +1,161 @@ +# Cline – OpenRouter 上的 \#1 + +

+ +

+ +
+ + + + + + + + +
+在 VS Marketplace 下載 + +Discord + +r/cline + +功能請求 + +我們正在招聘! +
+
+ +認識 Cline,一個可以使用你的 **CLI** 和 **編輯器** 的 AI 助手。 + +感謝 [Claude 3.5 Sonnet 的代理編碼能力](https://www-cdn.anthropic.com/fed9cc193a14b84131812372d8d5857f8f304c52/Model_Card_Claude_3_Addendum.pdf),Cline 可以一步步處理複雜的軟件開發任務。通過允許他創建和編輯文件、探索大型項目、使用瀏覽器和執行終端命令(在你授予權限後),他可以提供超越代碼完成或技術支持的幫助。Cline 甚至可以使用 Model Context Protocol (MCP) 創建新工具並擴展自己的能力。雖然自主 AI 腳本傳統上在沙盒環境中運行,但此擴展提供了一個人機交互的 GUI 來批准每個文件更改和終端命令,提供了一種安全且可訪問的方式來探索代理 AI 的潛力。 + +1. 輸入你的任務並添加圖像,將模型轉換為功能應用程序或通過截圖修復錯誤。 +2. Cline 首先分析你的文件結構和源代碼 AST,運行正則表達式搜索,並閱讀相關文件以了解現有項目。通過仔細管理添加到上下文中的信息,Cline 即使在大型複雜項目中也能提供有價值的幫助,而不會使上下文窗口過載。 +3. 一旦 Cline 獲得所需信息,他可以: + - 創建和編輯文件 + 監控 linter/編譯器錯誤,從而主動修復諸如缺少導入和語法錯誤等問題。 + - 直接在你的終端中執行命令並監控其輸出,從而在編輯文件後對開發服務器問題做出反應。 + - 對於 Web 開發任務,Cline 可以在無頭瀏覽器中啟動網站,點擊、輸入、滾動並捕獲截圖和控制台日誌,從而修復運行時錯誤和視覺錯誤。 +4. 當任務完成時,Cline 將通過終端命令如 `open -a "Google Chrome" index.html` 向你展示結果,你可以通過點擊按鈕運行該命令。 + +> [!提示] +> 使用 `CMD/CTRL + Shift + P` 快捷鍵打開命令面板並輸入 "Cline: Open In New Tab" 將擴展作為標籤在編輯器中打開。這讓你可以與文件資源管理器並排使用 Cline,更清楚地看到他如何改變你的工作空間。 + +--- + + + +### 使用任何 API 和模型 + +Cline 支持 OpenRouter、Anthropic、OpenAI、Google Gemini、AWS Bedrock、Azure 和 GCP Vertex 等 API 提供商。你還可以配置任何兼容 OpenAI 的 API,或通過 LM Studio/Ollama 使用本地模型。如果你使用 OpenRouter,擴展會獲取他們的最新模型列表,讓你在新模型可用時立即使用。 + +擴展還會跟蹤整個任務循環和單個請求的總令牌和 API 使用成本,讓你在每一步都了解支出情況。 + + + +
+ + + +### 在終端中運行命令 + +感謝 VSCode v1.93 中的新 [終端 shell 集成更新](https://code.visualstudio.com/updates/v1_93#_terminal-shell-integration-api),Cline 可以直接在你的終端中執行命令並接收輸出。這使他能夠執行廣泛的任務,從安裝包和運行構建腳本到部署應用程序、管理數據庫和執行測試,同時適應你的開發環境和工具鏈以正確完成工作。 + +對於長時間運行的進程如開發服務器,使用“在運行時繼續”按鈕讓 Cline 在命令後台運行時繼續任務。當 Cline 工作時,他會在過程中收到任何新的終端輸出通知,讓他對可能出現的問題做出反應,例如編輯文件時的編譯時錯誤。 + + + +
+ + + +### 創建和編輯文件 + +Cline 可以直接在你的編輯器中創建和編輯文件,向你展示更改的差異視圖。你可以直接在差異視圖編輯器中編輯或恢復 Cline 的更改,或在聊天中提供反饋,直到你對結果滿意。Cline 還會監控 linter/編譯器錯誤(缺少導入、語法錯誤等),以便他在過程中自行修復出現的問題。 + +Cline 所做的所有更改都會記錄在你的文件時間軸中,提供了一種簡單的方法來跟蹤和恢復修改(如果需要)。 + + + +
+ + + +### 使用瀏覽器 + +借助 Claude 3.5 Sonnet 的新 [計算機使用](https://www.anthropic.com/news/3-5-models-and-computer-use) 功能,Cline 可以啟動瀏覽器,點擊元素,輸入文本和滾動,在每一步捕獲截圖和控制台日誌。這允許進行交互式調試、端到端測試,甚至是一般的網頁使用!這使他能夠自主修復視覺錯誤和運行時問題,而無需你親自操作和複製粘貼錯誤日誌。 + +試試讓 Cline “測試應用程序”,看看他如何運行 `npm run dev` 命令,在瀏覽器中啟動你本地運行的開發服務器,並執行一系列測試以確認一切正常。[在這裡查看演示。](https://x.com/sdrzn/status/1850880547825823989) + + + +
+ + + +### “添加一個工具……” + +感謝 [Model Context Protocol](https://github.com/modelcontextprotocol),Cline 可以通過自定義工具擴展他的能力。雖然你可以使用 [社區製作的服務器](https://github.com/modelcontextprotocol/servers),但 Cline 可以創建和安裝適合你特定工作流程的工具。只需讓 Cline “添加一個工具”,他將處理所有事情,從創建新的 MCP 服務器到將其安裝到擴展中。這些自定義工具將成為 Cline 工具包的一部分,準備在未來的任務中使用。 + +- “添加一個獲取 Jira 工單的工具”:檢索工單 AC 並讓 Cline 開始工作 +- “添加一個管理 AWS EC2 的工具”:檢查服務器指標並上下擴展實例 +- “添加一個獲取最新 PagerDuty 事件的工具”:獲取詳細信息並讓 Cline 修復錯誤 + + + +
+ + + +### 添加上下文 + +**`@url`:** 粘貼一個 URL 以供擴展獲取並轉換為 markdown,當你想給 Cline 提供最新文檔時非常有用 + +**`@problems`:** 添加工作區錯誤和警告(“問題”面板)以供 Cline 修復 + +**`@file`:** 添加文件內容,這樣你就不必浪費 API 請求批准讀取文件(+ 輸入以搜索文件) + +**`@folder`:** 一次添加文件夾的文件,以進一步加快你的工作流程 + + + +
+ + + +### 檢查點:比較和恢復 + +當 Cline 完成任務時,擴展會在每一步拍攝你的工作區快照。你可以使用“比較”按鈕查看快照和當前工作區之間的差異,並使用“恢復”按鈕回滾到該點。 + +例如,當使用本地 Web 服務器時,你可以使用“僅恢復工作區”快速測試應用程序的不同版本,然後在找到要繼續構建的版本時使用“恢復任務和工作區”。這讓你可以安全地探索不同的方法而不會丟失進度。 + + + +
+ +## 貢獻 + +要為項目做出貢獻,請從我們的 [貢獻指南](CONTRIBUTING.md) 開始,了解基礎知識。你還可以加入我們的 [Discord](https://discord.gg/cline) 在 `#contributors` 頻道與其他貢獻者聊天。如果你正在尋找全職工作,請查看我們在 [招聘頁面](https://cline.bot/join-us) 上的開放職位! + +
+本地開發說明 + +1. 克隆倉庫 _(需要 [git-lfs](https://git-lfs.com/))_: + ```bash + git clone https://github.com/cline/cline.git + ``` +2. 在 VSCode 中打開項目: + ```bash + code cline + ``` +3. 安裝擴展和 webview-gui 的必要依賴: + ```bash + npm run install:all + ``` +4. 按 `F5`(或 `運行`->`開始調試`)啟動以打開一個加載了擴展的新 VSCode 窗口。(如果你在構建項目時遇到問題,可能需要安裝 [esbuild problem matchers 擴展](https://marketplace.visualstudio.com/items?itemName=connor4312.esbuild-problem-matchers)) + +
+ +## 許可證 + +[Apache 2.0 © 2024 Cline Bot Inc.](./LICENSE) From 742d169601687e636a19983c67571fbdba5a8575 Mon Sep 17 00:00:00 2001 From: brownrw8 Date: Mon, 27 Jan 2025 10:41:30 -1000 Subject: [PATCH 2/9] typo --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 86ba0e501c..fa8919d10c 100644 --- a/README.md +++ b/README.md @@ -27,11 +27,11 @@ Other language [README files](./README.md) are available in: -- [Español](./locale/es/README.md) -- [Deutsch](./locale/de/README.md) -- [日本語](./locale/ja/README.md) -- [简体中文](./locale/zh-cn/README.md) -- [繁體中文](./locale/zh-tw/README.md) +- [Español](./locales/es/README.md) +- [Deutsch](./locales/de/README.md) +- [日本語](./locales/ja/README.md) +- [简体中文](./locales/zh-cn/README.md) +- [繁體中文](./locales/zh-tw/README.md) Thanks to [Claude 3.5 Sonnet's agentic coding capabilities](https://www-cdn.anthropic.com/fed9cc193a14b84131812372d8d5857f8f304c52/Model_Card_Claude_3_Addendum.pdf), Cline can handle complex software development tasks step-by-step. With tools that let him create & edit files, explore large projects, use the browser, and execute terminal commands (after you grant permission), he can assist you in ways that go beyond code completion or tech support. Cline can even use the Model Context Protocol (MCP) to create new tools and extend his own capabilities. While autonomous AI scripts traditionally run in sandboxed environments, this extension provides a human-in-the-loop GUI to approve every file change and terminal command, providing a safe and accessible way to explore the potential of agentic AI. From 26c6a0105c1c0177f405cf57f312f1e74aa67b76 Mon Sep 17 00:00:00 2001 From: brownrw8 Date: Mon, 27 Jan 2025 10:48:29 -1000 Subject: [PATCH 3/9] spanish and other languages --- locales/es/CODE_OF_CONDUCT.md | 105 +++++++++++++++---------------- locales/ja/CODE_OF_CONDUCT.md | 83 ++++++++---------------- locales/ja/CONTRIBUTING.md | 104 +++++++++++++++--------------- locales/zh-cn/CODE_OF_CONDUCT.md | 85 +++++++++---------------- locales/zh-cn/CONTRIBUTING.md | 104 +++++++++++++++--------------- locales/zh-tw/CODE_OF_CONDUCT.md | 83 ++++++++---------------- 6 files changed, 236 insertions(+), 328 deletions(-) diff --git a/locales/es/CODE_OF_CONDUCT.md b/locales/es/CODE_OF_CONDUCT.md index 3547e4628b..82fe929eda 100644 --- a/locales/es/CODE_OF_CONDUCT.md +++ b/locales/es/CODE_OF_CONDUCT.md @@ -1,76 +1,71 @@ -# Contributor Covenant Code of Conduct +# Código de Conducta para Contribuyentes -## Our Pledge +## Nuestro Compromiso -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, sex characteristics, gender identity and expression, -level of experience, education, socio-economic status, nationality, personal -appearance, race, religion, or sexual identity and orientation. +En el interés de fomentar un entorno abierto y acogedor, nosotros como +contribuyentes y mantenedores nos comprometemos a hacer de la participación en nuestro proyecto y +nuestra comunidad una experiencia libre de acoso para todos, independientemente de la edad, tamaño corporal, +discapacidad, etnia, características sexuales, identidad y expresión de género, +nivel de experiencia, educación, estatus socioeconómico, nacionalidad, apariencia personal, +raza, religión o identidad y orientación sexual. -## Our Standards +## Nuestros Estándares -Examples of behavior that contributes to creating a positive environment -include: +Ejemplos de comportamientos que contribuyen a crear un entorno positivo incluyen: -- Using welcoming and inclusive language -- Being respectful of differing viewpoints and experiences -- Gracefully accepting constructive criticism -- Focusing on what is best for the community -- Showing empathy towards other community members +- Uso de un lenguaje acogedor e inclusivo +- Respeto a diferentes puntos de vista y experiencias +- Aceptar de manera constructiva las críticas +- Centrarse en lo que es mejor para la comunidad +- Mostrar empatía hacia otros miembros de la comunidad -Examples of unacceptable behavior by participants include: +Ejemplos de comportamientos inaceptables por parte de los participantes incluyen: -- The use of sexualized language or imagery and unwelcome sexual attention or - advances -- Trolling, insulting/derogatory comments, and personal or political attacks -- Public or private harassment -- Publishing others' private information, such as a physical or electronic - address, without explicit permission -- Other conduct which could reasonably be considered inappropriate in a - professional setting +- El uso de lenguaje o imágenes sexualizadas y la atención o avances sexuales no deseados +- Trollear, comentarios insultantes/despectivos y ataques personales o políticos +- Acoso público o privado +- Publicar información privada de otros, como una dirección física o electrónica, + sin permiso explícito +- Otras conductas que podrían considerarse inapropiadas en un entorno profesional -## Our Responsibilities +## Nuestras Responsabilidades -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. +Los mantenedores del proyecto son responsables de aclarar los estándares de comportamiento aceptable +y se espera que tomen medidas correctivas apropiadas y justas en respuesta a cualquier +caso de comportamiento inaceptable. -Project maintainers have the right and responsibility to remove, edit, or -reject comments, commits, code, wiki edits, issues, and other contributions -that are not aligned to this Code of Conduct, or to ban temporarily or -permanently any contributor for other behaviors that they deem inappropriate, -threatening, offensive, or harmful. +Los mantenedores del proyecto tienen el derecho y la responsabilidad de eliminar, editar o rechazar +comentarios, commits, código, ediciones de wiki, issues y otras contribuciones que no estén alineadas con este Código de Conducta, o de prohibir temporal o permanentemente a cualquier contribuyente cuyo comportamiento sea inapropiado, +amenazante, ofensivo o dañino. -## Scope +## Alcance -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. +Este Código de Conducta se aplica tanto dentro de los espacios del proyecto como en espacios públicos +cuando una persona representa el proyecto o su comunidad. Ejemplos de +representación de un proyecto o comunidad incluyen el uso de una dirección de correo electrónico oficial del proyecto, +publicar en una cuenta oficial de redes sociales o actuar como un representante designado +en un evento en línea o fuera de línea. La representación de un proyecto puede +ser definida y clarificada más específicamente por los mantenedores del proyecto. -## Enforcement +## Aplicación -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at hi@cline.bot. All complaints -will be reviewed and investigated and will result in a response that -is deemed necessary and appropriate to the circumstances. The project team is -obligated to maintain confidentiality with regard to the reporter of an incident. -Further details of specific enforcement policies may be posted separately. +Los casos de comportamiento abusivo, acosador o inaceptable de otra manera pueden +ser reportados contactando al equipo del proyecto en hi@cline.bot. Todas las quejas +serán revisadas e investigadas y resultarán en una respuesta que +se considere necesaria y apropiada a las circunstancias. El equipo del proyecto está +obligado a mantener la confidencialidad con respecto al informante de un incidente. +Más detalles sobre políticas específicas de aplicación pueden ser publicados por separado. -Project maintainers who do not follow or enforce the Code of Conduct in good -faith may face temporary or permanent repercussions as determined by other -members of the project's leadership. +Los mantenedores del proyecto que no sigan o hagan cumplir el Código de Conducta de buena +fe pueden enfrentar repercusiones temporales o permanentes según lo determinen otros +miembros de la dirección del proyecto. -## Attribution +## Atribución -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, -available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html +Este Código de Conducta está adaptado del [Contributor Covenant][homepage], versión 1.4, +disponible en https://www.contributor-covenant.org/version/1/4/code-of-conduct.html [homepage]: https://www.contributor-covenant.org -For answers to common questions about this code of conduct, see +Respuestas a preguntas frecuentes sobre este Código de Conducta se pueden encontrar en https://www.contributor-covenant.org/faq diff --git a/locales/ja/CODE_OF_CONDUCT.md b/locales/ja/CODE_OF_CONDUCT.md index 3547e4628b..a2c673a94d 100644 --- a/locales/ja/CODE_OF_CONDUCT.md +++ b/locales/ja/CODE_OF_CONDUCT.md @@ -1,76 +1,47 @@ -# Contributor Covenant Code of Conduct +# コントリビューター規約行動規範 -## Our Pledge +## 我々の誓い -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, sex characteristics, gender identity and expression, -level of experience, education, socio-economic status, nationality, personal -appearance, race, religion, or sexual identity and orientation. +オープンで歓迎される環境を育むために、我々はコントリビューターおよびメンテナーとして、年齢、体型、障害、民族、性の特徴、性別のアイデンティティおよび表現、経験のレベル、教育、社会経済的地位、国籍、個人の外見、人種、宗教、または性的アイデンティティおよび指向に関係なく、プロジェクトおよびコミュニティへの参加がハラスメントのない体験となるよう誓います。 -## Our Standards +## 我々の基準 -Examples of behavior that contributes to creating a positive environment -include: +ポジティブな環境を作り出す行動の例としては、以下のものがあります: -- Using welcoming and inclusive language -- Being respectful of differing viewpoints and experiences -- Gracefully accepting constructive criticism -- Focusing on what is best for the community -- Showing empathy towards other community members +- 歓迎的で包括的な言葉を使うこと +- 異なる視点や経験を尊重すること +- 建設的な批判を優雅に受け入れること +- コミュニティのために最善を尽くすことに集中すること +- 他のコミュニティメンバーに対して共感を示すこと -Examples of unacceptable behavior by participants include: +参加者による許容できない行動の例としては、以下のものがあります: -- The use of sexualized language or imagery and unwelcome sexual attention or - advances -- Trolling, insulting/derogatory comments, and personal or political attacks -- Public or private harassment -- Publishing others' private information, such as a physical or electronic - address, without explicit permission -- Other conduct which could reasonably be considered inappropriate in a - professional setting +- 性的な言葉や画像の使用、望まれない性的関心やアプローチ +- 荒らし、侮辱的/軽蔑的なコメント、個人的または政治的な攻撃 +- 公的または私的なハラスメント +- 明示的な許可なしに他人の個人情報(物理的または電子的な住所など)を公開すること +- プロフェッショナルな環境で不適切と合理的に見なされるその他の行動 -## Our Responsibilities +## 我々の責任 -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. +プロジェクトのメンテナーは、許容される行動の基準を明確にする責任があり、不適切な行動の事例に対して適切かつ公平な是正措置を講じることが期待されています。 -Project maintainers have the right and responsibility to remove, edit, or -reject comments, commits, code, wiki edits, issues, and other contributions -that are not aligned to this Code of Conduct, or to ban temporarily or -permanently any contributor for other behaviors that they deem inappropriate, -threatening, offensive, or harmful. +プロジェクトのメンテナーは、この行動規範に沿わないコメント、コミット、コード、ウィキの編集、問題、およびその他の貢献を削除、編集、または拒否する権利と責任を持ち、また、不適切、脅迫的、攻撃的、または有害と見なされるその他の行動を行ったコントリビューターを一時的または永久に禁止する権利と責任を持ちます。 -## Scope +## 範囲 -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. +この行動規範は、プロジェクトスペース内およびプロジェクトやコミュニティを代表する個人が公の場で行動する場合に適用されます。プロジェクトやコミュニティを代表する例としては、公式のプロジェクトメールアドレスを使用すること、公式のソーシャルメディアアカウントを通じて投稿すること、またはオンラインまたはオフラインのイベントで任命された代表として行動することが含まれます。プロジェクトの代表としての行動は、プロジェクトのメンテナーによってさらに定義および明確化される場合があります。 -## Enforcement +## 執行 -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at hi@cline.bot. All complaints -will be reviewed and investigated and will result in a response that -is deemed necessary and appropriate to the circumstances. The project team is -obligated to maintain confidentiality with regard to the reporter of an incident. -Further details of specific enforcement policies may be posted separately. +虐待的、嫌がらせ、またはその他の許容できない行動の事例は、プロジェクトチームに hi@cline.bot まで報告することができます。すべての苦情はレビューおよび調査され、状況に応じて必要かつ適切な対応が行われます。プロジェクトチームは、事件の報告者に関する機密性を保持する義務があります。具体的な執行ポリシーの詳細は別途掲載される場合があります。 -Project maintainers who do not follow or enforce the Code of Conduct in good -faith may face temporary or permanent repercussions as determined by other -members of the project's leadership. +行動規範を誠実に遵守または執行しないプロジェクトのメンテナーは、プロジェクトのリーダーシップの他のメンバーによって一時的または永久的な影響を受ける可能性があります。 -## Attribution +## 帰属 -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, -available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html +この行動規範は、[Contributor Covenant][homepage] バージョン 1.4 から適応されており、https://www.contributor-covenant.org/version/1/4/code-of-conduct.html で入手できます。 [homepage]: https://www.contributor-covenant.org -For answers to common questions about this code of conduct, see -https://www.contributor-covenant.org/faq +この行動規範に関する一般的な質問への回答については、https://www.contributor-covenant.org/faq を参照してください。 diff --git a/locales/ja/CONTRIBUTING.md b/locales/ja/CONTRIBUTING.md index 75edd9ed43..62544e27cb 100644 --- a/locales/ja/CONTRIBUTING.md +++ b/locales/ja/CONTRIBUTING.md @@ -1,82 +1,82 @@ -# Contributing to Cline +# Clineへの貢献 -We're thrilled you're interested in contributing to Cline. Whether you're fixing a bug, adding a feature, or improving our docs, every contribution makes Cline smarter! To keep our community vibrant and welcoming, all members must adhere to our [Code of Conduct](CODE_OF_CONDUCT.md). +Clineへの貢献に興味をお持ちいただきありがとうございます。 -## Reporting Bugs or Issues +## バグや問題の報告 -Bug reports help make Cline better for everyone! Before creating a new issue, please [search existing ones](https://github.com/cline/cline/issues) to avoid duplicates. When you're ready to report a bug, head over to our [issues page](https://github.com/cline/cline/issues/new/choose) where you'll find a template to help you with filling out the relevant information. +バグ報告は、Clineを皆さんにとってより良いものにするために役立ちます!新しい問題を作成する前に、重複を避けるために[既存の問題を検索](https://github.com/cline/cline/issues)してください。バグを報告する準備ができたら、[問題ページ](https://github.com/cline/cline/issues/new/choose)に移動し、関連情報を記入するためのテンプレートをご利用ください。
- 🔐 Important: If you discover a security vulnerability, please use the Github security tool to report it privately. + 🔐 重要: セキュリティ脆弱性を発見した場合は、Githubセキュリティツールを使用して非公開で報告してください。
-## Deciding What to Work On +## 作業内容の決定 -Looking for a good first contribution? Check out issues labeled ["good first issue"](https://github.com/cline/cline/labels/good%20first%20issue) or ["help wanted"](https://github.com/cline/cline/labels/help%20wanted). These are specifically curated for new contributors and areas where we'd love some help! +最初の貢献をお探しですか?["good first issue"](https://github.com/cline/cline/labels/good%20first%20issue)や["help wanted"](https://github.com/cline/cline/labels/help%20wanted)のラベルが付いた問題をチェックしてください。これらは新しい貢献者向けに特に選ばれたもので、私たちが助けを求めている分野です! -We also welcome contributions to our [documentation](https://github.com/cline/cline/tree/main/docs)! Whether it's fixing typos, improving existing guides, or creating new educational content - we'd love to build a community-driven repository of resources that helps everyone get the most out of Cline. You can start by diving into `/docs` and looking for areas that need improvement. +また、[ドキュメント](https://github.com/cline/cline/tree/main/docs)への貢献も歓迎します!誤字の修正、既存のガイドの改善、新しい教育コンテンツの作成など、コミュニティ主導のリソースリポジトリを構築するために皆さんの力をお借りしたいと考えています。`/docs`に飛び込んで、改善が必要な箇所を探してみてください。 -If you're planning to work on a bigger feature, please create a [feature request](https://github.com/cline/cline/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop) first so we can discuss whether it aligns with Cline's vision. +大きな機能に取り組む予定がある場合は、まず[機能リクエスト](https://github.com/cline/cline/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop)を作成し、それがClineのビジョンに合致するかどうかを議論しましょう。 -## Development Setup +## 開発環境のセットアップ -1. **VS Code Extensions** +1. **VS Code拡張機能** - - When opening the project, VS Code will prompt you to install recommended extensions - - These extensions are required for development - please accept all installation prompts - - If you dismissed the prompts, you can install them manually from the Extensions panel + - プロジェクトを開くと、VS Codeは推奨される拡張機能のインストールを促します + - これらの拡張機能は開発に必要です - すべてのインストールプロンプトを受け入れてください + - プロンプトを閉じた場合は、拡張機能パネルから手動でインストールできます -2. **Local Development** - - Run `npm run install:all` to install dependencies - - Run `npm run test` to run tests locally - - Before submitting PR, run `npm run format:fix` to format your code +2. **ローカル開発** + - `npm run install:all`を実行して依存関係をインストールします + - `npm run test`を実行してローカルでテストを実行します + - PRを提出する前に、`npm run format:fix`を実行してコードをフォーマットします -## Writing and Submitting Code +## コードの作成と提出 -Anyone can contribute code to Cline, but we ask that you follow these guidelines to ensure your contributions can be smoothly integrated: +誰でもClineにコードを貢献できますが、貢献がスムーズに統合されるように以下のガイドラインに従ってください: -1. **Keep Pull Requests Focused** +1. **プルリクエストを集中させる** - - Limit PRs to a single feature or bug fix - - Split larger changes into smaller, related PRs - - Break changes into logical commits that can be reviewed independently + - PRは単一の機能またはバグ修正に限定してください + - 大きな変更は小さな関連PRに分割してください + - 論理的なコミットに分けて、独立してレビューできるようにしてください -2. **Code Quality** +2. **コード品質** - - Run `npm run lint` to check code style - - Run `npm run format` to automatically format code - - All PRs must pass CI checks which include both linting and formatting - - Address any ESLint warnings or errors before submitting - - Follow TypeScript best practices and maintain type safety + - `npm run lint`を実行してコードスタイルをチェックします + - `npm run format`を実行してコードを自動的にフォーマットします + - すべてのPRは、リンティングとフォーマットを含むCIチェックに合格する必要があります + - 提出前にESLintの警告やエラーをすべて解決してください + - TypeScriptのベストプラクティスに従い、型の安全性を維持してください -3. **Testing** +3. **テスト** - - Add tests for new features - - Run `npm test` to ensure all tests pass - - Update existing tests if your changes affect them - - Include both unit tests and integration tests where appropriate + - 新しい機能にはテストを追加してください + - `npm test`を実行してすべてのテストが合格することを確認してください + - 変更が既存のテストに影響を与える場合は、それらを更新してください + - 適切な場合には、ユニットテストと統合テストの両方を含めてください -4. **Commit Guidelines** +4. **コミットガイドライン** - - Write clear, descriptive commit messages - - Use conventional commit format (e.g., "feat:", "fix:", "docs:") - - Reference relevant issues in commits using #issue-number + - 明確で説明的なコミットメッセージを書いてください + - 従来のコミット形式(例:"feat:", "fix:", "docs:")を使用してください + - コミットで関連する問題を#issue-numberを使用して参照してください -5. **Before Submitting** +5. **提出前に** - - Rebase your branch on the latest main - - Ensure your branch builds successfully - - Double-check all tests are passing - - Review your changes for any debugging code or console logs + - 最新のmainにブランチをリベースしてください + - ブランチが正常にビルドされることを確認してください + - すべてのテストが合格していることを再確認してください + - デバッグコードやコンソールログがないか変更を確認してください -6. **Pull Request Description** - - Clearly describe what your changes do - - Include steps to test the changes - - List any breaking changes - - Add screenshots for UI changes +6. **プルリクエストの説明** + - 変更内容を明確に説明してください + - 変更をテストする手順を含めてください + - 破壊的な変更がある場合はリストしてください + - UIの変更にはスクリーンショットを追加してください -## Contribution Agreement +## 貢献契約 -By submitting a pull request, you agree that your contributions will be licensed under the same license as the project ([Apache 2.0](LICENSE)). +プルリクエストを提出することで、あなたの貢献がプロジェクトと同じライセンス([Apache 2.0](LICENSE))の下でライセンスされることに同意したことになります。 -Remember: Contributing to Cline isn't just about writing code - it's about being part of a community that's shaping the future of AI-assisted development. Let's build something amazing together! 🚀 +覚えておいてください:Clineへの貢献はコードを書くことだけではなく、AI支援開発の未来を形作るコミュニティの一員になることです。一緒に素晴らしいものを作りましょう!🚀 diff --git a/locales/zh-cn/CODE_OF_CONDUCT.md b/locales/zh-cn/CODE_OF_CONDUCT.md index 3547e4628b..41229538e1 100644 --- a/locales/zh-cn/CODE_OF_CONDUCT.md +++ b/locales/zh-cn/CODE_OF_CONDUCT.md @@ -1,76 +1,47 @@ -# Contributor Covenant Code of Conduct +# 贡献者公约行为准则 -## Our Pledge +## 我们的承诺 -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, sex characteristics, gender identity and expression, -level of experience, education, socio-economic status, nationality, personal -appearance, race, religion, or sexual identity and orientation. +为了营造一个开放和欢迎的环境,我们作为贡献者和维护者承诺让我们的项目和社区的参与体验对每个人都无骚扰,无论年龄、体型、残疾、种族、性别特征、性别认同和表达、经验水平、教育程度、社会经济地位、国籍、个人外貌、种族、宗教或性取向。 -## Our Standards +## 我们的标准 -Examples of behavior that contributes to creating a positive environment -include: +有助于创造积极环境的行为示例包括: -- Using welcoming and inclusive language -- Being respectful of differing viewpoints and experiences -- Gracefully accepting constructive criticism -- Focusing on what is best for the community -- Showing empathy towards other community members +- 使用欢迎和包容的语言 +- 尊重不同的观点和经验 +- 优雅地接受建设性的批评 +- 专注于对社区最有利的事情 +- 对其他社区成员表现出同理心 -Examples of unacceptable behavior by participants include: +参与者不可接受的行为示例包括: -- The use of sexualized language or imagery and unwelcome sexual attention or - advances -- Trolling, insulting/derogatory comments, and personal or political attacks -- Public or private harassment -- Publishing others' private information, such as a physical or electronic - address, without explicit permission -- Other conduct which could reasonably be considered inappropriate in a - professional setting +- 使用性化语言或图像以及不受欢迎的性关注或挑逗 +- 故意挑衅、侮辱/贬低性评论和个人或政治攻击 +- 公开或私下骚扰 +- 未经明确许可发布他人的私人信息,如物理或电子地址 +- 其他在专业环境中合理认为不适当的行为 -## Our Responsibilities +## 我们的责任 -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. +项目维护者有责任澄清可接受行为的标准,并期望对任何不可接受行为采取适当和公平的纠正措施。 -Project maintainers have the right and responsibility to remove, edit, or -reject comments, commits, code, wiki edits, issues, and other contributions -that are not aligned to this Code of Conduct, or to ban temporarily or -permanently any contributor for other behaviors that they deem inappropriate, -threatening, offensive, or harmful. +项目维护者有权利和责任删除、编辑或拒绝与本行为准则不一致的评论、提交、代码、维基编辑、问题和其他贡献,或暂时或永久禁止任何贡献者进行他们认为不适当、威胁、冒犯或有害的其他行为。 -## Scope +## 适用范围 -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. +本行为准则适用于项目空间内和公共空间中代表项目或其社区的个人。代表项目或社区的示例包括使用官方项目电子邮件地址,通过官方社交媒体账户发布,或在在线或离线活动中作为指定代表。项目的代表性可能由项目维护者进一步定义和澄清。 -## Enforcement +## 执行 -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at hi@cline.bot. All complaints -will be reviewed and investigated and will result in a response that -is deemed necessary and appropriate to the circumstances. The project team is -obligated to maintain confidentiality with regard to the reporter of an incident. -Further details of specific enforcement policies may be posted separately. +滥用、骚扰或其他不可接受行为的实例可以通过联系项目团队 hi@cline.bot 报告。所有投诉将被审查和调查,并将导致根据情况认为必要和适当的回应。项目团队有义务对事件报告者保密。具体执行政策的详细信息可能会单独发布。 -Project maintainers who do not follow or enforce the Code of Conduct in good -faith may face temporary or permanent repercussions as determined by other -members of the project's leadership. +未能善意遵守或执行行为准则的项目维护者可能会面临由项目领导的其他成员决定的临时或永久后果。 -## Attribution +## 归属 -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, -available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html +本行为准则改编自 [贡献者公约][主页],版本 1.4,可在 https://www.contributor-covenant.org/version/1/4/code-of-conduct.html 获取。 -[homepage]: https://www.contributor-covenant.org +[主页]: https://www.contributor-covenant.org -For answers to common questions about this code of conduct, see -https://www.contributor-covenant.org/faq +有关此行为准则的常见问题的答案,请参见 https://www.contributor-covenant.org/faq diff --git a/locales/zh-cn/CONTRIBUTING.md b/locales/zh-cn/CONTRIBUTING.md index 75edd9ed43..f528d7c33f 100644 --- a/locales/zh-cn/CONTRIBUTING.md +++ b/locales/zh-cn/CONTRIBUTING.md @@ -1,82 +1,82 @@ -# Contributing to Cline +# 贡献到 Cline -We're thrilled you're interested in contributing to Cline. Whether you're fixing a bug, adding a feature, or improving our docs, every contribution makes Cline smarter! To keep our community vibrant and welcoming, all members must adhere to our [Code of Conduct](CODE_OF_CONDUCT.md). +我们很高兴您有兴趣为 Cline 做出贡献。无论您是修复错误、添加功能还是改进我们的文档,每一份贡献都让 Cline 更加智能!为了保持我们的社区充满活力和欢迎,所有成员必须遵守我们的[行为准则](CODE_OF_CONDUCT.md)。 -## Reporting Bugs or Issues +## 报告错误或问题 -Bug reports help make Cline better for everyone! Before creating a new issue, please [search existing ones](https://github.com/cline/cline/issues) to avoid duplicates. When you're ready to report a bug, head over to our [issues page](https://github.com/cline/cline/issues/new/choose) where you'll find a template to help you with filling out the relevant information. +错误报告有助于让 Cline 对每个人都更好!在创建新问题之前,请先[搜索现有问题](https://github.com/cline/cline/issues)以避免重复。当您准备好报告错误时,请前往我们的[问题页面](https://github.com/cline/cline/issues/new/choose),在那里您会找到一个模板来帮助您填写相关信息。
- 🔐 Important: If you discover a security vulnerability, please use the Github security tool to report it privately. + 🔐 重要:如果您发现安全漏洞,请使用Github 安全工具私下报告
-## Deciding What to Work On +## 决定要做什么 -Looking for a good first contribution? Check out issues labeled ["good first issue"](https://github.com/cline/cline/labels/good%20first%20issue) or ["help wanted"](https://github.com/cline/cline/labels/help%20wanted). These are specifically curated for new contributors and areas where we'd love some help! +寻找一个好的首次贡献?查看标记为["good first issue"](https://github.com/cline/cline/labels/good%20first%20issue)或["help wanted"](https://github.com/cline/cline/labels/help%20wanted)的问题。这些是专门为新贡献者策划的领域,我们非常欢迎您的帮助! -We also welcome contributions to our [documentation](https://github.com/cline/cline/tree/main/docs)! Whether it's fixing typos, improving existing guides, or creating new educational content - we'd love to build a community-driven repository of resources that helps everyone get the most out of Cline. You can start by diving into `/docs` and looking for areas that need improvement. +我们也欢迎对我们的[文档](https://github.com/cline/cline/tree/main/docs)做出贡献!无论是修正错别字、改进现有指南,还是创建新的教育内容 - 我们希望建立一个社区驱动的资源库,帮助每个人充分利用 Cline。您可以从深入研究 `/docs` 并寻找需要改进的地方开始。 -If you're planning to work on a bigger feature, please create a [feature request](https://github.com/cline/cline/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop) first so we can discuss whether it aligns with Cline's vision. +如果您计划开发一个更大的功能,请先创建一个[功能请求](https://github.com/cline/cline/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop),以便我们讨论它是否符合 Cline 的愿景。 -## Development Setup +## 开发设置 -1. **VS Code Extensions** +1. **VS Code 扩展** - - When opening the project, VS Code will prompt you to install recommended extensions - - These extensions are required for development - please accept all installation prompts - - If you dismissed the prompts, you can install them manually from the Extensions panel + - 打开项目时,VS Code 会提示您安装推荐的扩展 + - 这些扩展是开发所必需的 - 请接受所有安装提示 + - 如果您忽略了提示,可以从扩展面板手动安装它们 -2. **Local Development** - - Run `npm run install:all` to install dependencies - - Run `npm run test` to run tests locally - - Before submitting PR, run `npm run format:fix` to format your code +2. **本地开发** + - 运行 `npm run install:all` 安装依赖项 + - 运行 `npm run test` 本地运行测试 + - 提交 PR 之前,运行 `npm run format:fix` 格式化您的代码 -## Writing and Submitting Code +## 编写和提交代码 -Anyone can contribute code to Cline, but we ask that you follow these guidelines to ensure your contributions can be smoothly integrated: +任何人都可以为 Cline 贡献代码,但我们要求您遵循以下指南,以确保您的贡献能够顺利集成: -1. **Keep Pull Requests Focused** +1. **保持 Pull Request 集中** - - Limit PRs to a single feature or bug fix - - Split larger changes into smaller, related PRs - - Break changes into logical commits that can be reviewed independently + - 将 PR 限制为单个功能或错误修复 + - 将较大的更改拆分为较小的相关 PR + - 将更改分为逻辑提交,以便独立审查 -2. **Code Quality** +2. **代码质量** - - Run `npm run lint` to check code style - - Run `npm run format` to automatically format code - - All PRs must pass CI checks which include both linting and formatting - - Address any ESLint warnings or errors before submitting - - Follow TypeScript best practices and maintain type safety + - 运行 `npm run lint` 检查代码风格 + - 运行 `npm run format` 自动格式化代码 + - 所有 PR 必须通过 CI 检查,包括 lint 和格式化 + - 提交前解决所有 ESLint 警告或错误 + - 遵循 TypeScript 最佳实践并保持类型安全 -3. **Testing** +3. **测试** - - Add tests for new features - - Run `npm test` to ensure all tests pass - - Update existing tests if your changes affect them - - Include both unit tests and integration tests where appropriate + - 为新功能添加测试 + - 运行 `npm test` 确保所有测试通过 + - 如果您的更改影响现有测试,请更新它们 + - 在适当的情况下包括单元测试和集成测试 -4. **Commit Guidelines** +4. **提交指南** - - Write clear, descriptive commit messages - - Use conventional commit format (e.g., "feat:", "fix:", "docs:") - - Reference relevant issues in commits using #issue-number + - 编写清晰、描述性的提交消息 + - 使用常规提交格式(例如,“feat:”,“fix:”,“docs:”) + - 在提交中引用相关问题,使用 #issue-number -5. **Before Submitting** +5. **提交前** - - Rebase your branch on the latest main - - Ensure your branch builds successfully - - Double-check all tests are passing - - Review your changes for any debugging code or console logs + - 将您的分支重新基于最新的 main + - 确保您的分支成功构建 + - 仔细检查所有测试是否通过 + - 检查您的更改是否有任何调试代码或控制台日志 -6. **Pull Request Description** - - Clearly describe what your changes do - - Include steps to test the changes - - List any breaking changes - - Add screenshots for UI changes +6. **Pull Request 描述** + - 清楚描述您的更改内容 + - 包括测试更改的步骤 + - 列出任何重大更改 + - 对于 UI 更改,添加截图 -## Contribution Agreement +## 贡献协议 -By submitting a pull request, you agree that your contributions will be licensed under the same license as the project ([Apache 2.0](LICENSE)). +通过提交 pull request,您同意您的贡献将根据与项目相同的许可证([Apache 2.0](LICENSE))进行许可。 -Remember: Contributing to Cline isn't just about writing code - it's about being part of a community that's shaping the future of AI-assisted development. Let's build something amazing together! 🚀 +记住:为 Cline 做贡献不仅仅是编写代码 - 这是成为一个社区的一部分,共同塑造 AI 辅助开发的未来。让我们一起构建一些令人惊叹的东西!🚀 diff --git a/locales/zh-tw/CODE_OF_CONDUCT.md b/locales/zh-tw/CODE_OF_CONDUCT.md index 3547e4628b..9f8791ecd9 100644 --- a/locales/zh-tw/CODE_OF_CONDUCT.md +++ b/locales/zh-tw/CODE_OF_CONDUCT.md @@ -1,76 +1,47 @@ -# Contributor Covenant Code of Conduct +# 貢獻者公約行為準則 -## Our Pledge +## 我們的承諾 -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, sex characteristics, gender identity and expression, -level of experience, education, socio-economic status, nationality, personal -appearance, race, religion, or sexual identity and orientation. +為了促進一個開放和歡迎的環境,我們作為貢獻者和維護者承諾,使我們的項目和社區的參與對每個人來說都是一個無騷擾的體驗,不論年齡、體型、殘疾、種族、性別特徵、性別認同和表達、經驗水平、教育程度、社會經濟地位、國籍、個人外貌、種族、宗教或性取向。 -## Our Standards +## 我們的標準 -Examples of behavior that contributes to creating a positive environment -include: +有助於創造積極環境的行為示例包括: -- Using welcoming and inclusive language -- Being respectful of differing viewpoints and experiences -- Gracefully accepting constructive criticism -- Focusing on what is best for the community -- Showing empathy towards other community members +- 使用歡迎和包容的語言 +- 尊重不同的觀點和經驗 +- 優雅地接受建設性的批評 +- 專注於對社區最有利的事情 +- 對其他社區成員表示同情 -Examples of unacceptable behavior by participants include: +參與者不可接受的行為示例包括: -- The use of sexualized language or imagery and unwelcome sexual attention or - advances -- Trolling, insulting/derogatory comments, and personal or political attacks -- Public or private harassment -- Publishing others' private information, such as a physical or electronic - address, without explicit permission -- Other conduct which could reasonably be considered inappropriate in a - professional setting +- 使用性化語言或圖像以及不受歡迎的性注意或挑逗 +- 騷擾、侮辱/貶低性評論和個人或政治攻擊 +- 公開或私下騷擾 +- 未經明確許可發布他人的私人信息,例如物理或電子地址 +- 其他在專業環境中合理認為不適當的行為 -## Our Responsibilities +## 我們的責任 -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. +項目維護者有責任澄清可接受行為的標準,並預期對任何不可接受行為的實例採取適當和公平的糾正行動。 -Project maintainers have the right and responsibility to remove, edit, or -reject comments, commits, code, wiki edits, issues, and other contributions -that are not aligned to this Code of Conduct, or to ban temporarily or -permanently any contributor for other behaviors that they deem inappropriate, -threatening, offensive, or harmful. +項目維護者有權利和責任刪除、編輯或拒絕與本行為準則不符的評論、提交、代碼、維基編輯、問題和其他貢獻,或暫時或永久禁止任何他們認為不適當、威脅、冒犯或有害的貢獻者。 -## Scope +## 範圍 -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. +此行為準則適用於項目空間內以及當個人代表項目或其社區時的公共空間。代表項目或社區的示例包括使用官方項目電子郵件地址、通過官方社交媒體帳戶發布或作為在線或離線活動的指定代表。項目的代表可能由項目維護者進一步定義和澄清。 -## Enforcement +## 執行 -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at hi@cline.bot. All complaints -will be reviewed and investigated and will result in a response that -is deemed necessary and appropriate to the circumstances. The project team is -obligated to maintain confidentiality with regard to the reporter of an incident. -Further details of specific enforcement policies may be posted separately. +濫用、騷擾或其他不可接受行為的實例可以通過聯繫項目團隊 hi@cline.bot 來報告。所有投訴將被審查和調查,並將根據情況作出必要和適當的回應。項目團隊有義務對事件的報告者保密。具體執行政策的詳細信息可能會單獨發布。 -Project maintainers who do not follow or enforce the Code of Conduct in good -faith may face temporary or permanent repercussions as determined by other -members of the project's leadership. +未能善意遵循或執行行為準則的項目維護者可能會面臨由項目領導層其他成員決定的暫時或永久後果。 -## Attribution +## 歸屬 -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, -available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html +此行為準則改編自 [Contributor Covenant][homepage],版本 1.4,可在 https://www.contributor-covenant.org/version/1/4/code-of-conduct.html 獲得。 [homepage]: https://www.contributor-covenant.org -For answers to common questions about this code of conduct, see -https://www.contributor-covenant.org/faq +有關此行為準則的常見問題的答案,請參見 https://www.contributor-covenant.org/faq From d90e44fc5a122a0aba7f5e3a25c1498235f417d7 Mon Sep 17 00:00:00 2001 From: brownrw8 Date: Mon, 27 Jan 2025 10:50:27 -1000 Subject: [PATCH 4/9] ja readme --- locales/ja/README.md | 98 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/locales/ja/README.md b/locales/ja/README.md index e69de29bb2..c9e3d131b8 100644 --- a/locales/ja/README.md +++ b/locales/ja/README.md @@ -0,0 +1,98 @@ +# Cline – OpenRouterでの\#1 + +

+ +

+ +
+ + + + + + + + +
+VS Marketplaceでダウンロード + +Discord + +r/cline + +機能リクエスト + +採用情報 +
+
+ +Clineは、**CLI**と**エディタ**を使用できるAIアシスタントです。 + +[Claude 3.5 Sonnetのエージェントコーディング機能](https://www-cdn.anthropic.com/fed9cc193a14b84131812372d8d5857f8f304c52/Model_Card_Claude_3_Addendum.pdf)のおかげで、Clineは複雑なソフトウェア開発タスクをステップバイステップで処理できます。ファイルの作成と編集、大規模プロジェクトの探索、ブラウザの使用、ターミナルコマンドの実行(許可後)などのツールを使用して、コード補完や技術サポートを超えた支援を提供します。Clineは、Model Context Protocol (MCP)を使用して新しいツールを作成し、自身の機能を拡張することもできます。従来の自律型AIスクリプトはサンドボックス環境で実行されますが、この拡張機能はファイル変更やターミナルコマンドを承認するための人間のインターフェースを提供し、エージェントAIの可能性を安全かつアクセスしやすい方法で探求できます。 + +1. タスクを入力し、モックアップを機能するアプリに変換するための画像やバグ修正のスクリーンショットを追加します。 +2. Clineはファイル構造とソースコードASTを分析し、正規表現検索を実行し、関連ファイルを読み取って既存プロジェクトに精通します。コンテキストに追加される情報を慎重に管理することで、大規模で複雑なプロジェクトでもコンテキストウィンドウを圧倒することなく貴重な支援を提供できます。 +3. Clineが必要な情報を取得すると、次のことができます: + - ファイルの作成と編集 + リンター/コンパイラーエラーの監視を行い、欠落しているインポートや構文エラーなどの問題を自動的に修正します。 + - ターミナルでコマンドを直接実行し、その出力を監視しながら作業を進め、ファイル編集後の開発サーバーの問題に対応します。 + - ウェブ開発タスクでは、サイトをヘッドレスブラウザで起動し、クリック、入力、スクロール、スクリーンショットのキャプチャ + コンソールログを取得し、ランタイムエラーや視覚的なバグを修正します。 +4. タスクが完了すると、Clineは`open -a "Google Chrome" index.html`のようなターミナルコマンドを提示し、ボタンをクリックして実行できます。 + +> [!TIP] +> `CMD/CTRL + Shift + P`ショートカットを使用してコマンドパレットを開き、「Cline: Open In New Tab」と入力して拡張機能をエディタのタブとして開きます。これにより、ファイルエクスプローラーと並行してClineを使用し、ワークスペースの変更をより明確に確認できます。 + +--- + + + +### 任意のAPIとモデルを使用 + +Clineは、OpenRouter、Anthropic、OpenAI、Google Gemini、AWS Bedrock、Azure、GCP VertexなどのAPIプロバイダーをサポートしています。また、OpenAI互換のAPIを設定したり、LM Studio/Ollamaを通じてローカルモデルを使用することもできます。OpenRouterを使用している場合、拡張機能は最新のモデルリストを取得し、最新のモデルをすぐに使用できるようにします。 + +拡張機能は、タスクループ全体と個々のリクエストのトークン総数とAPI使用コストを追跡し、各ステップでの支出を把握できます。 + + + +
+ + + +### ターミナルでコマンドを実行 + +VSCode v1.93の新しい[シェル統合アップデート](https://code.visualstudio.com/updates/v1_93#_terminal-shell-integration-api)のおかげで、Clineはターミナルでコマンドを直接実行し、出力を受け取ることができます。これにより、パッケージのインストールやビルドスクリプトの実行、アプリケーションのデプロイ、データベースの管理、テストの実行など、幅広いタスクを実行できます。Clineは、開発環境とツールチェーンに適応しながら、タスクを正確に完了します。 + +開発サーバーのような長時間実行されるプロセスの場合、「実行中に続行」ボタンを使用して、コマンドがバックグラウンドで実行されている間にClineがタスクを続行できるようにします。Clineが作業を進める中で、新しいターミナル出力が通知され、ファイル編集時のコンパイルエラーなどの問題に対応できます。 + + + +
+ + + +### ファイルの作成と編集 + +Clineはエディタ内でファイルを作成および編集し、変更の差分ビューを提示します。差分ビューエディタでClineの変更を編集または元に戻すことができ、チャットでフィードバックを提供して満足するまで調整できます。Clineはリンター/コンパイラーエラー(欠落しているインポート、構文エラーなど)も監視し、発生した問題を自動的に修正します。 + +Clineによるすべての変更はファイルのタイムラインに記録され、必要に応じて変更を追跡および元に戻すための簡単な方法を提供します。 + + + +
+ + + +### ブラウザの使用 + +Claude 3.5 Sonnetの新しい[コンピュータ使用](https://www.anthropic.com/news/3-5-models-and-computer-use)機能により、Clineはブラウザを起動し、要素をクリックし、テキストを入力し、スクロールし、各ステップでスクリーンショットとコンソールログをキャプチャできます。これにより、インタラクティブなデバッグ、エンドツーエンドテスト、さらには一般的なウェブ使用が可能になります。これにより、エラーログを手動でコピー&ペーストすることなく、視覚的なバグやランタイムの問題を自律的に修正できます。 + +Clineに「アプリをテストして」と頼んでみてください。彼は`npm run dev`のようなコマンドを実行し、ローカルで実行中の開発サーバーをブラウザで起動し、一連のテストを実行してすべてが正常に動作することを確認します。[デモはこちら。](https://x.com/sdrzn/status/1850880547825823989) + + + +
+ + + +### 「ツールを追加して...」 + +[Model Context Protocol](https://github.com/modelcontextprotocol)のおかげで、Clineはカスタムツールを通じて機能を拡張できます。[コミュニティ製サーバー](https://github.co \ No newline at end of file From ebd6a5e34239b0a4e09794b746c87059260aae38 Mon Sep 17 00:00:00 2001 From: brownrw8 Date: Mon, 27 Jan 2025 10:55:27 -1000 Subject: [PATCH 5/9] de translations --- locales/de/CODE_OF_CONDUCT.md | 71 +++++++++++++++ locales/de/CONTRIBUTING.md | 82 +++++++++++++++++ locales/de/README.md | 167 ++++++++++++++++++++++++++++++++++ 3 files changed, 320 insertions(+) create mode 100644 locales/de/CODE_OF_CONDUCT.md create mode 100644 locales/de/CONTRIBUTING.md create mode 100644 locales/de/README.md diff --git a/locales/de/CODE_OF_CONDUCT.md b/locales/de/CODE_OF_CONDUCT.md new file mode 100644 index 0000000000..82fe929eda --- /dev/null +++ b/locales/de/CODE_OF_CONDUCT.md @@ -0,0 +1,71 @@ +# Código de Conducta para Contribuyentes + +## Nuestro Compromiso + +En el interés de fomentar un entorno abierto y acogedor, nosotros como +contribuyentes y mantenedores nos comprometemos a hacer de la participación en nuestro proyecto y +nuestra comunidad una experiencia libre de acoso para todos, independientemente de la edad, tamaño corporal, +discapacidad, etnia, características sexuales, identidad y expresión de género, +nivel de experiencia, educación, estatus socioeconómico, nacionalidad, apariencia personal, +raza, religión o identidad y orientación sexual. + +## Nuestros Estándares + +Ejemplos de comportamientos que contribuyen a crear un entorno positivo incluyen: + +- Uso de un lenguaje acogedor e inclusivo +- Respeto a diferentes puntos de vista y experiencias +- Aceptar de manera constructiva las críticas +- Centrarse en lo que es mejor para la comunidad +- Mostrar empatía hacia otros miembros de la comunidad + +Ejemplos de comportamientos inaceptables por parte de los participantes incluyen: + +- El uso de lenguaje o imágenes sexualizadas y la atención o avances sexuales no deseados +- Trollear, comentarios insultantes/despectivos y ataques personales o políticos +- Acoso público o privado +- Publicar información privada de otros, como una dirección física o electrónica, + sin permiso explícito +- Otras conductas que podrían considerarse inapropiadas en un entorno profesional + +## Nuestras Responsabilidades + +Los mantenedores del proyecto son responsables de aclarar los estándares de comportamiento aceptable +y se espera que tomen medidas correctivas apropiadas y justas en respuesta a cualquier +caso de comportamiento inaceptable. + +Los mantenedores del proyecto tienen el derecho y la responsabilidad de eliminar, editar o rechazar +comentarios, commits, código, ediciones de wiki, issues y otras contribuciones que no estén alineadas con este Código de Conducta, o de prohibir temporal o permanentemente a cualquier contribuyente cuyo comportamiento sea inapropiado, +amenazante, ofensivo o dañino. + +## Alcance + +Este Código de Conducta se aplica tanto dentro de los espacios del proyecto como en espacios públicos +cuando una persona representa el proyecto o su comunidad. Ejemplos de +representación de un proyecto o comunidad incluyen el uso de una dirección de correo electrónico oficial del proyecto, +publicar en una cuenta oficial de redes sociales o actuar como un representante designado +en un evento en línea o fuera de línea. La representación de un proyecto puede +ser definida y clarificada más específicamente por los mantenedores del proyecto. + +## Aplicación + +Los casos de comportamiento abusivo, acosador o inaceptable de otra manera pueden +ser reportados contactando al equipo del proyecto en hi@cline.bot. Todas las quejas +serán revisadas e investigadas y resultarán en una respuesta que +se considere necesaria y apropiada a las circunstancias. El equipo del proyecto está +obligado a mantener la confidencialidad con respecto al informante de un incidente. +Más detalles sobre políticas específicas de aplicación pueden ser publicados por separado. + +Los mantenedores del proyecto que no sigan o hagan cumplir el Código de Conducta de buena +fe pueden enfrentar repercusiones temporales o permanentes según lo determinen otros +miembros de la dirección del proyecto. + +## Atribución + +Este Código de Conducta está adaptado del [Contributor Covenant][homepage], versión 1.4, +disponible en https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + +Respuestas a preguntas frecuentes sobre este Código de Conducta se pueden encontrar en +https://www.contributor-covenant.org/faq diff --git a/locales/de/CONTRIBUTING.md b/locales/de/CONTRIBUTING.md new file mode 100644 index 0000000000..c4ef158090 --- /dev/null +++ b/locales/de/CONTRIBUTING.md @@ -0,0 +1,82 @@ +# Contribuir a Cline + +Nos alegra que estés interesado en contribuir a Cline. Ya sea que corrijas un error, añadas una función o mejores nuestra documentación, ¡cada contribución hace que Cline sea más inteligente! Para mantener nuestra comunidad viva y acogedora, todos los miembros deben cumplir con nuestro [Código de Conducta](CODE_OF_CONDUCT.md). + +## Informar de errores o problemas + +¡Los informes de errores ayudan a mejorar Cline para todos! Antes de crear un nuevo problema, por favor revisa los [problemas existentes](https://github.com/cline/cline/issues) para evitar duplicados. Cuando estés listo para informar un error, dirígete a nuestra [página de Issues](https://github.com/cline/cline/issues/new/choose), donde encontrarás una plantilla que te ayudará a completar la información relevante. + +
+ 🔐 Importante: Si descubres una vulnerabilidad de seguridad, utiliza la herramienta de seguridad de GitHub para informarla de manera privada. +
+ +## Decidir en qué trabajar + +¿Buscas una buena primera contribución? Revisa los issues etiquetados con ["good first issue"](https://github.com/cline/cline/labels/good%20first%20issue) o ["help wanted"](https://github.com/cline/cline/labels/help%20wanted). ¡Estos están especialmente seleccionados para nuevos colaboradores y son áreas donde nos encantaría recibir ayuda! + +También damos la bienvenida a contribuciones a nuestra [documentación](https://github.com/cline/cline/tree/main/docs). Ya sea corrigiendo errores tipográficos, mejorando guías existentes o creando nuevos contenidos educativos, queremos construir un repositorio de recursos gestionado por la comunidad que ayude a todos a sacar el máximo provecho de Cline. Puedes comenzar explorando `/docs` y buscando áreas que necesiten mejoras. + +Si planeas trabajar en una función más grande, por favor crea primero una [solicitud de función](https://github.com/cline/cline/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop) para que podamos discutir si se alinea con la visión de Cline. + +## Configurar el entorno de desarrollo + +1. **Extensiones de VS Code** + + - Al abrir el proyecto, VS Code te pedirá que instales las extensiones recomendadas + - Estas extensiones son necesarias para el desarrollo, por favor acepta todas las solicitudes de instalación + - Si rechazaste las solicitudes, puedes instalarlas manualmente en la sección de extensiones + +2. **Desarrollo local** + - Ejecuta `npm run install:all` para instalar las dependencias + - Ejecuta `npm run test` para ejecutar las pruebas localmente + - Antes de enviar un PR, ejecuta `npm run format:fix` para formatear tu código + +## Escribir y enviar código + +Cualquiera puede contribuir código a Cline, pero te pedimos que sigas estas pautas para asegurar que tus contribuciones se integren sin problemas: + +1. **Mantén los Pull Requests enfocados** + + - Limita los PRs a una sola función o corrección de errores + - Divide los cambios más grandes en PRs más pequeños y coherentes + - Divide los cambios en commits lógicos que puedan ser revisados independientemente + +2. **Calidad del código** + + - Ejecuta `npm run lint` para verificar el estilo del código + - Ejecuta `npm run format` para formatear el código automáticamente + - Todos los PRs deben pasar las verificaciones de CI, que incluyen linting y formateo + - Corrige todas las advertencias o errores de ESLint antes de enviar + - Sigue las mejores prácticas para TypeScript y mantén la seguridad de tipos + +3. **Pruebas** + + - Añade pruebas para nuevas funciones + - Ejecuta `npm test` para asegurarte de que todas las pruebas pasen + - Actualiza las pruebas existentes si tus cambios las afectan + - Añade tanto pruebas unitarias como de integración donde sea apropiado + +4. **Pautas de commits** + + - Escribe mensajes de commit claros y descriptivos + - Usa el formato de commit convencional (por ejemplo, "feat:", "fix:", "docs:") + - Haz referencia a los issues relevantes en los commits con #número-del-issue + +5. **Antes de enviar** + + - Rebasea tu rama con el último Main + - Asegúrate de que tu rama se construya correctamente + - Verifica que todas las pruebas pasen + - Revisa tus cambios para eliminar cualquier código de depuración o registros de consola + +6. **Descripción del Pull Request** + - Describe claramente lo que hacen tus cambios + - Añade pasos para probar los cambios + - Enumera cualquier cambio importante + - Añade capturas de pantalla para cambios en la interfaz de usuario + +## Acuerdo de contribución + +Al enviar un Pull Request, aceptas que tus contribuciones se licencien bajo la misma licencia que el proyecto ([Apache 2.0](LICENSE)). + +Recuerda: Contribuir a Cline no solo significa escribir código, sino ser parte de una comunidad que está dando forma al futuro del desarrollo asistido por IA. ¡Hagamos algo grandioso juntos! 🚀 diff --git a/locales/de/README.md b/locales/de/README.md new file mode 100644 index 0000000000..9f875585c6 --- /dev/null +++ b/locales/de/README.md @@ -0,0 +1,167 @@ +# Cline – \#1 auf OpenRouter + +

+ +

+ + + +Andere Sprachversionen der [README-Dateien](./README.md) sind verfügbar in: +- [Español](./locales/es/README.md) +- [Deutsch](./locales/de/README.md) +- [日本語](./locales/ja/README.md) +- [简体中文](./locales/zh-cn/README.md) +- [繁體中文](./locales/zh-tw/README.md) + +Dank der [agentischen Codierungsfähigkeiten von Claude 3.5 Sonnet](https://www-cdn.anthropic.com/fed9cc193a14b84131812372d8d5857f8f304c52/Model_Card_Claude_3_Addendum.pdf) kann Cline komplexe Softwareentwicklungsaufgaben Schritt für Schritt bewältigen. Mit Werkzeugen, die ihm das Erstellen und Bearbeiten von Dateien, das Erkunden großer Projekte, die Nutzung des Browsers und das Ausführen von Terminalbefehlen (nach Ihrer Genehmigung) ermöglichen, kann er Ihnen auf eine Weise helfen, die über die Codevervollständigung oder technischen Support hinausgeht. Cline kann sogar das Model Context Protocol (MCP) verwenden, um neue Werkzeuge zu erstellen und seine eigenen Fähigkeiten zu erweitern. Während autonome KI-Skripte traditionell in sandboxed Umgebungen laufen, bietet diese Erweiterung eine Mensch-in-der-Schleife-GUI, um jede Dateiänderung und jeden Terminalbefehl zu genehmigen, was eine sichere und zugängliche Möglichkeit bietet, das Potenzial agentischer KI zu erkunden. + +1. Geben Sie Ihre Aufgabe ein und fügen Sie Bilder hinzu, um Mockups in funktionale Apps zu konvertieren oder Fehler mit Screenshots zu beheben. +2. Cline beginnt mit der Analyse Ihrer Dateistruktur und Quellcode-ASTs, führt Regex-Suchen durch und liest relevante Dateien, um sich in bestehenden Projekten zurechtzufinden. Durch sorgfältiges Management der hinzugefügten Informationen kann Cline wertvolle Unterstützung auch bei großen, komplexen Projekten bieten, ohne das Kontextfenster zu überladen. +3. Sobald Cline die benötigten Informationen hat, kann er: + - Dateien erstellen und bearbeiten sowie Linter-/Compiler-Fehler überwachen, um proaktiv Probleme wie fehlende Importe und Syntaxfehler selbst zu beheben. + - Befehle direkt in Ihrem Terminal ausführen und deren Ausgabe überwachen, sodass er z.B. auf Dev-Server-Probleme reagieren kann, nachdem er eine Datei bearbeitet hat. + - Für Webentwicklungsaufgaben kann Cline die Website in einem Headless-Browser starten, klicken, tippen, scrollen und Screenshots sowie Konsolenprotokolle erfassen, sodass er Laufzeitfehler und visuelle Fehler beheben kann. +4. Wenn eine Aufgabe abgeschlossen ist, präsentiert Cline das Ergebnis mit einem Terminalbefehl wie `open -a "Google Chrome" index.html`, den Sie mit einem Klick ausführen können. + +> [!TIPP] +> Verwenden Sie die Tastenkombination `CMD/CTRL + Shift + P`, um die Befehls-Palette zu öffnen und geben Sie "Cline: Open In New Tab" ein, um die Erweiterung als Tab in Ihrem Editor zu öffnen. So können Sie Cline neben Ihrem Dateiexplorer verwenden und sehen, wie er Ihren Arbeitsbereich verändert. + +--- + + + +### Verwenden Sie jede API und jedes Modell + +Cline unterstützt API-Anbieter wie OpenRouter, Anthropic, OpenAI, Google Gemini, AWS Bedrock, Azure und GCP Vertex. Sie können auch jede OpenAI-kompatible API konfigurieren oder ein lokales Modell über LM Studio/Ollama verwenden. Wenn Sie OpenRouter verwenden, ruft die Erweiterung deren neueste Modellliste ab, sodass Sie die neuesten Modelle sofort verwenden können, sobald sie verfügbar sind. + +Die Erweiterung verfolgt auch die gesamten Token- und API-Nutzungskosten für den gesamten Aufgabenzyklus und einzelne Anfragen, sodass Sie bei jedem Schritt über die Ausgaben informiert sind. + + + +
+ + + +### Befehle im Terminal ausführen + +Dank der neuen [Shell-Integrations-Updates in VSCode v1.93](https://code.visualstudio.com/updates/v1_93#_terminal-shell-integration-api) kann Cline Befehle direkt in Ihrem Terminal ausführen und die Ausgabe empfangen. Dies ermöglicht ihm eine Vielzahl von Aufgaben, von der Installation von Paketen und dem Ausführen von Build-Skripten bis hin zur Bereitstellung von Anwendungen, Verwaltung von Datenbanken und Ausführung von Tests, während er sich an Ihre Entwicklungsumgebung und Toolchain anpasst, um die Aufgabe richtig zu erledigen. + +Für lang laufende Prozesse wie Dev-Server verwenden Sie die Schaltfläche "Während des Laufens fortfahren", um Cline die Fortsetzung der Aufgabe zu ermöglichen, während der Befehl im Hintergrund läuft. Während Cline arbeitet, wird er über neue Terminalausgaben benachrichtigt, sodass er auf auftretende Probleme reagieren kann, wie z.B. Kompilierungsfehler beim Bearbeiten von Dateien. + + + +
+ + + +### Dateien erstellen und bearbeiten + +Cline kann Dateien direkt in Ihrem Editor erstellen und bearbeiten und Ihnen eine Diff-Ansicht der Änderungen präsentieren. Sie können die Änderungen von Cline direkt im Diff-Ansichts-Editor bearbeiten oder rückgängig machen oder Feedback im Chat geben, bis Sie mit dem Ergebnis zufrieden sind. Cline überwacht auch Linter-/Compiler-Fehler (fehlende Importe, Syntaxfehler usw.), sodass er auftretende Probleme selbst beheben kann. + +Alle von Cline vorgenommenen Änderungen werden in der Timeline Ihrer Datei aufgezeichnet, was eine einfache Möglichkeit bietet, Änderungen nachzuverfolgen und bei Bedarf rückgängig zu machen. + + + +
+ + + +### Den Browser verwenden + +Mit der neuen [Computer Use](https://www.anthropic.com/news/3-5-models-and-computer-use) Fähigkeit von Claude 3.5 Sonnet kann Cline einen Browser starten, Elemente anklicken, Text eingeben und scrollen, dabei Screenshots und Konsolenprotokolle bei jedem Schritt erfassen. Dies ermöglicht interaktives Debugging, End-to-End-Tests und sogar allgemeine Webnutzung! Dies gibt ihm die Autonomie, visuelle Fehler und Laufzeitprobleme zu beheben, ohne dass Sie selbst Fehlerprotokolle kopieren und einfügen müssen. + +Versuchen Sie, Cline zu bitten, "die App zu testen", und sehen Sie zu, wie er einen Befehl wie `npm run dev` ausführt, Ihren lokal laufenden Dev-Server in einem Browser startet und eine Reihe von Tests durchführt, um zu bestätigen, dass alles funktioniert. [Sehen Sie sich hier eine Demo an.](https://x.com/sdrzn/status/1850880547825823989) + + + +
+ + + +### "ein Werkzeug hinzufügen, das..." + +Dank des [Model Context Protocol](https://github.com/modelcontextprotocol) kann Cline seine Fähigkeiten durch benutzerdefinierte Werkzeuge erweitern. Während Sie [community-made servers](https://github.com/modelcontextprotocol/servers) verwenden können, kann Cline stattdessen Werkzeuge erstellen und installieren, die speziell auf Ihren Workflow zugeschnitten sind. Bitten Sie Cline einfach, "ein Werkzeug hinzuzufügen", und er erledigt alles, von der Erstellung eines neuen MCP-Servers bis zur Installation in der Erweiterung. Diese benutzerdefinierten Werkzeuge werden dann Teil von Clines Toolkit und sind bereit, in zukünftigen Aufgaben verwendet zu werden. + +- "ein Werkzeug hinzufügen, das Jira-Tickets abruft": Abrufen von Ticket-ACs und Cline zur Arbeit bringen +- "ein Werkzeug hinzufügen, das AWS EC2s verwaltet": Überprüfen von Servermetriken und Skalieren von Instanzen +- "ein Werkzeug hinzufügen, das die neuesten PagerDuty-Vorfälle abruft": Abrufen von Details und Cline bitten, Fehler zu beheben + + + +
+ + + +### Kontext hinzufügen + +**`@url`:** Fügen Sie eine URL ein, damit die Erweiterung sie abruft und in Markdown konvertiert, nützlich, wenn Sie Cline die neuesten Dokumente geben möchten + +**`@problems`:** Fügen Sie Arbeitsbereichsfehler und -warnungen (Panel 'Probleme') hinzu, die Cline beheben soll + +**`@file`:** Fügt den Inhalt einer Datei hinzu, sodass Sie keine API-Anfragen verschwenden müssen, um das Lesen der Datei zu genehmigen (+ zum Suchen von Dateien tippen) + +**`@folder`:** Fügt die Dateien eines Ordners auf einmal hinzu, um Ihren Workflow noch weiter zu beschleunigen + + + +
+ + + +### Checkpoints: Vergleichen und Wiederherstellen + +Während Cline eine Aufgabe bearbeitet, erstellt die Erweiterung bei jedem Schritt einen Schnappschuss Ihres Arbeitsbereichs. Sie können die Schaltfläche 'Vergleichen' verwenden, um einen Diff zwischen dem Schnappschuss und Ihrem aktuellen Arbeitsbereich zu sehen, und die Schaltfläche 'Wiederherstellen', um zu diesem Punkt zurückzukehren. + +Wenn Sie beispielsweise mit einem lokalen Webserver arbeiten, können Sie 'Nur Arbeitsbereich wiederherstellen' verwenden, um schnell verschiedene Versionen Ihrer App zu testen, und 'Aufgabe und Arbeitsbereich wiederherstellen', wenn Sie die Version gefunden haben, von der aus Sie weiterentwickeln möchten. Dies ermöglicht es Ihnen, sicher verschiedene Ansätze zu erkunden, ohne Fortschritte zu verlieren. + + + +
+ +## Beitrag leisten + +Um zum Projekt beizutragen, beginnen Sie mit unserem [Beitragsleitfaden](CONTRIBUTING.md), um die Grundlagen zu lernen. Sie können auch unserem [Discord](https://discord.gg/cline) beitreten, um im Kanal `#contributors` mit anderen Mitwirkenden zu chatten. Wenn Sie auf der Suche nach einer Vollzeitstelle sind, schauen Sie sich unsere offenen Stellen auf unserer [Karriereseite](https://cline.bot/join-us) an! + +
+Lokale Entwicklungsanweisungen + +1. Klonen Sie das Repository _(Erfordert [git-lfs](https://git-lfs.com/))_: + ```bash + git clone https://github.com/cline/cline.git + ``` +2. Öffnen Sie das Projekt in VSCode: + ```bash + code cline + ``` +3. Installieren Sie die notwendigen Abhängigkeiten für die Erweiterung und das Webview-GUI: + ```bash + npm run install:all + ``` +4. Starten Sie durch Drücken von `F5` (oder `Run`->`Start Debugging`), um ein neues VSCode-Fenster mit der geladenen Erweiterung zu öffnen. (Möglicherweise müssen Sie die [esbuild problem matchers extension](https://marketplace.visualstudio.com/items?itemName=connor4312.esbuild-problem-matchers) installieren, wenn Sie auf Probleme beim Erstellen des Projekts stoßen.) + +
+ +## Lizenz + +[Apache 2.0 © 2024 Cline Bot Inc.](./LICENSE) + From 961c0f87076d2ef1e7f44cce0e2cdae7b2d5d066 Mon Sep 17 00:00:00 2001 From: brownrw8 Date: Mon, 27 Jan 2025 10:58:33 -1000 Subject: [PATCH 6/9] tweaks --- locales/de/CODE_OF_CONDUCT.md | 88 +++++++++------------------- locales/de/CONTRIBUTING.md | 104 +++++++++++++++++----------------- locales/zh-cn/README.md | 2 +- 3 files changed, 80 insertions(+), 114 deletions(-) diff --git a/locales/de/CODE_OF_CONDUCT.md b/locales/de/CODE_OF_CONDUCT.md index 82fe929eda..f240363c07 100644 --- a/locales/de/CODE_OF_CONDUCT.md +++ b/locales/de/CODE_OF_CONDUCT.md @@ -1,71 +1,37 @@ -# Código de Conducta para Contribuyentes +# Verhaltenskodex für Mitwirkende -## Nuestro Compromiso +## Unser Versprechen -En el interés de fomentar un entorno abierto y acogedor, nosotros como -contribuyentes y mantenedores nos comprometemos a hacer de la participación en nuestro proyecto y -nuestra comunidad una experiencia libre de acoso para todos, independientemente de la edad, tamaño corporal, -discapacidad, etnia, características sexuales, identidad y expresión de género, -nivel de experiencia, educación, estatus socioeconómico, nacionalidad, apariencia personal, -raza, religión o identidad y orientación sexual. +Im Interesse der Förderung einer offenen und einladenden Umgebung verpflichten wir uns als +Mitwirkende und Betreuer, die Teilnahme an unserem Projekt und unserer +Gemeinschaft zu einer belästigungsfreien Erfahrung für alle zu machen, unabhängig von Alter, Körpergröße, +Behinderung, ethnischer Zugehörigkeit, sexuellen Merkmalen, Geschlechtsidentität und -ausdruck, +Erfahrungsniveau, Bildung, sozioökonomischem Status, Nationalität, persönlichem Erscheinungsbild, +Rasse, Religion oder sexueller Identität und Orientierung. -## Nuestros Estándares +## Unsere Standards -Ejemplos de comportamientos que contribuyen a crear un entorno positivo incluyen: +Beispiele für Verhaltensweisen, die dazu beitragen, eine positive Umgebung zu schaffen, sind: -- Uso de un lenguaje acogedor e inclusivo -- Respeto a diferentes puntos de vista y experiencias -- Aceptar de manera constructiva las críticas -- Centrarse en lo que es mejor para la comunidad -- Mostrar empatía hacia otros miembros de la comunidad +- Verwendung einer einladenden und inklusiven Sprache +- Respekt gegenüber unterschiedlichen Standpunkten und Erfahrungen +- Konstruktive Annahme von Kritik +- Fokussierung auf das, was das Beste für die Gemeinschaft ist +- Empathie gegenüber anderen Mitgliedern der Gemeinschaft zeigen -Ejemplos de comportamientos inaceptables por parte de los participantes incluyen: +Beispiele für inakzeptables Verhalten von Teilnehmern sind: -- El uso de lenguaje o imágenes sexualizadas y la atención o avances sexuales no deseados -- Trollear, comentarios insultantes/despectivos y ataques personales o políticos -- Acoso público o privado -- Publicar información privada de otros, como una dirección física o electrónica, - sin permiso explícito -- Otras conductas que podrían considerarse inapropiadas en un entorno profesional +- Die Verwendung von sexualisierter Sprache oder Bildern und unerwünschte sexuelle Aufmerksamkeit oder Annäherungen +- Trollen, beleidigende/abwertende Kommentare und persönliche oder politische Angriffe +- Öffentliche oder private Belästigung +- Veröffentlichen von privaten Informationen anderer, wie eine physische oder elektronische Adresse, + ohne ausdrückliche Erlaubnis +- Andere Verhaltensweisen, die in einem professionellen Umfeld als unangemessen angesehen werden könnten -## Nuestras Responsabilidades +## Unsere Verantwortlichkeiten -Los mantenedores del proyecto son responsables de aclarar los estándares de comportamiento aceptable -y se espera que tomen medidas correctivas apropiadas y justas en respuesta a cualquier -caso de comportamiento inaceptable. +Die Projektbetreuer sind dafür verantwortlich, die Standards für akzeptables Verhalten zu klären +und es wird erwartet, dass sie angemessene und faire Korrekturmaßnahmen als Reaktion auf +jedes Beispiel für inakzeptables Verhalten ergreifen. -Los mantenedores del proyecto tienen el derecho y la responsabilidad de eliminar, editar o rechazar -comentarios, commits, código, ediciones de wiki, issues y otras contribuciones que no estén alineadas con este Código de Conducta, o de prohibir temporal o permanentemente a cualquier contribuyente cuyo comportamiento sea inapropiado, -amenazante, ofensivo o dañino. - -## Alcance - -Este Código de Conducta se aplica tanto dentro de los espacios del proyecto como en espacios públicos -cuando una persona representa el proyecto o su comunidad. Ejemplos de -representación de un proyecto o comunidad incluyen el uso de una dirección de correo electrónico oficial del proyecto, -publicar en una cuenta oficial de redes sociales o actuar como un representante designado -en un evento en línea o fuera de línea. La representación de un proyecto puede -ser definida y clarificada más específicamente por los mantenedores del proyecto. - -## Aplicación - -Los casos de comportamiento abusivo, acosador o inaceptable de otra manera pueden -ser reportados contactando al equipo del proyecto en hi@cline.bot. Todas las quejas -serán revisadas e investigadas y resultarán en una respuesta que -se considere necesaria y apropiada a las circunstancias. El equipo del proyecto está -obligado a mantener la confidencialidad con respecto al informante de un incidente. -Más detalles sobre políticas específicas de aplicación pueden ser publicados por separado. - -Los mantenedores del proyecto que no sigan o hagan cumplir el Código de Conducta de buena -fe pueden enfrentar repercusiones temporales o permanentes según lo determinen otros -miembros de la dirección del proyecto. - -## Atribución - -Este Código de Conducta está adaptado del [Contributor Covenant][homepage], versión 1.4, -disponible en https://www.contributor-covenant.org/version/1/4/code-of-conduct.html - -[homepage]: https://www.contributor-covenant.org - -Respuestas a preguntas frecuentes sobre este Código de Conducta se pueden encontrar en -https://www.contributor-covenant.org/faq +Die Projektbetreuer haben das Recht und die Verantwortung, Kommentare, Commits, Code, Wiki-Änderungen, Issues und andere Beiträge zu entfernen, zu bearbeiten oder abzulehnen, die nicht mit diesem Verhaltenskodex übereinstimmen, oder jeden Mitwirkenden vorübergehend oder dauerhaft zu diff --git a/locales/de/CONTRIBUTING.md b/locales/de/CONTRIBUTING.md index c4ef158090..25805ac401 100644 --- a/locales/de/CONTRIBUTING.md +++ b/locales/de/CONTRIBUTING.md @@ -1,82 +1,82 @@ -# Contribuir a Cline +# Beitrag zu Cline -Nos alegra que estés interesado en contribuir a Cline. Ya sea que corrijas un error, añadas una función o mejores nuestra documentación, ¡cada contribución hace que Cline sea más inteligente! Para mantener nuestra comunidad viva y acogedora, todos los miembros deben cumplir con nuestro [Código de Conducta](CODE_OF_CONDUCT.md). +Wir freuen uns, dass du daran interessiert bist, zu Cline beizutragen. Ob du einen Fehler behebst, eine Funktion hinzufügst oder unsere Dokumentation verbesserst – jeder Beitrag macht Cline intelligenter! Um unsere Community lebendig und einladend zu halten, müssen alle Mitglieder unseren [Verhaltenskodex](CODE_OF_CONDUCT.md) einhalten. -## Informar de errores o problemas +## Fehler oder Probleme melden -¡Los informes de errores ayudan a mejorar Cline para todos! Antes de crear un nuevo problema, por favor revisa los [problemas existentes](https://github.com/cline/cline/issues) para evitar duplicados. Cuando estés listo para informar un error, dirígete a nuestra [página de Issues](https://github.com/cline/cline/issues/new/choose), donde encontrarás una plantilla que te ayudará a completar la información relevante. +Fehlermeldungen helfen, Cline für alle zu verbessern! Bevor du ein neues Problem erstellst, überprüfe bitte die [bestehenden Probleme](https://github.com/cline/cline/issues), um Duplikate zu vermeiden. Wenn du bereit bist, einen Fehler zu melden, gehe zu unserer [Issues-Seite](https://github.com/cline/cline/issues/new/choose), wo du eine Vorlage findest, die dir hilft, die relevanten Informationen auszufüllen.
- 🔐 Importante: Si descubres una vulnerabilidad de seguridad, utiliza la herramienta de seguridad de GitHub para informarla de manera privada. + 🔐 Wichtig: Wenn du eine Sicherheitslücke entdeckst, verwende das GitHub-Sicherheitstool, um sie privat zu melden.
-## Decidir en qué trabajar +## Entscheiden, woran man arbeiten möchte -¿Buscas una buena primera contribución? Revisa los issues etiquetados con ["good first issue"](https://github.com/cline/cline/labels/good%20first%20issue) o ["help wanted"](https://github.com/cline/cline/labels/help%20wanted). ¡Estos están especialmente seleccionados para nuevos colaboradores y son áreas donde nos encantaría recibir ayuda! +Suchst du nach einem guten ersten Beitrag? Schau dir die mit ["good first issue"](https://github.com/cline/cline/labels/good%20first%20issue) oder ["help wanted"](https://github.com/cline/cline/labels/help%20wanted) gekennzeichneten Issues an. Diese sind speziell für neue Mitwirkende ausgewählt und Bereiche, in denen wir gerne Hilfe erhalten würden! -También damos la bienvenida a contribuciones a nuestra [documentación](https://github.com/cline/cline/tree/main/docs). Ya sea corrigiendo errores tipográficos, mejorando guías existentes o creando nuevos contenidos educativos, queremos construir un repositorio de recursos gestionado por la comunidad que ayude a todos a sacar el máximo provecho de Cline. Puedes comenzar explorando `/docs` y buscando áreas que necesiten mejoras. +Wir begrüßen auch Beiträge zu unserer [Dokumentation](https://github.com/cline/cline/tree/main/docs). Ob du Tippfehler korrigierst, bestehende Anleitungen verbesserst oder neue Bildungsinhalte erstellst – wir möchten ein von der Community verwaltetes Ressourcen-Repository aufbauen, das allen hilft, das Beste aus Cline herauszuholen. Du kannst beginnen, indem du `/docs` erkundest und nach Bereichen suchst, die verbessert werden müssen. -Si planeas trabajar en una función más grande, por favor crea primero una [solicitud de función](https://github.com/cline/cline/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop) para que podamos discutir si se alinea con la visión de Cline. +Wenn du planst, an einer größeren Funktion zu arbeiten, erstelle bitte zuerst eine [Funktionsanfrage](https://github.com/cline/cline/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop), damit wir besprechen können, ob sie mit der Vision von Cline übereinstimmt. -## Configurar el entorno de desarrollo +## Entwicklungsumgebung einrichten -1. **Extensiones de VS Code** +1. **VS Code Erweiterungen** - - Al abrir el proyecto, VS Code te pedirá que instales las extensiones recomendadas - - Estas extensiones son necesarias para el desarrollo, por favor acepta todas las solicitudes de instalación - - Si rechazaste las solicitudes, puedes instalarlas manualmente en la sección de extensiones + - Beim Öffnen des Projekts wird VS Code dich auffordern, die empfohlenen Erweiterungen zu installieren + - Diese Erweiterungen sind für die Entwicklung erforderlich, bitte akzeptiere alle Installationsanfragen + - Wenn du die Anfragen abgelehnt hast, kannst du sie manuell im Erweiterungsbereich installieren -2. **Desarrollo local** - - Ejecuta `npm run install:all` para instalar las dependencias - - Ejecuta `npm run test` para ejecutar las pruebas localmente - - Antes de enviar un PR, ejecuta `npm run format:fix` para formatear tu código +2. **Lokale Entwicklung** + - Führe `npm run install:all` aus, um die Abhängigkeiten zu installieren + - Führe `npm run test` aus, um die Tests lokal auszuführen + - Bevor du einen PR einreichst, führe `npm run format:fix` aus, um deinen Code zu formatieren -## Escribir y enviar código +## Code schreiben und einreichen -Cualquiera puede contribuir código a Cline, pero te pedimos que sigas estas pautas para asegurar que tus contribuciones se integren sin problemas: +Jeder kann Code zu Cline beitragen, aber wir bitten dich, diese Richtlinien zu befolgen, um sicherzustellen, dass deine Beiträge reibungslos integriert werden: -1. **Mantén los Pull Requests enfocados** +1. **Pull Requests fokussiert halten** - - Limita los PRs a una sola función o corrección de errores - - Divide los cambios más grandes en PRs más pequeños y coherentes - - Divide los cambios en commits lógicos que puedan ser revisados independientemente + - Begrenze PRs auf eine einzelne Funktion oder Fehlerbehebung + - Teile größere Änderungen in kleinere, kohärente PRs auf + - Teile Änderungen in logische Commits auf, die unabhängig überprüft werden können -2. **Calidad del código** +2. **Codequalität** - - Ejecuta `npm run lint` para verificar el estilo del código - - Ejecuta `npm run format` para formatear el código automáticamente - - Todos los PRs deben pasar las verificaciones de CI, que incluyen linting y formateo - - Corrige todas las advertencias o errores de ESLint antes de enviar - - Sigue las mejores prácticas para TypeScript y mantén la seguridad de tipos + - Führe `npm run lint` aus, um den Code-Stil zu überprüfen + - Führe `npm run format` aus, um den Code automatisch zu formatieren + - Alle PRs müssen die CI-Prüfungen bestehen, die Linting und Formatierung umfassen + - Behebe alle ESLint-Warnungen oder -Fehler, bevor du einreichst + - Befolge die Best Practices für TypeScript und halte die Typensicherheit ein -3. **Pruebas** +3. **Tests** - - Añade pruebas para nuevas funciones - - Ejecuta `npm test` para asegurarte de que todas las pruebas pasen - - Actualiza las pruebas existentes si tus cambios las afectan - - Añade tanto pruebas unitarias como de integración donde sea apropiado + - Füge Tests für neue Funktionen hinzu + - Führe `npm test` aus, um sicherzustellen, dass alle Tests bestehen + - Aktualisiere bestehende Tests, wenn deine Änderungen sie beeinflussen + - Füge sowohl Unit- als auch Integrationstests hinzu, wo es angebracht ist -4. **Pautas de commits** +4. **Commit-Richtlinien** - - Escribe mensajes de commit claros y descriptivos - - Usa el formato de commit convencional (por ejemplo, "feat:", "fix:", "docs:") - - Haz referencia a los issues relevantes en los commits con #número-del-issue + - Schreibe klare und beschreibende Commit-Nachrichten + - Verwende das konventionelle Commit-Format (z.B. "feat:", "fix:", "docs:") + - Verweise auf relevante Issues in den Commits mit #Issue-Nummer -5. **Antes de enviar** +5. **Vor dem Einreichen** - - Rebasea tu rama con el último Main - - Asegúrate de que tu rama se construya correctamente - - Verifica que todas las pruebas pasen - - Revisa tus cambios para eliminar cualquier código de depuración o registros de consola + - Rebase deinen Branch mit dem neuesten Main + - Stelle sicher, dass dein Branch korrekt gebaut wird + - Überprüfe, dass alle Tests bestehen + - Überprüfe deine Änderungen, um jeglichen Debug-Code oder Konsolenprotokolle zu entfernen -6. **Descripción del Pull Request** - - Describe claramente lo que hacen tus cambios - - Añade pasos para probar los cambios - - Enumera cualquier cambio importante - - Añade capturas de pantalla para cambios en la interfaz de usuario +6. **Beschreibung des Pull Requests** + - Beschreibe klar, was deine Änderungen bewirken + - Füge Schritte hinzu, um die Änderungen zu testen + - Liste alle wichtigen Änderungen auf + - Füge Screenshots für Änderungen an der Benutzeroberfläche hinzu -## Acuerdo de contribución +## Beitragsvereinbarung -Al enviar un Pull Request, aceptas que tus contribuciones se licencien bajo la misma licencia que el proyecto ([Apache 2.0](LICENSE)). +Durch das Einreichen eines Pull Requests erklärst du dich damit einverstanden, dass deine Beiträge unter derselben Lizenz wie das Projekt ([Apache 2.0](LICENSE)) lizenziert werden. -Recuerda: Contribuir a Cline no solo significa escribir código, sino ser parte de una comunidad que está dando forma al futuro del desarrollo asistido por IA. ¡Hagamos algo grandioso juntos! 🚀 +Denke daran: Zu Cline beizutragen bedeutet nicht nur, Code zu schreiben, sondern Teil einer Community zu sein, die die Zukunft der KI-gestützten Entwicklung gestaltet. Lass uns gemeinsam etwas Großartiges schaffen! 🚀 diff --git a/locales/zh-cn/README.md b/locales/zh-cn/README.md index 6fbe1d8215..0e6fd20d50 100644 --- a/locales/zh-cn/README.md +++ b/locales/zh-cn/README.md @@ -1,4 +1,4 @@ -# Cline – \#1 on OpenRouter +# Cline – OpenRouter 排名第一

From c52866693ca402338587420fff805b1c8e82c0cc Mon Sep 17 00:00:00 2001 From: brownrw8 Date: Mon, 27 Jan 2025 11:00:51 -1000 Subject: [PATCH 7/9] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index fa8919d10c..d6c3213d85 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ +Meet Cline, an AI assistant that can use your **CLI** a**N**d **E**ditor. + Other language [README files](./README.md) are available in: - [Español](./locales/es/README.md) - [Deutsch](./locales/de/README.md) From 413c4f894201d6fee20074bbce7cef79f7b4911b Mon Sep 17 00:00:00 2001 From: Ocasta Date: Mon, 27 Jan 2025 13:21:18 -0800 Subject: [PATCH 8/9] add test procedure to PR template --- .github/pull_request_template.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index a4dc71c669..22a8a9976e 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -2,6 +2,10 @@ +### Test Procedure + + + ### Type of Change From 32069f2882ba69249a758104c3c88aa9bda127da Mon Sep 17 00:00:00 2001 From: brownrw8 Date: Mon, 27 Jan 2025 13:43:19 -1000 Subject: [PATCH 9/9] Additional i18n-l10n for Welcome/Home/Chat/History + Spanish language translations (#1494) * more i18n * translations fix * de tweak --- .../src/components/chat/Announcement.tsx | 4 +- .../src/components/chat/AutoApproveMenu.tsx | 15 +- webview-ui/src/components/chat/ChatRow.tsx | 173 +++++++++-------- .../src/components/chat/ChatTextArea.tsx | 7 +- webview-ui/src/components/chat/ChatView.tsx | 31 ++-- .../src/components/history/HistoryPreview.tsx | 15 +- .../src/components/history/HistoryView.tsx | 49 ++--- .../src/components/settings/ApiOptions.tsx | 4 +- .../components/settings/LanguageOptions.tsx | 1 + .../src/components/welcome/WelcomeView.tsx | 30 +-- webview-ui/src/i18n.ts | 2 + webview-ui/src/locales/de/translation.json | 103 +++++++++++ webview-ui/src/locales/en/translation.json | 103 +++++++++++ webview-ui/src/locales/es/translation.json | 175 ++++++++++++++++++ webview-ui/src/locales/ja/translation.json | 103 +++++++++++ webview-ui/src/locales/zh-cn/translation.json | 103 +++++++++++ webview-ui/src/locales/zh-tw/translation.json | 103 +++++++++++ 17 files changed, 872 insertions(+), 149 deletions(-) create mode 100644 webview-ui/src/locales/es/translation.json diff --git a/webview-ui/src/components/chat/Announcement.tsx b/webview-ui/src/components/chat/Announcement.tsx index 77e8d1774d..96125cc3bf 100644 --- a/webview-ui/src/components/chat/Announcement.tsx +++ b/webview-ui/src/components/chat/Announcement.tsx @@ -114,8 +114,8 @@ const Announcement = ({ version, hideAnnouncement }: AnnouncementProps) => { , - RedditLink: , + DiscordLink: , + RedditLink: , }} />

diff --git a/webview-ui/src/components/chat/AutoApproveMenu.tsx b/webview-ui/src/components/chat/AutoApproveMenu.tsx index aa3a8a44a7..006e37df51 100644 --- a/webview-ui/src/components/chat/AutoApproveMenu.tsx +++ b/webview-ui/src/components/chat/AutoApproveMenu.tsx @@ -5,6 +5,7 @@ import { useExtensionState } from "../../context/ExtensionStateContext" import { AutoApprovalSettings } from "../../../../src/shared/AutoApprovalSettings" import { vscode } from "../../utils/vscode" import { getAsVar, VSC_FOREGROUND, VSC_TITLEBAR_INACTIVE_FOREGROUND, VSC_DESCRIPTION_FOREGROUND } from "../../utils/vscStyles" +import { useTranslation } from "react-i18next" interface AutoApproveMenuProps { style?: React.CSSProperties @@ -50,6 +51,7 @@ const ACTION_METADATA: { ] const AutoApproveMenu = ({ style }: AutoApproveMenuProps) => { + const { t } = useTranslation("translation", { keyPrefix: "autoApproveMenu" }) const { autoApprovalSettings } = useExtensionState() const [isExpanded, setIsExpanded] = useState(false) const [isHoveringCollapsibleSection, setIsHoveringCollapsibleSection] = useState(false) @@ -190,7 +192,7 @@ const AutoApproveMenu = ({ style }: AutoApproveMenuProps) => { color: getAsVar(VSC_FOREGROUND), whiteSpace: "nowrap", }}> - Auto-approve: + {t("autoApprove")} { overflow: "hidden", textOverflow: "ellipsis", }}> - {enabledActions.length === 0 ? "None" : enabledActionsList} + {enabledActions.length === 0 ? t("none") : enabledActionsList} { color: getAsVar(VSC_DESCRIPTION_FOREGROUND), fontSize: "12px", }}> - Auto-approve allows Cline to perform the following actions without asking for permission. Please use with - caution and only enable if you understand the risks. + {t("autoApproveDescription")} {ACTION_METADATA.map((action) => (
@@ -285,7 +286,7 @@ const AutoApproveMenu = ({ style }: AutoApproveMenuProps) => { fontSize: "12px", marginBottom: "10px", }}> - Cline will automatically make this many API requests before asking for approval to proceed with the task. + {t("autoApproveMaxRequestsDescription")}
{ const checked = (e.target as HTMLInputElement).checked updateNotifications(checked) }}> - Enable Notifications + {t("enableNotifications")}
{ color: getAsVar(VSC_DESCRIPTION_FOREGROUND), fontSize: "12px", }}> - Receive system notifications when Cline requires approval to proceed or when a task is completed. + {t("enableNotificationsDescription")}
diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index fed1bb0cf4..979bf3b274 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/webview-ui/src/components/chat/ChatRow.tsx @@ -2,6 +2,8 @@ import { VSCodeBadge, VSCodeProgressRing } from "@vscode/webview-ui-toolkit/reac import deepEqual from "fast-deep-equal" import React, { memo, useCallback, useEffect, useMemo, useRef, useState } from "react" import { useEvent, useSize } from "react-use" +import { useTranslation } from "react-i18next" +import { Trans } from "react-i18next" import styled from "styled-components" import { ClineApiReqInfo, @@ -99,6 +101,7 @@ const ChatRow = memo( export default ChatRow export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessage, isLast }: ChatRowContentProps) => { + const { t } = useTranslation("translation", { keyPrefix: "chatRow" }) const { mcpServers } = useExtensionState() const [seeNewChangesDisabled, setSeeNewChangesDisabled] = useState(false) @@ -151,7 +154,7 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi color: errorColor, marginBottom: "-1.5px", }}>
, - Error, + {t("error")}, ] case "mistake_limit_reached": return [ @@ -161,7 +164,7 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi color: errorColor, marginBottom: "-1.5px", }}>, - Cline is having trouble..., + {t("mistakeLimitReached")}, ] case "auto_approval_max_req_reached": return [ @@ -171,7 +174,7 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi color: errorColor, marginBottom: "-1.5px", }}>, - Maximum Requests Reached, + {t("autoApprovalMaxReqReached")}, ] case "command": return [ @@ -186,7 +189,7 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi }}> ), - {message.type === "ask" ? "Cline wants to execute this command:" : "Cline executed this command:"} + {message.type === "ask" ? t("command.ask") : t("command.say")} , ] case "use_mcp_server": @@ -205,13 +208,23 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi {message.type === "ask" ? ( <> - Cline wants to {mcpServerUse.type === "use_mcp_tool" ? "use a tool" : "access a resource"} on the{" "} - {mcpServerUse.serverName} MCP server: + {t("useMcpServer.ask", { + type: + mcpServerUse.type === "use_mcp_tool" + ? t("useMcpServer.tool") + : t("useMcpServer.resource"), + serverName: mcpServerUse.serverName, + })} ) : ( <> - Cline {mcpServerUse.type === "use_mcp_tool" ? "used a tool" : "accessed a resource"} on the{" "} - {mcpServerUse.serverName} MCP server: + {t("useMcpServer.say", { + type: + mcpServerUse.type === "use_mcp_tool" + ? t("useMcpServer.tool") + : t("useMcpServer.resource"), + serverName: mcpServerUse.serverName, + })} )} , @@ -224,7 +237,7 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi color: successColor, marginBottom: "-1.5px", }}>, - Task Completed, + {t("completionResult")}, ] case "api_req_started": const getIconSpan = (iconName: string, color: string) => ( @@ -266,7 +279,7 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi color: normalColor, fontWeight: "bold", }}> - API Request Cancelled + {t("apiReqCancelled")} ) : ( - API Streaming Failed + {t("apiStreamingFailed")} ) ) : cost != null ? ( - API Request + {t("apiRequest")} ) : apiRequestFailedMessage ? ( - API Request Failed + {t("apiRequestFailed")} ) : ( - API Request... + {t("apiRequestInProgress")} ), ] case "followup": @@ -293,7 +306,7 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi color: normalColor, marginBottom: "-1.5px", }}>, - Cline has a question:, + {t("followup")}, ] default: return [null, null] @@ -307,6 +320,7 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi isMcpServerResponding, message.text, message.type, + t, ]) const headerStyle: React.CSSProperties = { @@ -347,7 +361,7 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi
{toolIcon("edit")} - {message.type === "ask" ? "Cline wants to edit this file:" : "Cline is editing this file:"} + {message.type === "ask" ? t("tool.editedExistingFile.ask") : t("tool.editedExistingFile.say")}
{toolIcon("new-file")} - {message.type === "ask" ? "Cline wants to create a new file:" : "Cline is creating a new file:"} + {message.type === "ask" ? t("tool.createdNewFile.ask") : t("tool.createdNewFile.say")} {toolIcon("file-code")} - {message.type === "ask" ? "Cline wants to read this file:" : "Cline read this file:"} + {message.type === "ask" ? t("tool.readExistingFile.ask") : t("tool.readExistingFile.say")} {/*

- It seems like you're having Windows PowerShell issues, please see this{" "} - - troubleshooting guide - - . + + PowerShell + + ), + }} + /> )}

- {/* {apiProvider === "" && ( -
+ - - - Uh-oh, this could be a problem on end. We've been alerted and - will resolve this ASAP. You can also{" "} - - contact us - - . - -
- )} */} + marginRight: 6, + fontSize: 16, + color: "var(--vscode-errorForeground)", + }}> + + Uh-oh, this could be a problem on end. We've been alerted and + will resolve this ASAP. You can also{" "} + + contact us + + . + + + )} */} )} @@ -923,13 +941,10 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi fontWeight: 500, color: "#FFA500", }}> - Diff Edit Failed + {t("diffEditFailed")} -
- This usually happens when the model uses search patterns that don't match anything in the - file. Retrying... -
+
{t("diffEditFailedMessage")}
) @@ -969,7 +984,7 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi cursor: seeNewChangesDisabled ? "wait" : "pointer", }}> - See new changes + {t("seeNewChanges")} )} @@ -1005,23 +1020,10 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi fontWeight: 500, color: "#FFA500", }}> - Shell Integration Unavailable + {t("shellIntegrationUnavailable")} -
- Cline won't be able to view the command's output. Please update VSCode ( - CMD/CTRL + Shift + P → "Update") and make sure you're using a supported shell: - zsh, bash, fish, or PowerShell (CMD/CTRL + Shift + P → "Terminal: Select Default - Profile").{" "} - - Still having trouble? - -
+
{t("shellIntegrationUnavailableMessage")}
) @@ -1036,7 +1038,14 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi fontSize: "12px", textTransform: "uppercase", }}> - Response + + {t("response")} + - See new changes + {t("seeNewChanges")} )} diff --git a/webview-ui/src/components/chat/ChatTextArea.tsx b/webview-ui/src/components/chat/ChatTextArea.tsx index 0f11b0a677..a7ff649928 100644 --- a/webview-ui/src/components/chat/ChatTextArea.tsx +++ b/webview-ui/src/components/chat/ChatTextArea.tsx @@ -4,7 +4,7 @@ import DynamicTextArea from "react-textarea-autosize" import { useClickAway, useWindowSize } from "react-use" import styled from "styled-components" import { mentionRegex, mentionRegexGlobal } from "../../../../src/shared/context-mentions" -import { ExtensionMessage } from "../../../../src/shared/ExtensionMessage" +import { useTranslation } from "react-i18next" import { useExtensionState } from "../../context/ExtensionStateContext" import { ContextMenuOptionType, @@ -211,6 +211,7 @@ const ChatTextArea = forwardRef( }, ref, ) => { + const { t } = useTranslation("translation", { keyPrefix: "chatTextArea" }) const { filePaths, chatSettings, apiConfiguration, openRouterModels } = useExtensionState() const [isTextAreaFocused, setIsTextAreaFocused] = useState(false) const [thumbnailsHeight, setThumbnailsHeight] = useState(0) @@ -1063,8 +1064,8 @@ const ChatTextArea = forwardRef( - Plan - Act + {t("plan")} + {t("act")} diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index aec4e544a9..1fe0211c52 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -3,6 +3,8 @@ import debounce from "debounce" import { useCallback, useEffect, useMemo, useRef, useState } from "react" import { useDeepCompareEffect, useEvent, useMount } from "react-use" import { Virtuoso, type VirtuosoHandle } from "react-virtuoso" +import { useTranslation } from "react-i18next" +import { Trans } from "react-i18next" import styled from "styled-components" import { ClineAsk, @@ -36,6 +38,7 @@ interface ChatViewProps { export const MAX_IMAGES_PER_MESSAGE = 20 // Anthropic limits to 20 images const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryView }: ChatViewProps) => { + const { t } = useTranslation("translation", { keyPrefix: "chatView" }) const { version, clineMessages: messages, taskHistory, apiConfiguration } = useExtensionState() //const task = messages.length > 0 ? (messages[0].say === "task" ? messages[0] : undefined) : undefined) : undefined @@ -666,9 +669,8 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie useEvent("wheel", handleWheel, window, { passive: true }) // passive improves scrolling performance const placeholderText = useMemo(() => { - const text = task ? "Type a message..." : "Type your task here..." - return text - }, [task]) + return task ? t("typeMessage") : t("typeTask") + }, [task, t]) const itemContent = useCallback( (index: number, messageOrGroup: ClineMessage | ClineMessage[]) => { @@ -743,18 +745,19 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie }}> {showAnnouncement && }
-

What can I do for you?

+

{t("whatCanIDoForYou")}

- Thanks to{" "} - - Claude 3.5 Sonnet's agentic coding capabilities, - {" "} - I can handle complex software development tasks step-by-step. With tools that let me create & edit - files, explore complex projects, use the browser, and execute terminal commands (after you grant - permission), I can assist you in ways that go beyond code completion or tech support. I can even use - MCP to create new tools and extend my own capabilities. + + ), + }} + />

{taskHistory.length > 0 && } diff --git a/webview-ui/src/components/history/HistoryPreview.tsx b/webview-ui/src/components/history/HistoryPreview.tsx index 06a2e9bc62..7725b69404 100644 --- a/webview-ui/src/components/history/HistoryPreview.tsx +++ b/webview-ui/src/components/history/HistoryPreview.tsx @@ -3,12 +3,14 @@ import { useExtensionState } from "../../context/ExtensionStateContext" import { vscode } from "../../utils/vscode" import { memo } from "react" import { formatLargeNumber } from "../../utils/format" +import { useTranslation } from "react-i18next" type HistoryPreviewProps = { showHistoryView: () => void } const HistoryPreview = ({ showHistoryView }: HistoryPreviewProps) => { + const { t } = useTranslation("translation", { keyPrefix: "historyPreview" }) const { taskHistory } = useExtensionState() const handleHistorySelect = (id: string) => { vscode.postMessage({ type: "showTaskWithId", text: id }) @@ -69,7 +71,7 @@ const HistoryPreview = ({ showHistoryView }: HistoryPreviewProps) => { fontSize: "0.85em", textTransform: "uppercase", }}> - Recent Tasks + {t("recentTasks")} @@ -112,13 +114,14 @@ const HistoryPreview = ({ showHistoryView }: HistoryPreviewProps) => { color: "var(--vscode-descriptionForeground)", }}> - Tokens: ↑{formatLargeNumber(item.tokensIn || 0)} ↓{formatLargeNumber(item.tokensOut || 0)} + {t("tokens")}: ↑{formatLargeNumber(item.tokensIn || 0)} ↓ + {formatLargeNumber(item.tokensOut || 0)} {!!item.cacheWrites && ( <> {" • "} - Cache: +{formatLargeNumber(item.cacheWrites || 0)} →{" "} + {t("cache")}: +{formatLargeNumber(item.cacheWrites || 0)} →{" "} {formatLargeNumber(item.cacheReads || 0)} @@ -126,7 +129,9 @@ const HistoryPreview = ({ showHistoryView }: HistoryPreviewProps) => { {!!item.totalCost && ( <> {" • "} - API Cost: ${item.totalCost?.toFixed(4)} + + {t("apiCost")}: ${item.totalCost?.toFixed(4)} + )} @@ -150,7 +155,7 @@ const HistoryPreview = ({ showHistoryView }: HistoryPreviewProps) => { fontSize: "var(--vscode-font-size)", color: "var(--vscode-descriptionForeground)", }}> - View all history + {t("viewAllHistory")} diff --git a/webview-ui/src/components/history/HistoryView.tsx b/webview-ui/src/components/history/HistoryView.tsx index d50b4b39db..fb5d32f956 100644 --- a/webview-ui/src/components/history/HistoryView.tsx +++ b/webview-ui/src/components/history/HistoryView.tsx @@ -6,6 +6,7 @@ import { memo, useMemo, useState, useEffect } from "react" import Fuse, { FuseResult } from "fuse.js" import { formatLargeNumber } from "../../utils/format" import { formatSize } from "../../utils/size" +import { useTranslation } from "react-i18next" type HistoryViewProps = { onDone: () => void @@ -14,6 +15,7 @@ type HistoryViewProps = { type SortOption = "newest" | "oldest" | "mostExpensive" | "mostTokens" | "mostRelevant" const HistoryView = ({ onDone }: HistoryViewProps) => { + const { t } = useTranslation("translation", { keyPrefix: "historyView" }) const { taskHistory } = useExtensionState() const [searchQuery, setSearchQuery] = useState("") const [sortOption, setSortOption] = useState("newest") @@ -142,9 +144,9 @@ const HistoryView = ({ onDone }: HistoryViewProps) => { color: "var(--vscode-foreground)", margin: 0, }}> - History + {t("history")} - Done + {t("done")}
{ }}> { const newValue = (e.target as HTMLInputElement)?.value @@ -192,12 +194,12 @@ const HistoryView = ({ onDone }: HistoryViewProps) => { style={{ display: "flex", flexWrap: "wrap" }} value={sortOption} onChange={(e) => setSortOption((e.target as HTMLInputElement).value as SortOption)}> - Newest - Oldest - Most Expensive - Most Tokens + {t("newest")} + {t("oldest")} + {t("mostExpensive")} + {t("mostTokens")} - Most Relevant + {t("mostRelevant")}
@@ -319,7 +321,7 @@ const HistoryView = ({ onDone }: HistoryViewProps) => { fontWeight: 500, color: "var(--vscode-descriptionForeground)", }}> - Tokens: + {t("tokens")} { fontWeight: 500, color: "var(--vscode-descriptionForeground)", }}> - Cache: + {t("cache")} { fontWeight: 500, color: "var(--vscode-descriptionForeground)", }}> - API Cost: + {t("apiCost")} { ) } -const ExportButton = ({ itemId }: { itemId: string }) => ( - { - e.stopPropagation() - vscode.postMessage({ type: "exportTaskWithId", text: itemId }) - }}> -
EXPORT
-
-) +const ExportButton = ({ itemId }: { itemId: string }) => { + const { t } = useTranslation("translation", { keyPrefix: "historyView" }) + return ( + { + e.stopPropagation() + vscode.postMessage({ type: "exportTaskWithId", text: itemId }) + }}> +
{t("export")}
+
+ ) +} // https://gist.github.com/evenfrost/1ba123656ded32fb7a0cd4651efd4db0 export const highlight = (fuseSearchResult: FuseResult[], highlightClassName: string = "history-item-highlight") => { diff --git a/webview-ui/src/components/settings/ApiOptions.tsx b/webview-ui/src/components/settings/ApiOptions.tsx index d19443cf93..4451dda4bf 100644 --- a/webview-ui/src/components/settings/ApiOptions.tsx +++ b/webview-ui/src/components/settings/ApiOptions.tsx @@ -75,7 +75,7 @@ declare module "vscode" { } const ApiOptions = ({ showModelOptions, apiErrorMessage, modelIdErrorMessage, isPopup }: ApiOptionsProps) => { - const { t, ready } = useTranslation("translation", { keyPrefix: "apiOptions", useSuspense: false }) + const { t } = useTranslation("translation", { keyPrefix: "apiOptions" }) const { apiConfiguration, setApiConfiguration, uriScheme } = useExtensionState() const [ollamaModels, setOllamaModels] = useState([]) const [lmStudioModels, setLmStudioModels] = useState([]) @@ -831,7 +831,7 @@ export const ModelInfoView = ({ isPopup?: boolean }) => { const isGemini = Object.keys(geminiModels).includes(selectedModelId) - const { t, ready } = useTranslation("translation", { keyPrefix: "apiOptions", useSuspense: false }) + const { t } = useTranslation("translation", { keyPrefix: "apiOptions" }) const infoItems = [ modelInfo.description && ( diff --git a/webview-ui/src/components/settings/LanguageOptions.tsx b/webview-ui/src/components/settings/LanguageOptions.tsx index 0f9bc1b349..8d66231728 100644 --- a/webview-ui/src/components/settings/LanguageOptions.tsx +++ b/webview-ui/src/components/settings/LanguageOptions.tsx @@ -22,6 +22,7 @@ const LanguageOptions = () => { style={{ width: "100%" }} onChange={changeLanguage}> English + Español Deutsch 中文(简体) 中文(繁體) diff --git a/webview-ui/src/components/welcome/WelcomeView.tsx b/webview-ui/src/components/welcome/WelcomeView.tsx index 7de9200270..498469584f 100644 --- a/webview-ui/src/components/welcome/WelcomeView.tsx +++ b/webview-ui/src/components/welcome/WelcomeView.tsx @@ -4,8 +4,12 @@ import { useExtensionState } from "../../context/ExtensionStateContext" import { validateApiConfiguration } from "../../utils/validate" import { vscode } from "../../utils/vscode" import ApiOptions from "../settings/ApiOptions" +import { useTranslation } from "react-i18next" +import { Trans } from "react-i18next" const WelcomeView = () => { + const { t } = useTranslation("translation", { keyPrefix: "welcomeView" }) + const { apiConfiguration } = useExtensionState() const [apiErrorMessage, setApiErrorMessage] = useState(undefined) @@ -30,25 +34,27 @@ const WelcomeView = () => { bottom: 0, padding: "0 20px", }}> -

Hi, I'm Cline

+

{t("greeting")}

- I can do all kinds of tasks thanks to the latest breakthroughs in{" "} - - Claude 3.5 Sonnet's agentic coding capabilities - {" "} - and access to tools that let me create & edit files, explore complex projects, use the browser, and execute - terminal commands (with your permission, of course). I can even use MCP to create new tools and extend my own - capabilities. + + ), + }} + />

- To get started, this extension needs an API provider for Claude 3.5 Sonnet. + {t("getStarted")}
- Let's go! + {t("letsGo")}
diff --git a/webview-ui/src/i18n.ts b/webview-ui/src/i18n.ts index 774dbb4fdc..affbac2329 100644 --- a/webview-ui/src/i18n.ts +++ b/webview-ui/src/i18n.ts @@ -2,6 +2,7 @@ import i18n from "i18next" import { initReactI18next } from "react-i18next" import translationEN from "./locales/en/translation.json" +//import translationES from "./locales/es/translation.json" //import translationDE from "./locales/de/translation.json" //import translationZHCN from "./locales/zh-cn/translation.json" //import translationZHTW from "./locales/zh-tw/translation.json" @@ -19,6 +20,7 @@ i18n.use(initReactI18next) // passes i18n down to react-i18next }) i18n.addResourceBundle("en", "translation", translationEN) +//i18n.addResourceBundle("es", "translation", translationES) //i18n.addResourceBundle("de", "translation", translationDE) //i18n.addResourceBundle("zh-CN", "translation", translationZHCN) //i18n.addResourceBundle("zh-TW", "translation", translationZHTW) diff --git a/webview-ui/src/locales/de/translation.json b/webview-ui/src/locales/de/translation.json index 38bd488e24..921469994a 100644 --- a/webview-ui/src/locales/de/translation.json +++ b/webview-ui/src/locales/de/translation.json @@ -68,5 +68,108 @@ "geminiInfo": "* Kostenlos bis zu {{selectedModelId}} Anfragen pro Minute. Danach hängt die Abrechnung von der Prompt-Größe ab.", "pricingDetails": "Weitere Informationen finden Sie in den Preisdaten.", "languageModel": "Sprachmodell" + }, + "welcomeView": { + "greeting": "Hallo! Ich bin Cline, dein KI-Assistent.", + "description": "Ich kann alle möglichen Aufgaben dank der neuesten Durchbrüche in Claude 3.5 Sonnets agentischen Codierungsfähigkeiten und dem Zugriff auf Werkzeuge, die es mir ermöglichen, Dateien zu erstellen und zu bearbeiten, komplexe Projekte zu erkunden, den Browser zu verwenden und Terminalbefehle auszuführen (natürlich mit deiner Erlaubnis). Ich kann sogar MCP verwenden, um neue Werkzeuge zu erstellen und meine eigenen Fähigkeiten zu erweitern.", + "getStarted": "Um loszulegen, benötigt diese Erweiterung einen API-Anbieter für Claude 3.5 Sonnet.", + "letsGo": "Los geht's!" + }, + "chatView": { + "typeMessage": "Nachricht eingeben...", + "typeTask": "Aufgabe eingeben...", + "whatCanIDoForYou": "Was kann ich für dich tun?", + "thanksTo": "Dank Claude 3.5 Sonnets agentischen Codierungsfähigkeiten kann ich komplexe Softwareentwicklungsaufgaben Schritt für Schritt bewältigen. Mit Werkzeugen, die es mir ermöglichen, Dateien zu erstellen und zu bearbeiten, komplexe Projekte zu erkunden, den Browser zu verwenden und Terminalbefehle auszuführen (nachdem du die Erlaubnis erteilt hast), kann ich dir auf eine Weise helfen, die über die Codevervollständigung oder den technischen Support hinausgeht. Ich kann sogar MCP verwenden, um neue Werkzeuge zu erstellen und meine eigenen Fähigkeiten zu erweitern." + }, + "chatTextArea": { + "plan": "Planen", + "act": "Handeln" + }, + "chatRow": { + "error": "Fehler", + "mistakeLimitReached": "Fehlergrenze erreicht", + "autoApprovalMaxReqReached": "Maximale Anzahl automatischer Genehmigungen erreicht", + "command": { + "ask": "Cline möchte diesen Befehl ausführen:", + "say": "Cline hat diesen Befehl ausgeführt:" + }, + "useMcpServer": { + "ask": "Cline möchte dieses {type} auf {serverName} verwenden:", + "say": "Cline hat dieses {type} auf {serverName} verwendet:", + "tool": "Werkzeug", + "resource": "Ressource" + }, + "completionResult": "Abschlussergebnis", + "apiReqCancelled": "API-Anfrage abgebrochen", + "apiStreamingFailed": "API-Streaming fehlgeschlagen", + "apiRequest": "API-Anfrage", + "apiRequestFailed": "API-Anfrage fehlgeschlagen", + "apiRequestInProgress": "API-Anfrage in Bearbeitung", + "followup": "Nachverfolgung", + "tool": { + "editedExistingFile": { + "ask": "Cline möchte diese Datei bearbeiten:", + "say": "Cline bearbeitet diese Datei:" + }, + "createdNewFile": { + "ask": "Cline möchte diese Datei erstellen:", + "say": "Cline hat diese Datei erstellt:" + }, + "readExistingFile": { + "ask": "Cline möchte diese Datei lesen:", + "say": "Cline hat diese Datei gelesen:" + } + }, + "apiReqStarted": "API-Anfrage gestartet", + "userFeedback": "Benutzer-Feedback", + "userFeedbackDiff": "Benutzer-Feedback-Diff", + "diffEditFailed": "Diff-Bearbeitung fehlgeschlagen", + "shellIntegrationUnavailable": "Shell-Integration nicht verfügbar", + "mcpServerResponse": "MCP-Server-Antwort", + "planModeResponse": "Planmodus-Antwort", + "seeNewChanges": "Neue Änderungen anzeigen", + "commandRequiresApproval": "Das Modell hat bestimmt, dass dieser Befehl eine ausdrückliche Genehmigung erfordert.", + "troubleshootingGuide": "Es scheint, dass Sie Probleme mit Windows PowerShell haben. Bitte sehen Sie sich diesen Fehlerbehebungsleitfaden an.", + "clineWantsToViewTopLevelFiles": "Cline möchte die obersten Dateien in diesem Verzeichnis anzeigen:", + "clineViewedTopLevelFiles": "Cline hat die obersten Dateien in diesem Verzeichnis angezeigt:", + "clineWantsToRecursivelyViewFiles": "Cline möchte alle Dateien in diesem Verzeichnis rekursiv anzeigen:", + "clineRecursivelyViewedFiles": "Cline hat alle Dateien in diesem Verzeichnis rekursiv angezeigt:", + "clineWantsToViewSourceCodeDefinitions": "Cline möchte die in diesem Verzeichnis verwendeten Quellcode-Definitionsnamen anzeigen:", + "clineViewedSourceCodeDefinitions": "Cline hat die in diesem Verzeichnis verwendeten Quellcode-Definitionsnamen angezeigt:", + "clineWantsToSearchDirectory": "Cline möchte dieses Verzeichnis nach {{regex}} durchsuchen:", + "clineSearchedDirectory": "Cline hat dieses Verzeichnis nach {{regex}} durchsucht:", + "diffEditFailedMessage": "Dies passiert normalerweise, wenn das Modell Suchmuster verwendet, die nichts in der Datei finden. Erneut versuchen...", + "shellIntegrationUnavailableMessage": "Cline kann die Ausgabe des Befehls nicht anzeigen. Bitte aktualisiere VSCode (CMD/CTRL + Shift + P → \"Update\") und stelle sicher, dass du eine unterstützte Shell verwendest: zsh, bash, fish oder PowerShell (CMD/CTRL + Shift + P → \"Terminal: Standardprofil auswählen\"). Immer noch Probleme?", + "response": "Antwort", + "stillHavingTrouble": "Immer noch Probleme?" + }, + "autoApproveMenu": { + "none": "Keine", + "autoApprove": "Automatische Genehmigung:", + "autoApproveDescription": "Die automatische Genehmigung ermöglicht es Cline, die folgenden Aktionen ohne Erlaubnis auszuführen. Bitte mit Vorsicht verwenden und nur aktivieren, wenn Sie die Risiken verstehen.", + "autoApproveMaxRequestsDescription": "Cline wird automatisch so viele API-Anfragen stellen, bevor eine Genehmigung zur Fortsetzung der Aufgabe erforderlich ist.", + "enableNotifications": "Benachrichtigungen aktivieren", + "enableNotificationsDescription": "Erhalte Systembenachrichtigungen, wenn Cline eine Genehmigung zur Fortsetzung benötigt oder wenn eine Aufgabe abgeschlossen ist." + }, + "historyPreview": { + "recentTasks": "Kürzliche Aufgaben", + "tokens": "Tokens", + "cache": "Cache", + "apiCost": "API-Kosten", + "viewAllHistory": "Alle Verlauf anzeigen" + }, + "historyView": { + "history": "Verlauf", + "done": "Fertig", + "fuzzySearchHistory": "Verlauf unscharf durchsuchen...", + "newest": "Neueste", + "oldest": "Älteste", + "mostExpensive": "Teuerste", + "mostTokens": "Meiste Tokens", + "mostRelevant": "Relevanteste", + "tokens": "Tokens:", + "cache": "Cache:", + "apiCost": "API-Kosten:", + "export": "EXPORTIEREN" } } diff --git a/webview-ui/src/locales/en/translation.json b/webview-ui/src/locales/en/translation.json index 4f7ddd16f9..0578d51c48 100644 --- a/webview-ui/src/locales/en/translation.json +++ b/webview-ui/src/locales/en/translation.json @@ -68,5 +68,108 @@ "geminiInfo": "* Free up to {{selectedModelId}} requests per minute. After that, billing depends on prompt size.", "pricingDetails": "For more info, see pricing details.", "languageModel": "Language Model" + }, + "welcomeView": { + "greeting": "Hello! I'm Cline, your AI assistant.", + "description": "I can do all kinds of tasks thanks to the latest breakthroughs in Claude 3.5 Sonnet's agentic coding capabilities and access to tools that let me create & edit files, explore complex projects, use the browser, and execute terminal commands (with your permission, of course). I can even use MCP to create new tools and extend my own capabilities.", + "getStarted": "To get started, this extension needs an API provider for Claude 3.5 Sonnet.", + "letsGo": "Let's go!" + }, + "chatView": { + "typeMessage": "Type a message...", + "typeTask": "Type a task...", + "whatCanIDoForYou": "What can I do for you?", + "thanksTo": "Thanks to Claude 3.5 Sonnet's agentic coding capabilities, I can handle complex software development tasks step-by-step. With tools that let me create & edit files, explore complex projects, use the browser, and execute terminal commands (after you grant permission), I can assist you in ways that go beyond code completion or tech support. I can even use MCP to create new tools and extend my own capabilities." + }, + "chatTextArea": { + "plan": "Plan", + "act": "Act" + }, + "chatRow": { + "error": "Error", + "mistakeLimitReached": "Cline is having trouble...", + "autoApprovalMaxReqReached": "Maximum Requests Reached", + "command": { + "ask": "Cline wants to execute this command:", + "say": "Cline executed this command:" + }, + "useMcpServer": { + "ask": "Cline wants to use this {type} on {serverName}:", + "say": "Cline used this {type} on {serverName}:", + "tool": "tool", + "resource": "resource" + }, + "completionResult": "Task Completed", + "apiReqCancelled": "API Request Cancelled", + "apiStreamingFailed": "API Streaming Failed", + "apiRequest": "API Request", + "apiRequestFailed": "API Request Failed", + "apiRequestInProgress": "API Request...", + "followup": "Cline has a question:", + "tool": { + "editedExistingFile": { + "ask": "Cline wants to edit this file:", + "say": "Cline is editing this file:" + }, + "createdNewFile": { + "ask": "Cline wants to create this file:", + "say": "Cline created this file:" + }, + "readExistingFile": { + "ask": "Cline wants to read this file:", + "say": "Cline read this file:" + } + }, + "apiReqStarted": "API Request Started", + "userFeedback": "User Feedback", + "userFeedbackDiff": "User Feedback Diff", + "diffEditFailed": "Diff Edit Failed", + "shellIntegrationUnavailable": "Shell Integration Unavailable", + "mcpServerResponse": "MCP Server Response", + "planModeResponse": "Plan Mode Response", + "seeNewChanges": "See new changes", + "commandRequiresApproval": "The model has determined this command requires explicit approval.", + "troubleshootingGuide": "It seems like you're having Windows PowerShell issues, please see this troubleshooting guide", + "clineWantsToViewTopLevelFiles": "Cline wants to view the top level files in this directory:", + "clineViewedTopLevelFiles": "Cline viewed the top level files in this directory:", + "clineWantsToRecursivelyViewFiles": "Cline wants to recursively view all files in this directory:", + "clineRecursivelyViewedFiles": "Cline recursively viewed all files in this directory:", + "clineWantsToViewSourceCodeDefinitions": "Cline wants to view source code definition names used in this directory:", + "clineViewedSourceCodeDefinitions": "Cline viewed source code definition names used in this directory:", + "clineWantsToSearchDirectory": "Cline wants to search this directory for {{regex}}:", + "clineSearchedDirectory": "Cline searched this directory for {{regex}}:", + "diffEditFailedMessage": "This usually happens when the model uses search patterns that don't match anything in the file. Retrying...", + "shellIntegrationUnavailableMessage": "Cline won't be able to view the command's output. Please update VSCode (CMD/CTRL + Shift + P → \"Update\") and make sure you're using a supported shell: zsh, bash, fish, or PowerShell (CMD/CTRL + Shift + P → \"Terminal: Select Default Profile\"). Still having trouble?", + "response": "Response", + "stillHavingTrouble": "Still having trouble?" + }, + "autoApproveMenu": { + "none": "None", + "autoApprove": "Auto Approve:", + "autoApproveDescription": "Auto-approve allows Cline to perform the following actions without asking for permission. Please use with caution and only enable if you understand the risks.", + "autoApproveMaxRequestsDescription": "Cline will automatically make this many API requests before asking for approval to proceed with the task.", + "enableNotifications": "Enable Notifications", + "enableNotificationsDescription": "Receive system notifications when Cline requires approval to proceed or when a task is completed." + }, + "historyPreview": { + "recentTasks": "Recent Tasks", + "tokens": "Tokens", + "cache": "Cache", + "apiCost": "API Cost", + "viewAllHistory": "View all history" + }, + "historyView": { + "history": "History", + "done": "Done", + "fuzzySearchHistory": "Fuzzy search history...", + "newest": "Newest", + "oldest": "Oldest", + "mostExpensive": "Most Expensive", + "mostTokens": "Most Tokens", + "mostRelevant": "Most Relevant", + "tokens": "Tokens:", + "cache": "Cache:", + "apiCost": "API Cost:", + "export": "EXPORT" } } diff --git a/webview-ui/src/locales/es/translation.json b/webview-ui/src/locales/es/translation.json new file mode 100644 index 0000000000..df3f5e4eea --- /dev/null +++ b/webview-ui/src/locales/es/translation.json @@ -0,0 +1,175 @@ +{ + "announcement": { + "newInVersion": "Nuevo en la versión {{version}}", + "joinOurCommunities": "Únete a nuestro Discord o Reddit para más actualizaciones!" + }, + "settingsView": { + "settings": "Configuraciones", + "done": "Hecho", + "language": "Idioma", + "customInstructions": "Instrucciones personalizadas", + "customInstructionsPlaceholder": "por ejemplo, \"Realiza pruebas unitarias al final\", \"Usa TypeScript con async/await\", \"Habla en japonés\"", + "customInstructionsDescription": "Estas instrucciones se agregarán al final del prompt del sistema que se envía con cada solicitud.", + "debug": "Depurar", + "resetState": "Restablecer estado", + "resetStateDescription": "Esto restablecerá todo el estado global y el almacenamiento secreto en la extensión.", + "feedback": "Si tienes preguntas o comentarios, no dudes en abrir un issue en", + "version": "v" + }, + "apiOptions": { + "selectModel": "Seleccionar modelo...", + "model": "Modelo", + "apiProvider": "Proveedor de API", + "enterApiKey": "Ingresar clave API...", + "apiKey": "Clave API", + "enterBaseUrl": "Ingresar URL base...", + "baseUrl": "URL base", + "optionalBaseUrl": "URL base (opcional)", + "enterModelId": "Ingresar ID del modelo...", + "modelId": "ID del modelo", + "useCustomBaseUrl": "Usar URL base personalizada", + "apiKeyInfo": "Esta clave se almacena localmente y solo se usa para realizar solicitudes API desde esta extensión.", + "getDefault": "Predeterminado: {{defaultValue}}", + "getApiKeyMessage": "Puedes obtener una clave API de {{vendor}} registrándote aquí.", + "getApiVendorKey": "Clave API de {{vendor}}", + "getCompatibleVendor": "Compatible con {{vendor}}", + "lmStudioInfo": "LM Studio te permite ejecutar modelos localmente en tu computadora. Encuentra instrucciones para comenzar en su Guía de inicio rápido. También debes iniciar la función de servidor local de LM Studio para usarla con esta extensión. (Nota: Cline usa prompts complejos y funciona mejor con modelos Claude. Los modelos menos potentes pueden no funcionar como se espera.)", + "ollamaInfo": "Ollama te permite ejecutar modelos localmente en tu computadora. Encuentra instrucciones para comenzar en su Guía de inicio rápido. (Nota: Cline usa prompts complejos y funciona mejor con modelos Claude. Los modelos menos potentes pueden no funcionar como se espera.)", + "azureInfo": "(Nota: Cline usa prompts complejos y funciona mejor con modelos Claude. Los modelos menos potentes pueden no funcionar como se espera.)", + "setAzureApiVersion": "Establecer versión de API de Azure", + "enterGcpProjectId": "Ingresar ID del proyecto...", + "gcpProjectId": "ID del proyecto de Google Cloud", + "gcpLinks": "Para usar Google Cloud Vertex AI, debes 1) crear una cuenta de Google Cloud › habilitar la API de Vertex AI › habilitar los modelos Claude deseados,
2) instalar la CLI de Google Cloud › configurar credenciales predeterminadas de la aplicación. ", + "enterAwsAccessKey": "Ingresar clave de acceso...", + "awsAccessKey": "Clave de acceso de AWS", + "enterAwsSecretKey": "Ingresar clave secreta...", + "awsSecretKey": "Clave secreta de AWS", + "enterAwsSessionToken": "Ingresar token de sesión...", + "awsSessionToken": "Token de sesión de AWS", + "getRegion": "Región de {{vendor}}", + "selectRegion": "Seleccionar región...", + "useCrossRegionInference": "Usar inferencia entre regiones", + "awsInfo": "Autentícate proporcionando las claves mencionadas arriba o usando las credenciales predeterminadas de AWS, es decir, ~/.aws/credentials o variables de entorno. Estas credenciales solo se usan localmente para realizar solicitudes API desde esta extensión.", + "vscodeLanguageModelsInfo": "La API de Modelos de Lenguaje de VS Code te permite usar modelos proporcionados por otras extensiones de VS Code (incluyendo, pero no limitado a GitHub Copilot). La forma más fácil de comenzar es instalar la extensión Copilot desde el VS Marketplace y habilitar Claude 3.5 Sonnet.", + "experimentalFeature": "Nota: Esta es una integración muy experimental y puede no funcionar como se espera.", + "supportsImages": "Soporta imágenes", + "doesNotSupportImages": "No soporta imágenes", + "supportsComputerUse": "Soporta uso de computadora", + "doesNotSupportComputerUse": "No soporta uso de computadora", + "supportsPromptCache": "Soporta caché de prompts", + "doesNotSupportPromptCache": "No soporta caché de prompts", + "maxOutput": "Salida máxima", + "tokens": "Tokens", + "inputPrice": "Precio de entrada", + "millionTokens": "Millones de tokens", + "cacheWritesPrice": "Precio de escritura en caché", + "cacheReadsPrice": "Precio de lectura en caché", + "outputPrice": "Precio de salida", + "geminiInfo": "* Gratis hasta {{selectedModelId}} solicitudes por minuto. Después, la facturación depende del tamaño del prompt.", + "pricingDetails": "Para más información, consulta los detalles de precios.", + "languageModel": "Modelo de lenguaje" + }, + "welcomeView": { + "greeting": "¡Hola! Soy Cline, tu asistente de IA.", + "description": "Puedo realizar todo tipo de tareas gracias a los últimos avances en las habilidades de codificación agencial de Claude 3.5 Sonnet y el acceso a herramientas que me permiten crear y editar archivos, explorar proyectos complejos, usar el navegador y ejecutar comandos de terminal (por supuesto, con tu permiso). Incluso puedo usar MCP para crear nuevas herramientas y expandir mis propias habilidades.", + "getStarted": "Para comenzar, esta extensión necesita un proveedor de API para Claude 3.5 Sonnet.", + "letsGo": "¡Vamos allá!" + }, + "chatView": { + "typeMessage": "Escribir mensaje...", + "typeTask": "Escribir tarea...", + "whatCanIDoForYou": "¿Qué puedo hacer por ti?", + "thanksTo": "Gracias a las habilidades de codificación agencial de Claude 3.5 Sonnet, puedo manejar tareas complejas de desarrollo de software paso a paso. Con herramientas que me permiten crear y editar archivos, explorar proyectos complejos, usar el navegador y ejecutar comandos de terminal (después de que hayas dado permiso), puedo ayudarte de una manera que va más allá de la autocompletación de código o el soporte técnico. Incluso puedo usar MCP para crear nuevas herramientas y expandir mis propias habilidades." + }, + "chatTextArea": { + "plan": "Planificar", + "act": "Actuar" + }, + "chatRow": { + "error": "Error", + "mistakeLimitReached": "Límite de errores alcanzado", + "autoApprovalMaxReqReached": "Número máximo de aprobaciones automáticas alcanzado", + "command": { + "ask": "Cline quiere ejecutar este comando:", + "say": "Cline ha ejecutado este comando:" + }, + "useMcpServer": { + "ask": "Cline quiere usar este {type} en {serverName}:", + "say": "Cline ha usado este {type} en {serverName}:", + "tool": "Herramienta", + "resource": "Recurso" + }, + "completionResult": "Resultado de la finalización", + "apiReqCancelled": "Solicitud API cancelada", + "apiStreamingFailed": "Transmisión API fallida", + "apiRequest": "Solicitud API", + "apiRequestFailed": "Solicitud API fallida", + "apiRequestInProgress": "Solicitud API en progreso", + "followup": "Seguimiento", + "tool": { + "editedExistingFile": { + "ask": "Cline quiere editar este archivo:", + "say": "Cline está editando este archivo:" + }, + "createdNewFile": { + "ask": "Cline quiere crear este archivo:", + "say": "Cline ha creado este archivo:" + }, + "readExistingFile": { + "ask": "Cline quiere leer este archivo:", + "say": "Cline ha leído este archivo:" + } + }, + "apiReqStarted": "Solicitud API iniciada", + "userFeedback": "Comentarios del usuario", + "userFeedbackDiff": "Diferencia de comentarios del usuario", + "diffEditFailed": "Edición de diferencia fallida", + "shellIntegrationUnavailable": "Integración de shell no disponible", + "mcpServerResponse": "Respuesta del servidor MCP", + "planModeResponse": "Respuesta del modo plan", + "seeNewChanges": "Ver nuevos cambios", + "commandRequiresApproval": "El modelo ha determinado que este comando requiere aprobación explícita.", + "troubleshootingGuide": "Guía de solución de problemas", + "clineWantsToViewTopLevelFiles": "Cline quiere ver los archivos principales en este directorio:", + "clineViewedTopLevelFiles": "Cline ha visto los archivos principales en este directorio:", + "clineWantsToRecursivelyViewFiles": "Cline quiere ver todos los archivos en este directorio de forma recursiva:", + "clineRecursivelyViewedFiles": "Cline ha visto todos los archivos en este directorio de forma recursiva:", + "clineWantsToViewSourceCodeDefinitions": "Cline quiere ver los nombres de las definiciones de código fuente usadas en este directorio:", + "clineViewedSourceCodeDefinitions": "Cline ha visto los nombres de las definiciones de código fuente usadas en este directorio:", + "clineWantsToSearchDirectory": "Cline quiere buscar en este directorio por {{regex}}:", + "clineSearchedDirectory": "Cline ha buscado en este directorio por {{regex}}:", + "diffEditFailedMessage": "Esto generalmente ocurre cuando el modelo usa patrones de búsqueda que no encuentran nada en el archivo. Intentar de nuevo...", + "shellIntegrationUnavailableMessage": "Cline no puede mostrar la salida del comando. Por favor, actualiza VSCode (CMD/CTRL + Shift + P → \"Update\") y asegúrate de estar usando una shell compatible: zsh, bash, fish o PowerShell (CMD/CTRL + Shift + P → \"Terminal: Seleccionar perfil predeterminado\"). ¿Sigues teniendo problemas?", + "response": "Respuesta", + "stillHavingTrouble": "¿Sigues teniendo problemas?" + }, + "autoApproveMenu": { + "none": "Ninguno", + "autoApprove": "Aprobación automática:", + "autoApproveDescription": "La aprobación automática permite a Cline realizar las siguientes acciones sin pedir permiso. Por favor, úsalo con precaución y solo habilítalo si entiendes los riesgos.", + "autoApproveMaxRequestsDescription": "Cline realizará automáticamente tantas solicitudes API antes de que se requiera una aprobación para continuar con la tarea.", + "enableNotifications": "Habilitar notificaciones", + "enableNotificationsDescription": "Recibe notificaciones del sistema cuando Cline necesita aprobación para continuar o cuando una tarea se ha completado." + }, + "historyPreview": { + "recentTasks": "Tareas recientes", + "tokens": "Tokens", + "cache": "Caché", + "apiCost": "Costo de API", + "viewAllHistory": "Ver todo el historial" + }, + "historyView": { + "history": "Historial", + "done": "Hecho", + "fuzzySearchHistory": "Búsqueda difusa en el historial...", + "newest": "Más reciente", + "oldest": "Más antiguo", + "mostExpensive": "Más caro", + "mostTokens": "Más tokens", + "mostRelevant": "Más relevante", + "tokens": "Tokens:", + "cache": "Caché:", + "apiCost": "Costo de API:", + "export": "EXPORTAR" + } +} diff --git a/webview-ui/src/locales/ja/translation.json b/webview-ui/src/locales/ja/translation.json index 8ad9400e6a..353979f572 100644 --- a/webview-ui/src/locales/ja/translation.json +++ b/webview-ui/src/locales/ja/translation.json @@ -68,5 +68,108 @@ "geminiInfo": "* {{selectedModelId}} リクエスト毎分まで無料。その後、料金はプロンプトサイズに基づいて計算されます。", "pricingDetails": "詳細については料金情報をご確認ください。", "languageModel": "言語モデル" + }, + "welcomeView": { + "greeting": "こんにちは!私はあなたのAIアシスタント、クラインです。", + "description": "最新のClaude 3.5 Sonnetのエージェントコーディング機能と、ファイルの作成や編集、複雑なプロジェクトの探索、ブラウザの使用、ターミナルコマンドの実行(もちろん、あなたの許可が必要です)を可能にするツールのおかげで、あらゆるタスクをこなすことができます。さらに、MCPを使用して新しいツールを作成し、自分の能力を拡張することもできます。", + "getStarted": "始めるには、この拡張機能にClaude 3.5 SonnetのAPIプロバイダーが必要です。", + "letsGo": "さあ、始めましょう!" + }, + "chatView": { + "typeMessage": "メッセージを入力...", + "typeTask": "タスクを入力...", + "whatCanIDoForYou": "何をお手伝いしましょうか?", + "thanksTo": "Claude 3.5 Sonnetのエージェントコーディング機能のおかげで、複雑なソフトウェア開発タスクをステップバイステップで処理できます。ファイルの作成や編集、複雑なプロジェクトの探索、ブラウザの使用、ターミナルコマンドの実行(許可をいただいた後)を可能にするツールを使用して、コードの補完や技術サポートを超えた支援を提供できます。さらに、MCPを使用して新しいツールを作成し、自分の能力を拡張することもできます。" + }, + "chatTextArea": { + "plan": "計画", + "act": "実行" + }, + "chatRow": { + "error": "エラー", + "mistakeLimitReached": "ミスの限界に達しました", + "autoApprovalMaxReqReached": "自動承認の最大リクエストに達しました", + "command": { + "ask": "クラインがこのコマンドを実行したいと考えています:", + "say": "クラインがこのコマンドを実行しました:" + }, + "useMcpServer": { + "ask": "クラインがこの{type}を{serverName}で使用したいと考えています:", + "say": "クラインがこの{type}を{serverName}で使用しました:", + "tool": "ツール", + "resource": "リソース" + }, + "completionResult": "完了結果", + "apiReqCancelled": "APIリクエストがキャンセルされました", + "apiStreamingFailed": "APIストリーミングに失敗しました", + "apiRequest": "APIリクエスト", + "apiRequestFailed": "APIリクエストに失敗しました", + "apiRequestInProgress": "APIリクエスト進行中", + "followup": "フォローアップ", + "tool": { + "editedExistingFile": { + "ask": "クラインがこのファイルを編集したいと考えています:", + "say": "クラインがこのファイルを編集しています:" + }, + "createdNewFile": { + "ask": "クラインがこのファイルを作成したいと考えています:", + "say": "クラインがこのファイルを作成しました:" + }, + "readExistingFile": { + "ask": "クラインがこのファイルを読みたいと考えています:", + "say": "クラインがこのファイルを読みました:" + } + }, + "apiReqStarted": "APIリクエスト開始", + "userFeedback": "ユーザーフィードバック", + "userFeedbackDiff": "ユーザーフィードバック差分", + "diffEditFailed": "差分編集に失敗しました", + "shellIntegrationUnavailable": "シェル統合が利用できません", + "mcpServerResponse": "MCPサーバー応答", + "planModeResponse": "計画モード応答", + "seeNewChanges": "新しい変更を見る", + "commandRequiresApproval": "このコマンドは明示的な承認が必要です。", + "troubleshootingGuide": "Windows PowerShellの問題が発生しているようです。このトラブルシューティングガイドをご覧ください。", + "clineWantsToViewTopLevelFiles": "クラインがこのディレクトリのトップレベルファイルを表示したいと考えています:", + "clineViewedTopLevelFiles": "クラインがこのディレクトリのトップレベルファイルを表示しました:", + "clineWantsToRecursivelyViewFiles": "クラインがこのディレクトリのすべてのファイルを再帰的に表示したいと考えています:", + "clineRecursivelyViewedFiles": "クラインがこのディレクトリのすべてのファイルを再帰的に表示しました:", + "clineWantsToViewSourceCodeDefinitions": "クラインがこのディレクトリで使用されているソースコード定義名を表示したいと考えています:", + "clineViewedSourceCodeDefinitions": "クラインがこのディレクトリで使用されているソースコード定義名を表示しました:", + "clineWantsToSearchDirectory": "クラインがこのディレクトリで{{regex}}を検索したいと考えています:", + "clineSearchedDirectory": "クラインがこのディレクトリで{{regex}}を検索しました:", + "diffEditFailedMessage": "これは通常、モデルがファイル内で一致しない検索パターンを使用した場合に発生します。再試行中...", + "shellIntegrationUnavailableMessage": "クラインはコマンドの出力を表示できません。VSCodeを更新し(CMD/CTRL + Shift + P → \"Update\")、サポートされているシェルを使用していることを確認してください:zsh、bash、fish、またはPowerShell(CMD/CTRL + Shift + P → \"Terminal: Select Default Profile\")。まだ問題がありますか?", + "response": "応答", + "stillHavingTrouble": "まだ問題がありますか?" + }, + "autoApproveMenu": { + "none": "なし", + "autoApprove": "自動承認:", + "autoApproveDescription": "自動承認を有効にすると、クラインが以下のアクションを許可を求めずに実行できるようになります。リスクを理解した上で、慎重に使用してください。", + "autoApproveMaxRequestsDescription": "クラインは、このタスクを進めるために承認を求める前に、この数のAPIリクエストを自動的に行います。", + "enableNotifications": "通知を有効にする", + "enableNotificationsDescription": "クラインがタスクを進めるために承認を求めるとき、またはタスクが完了したときにシステム通知を受け取ります。" + }, + "historyPreview": { + "recentTasks": "最近のタスク", + "tokens": "トークン", + "cache": "キャッシュ", + "apiCost": "APIコスト", + "viewAllHistory": "すべての履歴を見る" + }, + "historyView": { + "history": "履歴", + "done": "完了", + "fuzzySearchHistory": "履歴をあいまい検索...", + "newest": "最新", + "oldest": "最古", + "mostExpensive": "最も高価", + "mostTokens": "最も多いトークン", + "mostRelevant": "最も関連性が高い", + "tokens": "トークン:", + "cache": "キャッシュ:", + "apiCost": "APIコスト:", + "export": "エクスポート" } } diff --git a/webview-ui/src/locales/zh-cn/translation.json b/webview-ui/src/locales/zh-cn/translation.json index 7466011cd2..5faed68afa 100644 --- a/webview-ui/src/locales/zh-cn/translation.json +++ b/webview-ui/src/locales/zh-cn/translation.json @@ -63,5 +63,108 @@ "geminiInfo": "* 每分钟最多 {{selectedModelId}} 次请求免费。之后,费用取决于提示大小。", "pricingDetails": "有关更多信息,请参阅定价详情。", "languageModel": "语言模型" + }, + "welcomeView": { + "greeting": "你好!我是 Cline,你的 AI 助手。", + "description": "感谢 Claude 3.5 Sonnet 的代理编码能力 和访问工具,我可以执行各种任务,这些工具让我可以创建和编辑文件、探索复杂项目、使用浏览器和执行终端命令(当然,需要你的许可)。我甚至可以使用 MCP 创建新工具并扩展我自己的能力。", + "getStarted": "要开始使用,此扩展需要 Claude 3.5 Sonnet 的 API 提供商。", + "letsGo": "开始吧!" + }, + "chatView": { + "typeMessage": "输入消息...", + "typeTask": "输入任务...", + "whatCanIDoForYou": "我能为你做什么?", + "thanksTo": "感谢 Claude 3.5 Sonnet 的代理编码能力, 我可以一步步处理复杂的软件开发任务。通过允许我创建和编辑文件、探索复杂项目、使用浏览器和执行终端命令的工具(在你授予权限后),我可以以超越代码完成或技术支持的方式帮助你。我甚至可以使用 MCP 创建新工具并扩展我自己的能力。" + }, + "chatTextArea": { + "plan": "计划", + "act": "行动" + }, + "chatRow": { + "error": "错误", + "mistakeLimitReached": "错误次数达到上限", + "autoApprovalMaxReqReached": "自动批准请求次数达到上限", + "command": { + "ask": "Cline 想执行此命令:", + "say": "Cline 执行了此命令:" + }, + "useMcpServer": { + "ask": "Cline 想在 {serverName} 上使用此 {type}:", + "say": "Cline 在 {serverName} 上使用了此 {type}:", + "tool": "工具", + "resource": "资源" + }, + "completionResult": "完成结果", + "apiReqCancelled": "API 请求已取消", + "apiStreamingFailed": "API 流式传输失败", + "apiRequest": "API 请求", + "apiRequestFailed": "API 请求失败", + "apiRequestInProgress": "API 请求进行中", + "followup": "跟进", + "tool": { + "editedExistingFile": { + "ask": "Cline 想编辑此文件:", + "say": "Cline 正在编辑此文件:" + }, + "createdNewFile": { + "ask": "Cline 想创建此文件:", + "say": "Cline 创建了此文件:" + }, + "readExistingFile": { + "ask": "Cline 想读取此文件:", + "say": "Cline 读取了此文件:" + } + }, + "apiReqStarted": "API 请求已启动", + "userFeedback": "用户反馈", + "userFeedbackDiff": "用户反馈差异", + "diffEditFailed": "差异编辑失败", + "shellIntegrationUnavailable": "Shell 集成不可用", + "mcpServerResponse": "MCP 服务器响应", + "planModeResponse": "计划模式响应", + "seeNewChanges": "查看新更改", + "commandRequiresApproval": "模型已确定此命令需要明确批准。", + "troubleshootingGuide": "看起来你遇到了 Windows PowerShell 问题,请参阅此 故障排除指南", + "clineWantsToViewTopLevelFiles": "Cline 想查看此目录中的顶级文件:", + "clineViewedTopLevelFiles": "Cline 查看了此目录中的顶级文件:", + "clineWantsToRecursivelyViewFiles": "Cline 想递归查看此目录中的所有文件:", + "clineRecursivelyViewedFiles": "Cline 递归查看了此目录中的所有文件:", + "clineWantsToViewSourceCodeDefinitions": "Cline 想查看此目录中使用的源代码定义名称:", + "clineViewedSourceCodeDefinitions": "Cline 查看了此目录中使用的源代码定义名称:", + "clineWantsToSearchDirectory": "Cline 想在此目录中搜索 {{regex}}:", + "clineSearchedDirectory": "Cline 在此目录中搜索了 {{regex}}:", + "diffEditFailedMessage": "这通常发生在模型使用的搜索模式与文件中的任何内容不匹配时。重试中...", + "shellIntegrationUnavailableMessage": "Cline 将无法查看命令的输出。请更新 VSCode(CMD/CTRL + Shift + P → \"Update\")并确保你使用的是受支持的 shell:zsh、bash、fish 或 PowerShell(CMD/CTRL + Shift + P → \"Terminal: Select Default Profile\")。仍有问题?", + "response": "响应", + "stillHavingTrouble": "仍有问题?" + }, + "autoApproveMenu": { + "none": "无", + "autoApprove": "自动批准:", + "autoApproveDescription": "自动批准允许 Cline 在不请求许可的情况下执行以下操作。请谨慎使用,并仅在了解风险的情况下启用。", + "autoApproveMaxRequestsDescription": "Cline 将自动发出此数量的 API 请求,然后再请求批准以继续任务。", + "enableNotifications": "启用通知", + "enableNotificationsDescription": "当 Cline 需要批准以继续或任务完成时接收系统通知。" + }, + "historyPreview": { + "recentTasks": "最近任务", + "tokens": "令牌", + "cache": "缓存", + "apiCost": "API 成本", + "viewAllHistory": "查看所有历史记录" + }, + "historyView": { + "history": "历史", + "done": "完成", + "fuzzySearchHistory": "模糊搜索历史...", + "newest": "最新", + "oldest": "最旧", + "mostExpensive": "最昂贵", + "mostTokens": "最多令牌", + "mostRelevant": "最相关", + "tokens": "令牌:", + "cache": "缓存:", + "apiCost": "API 成本:", + "export": "导出" } } diff --git a/webview-ui/src/locales/zh-tw/translation.json b/webview-ui/src/locales/zh-tw/translation.json index 7b3fe5a89c..1245b4d343 100644 --- a/webview-ui/src/locales/zh-tw/translation.json +++ b/webview-ui/src/locales/zh-tw/translation.json @@ -63,5 +63,108 @@ "geminiInfo": "* 每分鐘最多免費 {{selectedModelId}} 次請求。之後,計費取決於提示大小。", "pricingDetails": "更多信息,請參見定價詳情。", "languageModel": "語言模型" + }, + "welcomeView": { + "greeting": "您好!我是 Cline,您的 AI 助手。", + "description": "得益於 Claude 3.5 Sonnet 的代理編碼能力 和訪問各種工具,我可以執行各種任務,這些工具讓我能夠創建和編輯文件、探索複雜項目、使用瀏覽器和執行終端命令(當然是在您的許可下)。我甚至可以使用 MCP 創建新工具並擴展我自己的能力。", + "getStarted": "要開始使用,這個擴展需要 Claude 3.5 Sonnet 的 API 提供者。", + "letsGo": "讓我們開始吧!" + }, + "chatView": { + "typeMessage": "輸入消息...", + "typeTask": "輸入任務...", + "whatCanIDoForYou": "我能為您做什麼?", + "thanksTo": "感謝 Claude 3.5 Sonnet 的代理編碼能力, 我可以逐步處理複雜的軟件開發任務。通過這些工具,我可以創建和編輯文件、探索複雜項目、使用瀏覽器和執行終端命令(在您授權後),我可以幫助您完成超越代碼補全或技術支持的任務。我甚至可以使用 MCP 創建新工具並擴展我自己的能力。" + }, + "chatTextArea": { + "plan": "計劃", + "act": "行動" + }, + "chatRow": { + "error": "錯誤", + "mistakeLimitReached": "錯誤次數達到上限", + "autoApprovalMaxReqReached": "自動批准請求次數達到上限", + "command": { + "ask": "Cline 想要執行此命令:", + "say": "Cline 執行了此命令:" + }, + "useMcpServer": { + "ask": "Cline 想要在 {serverName} 上使用此 {type}:", + "say": "Cline 在 {serverName} 上使用了此 {type}:", + "tool": "工具", + "resource": "資源" + }, + "completionResult": "完成結果", + "apiReqCancelled": "API 請求已取消", + "apiStreamingFailed": "API 流式傳輸失敗", + "apiRequest": "API 請求", + "apiRequestFailed": "API 請求失敗", + "apiRequestInProgress": "API 請求進行中", + "followup": "後續", + "tool": { + "editedExistingFile": { + "ask": "Cline 想要編輯此文件:", + "say": "Cline 正在編輯此文件:" + }, + "createdNewFile": { + "ask": "Cline 想要創建此文件:", + "say": "Cline 創建了此文件:" + }, + "readExistingFile": { + "ask": "Cline 想要閱讀此文件:", + "say": "Cline 閱讀了此文件:" + } + }, + "apiReqStarted": "API 請求已開始", + "userFeedback": "用戶反饋", + "userFeedbackDiff": "用戶反饋差異", + "diffEditFailed": "差異編輯失敗", + "shellIntegrationUnavailable": "Shell 集成不可用", + "mcpServerResponse": "MCP 服務器響應", + "planModeResponse": "計劃模式響應", + "seeNewChanges": "查看新變更", + "commandRequiresApproval": "模型已確定此命令需要明確批准。", + "troubleshootingGuide": "看起來您遇到了 Windows PowerShell 問題,請參閱此 故障排除指南", + "clineWantsToViewTopLevelFiles": "Cline 想要查看此目錄中的頂層文件:", + "clineViewedTopLevelFiles": "Cline 查看了此目錄中的頂層文件:", + "clineWantsToRecursivelyViewFiles": "Cline 想要遞歸查看此目錄中的所有文件:", + "clineRecursivelyViewedFiles": "Cline 遞歸查看了此目錄中的所有文件:", + "clineWantsToViewSourceCodeDefinitions": "Cline 想要查看此目錄中使用的源代碼定義名稱:", + "clineViewedSourceCodeDefinitions": "Cline 查看了此目錄中使用的源代碼定義名稱:", + "clineWantsToSearchDirectory": "Cline 想要在此目錄中搜索 {{regex}}:", + "clineSearchedDirectory": "Cline 在此目錄中搜索了 {{regex}}:", + "diffEditFailedMessage": "這通常發生在模型使用的搜索模式與文件中的任何內容不匹配時。重試中...", + "shellIntegrationUnavailableMessage": "Cline 將無法查看命令的輸出。請更新 VSCode(CMD/CTRL + Shift + P → \"Update\")並確保您使用的是受支持的 shell:zsh、bash、fish 或 PowerShell(CMD/CTRL + Shift + P → \"Terminal: Select Default Profile\")。仍有問題?", + "response": "響應", + "stillHavingTrouble": "仍有問題?" + }, + "autoApproveMenu": { + "none": "無", + "autoApprove": "自動批准:", + "autoApproveDescription": "自動批准允許 Cline 執行以下操作而無需請求許可。請謹慎使用,僅在您了解風險的情況下啟用。", + "autoApproveMaxRequestsDescription": "Cline 將自動發出這麼多 API 請求,然後再請求批准以繼續任務。", + "enableNotifications": "啟用通知", + "enableNotificationsDescription": "當 Cline 需要批准以繼續或任務完成時接收系統通知。" + }, + "historyPreview": { + "recentTasks": "最近任務", + "tokens": "標記", + "cache": "緩存", + "apiCost": "API 成本", + "viewAllHistory": "查看所有歷史記錄" + }, + "historyView": { + "history": "歷史", + "done": "完成", + "fuzzySearchHistory": "模糊搜索歷史...", + "newest": "最新", + "oldest": "最舊", + "mostExpensive": "最昂貴", + "mostTokens": "最多標記", + "mostRelevant": "最相關", + "tokens": "標記:", + "cache": "緩存:", + "apiCost": "API 成本:", + "export": "導出" } }