Skip to content

Commit 9b564f3

Browse files
authored
Added spanish i18n (#73)
Tests will be fixed right after.
2 parents 79ef868 + 1223736 commit 9b564f3

6 files changed

Lines changed: 276 additions & 6 deletions

File tree

css/app.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,9 @@ input[type="file"]:is(:hover, :focus, :active)::file-selector-button {
440440
.tab.pl::after {
441441
content: "🇵🇱";
442442
}
443+
.tab.es::after {
444+
content: "🇪🇸";
445+
}
443446

444447
.tab-panel {
445448
border-top: 1px solid var(--grey);

eleventy.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ export default async function (eleventyConfig) {
2525
fallbackLocales: {
2626
en: "fr",
2727
ru: "en",
28-
pl: "pl"
28+
pl: "pl",
29+
es: "es"
2930
},
3031
});
3132
eleventyConfig.addPlugin(geti18nCollection, {
32-
locale: ["en", "fr", "ru", "pl"],
33+
locale: ["en", "fr", "ru", "pl", "es"],
3334
});
3435

3536
eleventyConfig.addPassthroughCopy("img");

0 commit comments

Comments
 (0)