-
Notifications
You must be signed in to change notification settings - Fork 215
docs(locadex): update translations on main #2744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| </Tab> | ||
| <Tab title="Segunda pestaña" icon="leaf"> | ||
| ✌️ Aquí está el contenido que solo se encuentra dentro de la segunda pestaña. | ||
| <Tab title="Second tab" icon="leaf"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This Tabs example block flips the 2nd/3rd tab back to English; seems like an i18n regression for the Spanish page.
| <Tab title="Second tab" icon="leaf"> | |
| <Tab title="Segunda pestaña" icon="leaf"> | |
| ✌️ Aquí está el contenido que solo se encuentra dentro de la segunda pestaña. | |
| ¡Esta tiene un icono de <Icon icon="leaf" />! | |
| </Tab> | |
| <Tab title="Tercera pestaña"> | |
| 💪 Aquí está el contenido que solo se encuentra dentro de la tercera pestaña. | |
| </Tab> |
| </Tab> | ||
| <Tab title="第二个标签页" icon="leaf"> | ||
| ✌️ 这里的内容只在第二个标签页中显示。 | ||
| <Tab title="Second tab" icon="leaf"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here: the 2nd/3rd tab in the Tabs example block is now English, which reads like a translation regression.
| <Tab title="Second tab" icon="leaf"> | |
| <Tab title="第二个标签页" icon="leaf"> | |
| ✌️ 这里的内容只在第二个标签页中显示。 | |
| 这个标签页带有 <Icon icon="leaf" /> 图标! | |
| </Tab> | |
| <Tab title="第三个标签页"> | |
| 💪 这里的内容只在第三个标签页中显示。 | |
| </Tab> |
| ## Creación de grupos de código | ||
| Los grupos de código se sincronizan automáticamente con otros grupos de código y con [pestañas](/es/components/tabs) en la misma página cuando sus etiquetas coinciden. Cuando seleccionas un lenguaje en un grupo de código, todas las pestañas y grupos de código con etiquetas coincidentes se actualizan para mostrar el mismo lenguaje. | ||
|
|
||
| <div id="create-code-groups"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing this anchor id can break inbound links/bookmarks. If you don't need the rename, consider keeping the existing id.
| <div id="create-code-groups"> | |
| <div id="creating-code-groups"> | |
| ## Crear grupos de código | |
| </div> |
| ## Création de groupes de code | ||
| Les groupes de code se synchronisent automatiquement avec les autres groupes de code et les [onglets](/fr/components/tabs) sur la même page lorsque leurs libellés correspondent. Lorsque vous sélectionnez un langage dans un groupe de code, tous les onglets et groupes de code avec des libellés correspondants se mettent à jour pour afficher le même langage. | ||
|
|
||
| <div id="create-code-groups"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same concern: renaming this anchor can break inbound links/bookmarks.
| <div id="create-code-groups"> | |
| <div id="creating-code-groups"> | |
| ## Créer des groupes de code | |
| </div> |
|
|
||
| ```javascript helloWorld.js | ||
| console.log("Hola Mundo"); | ||
| console.log("Hello World"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With JS/Python switched to English here, the Java line in the same snippet still prints Spanish, so the example reads mixed-language now. Might be worth updating the Java line too (or keeping this snippet fully localized).
|
|
||
| ```javascript helloWorld.js | ||
| console.log("Bonjour le monde"); | ||
| console.log("Hello World"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same: JS/Python are now English in this snippet, but the Java output line below is still French, so the example reads mixed-language. Consider updating Java as well (or keeping the snippet fully localized).
|
|
||
| ```javascript helloWorld.js | ||
| console.log("你好世界"); | ||
| console.log("Hello World"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same: JS/Python are now English in this snippet, but the Java output line below is still Chinese, so the example reads mixed-language. Consider updating Java as well (or keeping the snippet fully localized).
|
🔄 Automatically closed A more recent translation PR (#2745) was created. This PR is now outdated. |
Summary
This PR adds internationalization support to your repository.
What this PR does
This automated PR from Locadex processes your code changes and generates translations:
Changes
Translation files updated (6)
es/components/code-groups.mdx: Updated translation filees/components/tabs.mdx: Updated translation filefr/components/code-groups.mdx: Updated translation filefr/components/tabs.mdx: Updated translation filezh/components/code-groups.mdx: Updated translation filezh/components/tabs.mdx: Updated translation fileConfiguration files updated (1)
gt-lock.json: Updated the translation lockfile to add the latest changesNext steps
Automated PR created by Locadex in 76s
General Translation | Configure Locadex for Docs
Note
Improves ES/FR docs for
CodeGroupandTabs, clarifying cross-component behavior and adding a new prop.TabsandCodeGroupwith matching labels auto-sync selections;titlefield notes syncing when titles matchborderBottom(boolean) toTabsto add bottom border and paddingcreate-code-groups)Written by Cursor Bugbot for commit 2dc0b63. This will update automatically on new commits. Configure here.