Skip to content

Commit

Permalink
feat: add Slovak translation
Browse files Browse the repository at this point in the history
  • Loading branch information
aradzie committed Jan 27, 2025
1 parent 895650a commit b5ae89d
Show file tree
Hide file tree
Showing 6 changed files with 425 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/translations_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,14 @@ Translated: 406 messages, 4988 words

Untranslated: 0 messages, 0 words

# Slovak

Translated: 405 messages, 4987 words

Untranslated: 1 messages, 1 words

* *Syntax:*

# Swedish

Translated: 387 messages, 4870 words
Expand Down
1 change: 1 addition & 0 deletions packages/keybr-intl/lib/locale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export const allLocales: readonly LocaleId[] = [
"pt-pt",
"ro",
"ru",
"sk",
"sv",
"th",
"tr",
Expand Down
7 changes: 7 additions & 0 deletions packages/keybr-intl/lib/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,13 @@ export async function loadMessages(locale: LocaleId): Promise<Messages> {
{ with: { type: "json" } }
)
).default;
case "sk":
return (
await import(
/* webpackChunkName: "messages-sk" */ "./messages/sk.json",
{ with: { type: "json" } }
)
).default;
case "sv":
return (
await import(
Expand Down
1 change: 1 addition & 0 deletions packages/keybr-intl/lib/messages/sk.json

Large diffs are not rendered by default.

Loading

0 comments on commit b5ae89d

Please sign in to comment.