From c57955bb51bcc4c794630d15ae4ddfc32bcc48b8 Mon Sep 17 00:00:00 2001
From: Daniel <386404@qq.com>
Date: Sun, 22 Dec 2024 13:30:32 +0800
Subject: [PATCH] add languages table
---
author.hbs | 4 ++--
default.hbs | 10 +++++-----
locales/de.json | 25 +++++++++++++++++++++++++
locales/en.json | 25 +++++++++++++++++++++++++
locales/es.json | 25 +++++++++++++++++++++++++
locales/fi.json | 25 +++++++++++++++++++++++++
locales/fr.json | 25 +++++++++++++++++++++++++
locales/it.json | 25 +++++++++++++++++++++++++
locales/ja.json | 25 +++++++++++++++++++++++++
locales/ko.json | 25 +++++++++++++++++++++++++
locales/ru.json | 25 +++++++++++++++++++++++++
locales/th.json | 25 +++++++++++++++++++++++++
locales/zh-CN.json | 25 +++++++++++++++++++++++++
locales/zh.json | 25 +++++++++++++++++++++++++
partials/comments.hbs | 2 +-
partials/content-cta.hbs | 12 ++++++------
partials/content.hbs | 2 +-
partials/cover.hbs | 4 ++--
partials/pagination.hbs | 2 +-
partials/related-posts.hbs | 2 +-
20 files changed, 319 insertions(+), 19 deletions(-)
create mode 100644 locales/de.json
create mode 100644 locales/en.json
create mode 100644 locales/es.json
create mode 100644 locales/fi.json
create mode 100644 locales/fr.json
create mode 100644 locales/it.json
create mode 100644 locales/ja.json
create mode 100644 locales/ko.json
create mode 100644 locales/ru.json
create mode 100644 locales/th.json
create mode 100644 locales/zh-CN.json
create mode 100644 locales/zh.json
diff --git a/author.hbs b/author.hbs
index 6cf1a40e2..6df03d8b0 100644
--- a/author.hbs
+++ b/author.hbs
@@ -27,13 +27,13 @@
{{#if facebook}}
{{> "icons/facebook"}}
- Facebook
+ {{t "Author.Social Media.Facebook"}}
{{/if}}
{{#if twitter}}
{{/if}}
diff --git a/default.hbs b/default.hbs
index a577e612f..a289e2cfe 100644
--- a/default.hbs
+++ b/default.hbs
@@ -51,13 +51,13 @@
{{/unless}}
@@ -88,7 +88,7 @@
{{/if}}
diff --git a/locales/de.json b/locales/de.json
new file mode 100644
index 000000000..1a558693d
--- /dev/null
+++ b/locales/de.json
@@ -0,0 +1,25 @@
+{
+ "Navigation.Sign in": "Anmelden",
+ "Navigation.Subscribe": "Abonnieren",
+ "Navigation.Account": "Konto",
+ "Navigation.Login": "Anmelden",
+ "Footer.Powered by Ghost": "Powered by Ghost",
+ "Cover.Subscribe now": "Jetzt abonnieren",
+ "Cover.Login": "Anmelden",
+ "Post.Published by": "Veröffentlicht von",
+ "Post.Previous post": "Vorheriger Beitrag",
+ "Post.Next post": "Nächster Beitrag",
+ "Post.Related posts": "Das könnte Sie auch interessieren...",
+ "Author.Location": "Standort",
+ "Author.Website": "Webseite",
+ "Author.Social Media.Facebook": "Facebook",
+ "Author.Social Media.Twitter": "Twitter",
+ "Content.Visibility.Paid": "Dieser Beitrag ist nur für zahlende Abonnenten",
+ "Content.Visibility.Members": "Dieser Beitrag ist nur für Abonnenten",
+ "Content.Visibility.Filter": "Dieser Beitrag ist nur für Abonnenten der Stufe {{tiers}}",
+ "Content.CTA.Upgrade": "Jetzt upgraden",
+ "Content.CTA.Subscribe": "Jetzt abonnieren",
+ "Content.CTA.SignIn": "Bereits ein Konto? Anmelden",
+ "Comments.Member discussion": "Mitgliederdiskussion",
+ "Pagination.Load more": "Mehr laden"
+}
\ No newline at end of file
diff --git a/locales/en.json b/locales/en.json
new file mode 100644
index 000000000..b1d35000c
--- /dev/null
+++ b/locales/en.json
@@ -0,0 +1,25 @@
+{
+ "Navigation.Sign in": "Sign in",
+ "Navigation.Subscribe": "Subscribe",
+ "Navigation.Account": "Account",
+ "Navigation.Login": "Login",
+ "Footer.Powered by Ghost": "Powered by Ghost",
+ "Cover.Subscribe now": "Subscribe now",
+ "Cover.Login": "Login",
+ "Post.Published by": "Published by",
+ "Post.Previous post": "Previous post",
+ "Post.Next post": "Next post",
+ "Post.Related posts": "You might also like...",
+ "Author.Location": "Location",
+ "Author.Website": "Website",
+ "Author.Social Media.Facebook": "Facebook",
+ "Author.Social Media.Twitter": "Twitter",
+ "Content.Visibility.Paid": "This post is for paying subscribers only",
+ "Content.Visibility.Members": "This post is for subscribers only",
+ "Content.Visibility.Filter": "This post is for subscribers on the {{tiers}} only",
+ "Content.CTA.Upgrade": "Upgrade now",
+ "Content.CTA.Subscribe": "Subscribe now",
+ "Content.CTA.SignIn": "Already have an account? Sign in",
+ "Comments.Member discussion": "Member discussion",
+ "Pagination.Load more": "Load more"
+}
\ No newline at end of file
diff --git a/locales/es.json b/locales/es.json
new file mode 100644
index 000000000..14ae788f2
--- /dev/null
+++ b/locales/es.json
@@ -0,0 +1,25 @@
+{
+ "avigation.Sign in": "Iniciar sesión",
+ "Navigation.Subscribe": "Suscribirse",
+ "Navigation.Account": "Cuenta",
+ "Navigation.Login": "Iniciar sesión",
+ "Footer.Powered by Ghost": "Desarrollado por Ghost",
+ "Cover.Subscribe now": "Suscríbete ahora",
+ "Cover.Login": "Iniciar sesión",
+ "Post.Published by": "Publicado por",
+ "Post.Previous post": "Publicación anterior",
+ "Post.Next post": "Siguiente publicación",
+ "Post.Related posts": "También te puede interesar...",
+ "Author.Location": "Ubicación",
+ "Author.Website": "Sitio web",
+ "Author.Social Media.Facebook": "Facebook",
+ "Author.Social Media.Twitter": "Twitter",
+ "Content.Visibility.Paid": "Esta publicación es solo para suscriptores de pago",
+ "Content.Visibility.Members": "Esta publicación es solo para suscriptores",
+ "Content.Visibility.Filter": "Esta publicación es solo para suscriptores del nivel {{tiers}}",
+ "Content.CTA.Upgrade": "Actualizar ahora",
+ "Content.CTA.Subscribe": "Suscríbete ahora",
+ "Content.CTA.SignIn": "¿Ya tienes una cuenta? Inicia sesión",
+ "Comments.Member discussion": "Discusión de miembros",
+ "Pagination.Load more": "Cargar más"
+}
\ No newline at end of file
diff --git a/locales/fi.json b/locales/fi.json
new file mode 100644
index 000000000..8d7d7b60e
--- /dev/null
+++ b/locales/fi.json
@@ -0,0 +1,25 @@
+{
+ "Navigation.Sign in: "Kirjaudu sisään",
+ "Navigation.Subscribe": "Tilaa",
+ "Navigation.Account": "Tili",
+ "Navigation.Login": "Kirjaudu",
+ "Footer.Powered by Ghost": "Powered by Ghost",
+ "Cover.Subscribe now": "Tilaa nyt",
+ "Cover.Login": "Kirjaudu",
+ "Post.Published by": "Julkaissut",
+ "Post.Previous post": "Edellinen artikkeli",
+ "Post.Next post": "Seuraava artikkeli",
+ "Post.Related posts": "Saatat pitää myös näistä...",
+ "Author.Location": "Sijainti",
+ "Author.Website": "Verkkosivu",
+ "Author.Social Media.Facebook": "Facebook",
+ "Author.Social Media.Twitter": "Twitter",
+ "Content.Visibility.Paid": "Tämä artikkeli on vain maksaville tilaajille",
+ "Content.Visibility.Members": "Tämä artikkeli on vain tilaajille",
+ "Content.Visibility.Filter": "Tämä artikkeli on vain {{tiers}} tason tilaajille",
+ "Content.CTA.Upgrade": "Päivitä nyt",
+ "Content.CTA.Subscribe": "Tilaa nyt",
+ "Content.CTA.SignIn": "Onko sinulla jo tili? Kirjaudu sisään",
+ "Comments.Member discussion": "Jäsenkeskustelu",
+ "Pagination.Load more": "Lataa lisää"
+}
\ No newline at end of file
diff --git a/locales/fr.json b/locales/fr.json
new file mode 100644
index 000000000..cdd8eddc4
--- /dev/null
+++ b/locales/fr.json
@@ -0,0 +1,25 @@
+{
+ "Navigation.Sign in": "Se connecter",
+ "Navigation.Subscribe": "S'abonner",
+ "Navigation.Account": "Compte",
+ "Navigation.Login": "Connexion",
+ "Footer.Powered by Ghost": "Propulsé par Ghost",
+ "Cover.Subscribe now": "S'abonner maintenant",
+ "Cover.Login": "Se connecter",
+ "Post.Published by": "Publié par",
+ "Post.Previous post": "Article précédent",
+ "Post.Next post": "Article suivant",
+ "Post.Related posts": "Vous aimerez aussi...",
+ "Author.Location": "Localisation",
+ "Author.Website": "Site web",
+ "Author.Social Media.Facebook": "Facebook",
+ "Author.Social Media.Twitter": "Twitter",
+ "Content.Visibility.Paid": "Cet article est réservé aux abonnés payants",
+ "Content.Visibility.Members": "Cet article est réservé aux abonnés",
+ "Content.Visibility.Filter": "Cet article est réservé aux abonnés de niveau {{tiers}}",
+ "Content.CTA.Upgrade": "Mettre à niveau",
+ "Content.CTA.Subscribe": "S'abonner maintenant",
+ "Content.CTA.SignIn": "Déjà un compte ? Connectez-vous",
+ "Comments.Member discussion": "Discussion des membres",
+ "Pagination.Load more": "Charger plus"
+}
\ No newline at end of file
diff --git a/locales/it.json b/locales/it.json
new file mode 100644
index 000000000..e056db859
--- /dev/null
+++ b/locales/it.json
@@ -0,0 +1,25 @@
+{
+ "avigation.Sign in": "Accedi",
+ "Navigation.Subscribe": "Abbonati",
+ "Navigation.Account": "Account",
+ "Navigation.Login": "Accedi",
+ "Footer.Powered by Ghost": "Powered by Ghost",
+ "Cover.Subscribe now": "Abbonati ora",
+ "Cover.Login": "Accedi",
+ "Post.Published by": "Pubblicato da",
+ "Post.Previous post": "Post precedente",
+ "Post.Next post": "Post successivo",
+ "Post.Related posts": "Potrebbe interessarti anche...",
+ "Author.Location": "Località",
+ "Author.Website": "Sito web",
+ "Author.Social Media.Facebook": "Facebook",
+ "Author.Social Media.Twitter": "Twitter",
+ "Content.Visibility.Paid": "Questo post è solo per abbonati a pagamento",
+ "Content.Visibility.Members": "Questo post è solo per abbonati",
+ "Content.Visibility.Filter": "Questo post è solo per abbonati di livello {{tiers}}",
+ "Content.CTA.Upgrade": "Aggiorna ora",
+ "Content.CTA.Subscribe": "Abbonati ora",
+ "Content.CTA.SignIn": "Hai già un account? Accedi",
+ "Comments.Member discussion": "Discussione membri",
+ "Pagination.Load more": "Carica altro"
+}
\ No newline at end of file
diff --git a/locales/ja.json b/locales/ja.json
new file mode 100644
index 000000000..a0e27f202
--- /dev/null
+++ b/locales/ja.json
@@ -0,0 +1,25 @@
+{
+ "Navigation.Sign in": "ログイン",
+ "Navigation.Subscribe": "購読",
+ "Navigation.Account": "アカウント",
+ "Navigation.Login": "ログイン",
+ "Footer.Powered by Ghost": "Powered by Ghost",
+ "Cover.Subscribe now": "今すぐ購読",
+ "Cover.Login": "ログイン",
+ "Post.Published by": "投稿者",
+ "Post.Previous post": "前の記事",
+ "Post.Next post": "次の記事",
+ "Post.Related posts": "おすすめの記事...",
+ "Author.Location": "所在地",
+ "Author.Website": "ウェブサイト",
+ "Author.Social Media.Facebook": "Facebook",
+ "Author.Social Media.Twitter": "Twitter",
+ "Content.Visibility.Paid": "この記事は有料会員限定です",
+ "Content.Visibility.Members": "この記事は会員限定です",
+ "Content.Visibility.Filter": "この記事は{{tiers}}会員のみ閲覧できます",
+ "Content.CTA.Upgrade": "今すぐアップグレード",
+ "Content.CTA.Subscribe": "今すぐ購読",
+ "Content.CTA.SignIn": "アカウントをお持ちの方はログイン",
+ "Comments.Member discussion": "会員ディスカッション",
+ "Pagination.Load more": "もっと見る"
+}
\ No newline at end of file
diff --git a/locales/ko.json b/locales/ko.json
new file mode 100644
index 000000000..d6b82b43b
--- /dev/null
+++ b/locales/ko.json
@@ -0,0 +1,25 @@
+{
+ "Navigation.Sign in": "로그인",
+ "Navigation.Subscribe": "구독하기",
+ "Navigation.Account": "계정",
+ "Navigation.Login": "로그인",
+ "Footer.Powered by Ghost": "Powered by Ghost",
+ "Cover.Subscribe now": "지금 구독하기",
+ "Cover.Login": "로그인",
+ "Post.Published by": "작성자",
+ "Post.Previous post": "이전 글",
+ "Post.Next post": "다음 글",
+ "Post.Related posts": "추천 콘텐츠...",
+ "Author.Location": "위치",
+ "Author.Website": "웹사이트",
+ "Author.Social Media.Facebook": "Facebook",
+ "Author.Social Media.Twitter": "Twitter",
+ "Content.Visibility.Paid": "이 글은 유료 구독자만 볼 수 있습니다",
+ "Content.Visibility.Members": "이 글은 구독자만 볼 수 있습니다",
+ "Content.Visibility.Filter": "이 글은 {{tiers}} 등급 구독자만 볼 수 있습니다",
+ "Content.CTA.Upgrade": "지금 업그레이드",
+ "Content.CTA.Subscribe": "지금 구독하기",
+ "Content.CTA.SignIn": "계정이 있으신가요? 로그인",
+ "Comments.Member discussion": "구독자 토론",
+ "Pagination.Load more": "더 보기"
+}
\ No newline at end of file
diff --git a/locales/ru.json b/locales/ru.json
new file mode 100644
index 000000000..68c90d5d3
--- /dev/null
+++ b/locales/ru.json
@@ -0,0 +1,25 @@
+{
+ "avigation.Sign in": "Войти",
+ "Navigation.Subscribe": "Подписаться",
+ "Navigation.Account": "Аккаунт",
+ "Navigation.Login": "Войти",
+ "Footer.Powered by Ghost": "Работает на Ghost",
+ "Cover.Subscribe now": "Подписаться сейчас",
+ "Cover.Login": "Войти",
+ "Post.Published by": "Автор",
+ "Post.Previous post": "Предыдущая статья",
+ "Post.Next post": "Следующая статья",
+ "Post.Related posts": "Вам также может понравиться...",
+ "Author.Location": "Местоположение",
+ "Author.Website": "Веб-сайт",
+ "Author.Social Media.Facebook": "Facebook",
+ "Author.Social Media.Twitter": "Twitter",
+ "Content.Visibility.Paid": "Эта статья только для платных подписчиков",
+ "Content.Visibility.Members": "Эта статья только для подписчиков",
+ "Content.Visibility.Filter": "Эта статья доступна только для подписчиков уровня {{tiers}}",
+ "Content.CTA.Upgrade": "Улучшить тариф",
+ "Content.CTA.Subscribe": "Подписаться сейчас",
+ "Content.CTA.SignIn": "Уже есть аккаунт? Войти",
+ "Comments.Member discussion": "Обсуждение",
+ "Pagination.Load more": "Загрузить ещё"
+}
\ No newline at end of file
diff --git a/locales/th.json b/locales/th.json
new file mode 100644
index 000000000..a65666faa
--- /dev/null
+++ b/locales/th.json
@@ -0,0 +1,25 @@
+{
+ "Navigation.Sign in": "เข้าสู่ระบบ",
+ "Navigation.Subscribe": "สมัครสมาชิก",
+ "Navigation.Account": "บัญชีผู้ใช้",
+ "Navigation.Login": "เข้าสู่ระบบ",
+ "Footer.Powered by Ghost": "ขับเคลื่อนโดย Ghost",
+ "Cover.Subscribe now": "สมัครสมาชิกเลย",
+ "Cover.Login": "เข้าสู่ระบบ",
+ "Post.Published by": "เขียนโดย",
+ "Post.Previous post": "โพสต์ก่อนหน้า",
+ "Post.Next post": "โพสต์ถัดไป",
+ "Post.Related posts": "คุณอาจจะชอบ...",
+ "Author.Location": "ที่อยู่",
+ "Author.Website": "เว็บไซต์",
+ "Author.Social Media.Facebook": "Facebook",
+ "Author.Social Media.Twitter": "Twitter",
+ "Content.Visibility.Paid": "โพสต์นี้สำหรับสมาชิกแบบชำระเงินเท่านั้น",
+ "Content.Visibility.Members": "โพสต์นี้สำหรับสมาชิกเท่านั้น",
+ "Content.Visibility.Filter": "โพสต์นี้สำหรับสมาชิกระดับ {{tiers}} เท่านั้น",
+ "Content.CTA.Upgrade": "อัพเกรดเลย",
+ "Content.CTA.Subscribe": "สมัครสมาชิกเลย",
+ "Content.CTA.SignIn": "มีบัญชีอยู่แล้ว? เข้าสู่ระบบ",
+ "Comments.Member discussion": "การสนทนาของสมาชิก",
+ "Pagination.Load more": "โหลดเพิ่ม"
+}
\ No newline at end of file
diff --git a/locales/zh-CN.json b/locales/zh-CN.json
new file mode 100644
index 000000000..a824354d0
--- /dev/null
+++ b/locales/zh-CN.json
@@ -0,0 +1,25 @@
+{
+ "Navigation.Sign in": "登录",
+ "Navigation.Subscribe": "订阅",
+ "Navigation.Account": "我的账户",
+ "Navigation.Login": "登录",
+ "Footer.Powered by Ghost": "由 Ghost 驱动",
+ "Cover.Subscribe now": "立即订阅",
+ "Cover.Login": "登录",
+ "Post.Published by": "作者",
+ "Post.Previous post": "上一篇",
+ "Post.Next post": "下一篇",
+ "Post.Related posts": "你可能还喜欢...",
+ "Author.Location": "所在地",
+ "Author.Website": "网站",
+ "Author.Social Media.Facebook": "Facebook",
+ "Author.Social Media.Twitter": "Twitter",
+ "Content.Visibility.Paid": "此文章仅付费订阅者可见",
+ "Content.Visibility.Members": "订阅后可见",
+ "Content.Visibility.Filter": "此文章仅对{{tiers}}等级订阅者开放",
+ "Content.CTA.Upgrade": "立即升级",
+ "Content.CTA.Subscribe": "立即订阅",
+ "Content.CTA.SignIn": "已有账号?点击登录",
+ "Comments.Member discussion": "订阅者讨论",
+ "Pagination.Load more": "加载更多"
+}
\ No newline at end of file
diff --git a/locales/zh.json b/locales/zh.json
new file mode 100644
index 000000000..a824354d0
--- /dev/null
+++ b/locales/zh.json
@@ -0,0 +1,25 @@
+{
+ "Navigation.Sign in": "登录",
+ "Navigation.Subscribe": "订阅",
+ "Navigation.Account": "我的账户",
+ "Navigation.Login": "登录",
+ "Footer.Powered by Ghost": "由 Ghost 驱动",
+ "Cover.Subscribe now": "立即订阅",
+ "Cover.Login": "登录",
+ "Post.Published by": "作者",
+ "Post.Previous post": "上一篇",
+ "Post.Next post": "下一篇",
+ "Post.Related posts": "你可能还喜欢...",
+ "Author.Location": "所在地",
+ "Author.Website": "网站",
+ "Author.Social Media.Facebook": "Facebook",
+ "Author.Social Media.Twitter": "Twitter",
+ "Content.Visibility.Paid": "此文章仅付费订阅者可见",
+ "Content.Visibility.Members": "订阅后可见",
+ "Content.Visibility.Filter": "此文章仅对{{tiers}}等级订阅者开放",
+ "Content.CTA.Upgrade": "立即升级",
+ "Content.CTA.Subscribe": "立即订阅",
+ "Content.CTA.SignIn": "已有账号?点击登录",
+ "Comments.Member discussion": "订阅者讨论",
+ "Pagination.Load more": "加载更多"
+}
\ No newline at end of file
diff --git a/partials/comments.hbs b/partials/comments.hbs
index 70107c693..50b24ace1 100644
--- a/partials/comments.hbs
+++ b/partials/comments.hbs
@@ -1,7 +1,7 @@
{{#if comments}}
Member discussion
+{{t "Comments.Member discussion"}}
{{comment_count class="gh-comments-count"}}This post is for paying subscribers only
+{{t "Content.Visibility.Paid"}}
{{/has}} {{#has visibility="members"}} -This post is for subscribers only
+{{t "Content.Visibility.Members"}}
{{/has}} {{#has visibility="filter"}} -This post is for subscribers on the {{tiers}} only
+{{t "Content.Visibility.Filter" tiers=tiers}}
{{/has}} {{#if @member}} - + {{else}} - +- + {{/if}}
Published by:
+{{t "Post.Published by"}}
You might also like...
+{{t "Post.Related posts"}}