diff options
author | HiDeoo | 2023-12-18 18:30:01 +0100 |
---|---|---|
committer | GitHub | 2023-12-18 18:30:01 +0100 |
commit | 1fc66753cbda6c5690570c30cd970b04bcb9bf23 (patch) | |
tree | 0699b3e912f8a8d5c42c5470008ef65c8bd57ab7 | |
parent | e1e3641a79e6d88b2dd2771d8f53bab66ddd946a (diff) | |
download | IT.starlight-1fc66753cbda6c5690570c30cd970b04bcb9bf23.tar.gz IT.starlight-1fc66753cbda6c5690570c30cd970b04bcb9bf23.tar.bz2 IT.starlight-1fc66753cbda6c5690570c30cd970b04bcb9bf23.zip |
[i18nIgnore] docs: revert some translated default UI strings (#1288)
-rw-r--r-- | docs/src/content/docs/es/guides/i18n.mdx | 104 | ||||
-rw-r--r-- | docs/src/content/docs/pt-br/guides/i18n.mdx | 6 |
2 files changed, 55 insertions, 55 deletions
diff --git a/docs/src/content/docs/es/guides/i18n.mdx b/docs/src/content/docs/es/guides/i18n.mdx index 0bcb1175..7d28fc97 100644 --- a/docs/src/content/docs/es/guides/i18n.mdx +++ b/docs/src/content/docs/es/guides/i18n.mdx @@ -179,61 +179,61 @@ Puedes proprocionar traducciones para idiomas adicionales, o editar nuestras eti 3. Agrega traducciones para las claves que deseas traducir en los archivos JSON. Traduce solo los valores, dejando las claves en inglés (p. ej. `"search.label": "Buscar"`). -Estos son los valores predeterminados en inglés de las cadenas existentes que se incluyen en Starlight: - -```json -{ - "skipLink.label": "Skip to content", - "search.label": "Search", - "search.shortcutLabel": "(Press / to Search)", - "search.cancelLabel": "Cancel", - "search.devWarning": "Search is only available in production builds. \nTry building and previewing the site to test it out locally.", - "themeSelect.accessibleLabel": "Select theme", - "themeSelect.dark": "Dark", - "themeSelect.light": "Light", - "themeSelect.auto": "Auto", - "languageSelect.accessibleLabel": "Select language", - "menuButton.accessibleLabel": "Menu", - "sidebarNav.accessibleLabel": "Main", - "tableOfContents.onThisPage": "On this page", - "tableOfContents.overview": "Overview", - "i18n.untranslatedContent": "This content is not available in your language yet.", - "page.editLink": "Edit page", - "page.lastUpdated": "Last updated:", - "page.previousLink": "Next", - "page.nextLink": "Previous", - "404.text": "Page not found. Check the URL or try using the search bar." -} -``` + Estos son los valores predeterminados en inglés de las cadenas existentes que se incluyen en Starlight: + + ```json + { + "skipLink.label": "Skip to content", + "search.label": "Search", + "search.shortcutLabel": "(Press / to Search)", + "search.cancelLabel": "Cancel", + "search.devWarning": "Search is only available in production builds. \nTry building and previewing the site to test it out locally.", + "themeSelect.accessibleLabel": "Select theme", + "themeSelect.dark": "Dark", + "themeSelect.light": "Light", + "themeSelect.auto": "Auto", + "languageSelect.accessibleLabel": "Select language", + "menuButton.accessibleLabel": "Menu", + "sidebarNav.accessibleLabel": "Main", + "tableOfContents.onThisPage": "On this page", + "tableOfContents.overview": "Overview", + "i18n.untranslatedContent": "This content is not available in your language yet.", + "page.editLink": "Edit page", + "page.lastUpdated": "Last updated:", + "page.previousLink": "Next", + "page.nextLink": "Previous", + "404.text": "Page not found. Check the URL or try using the search bar." + } + ``` -Los bloques de código de Starlight están impulsados por la biblioteca [Expressive Code](https://github.com/expressive-code/expressive-code). -Puedes establecer traducciones para las cadenas de UI en el mismo archivo JSON utilizando las llaves `expressiveCode`: + Los bloques de código de Starlight están impulsados por la biblioteca [Expressive Code](https://github.com/expressive-code/expressive-code). + Puedes establecer traducciones para las cadenas de UI en el mismo archivo JSON utilizando las llaves `expressiveCode`: -```json -{ - "expressiveCode.copyButtonCopied": "¡Copiado!", - "expressiveCode.copyButtonTooltip": "Copiar al portapapeles", - "expressiveCode.terminalWindowFallbackTitle": "Ventana de terminal" -} -``` + ```json + { + "expressiveCode.copyButtonCopied": "Copied!", + "expressiveCode.copyButtonTooltip": "Copy to clipboard", + "expressiveCode.terminalWindowFallbackTitle": "Terminal window" + } + ``` -El modal de búsqueda de Starlight está impulsado por la biblioteca [Pagefind](https://pagefind.app/). -Puedes establecer traducciones para la UI de Pagefind en el mismo archivo JSON utilizando claves `pagefind`: - -```json -{ - "pagefind.clear_search": "Clear", - "pagefind.load_more": "Load more results", - "pagefind.search_label": "Search this site", - "pagefind.filters_label": "Filters", - "pagefind.zero_results": "No results for [SEARCH_TERM]", - "pagefind.many_results": "[COUNT] results for [SEARCH_TERM]", - "pagefind.one_result": "[COUNT] result for [SEARCH_TERM]", - "pagefind.alt_search": "No results for [SEARCH_TERM]. Showing results for [DIFFERENT_TERM] instead", - "pagefind.search_suggestion": "No results for [SEARCH_TERM]. Try one of the following searches:", - "pagefind.searching": "Searching for [SEARCH_TERM]..." -} -``` + El modal de búsqueda de Starlight está impulsado por la biblioteca [Pagefind](https://pagefind.app/). + Puedes establecer traducciones para la UI de Pagefind en el mismo archivo JSON utilizando claves `pagefind`: + + ```json + { + "pagefind.clear_search": "Clear", + "pagefind.load_more": "Load more results", + "pagefind.search_label": "Search this site", + "pagefind.filters_label": "Filters", + "pagefind.zero_results": "No results for [SEARCH_TERM]", + "pagefind.many_results": "[COUNT] results for [SEARCH_TERM]", + "pagefind.one_result": "[COUNT] result for [SEARCH_TERM]", + "pagefind.alt_search": "No results for [SEARCH_TERM]. Showing results for [DIFFERENT_TERM] instead", + "pagefind.search_suggestion": "No results for [SEARCH_TERM]. Try one of the following searches:", + "pagefind.searching": "Searching for [SEARCH_TERM]..." + } + ``` ### Extiende el esquema de traducción diff --git a/docs/src/content/docs/pt-br/guides/i18n.mdx b/docs/src/content/docs/pt-br/guides/i18n.mdx index 50f226d4..41e669f6 100644 --- a/docs/src/content/docs/pt-br/guides/i18n.mdx +++ b/docs/src/content/docs/pt-br/guides/i18n.mdx @@ -209,9 +209,9 @@ Você pode fornecer traduções para idiomas adicionais que você suporta — ou ```json { - "expressiveCode.copyButtonCopied": "Copiado!", - "expressiveCode.copyButtonTooltip": "Copiar", - "expressiveCode.terminalWindowFallbackTitle": "Janela do Terminal" + "expressiveCode.copyButtonCopied": "Copied!", + "expressiveCode.copyButtonTooltip": "Copy to clipboard", + "expressiveCode.terminalWindowFallbackTitle": "Terminal window" } ``` |