fix: broken translations

This commit is contained in:
DIYgod 2023-12-15 03:33:31 +08:00
parent 4cca85021f
commit 9cfa24c167
No known key found for this signature in database
5 changed files with 11 additions and 12 deletions

View File

@ -19,7 +19,7 @@ export const DeleteConfirmationModal = ({
return (
<Modal open={open} setOpen={setOpen}>
<div className="px-5 py-4 space-y-4">
<p>{t("delete_confirmation", { context: type })}</p>
<p>{t("delete_confirmation", { context: t(type) })}</p>
<div className="flex justify-end space-x-2">
<Button variant="secondary" onClick={() => setOpen(false)}>
<span className="truncate">{t("Cancel")}</span>

View File

@ -7,8 +7,7 @@
"You are here to be the first tipper": "You are here to be the first tipper.",
"Filter out possible low-quality content based on AI ratings": "Filter out possible low-quality content based on AI ratings.",
"link post-vs-page" : "https://wordpress.com/zh-cn/support/post-vs-page/",
"delete_confirmation_post": "Are you sure you want to DELETE this post?",
"delete_confirmation_page": "Are you sure you want to DELETE this page?",
"delete_confirmation": "Are you sure you want to DELETE this {context}?",
"description": "An <opensourceLink>open-source</opensourceLink> creative community written on the <blockchainLink>blockchain</blockchainLink>.",
"features": {
"Write": {
@ -115,5 +114,6 @@
"en": "English",
"ja": "Japanese",
"zh": "Chinese",
"zh-TW": "Traditional Chinese"
"zh-TW": "Traditional Chinese",
"Confirmed by {blockNumber} blocks": "Confirmed by {blockNumber} blocks"
}

View File

@ -174,8 +174,7 @@
"Warning": "警告",
"Operators have permissions to enter your dashboard, change your settings(excluding xLog subdomain) and post, modify, delete contents on your site": "シャドー認証では、ダッシュボードへのアクセス、設定の変更xLog サブドメインを除く)、サイトのコンテンツの公開・修正・削除が可能です。",
"Add": "新規",
"delete_confirmation_post": "この記事を削除してもよろしいですか?",
"delete_confirmation_page": "このページを削除してもよろしいですか?",
"delete_confirmation": "この{context}を削除してもよろしいですか?",
"Advanced Settings": "詳細設定",
"Disable AI-generated summary": "AI が生成した要約を無効化する",
"Pin": "固定する",

View File

@ -13,6 +13,8 @@
"comments": "留言",
"Comment": "留言",
"Comments": "留言",
"portfolio": "作品",
"short": "圖文",
"reply": "回覆",
"replies": "回覆",
"like": "讚",
@ -270,8 +272,7 @@
"This month": "本月",
"This week": "本周",
"All time": "全部",
"delete_confirmation_post": "你確認要刪除這篇文章嗎?",
"delete_confirmation_page": "你確認要刪除這個頁面嗎?",
"delete_confirmation": "你確認要刪除這個{context}嗎?",
"Published a new post on my blockchain blog: {title} Check it out now!": "我在我的區塊鏈部落格發佈了一片新的文章《{title}》,快來看看吧!",
"You can subscribe to comments through an RSS reader to receive timely reminders": "你可以通過 RSS 閱讀器訂閱留言,以便及時收到通知。",
"Subscription address:": "訂閱地址:",

View File

@ -13,6 +13,8 @@
"comments": "评论",
"Comment": "评论",
"Comments": "评论",
"portfolio": "作品",
"short": "图文",
"reply": "回复",
"replies": "回复",
"like": "喜欢",
@ -102,10 +104,7 @@
"Current Block Height": "当前区块高度",
"Portfolio": "作品",
"Delete": "删除",
"delete_confirmation_post": "你确定要删除这篇文章吗?",
"delete_confirmation_page": "你确定要删除这个页面吗?",
"delete_confirmation_comment": "你确定要删除这个评论吗?",
"delete_confirmation_portfolio": "你确定要删除这个作品吗?",
"delete_confirmation": "你确定要删除这个{context}吗?",
"New Post": "新建文章",
"New Page": "新建页面",
"New Portfolio": "新建作品",