@astrojs/starlight 0.0.19 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/components/Search.astro +1 -0
- package/package.json +1 -1
- package/translations/fr.json +20 -0
- package/translations/index.ts +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @astrojs/starlight
|
|
2
2
|
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#155](https://github.com/withastro/starlight/pull/155) Thanks [@thomasbnt](https://github.com/thomasbnt)! - Add French language support
|
|
8
|
+
|
|
9
|
+
- [#158](https://github.com/withastro/starlight/pull/158) [`92d82f5`](https://github.com/withastro/starlight/commit/92d82f534c6ff8513b01f9f26748d9980a6d4c79) Thanks [@kevinzunigacuellar](https://github.com/kevinzunigacuellar)! - Fix word wrapping in search modal on narrow screens
|
|
10
|
+
|
|
11
|
+
## 0.1.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [`43f3a02`](https://github.com/withastro/starlight/commit/43f3a024d6903072780f158dd95fb04b9f678535) Thanks [@delucis](https://github.com/delucis)! - Release v0.1.0
|
|
16
|
+
|
|
3
17
|
## 0.0.19
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/components/Search.astro
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skipLink.label": "Aller au contenu",
|
|
3
|
+
"search.label": "Rechercher",
|
|
4
|
+
"search.shortcutLabel": "(Presser / pour rechercher)",
|
|
5
|
+
"search.cancelLabel": "Annuler",
|
|
6
|
+
"themeSelect.accessibleLabel": "Selectionner le thème",
|
|
7
|
+
"themeSelect.dark": "Dark",
|
|
8
|
+
"themeSelect.light": "Light",
|
|
9
|
+
"themeSelect.auto": "Auto",
|
|
10
|
+
"languageSelect.accessibleLabel": "Selectionner la langue",
|
|
11
|
+
"menuButton.accessibleLabel": "Menu",
|
|
12
|
+
"sidebarNav.accessibleLabel": "principale",
|
|
13
|
+
"tableOfContents.onThisPage": "Sur cette page",
|
|
14
|
+
"tableOfContents.overview": "Vue d'ensemble",
|
|
15
|
+
"i18n.untranslatedContent": "Ce contenu n'est pas encore disponible dans votre langue.",
|
|
16
|
+
"page.editLink": "Editer la page",
|
|
17
|
+
"page.lastUpdated": "Dernière mise à jour :",
|
|
18
|
+
"page.previousLink": "Précédent",
|
|
19
|
+
"page.nextLink": "Suivant"
|
|
20
|
+
}
|
package/translations/index.ts
CHANGED
|
@@ -4,9 +4,10 @@ import es from './es.json';
|
|
|
4
4
|
import de from './de.json';
|
|
5
5
|
import ja from './ja.json';
|
|
6
6
|
import pt from './pt.json';
|
|
7
|
+
import fr from './fr.json';
|
|
7
8
|
|
|
8
9
|
const parse = i18nSchema().required().strict().parse;
|
|
9
10
|
|
|
10
11
|
export default Object.fromEntries(
|
|
11
|
-
Object.entries({ en, es, de, ja, pt }).map(([key, dict]) => [key, parse(dict)])
|
|
12
|
+
Object.entries({ en, es, de, ja, pt, fr }).map(([key, dict]) => [key, parse(dict)])
|
|
12
13
|
);
|