Skip to content

Commit

Permalink
feat: add translations (zh-cn, zh-tw, jp) (yournextstore#37)
Browse files Browse the repository at this point in the history
Translations for Japanese, Simplified Chinese, Traditional Chinese (Taiwan)
  • Loading branch information
hqod authored Sep 12, 2024
1 parent 3d3cff6 commit 696386f
Show file tree
Hide file tree
Showing 3 changed files with 579 additions and 0 deletions.
193 changes: 193 additions & 0 deletions messages/jp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
{
"Global": {
"metadata": {
"title": "Your Next Store - デモ",
"description": "オンラインストアを瞬時に構築するためのNext.jsボイラープレート:シンプル、迅速、強力。"
},
"notFound": {
"title": "見つかりません",
"description": "お探しのページは存在しません。",
"goBackLink": "ホームに戻る"
},
"globalError": {
"title": "問題が発生しました!",
"moreDetails": "詳細",
"tryAgainButton": "再試行"
},
"error": {
"title": "おっと、問題が発生しました!",
"goBackLink": "再試行"
},
"footer": {
"newsletterTitle": "ニュースレターを購読する",
"categoriesTitle": "製品"
},
"newsletter": {
"emailPlaceholder": "メールアドレスを入力",
"subscribeButton": "購読",
"success": "ニュースレターの購読に成功しました。",
"error": "ニュースレターの購読に失敗しました。"
},
"nav": {
"search": {
"title": "検索",
"placeholder": "製品を検索…"
},
"cartSummary": {
"itemsInCart": "カートのアイテム",
"total": "合計",
"totalItems": "{count, plural, =0 {アイテムなし} =1 {# アイテム} other {# アイテム}} カート内"
}
},
"addToCart": {
"success": "{productName}をカートに追加しました",
"actionButton": "カートに追加",
"disabled": "在庫切れ"
},
"deliveryEstimates": {
"atLeast": "少なくとも",
"upTo": "最大",
"businessDay": "{count, plural, =1 {# 営業日} other {# 営業日}}",
"day": "{count, plural, =1 {# 日} other {# 日}}",
"hour": "{count, plural, =1 {# 時間} other {# 時間}}",
"month": "{count, plural, =1 {# ヶ月} other {# ヶ月}}",
"week": "{count, plural, =1 {# 週間} other {# 週間}}"
}
},
"/": {
"hero": {
"title": "厳選されたコレクションを発見",
"description": "家庭やライフスタイルのために慎重に選ばれた製品を探る。",
"action": "今すぐ購入",
"link": "/category/accessories"
}
},
"/search": {
"notFound": {
"title": "\"{query}\"の結果は見つかりませんでした",
"description": "申し訳ありませんが、検索クエリに一致する結果が見つかりませんでした。検索条件を変更してみてください"
},
"metadata": {
"title": "検索: {query} · Your Next Store"
},
"page": {
"title": "\"{query}\"を検索中"
},
"loading": {
"title": "検索中"
}
},
"/products": {
"metadata": {
"title": "すべての製品 · Your Next Store"
},
"page": {
"title": "すべての製品"
}
},
"/product": {
"metadata": {
"title": "{productName} · Your Next Store"
},
"page": {
"allProducts": "すべての製品",
"imagesTitle": "画像",
"descriptionTitle": "説明",
"variantTitle": "バリアント"
}
},
"/category": {
"metadata": {
"title": "{categoryName}カテゴリー · Your Next Store"
},
"page": {
"title": "カテゴリー: {categoryName}"
}
},
"/cart": {
"modal": {
"title": "ショッピングカート",
"openFullView": "(全体を見る)",
"quantity": "数量: {quantity}",
"total": "合計",
"shippingAndTaxesInfo": "送料と税金は次のステップで追加されます",
"goToPaymentButton": "支払いに進む"
},
"metadata": {
"title": "ショッピングカート · Your Next Store"
},
"page": {
"title": "あなたのカート",
"checkoutTitle": "チェックアウト",
"checkoutDescription": "以下に請求先と配送先の詳細を入力してください。",
"summaryTable": {
"imageCol": "画像",
"productCol": "製品",
"priceCol": "価格",
"quantityCol": "数量",
"totalCol": "合計",
"totalSummary": "合計"
},
"stripePayment": {
"fillRequiredFields": "必須項目を入力してください。",
"unexpectedError": "予期しないエラーが発生しました。",
"billingSameAsShipping": "請求先住所は配送先住所と同じ",
"billingAddressTitle": "請求先住所",
"payNowButton": "今すぐ支払う",
"errorTitle": "エラー",
"fullName": "氏名",
"address1": "住所",
"address2": "住所(続き)",
"postalCode": "郵便番号",
"city": "市区町村",
"state": "都道府県",
"country": "",
"phone": "電話番号",
"taxId": "税番号",
"taxIdPlaceholder": "例:T1234567890123"
},
"formErrors": {
"nameRequired": "名前は必須です",
"cityRequired": "市区町村は必須です",
"countryRequired": "国は必須です",
"line1Required": "住所は必須です",
"postalCodeRequired": "郵便番号は必須です"
}
},
"empty": {
"title": "カートは空です",
"description": "カートに商品がまだ追加されていないようです。",
"continueShoppingButton": "ショッピングを続ける"
}
},
"/order": {
"metadata": {
"title": "注文確認 · Your Next Store"
},
"page": {
"title": "注文確認",
"description": "ありがとうございます!以下に注文の詳細が表示されます。",
"orderNumberTitle": "注文番号",
"productsTitle": "この注文の製品",
"price": "価格",
"quantity": "数量",
"total": "合計",
"detailsTitle": "注文詳細",
"shippingAddress": "配送先住所",
"billingAddress": "請求先住所",
"taxId": "税番号",
"paymentMethod": "支払い方法",
"cardBrand": "カード会社",
"last4CardDigitsLabel": "カード番号(末尾4桁)"
},
"paymentStatus": {
"canceled": "キャンセル済み",
"processing": "処理中",
"requires_action": "アクションが必要です",
"requires_capture": "キャプチャが必要です",
"requires_confirmation": "確認が必要です",
"requires_payment_method": "支払い方法が必要です",
"succeeded": "成功しました"
}
}
}
193 changes: 193 additions & 0 deletions messages/zh-cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
{
"Global": {
"metadata": {
"title": "Your Next Store - 演示",
"description": "一个快速构建在线商店的 Next.js 模板:简单、快速、强大。"
},
"notFound": {
"title": "未找到",
"description": "您查找的页面不存在。",
"goBackLink": "返回主页"
},
"globalError": {
"title": "出错了!",
"moreDetails": "更多详情",
"tryAgainButton": "重试"
},
"error": {
"title": "哎呀,出了点问题!",
"goBackLink": "重试"
},
"footer": {
"newsletterTitle": "订阅我们",
"categoriesTitle": "产品"
},
"newsletter": {
"emailPlaceholder": "输入您的邮箱",
"subscribeButton": "订阅",
"success": "订阅成功。",
"error": "订阅失败。"
},
"nav": {
"search": {
"title": "搜索",
"placeholder": "搜索产品…"
},
"cartSummary": {
"itemsInCart": "购物车商品",
"total": "总计",
"totalItems": "{count, plural, =0 {购物车为空} =1 {购物车中有 # 件商品} other {购物车中有 # 件商品}}"
}
},
"addToCart": {
"success": "{productName}已加入购物车",
"actionButton": "添加到购物车",
"disabled": "无货"
},
"deliveryEstimates": {
"atLeast": "至少",
"upTo": "最多",
"businessDay": "{count, plural, =1 {# 个工作日} other {# 个工作日}}",
"day": "{count, plural, =1 {# 天} other {# 天}}",
"hour": "{count, plural, =1 {# 小时} other {# 小时}}",
"month": "{count, plural, =1 {# 个月} other {# 个月}}",
"week": "{count, plural, =1 {# 周} other {# 周}}"
}
},
"/": {
"hero": {
"title": "探索精选系列",
"description": "探索我们精心挑选的家居和生活产品。",
"action": "立即选购",
"link": "/category/accessories"
}
},
"/search": {
"notFound": {
"title": "没有与 \"{query}\" 相关的结果",
"description": "抱歉,我们找不到与您的搜索匹配的结果。请尝试优化您的搜索条件。"
},
"metadata": {
"title": "搜索:{query} · Your Next Store"
},
"page": {
"title": "搜索 \"{query}\""
},
"loading": {
"title": "搜索中"
}
},
"/products": {
"metadata": {
"title": "所有产品 · Your Next Store"
},
"page": {
"title": "所有产品"
}
},
"/product": {
"metadata": {
"title": "{productName} · Your Next Store"
},
"page": {
"allProducts": "所有产品",
"imagesTitle": "图片",
"descriptionTitle": "描述",
"variantTitle": "变体"
}
},
"/category": {
"metadata": {
"title": "{categoryName} 类别 · Your Next Store"
},
"page": {
"title": "类别:{categoryName}"
}
},
"/cart": {
"modal": {
"title": "购物车",
"openFullView": "(展开完整视图)",
"quantity": "数量:{quantity}",
"total": "总计",
"shippingAndTaxesInfo": "运费和税金将在下一步添加",
"goToPaymentButton": "前往付款"
},
"metadata": {
"title": "购物车 · Your Next Store"
},
"page": {
"title": "您的购物车",
"checkoutTitle": "结账",
"checkoutDescription": "请在下方提供账单和送货详细信息。",
"summaryTable": {
"imageCol": "图片",
"productCol": "产品",
"priceCol": "价格",
"quantityCol": "数量",
"totalCol": "总计",
"totalSummary": "总计"
},
"stripePayment": {
"fillRequiredFields": "请填写必填字段。",
"unexpectedError": "发生了意外错误。",
"billingSameAsShipping": "账单地址与送货地址相同",
"billingAddressTitle": "账单地址",
"payNowButton": "立即支付",
"errorTitle": "错误",
"fullName": "全名",
"address1": "地址",
"address2": "地址(第二行)",
"postalCode": "邮政编码",
"city": "城市",
"state": "省份/地区",
"country": "国家",
"phone": "电话号码",
"taxId": "税号",
"taxIdPlaceholder": "例如:PL123456789"
},
"formErrors": {
"nameRequired": "姓名是必填项",
"cityRequired": "城市是必填项",
"countryRequired": "国家是必填项",
"line1Required": "地址是必填项",
"postalCodeRequired": "邮政编码是必填项"
}
},
"empty": {
"title": "您的购物车是空的",
"description": "看起来您还没有向购物车添加任何商品。",
"continueShoppingButton": "继续购物"
}
},
"/order": {
"metadata": {
"title": "订单确认 · Your Next Store"
},
"page": {
"title": "订单确认",
"description": "谢谢您!您可以在下方找到您的订单详情。",
"orderNumberTitle": "订单号",
"productsTitle": "此订单中的产品",
"price": "价格",
"quantity": "数量",
"total": "总计",
"detailsTitle": "订单详情",
"shippingAddress": "送货地址",
"billingAddress": "账单地址",
"taxId": "税号",
"paymentMethod": "支付方式",
"cardBrand": "支付卡品牌",
"last4CardDigitsLabel": "卡号末四位"
},
"paymentStatus": {
"canceled": "已取消",
"processing": "处理中",
"requires_action": "需要操作",
"requires_capture": "需要扣款",
"requires_confirmation": "需要确认",
"requires_payment_method": "需要支付方式",
"succeeded": "成功"
}
}
}
Loading

0 comments on commit 696386f

Please sign in to comment.