From a0df96041c2ad721c31ca9d211ccfc8e90920bc1 Mon Sep 17 00:00:00 2001 From: Peter Gonda Date: Tue, 14 Mar 2023 14:00:37 +0100 Subject: [PATCH] Implement slovak translation --- default.hbs | 16 ++++++++-------- locales/sk.json | 14 ++++++++++++++ partials/navigation.hbs | 5 +++++ partials/pagination.hbs | 9 +++++++++ post.hbs | 4 ++-- 5 files changed, 38 insertions(+), 10 deletions(-) create mode 100644 locales/sk.json create mode 100644 partials/navigation.hbs create mode 100644 partials/pagination.hbs diff --git a/default.hbs b/default.hbs index 5f2651a6c..e0cdcb866 100644 --- a/default.hbs +++ b/default.hbs @@ -30,7 +30,7 @@ {{/if}} - + @@ -38,7 +38,7 @@ {{navigation}} {{#unless @site.members_enabled}} {{#match @custom.navigation_layout "Stacked"}} - + {{/match}} {{/unless}} @@ -46,20 +46,20 @@
{{#unless @site.members_enabled}} {{^match @custom.navigation_layout "Stacked"}} - + {{/match}} {{else}} - +
{{#unless @member}} {{#unless @site.members_invite_only}} - Sign in - Subscribe + {{t "Sign in"}} + {{t "Subscribe"}} {{else}} - Sign in + {{t "Sign in"}} {{/unless}} {{else}} - Account + {{t "Account"}} {{/unless}}
{{/unless}} diff --git a/locales/sk.json b/locales/sk.json new file mode 100644 index 000000000..33b91e2a4 --- /dev/null +++ b/locales/sk.json @@ -0,0 +1,14 @@ +{ + "Hosted by": "Hostované", + "Written by": "Napísal", + "Member discussion": "Diskusia", + "Search this site": "Prehľadávať stránku", + "Sign in": "Prihlásiť", + "Subscribe": "Odoberať", + "Account": "Účet", + "Episode": "Epizóda", + "Newer Posts": "Novšie články", + "Older Posts": "Staršie články", + "Page": "Strana", + "of": "z" +} \ No newline at end of file diff --git a/partials/navigation.hbs b/partials/navigation.hbs new file mode 100644 index 000000000..15ef0ef16 --- /dev/null +++ b/partials/navigation.hbs @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/partials/pagination.hbs b/partials/pagination.hbs new file mode 100644 index 000000000..26ae80d1f --- /dev/null +++ b/partials/pagination.hbs @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/post.hbs b/post.hbs index 4c5d58c7b..32fcfc029 100644 --- a/post.hbs +++ b/post.hbs @@ -24,7 +24,7 @@

- {{#if og_description}}Hosted by:{{else}}Written by:{{/if}} + {{#if og_description}}{{t "Hosted by"}}:{{else}}{{t "Written by"}}:{{/if}}

{{#foreach authors}} {{> "author-box"}} @@ -33,7 +33,7 @@ {{#if comments}}
-

Member discussion:

+

{{t "Member discussion"}}:

{{comment_count class="gh-comments-count"}}
{{comments title="" count=false}}