8000 i18n(es): translate `svg.mdx` by JuanPabloDiaz · Pull Request #11421 · withastro/docs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

i18n(es): translate svg.mdx #11421

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JuanPabloDiaz
Copy link
Contributor

Description (required)

translate to spanish

@github-actions github-actions bot added the i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help! label Apr 11, 2025
Copy link
netlify bot commented Apr 11, 2025

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 9f99eed
🔍 Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/67f86233e347060008c289d9
😎 Deploy Preview https://deploy-preview-11421--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@astrobot-houston
Copy link
Contributor

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
es/reference/experimental-flags/svg.mdx Localization added, will be marked as complete.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@vrabe
Copy link
Contributor
vrabe commented Apr 11, 2025

Just a friendly reminder that this page will be removed after #11394 merged.

Copy link
Member
@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the translation @JuanPabloDiaz ! As vrabe said, this page is about to be deleted because the feature is moving instead to a section in the Images guide.

So, I'm blocking this PR from merging (it will mean I will just have to delete it and resolve some conflicts 😂 ) BUT, on Tuesday the docs will be updated to have very similar content in a new location. So, after Tuesday, will you instead use this to update the Images guide page?

@JuanPabloDiaz
Copy link
Contributor Author

Thank you for the translation @JuanPabloDiaz ! As vrabe said, this page is about to be deleted because the feature is moving instead to a section in the Images guide.

So, I'm blocking this PR from merging (it will mean I will just have to delete it and resolve some conflicts 😂 ) BUT, on Tuesday the docs will be updated to have very similar content in a new location. So, after Tuesday, will you instead use this to update the Images guide page?

I didn't know. I can help on it next week, yes.

Copy link
@Bernardao Bernardao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here some notes about how I would have translated

---
title: Componentes SVG experimentales
sidebar:
label: Componentes SVG

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please remove tab/spaces?

<Since v="5.0.0" />
</p>

Esta función te permite importar archivos SVG y utilizarlos como componentes de Astro. Astro insertará el contenido SVG en tu salida HTML.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feature, no se debería traducir como "característica"?
"Will inline" podría traducirse como "integrará"?

}
```

Para usar esta función, referencia la importación predeterminada de cualquier archivo `.svg` local. Dado que esta importación se trata como un componente de Astro, debes usar las mismas convenciones (por ejemplo, capitalización) que al [usar etiquetas dinámicas](/es/reference/astro-syntax/%23dynamic-tags).
Copy link
@Bernardao Bernardao Apr 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Para usar esta "característica/opción", relaciona la importación predeterminada/por defecto de cualquier archivo local .svg. Ya que esta importación/este import se trata como un componente Astro, debes usar los mismos acuerdos/reglas (por ejemplo capitalización) que cuando usamos etiquetas dinámicas.


## Atributos del componente SVG

Puedes pasar props como `width`, `height`, `fill`, `stroke` y cualquier otro atributo aceptado por el [elemento `<svg>` nativo](https://developer.mozilla.org/es/docs/Web/SVG/Element/svg). Estos atributos se aplicarán automáticamente al elemento `<svg>` subyacente. Si una propiedad está presente en el archivo `.svg` original y se pasa al componente, el valor pasado al componente anulará el valor original.
Copy link
@Bernardao Bernardao Apr 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[elemento nativo <svg>]

Estos atributos se aplicarán automáticamente al elemento subyacente/alternativo <svg>.
Si una propiedad está presente en el archivo original .svg y se pasa al componente, el valor pasado al componente sobreescribirá el valor original.

<Logo width={64} height={64} fill="currentColor" />
```

Para una descripción completa y para dar comentarios sobre esta API experimental, consulta el [RFC de la función SVG](https://github.com/withastro/roadmap/pull/1035).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Para una descripción general completa y para tener retroalimentación sobre esta API experimental, consulta el [RFC de las características de SVG] see the [SVG feature RFC](withastro/roadmap#1035

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0