From eb04e8c65caa5e840e1c9322f15fd89d99c1d991 Mon Sep 17 00:00:00 2001 From: Cathy Sarisky Date: Fri, 6 Mar 2026 12:46:43 -0500 Subject: [PATCH] add string wrapping --- default.hbs | 10 +++++----- error-404.hbs | 2 +- error.hbs | 4 ++-- partials/post-card.hbs | 8 ++++---- post.hbs | 8 ++++---- tag.hbs | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/default.hbs b/default.hbs index ffd64814b4..95f1a2a65b 100644 --- a/default.hbs +++ b/default.hbs @@ -58,13 +58,13 @@
{{#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}} @@ -84,7 +84,7 @@ -
Powered by Ghost
+
{{t "Powered by Ghost"}}
diff --git a/error-404.hbs b/error-404.hbs index 2752c111be..0db1379f4c 100644 --- a/error-404.hbs +++ b/error-404.hbs @@ -17,7 +17,7 @@ Keep this template as lightweight as you can!

{{statusCode}}

{{message}}

- Go to the front page → + {{t "Go to the front page →"}}
diff --git a/error.hbs b/error.hbs index b1c0dd384c..43a1c53595 100644 --- a/error.hbs +++ b/error.hbs @@ -46,12 +46,12 @@ Keep this template as lightweight as you can!

{{statusCode}}

{{message}}

- Go to the front page → + {{t "Go to the front page →"}}
{{#if errorDetails}}
-

Theme errors

+

{{t "Theme errors"}}

diff --git a/tag.hbs b/tag.hbs index 6a99a7ae6a..419a70fa7b 100644 --- a/tag.hbs +++ b/tag.hbs @@ -33,7 +33,7 @@ {{#if description}} {{description}} {{else}} - A collection of {{plural ../pagination.total empty='zero posts' singular='% post' plural='% posts'}} + {{plural ../pagination.total empty=(t "A collection of 0 posts") singular=(t "A collection of 1 post") plural=(t "A collection of {numberOfPosts} posts" numberOfPosts=../pagination.total)}} {{/if}}