Skip to content

Commit

Permalink
feat(i18n): add polish translation to landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
tranzystorekk committed Dec 6, 2023
1 parent d2e52da commit 3cd90ad
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const tagline = {
ko: '21세기의 현대적인 터미널.',
'pt-br': 'Terminal moderno para o século 21',
es: 'Una terminal moderna para el siglo 21.',
pl: 'Nowoczesny terminal na miarę XXI wieku.',
};

/** @type {import('@docusaurus/types').Config} */
Expand All @@ -28,7 +29,7 @@ const config = {
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale,
locales: ['en', 'ko', 'pt-br', 'es'],
locales: ['en', 'ko', 'pt-br', 'es', 'pl'],
},

headTags: [
Expand Down
35 changes: 35 additions & 0 deletions docs/i18n/pl/code.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"Install": {
"message": "Instalacja"
},

"Loved by many engineers": {
"message": "Uwielbiany przez inżynierów"
},

"home.features.fast-and-fast.title": {
"message": "Szybki, bez kompromisów"
},
"home.features.fast-and-fast.description": {
"message": "Rio szczyci się wydajnością dzięki wykorzystaniu najnowszych technologii, w tym języka Rust i zaawansowanych architektur renderingu."
},
"home.features.24-bit-true-color.title": {
"message": "24-bitowa głębia kolorów"
},
"home.features.24-bit-true-color.description": {
"message": "Zwykłe terminale są ograniczone do 256 kolorów. Rio wspiera głębię \"true color\" co oznacza że może wyświetlać aż 16 milionów kolorów."
},
"home.features.images-in-terminal.title": {
"message": "Obrazy w terminalu"
},
"home.features.images-in-terminal.description": {
"message": "Rio potrafi wyświetlać obrazy w terminalu za pomocą protokołów iTerm2 i kitty."
},
"home.features.cross-platform.title": {
"message": "Wieloplatformowy"
},
"home.features.cross-platform.description": {
"message": "Rio działa na wielu platformach: Windows, macOS, Linux i FreeBSD."
},
"home.footer.install": { "message": "Instalacja" }
}
26 changes: 26 additions & 0 deletions docs/i18n/pl/docusaurus-theme-classic/navbar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"item.label.Install": {
"message": "Instalacja",
"description": "Navbar item with label Install"
},
"item.label.Config": {
"message": "Konfiguracja",
"description": "Navbar item with label Config"
},
"item.label.Features": {
"message": "Funkcjonalność",
"description": "Navbar item with label Features"
},
"item.label.Blog": {
"message": "Blog",
"description": "Navbar item with label Blog"
},
"item.label.Discord": {
"message": "Discord",
"description": "Navbar item with label Discord"
},
"item.label.GitHub": {
"message": "GitHub",
"description": "Navbar item with label GitHub"
}
}

0 comments on commit 3cd90ad

Please sign in to comment.