From 3f8ce6cd70d376642e7c4b313ddb427ffd208fd3 Mon Sep 17 00:00:00 2001 From: Yovko Lambrev Date: Mon, 7 Apr 2025 21:43:47 +0300 Subject: [PATCH 1/2] Inroduction of i18n and Bulgarian translation --- locales/bg.json | 12 ++++++++++++ locales/en.json | 12 ++++++++++++ partials/components/featured.hbs | 2 +- partials/components/footer.hbs | 2 +- partials/components/header-content.hbs | 2 +- partials/components/navigation.hbs | 8 ++++---- partials/components/post-list.hbs | 8 ++++---- partials/email-subscription.hbs | 4 ++-- partials/post-card.hbs | 2 +- partials/search-toggle.hbs | 2 +- 10 files changed, 39 insertions(+), 15 deletions(-) create mode 100644 locales/bg.json create mode 100644 locales/en.json diff --git a/locales/bg.json b/locales/bg.json new file mode 100644 index 00000000..50b711bd --- /dev/null +++ b/locales/bg.json @@ -0,0 +1,12 @@ +{ + "By": "от", + "Sign in": "Вход", + "Subscribe": "Абонамент", + "Upgrade": "Ъпгрейд", + "Account": "Профил", + "Featured": "Избрано", + "Powered by": "Създаден с", + "See all": "Виж всички", + "Search this site": "Търси в сайта", + "Search posts, tags and authors": "Търси публикации, етикети и автори" +} \ No newline at end of file diff --git a/locales/en.json b/locales/en.json new file mode 100644 index 00000000..fa561724 --- /dev/null +++ b/locales/en.json @@ -0,0 +1,12 @@ +{ + "By": "By", + "Sign in": "Sign in", + "Subscribe": "Subscribe", + "Upgrade": "Upgrade", + "Account": "Account", + "Featured": "Featured", + "Powered by": "Powered by", + "See all": "See all", + "Search this site": "Search this site", + "Search posts, tags and authors": "Search posts, tags and authors" +} \ No newline at end of file diff --git a/partials/components/featured.hbs b/partials/components/featured.hbs index 5eea0419..41b22939 100644 --- a/partials/components/featured.hbs +++ b/partials/components/featured.hbs @@ -2,7 +2,7 @@ {{#get "posts" filter="featured:true" include="authors" limit=limit as |featured|}}