From cacbd0b01b20d5a884b448037496712a78f13cdb Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Fri, 4 Dec 2020 04:45:04 +0300 Subject: [PATCH] feat: localization --- author.hbs | 2 +- default.hbs | 16 ++++++++-------- error-404.hbs | 2 +- error.hbs | 6 +++--- partials/site-nav.hbs | 2 +- partials/subscribe-form.hbs | 10 +++++----- post.hbs | 8 ++++---- tag.hbs | 2 +- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/author.hbs b/author.hbs index 002bb5d..0cc8196 100644 --- a/author.hbs +++ b/author.hbs @@ -25,7 +25,7 @@
{{location}}
{{/if}}
- {{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}} + {{plural ../pagination.total empty=(t "No posts") singular=(t "1 post") plural=(t "% posts")}}
{{#if website}} Website diff --git a/default.hbs b/default.hbs index b7e149f..ed8d269 100644 --- a/default.hbs +++ b/default.hbs @@ -30,7 +30,7 @@ @@ -75,7 +75,7 @@ into the {body} of the default.hbs template --}}

{{authors}}

- +
@@ -152,7 +152,7 @@ into the {body} of the default.hbs template --}} diff --git a/tag.hbs b/tag.hbs index 86c5407..6473129 100644 --- a/tag.hbs +++ b/tag.hbs @@ -11,7 +11,7 @@ {{#if description}} {{description}} {{else}} - A collection of {{plural ../pagination.total empty='posts' singular='% post' plural='% posts'}} + {{plural ../pagination.total empty=(t "A collection of posts") singular=(t "A collection of 1 post") plural=(t "A collection of % posts")}} {{/if}}