feat: Add language support and descriptions in product localization files

- Added language, languageDescription, and languagePlaceholder fields to product.json for multiple locales (ja-JP, ko-KR, no-NO, pl-PL, pt-BR, ro-RO, ru-RU, th-TH, tr-TR, uk-UA, vi-VN, zh-HK).
- Removed group-related fields from product.json for cleaner structure.
- Updated API calls in user services to include language parameter for subscription retrieval.
- Enhanced type definitions for subscription requests to accommodate language parameter.
This commit is contained in:
web
2025-09-04 01:26:50 -07:00
parent 1ab9b39e8a
commit fd48856019
25 changed files with 120 additions and 679 deletions
+4 -32
View File
@@ -35,8 +35,10 @@
"discountPercent": "割引率",
"discount_price": "割引価格",
"duration": "期間(月)",
"groupId": "サブスクリプショングループ",
"inventory": "サブスクリプション制限",
"language": "言語",
"languageDescription": "言語制限なしのデフォルトの場合は空白のままにしてください",
"languagePlaceholder": "サブスクリプションの言語識別子(例:en-US、zh-CN",
"monthlyReset": "毎月リセット",
"name": "名称",
"noLimit": "無制限",
@@ -54,39 +56,14 @@
"resetCycle": "リセットサイクル",
"resetOn1st": "1日にリセット",
"selectResetCycle": "リセットサイクルを選択してください",
"selectSubscribeGroup": "サブスクリプショングループを選択してください",
"selectUnitTime": "単位時間を選択してください",
"speedLimit": "速度制限",
"traffic": "トラフィック",
"unitPrice": "単価",
"unitTime": "単位時間"
},
"group": {
"actions": "操作",
"cancel": "キャンセル",
"confirm": "確認",
"confirmDelete": "削除してもよろしいですか?",
"create": "作成",
"createSubscribeGroup": "新しい購読グループを作成",
"createSuccess": "作成成功",
"delete": "削除",
"deleteSuccess": "削除成功",
"deleteWarning": "削除後はデータを復元できませんので、慎重に操作してください。",
"description": "説明",
"edit": "編集",
"editSubscribeGroup": "購読グループを編集",
"form": {
"cancel": "キャンセル",
"confirm": "確認",
"description": "説明",
"name": "名前"
},
"name": "名前",
"title": "購読グループ一覧",
"updateSuccess": "更新成功",
"updatedAt": "更新日時"
},
"inventory": "サブスクリプションの制限",
"language": "言語",
"name": "名前",
"quota": "購入制限/回",
"replacement": "リセット価格/回",
@@ -94,11 +71,6 @@
"show": "表示",
"sold": "サブスクリプション数",
"subscribe": "購読",
"subscribeGroup": "グループを購読する",
"tabs": {
"subscribe": "購読",
"subscribeGroup": "購読グループ"
},
"traffic": "トラフィック",
"unitPrice": "単価",
"updateSuccess": "更新が成功しました"