Skip to content

Commit

Permalink
Merge pull request #224 from scott-klaytn/add-japanese
Browse files Browse the repository at this point in the history
Add Japanese
  • Loading branch information
scott-klaytn authored Feb 11, 2025
2 parents a1d0ff8 + 03fe82c commit c1fa913
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
9 changes: 8 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const config = {

i18n: {
defaultLocale: 'en',
locales: ['en', 'ko', 'zh-CN', 'zh-TW', 'vi'],
locales: ['en', 'ko', 'ja', 'zh-CN', 'zh-TW', 'vi'],
path: 'i18n',
localeConfigs: {
'en': {
Expand All @@ -48,6 +48,13 @@ const config = {
calendar: 'gregory',
path: 'ko',
},
'ja': {
label: '日本語',
direction: 'ltr',
htmlLang: 'ja',
calendar: 'gregory',
path: 'ja',
},
'zh-CN': {
label: '简体中文',
direction: 'ltr',
Expand Down
18 changes: 17 additions & 1 deletion src/theme/Footer/Feedback/Feedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,22 @@ const placeholders = {
ratingPlaceholder: "이 페이지가 도움이 되었나요?",
ratingStarsPlaceholder: "이 페이지를 평가해 주세요."
},
'ja': {
feedbackButtonText: "ページを改善してください。",
modalTitle: "あなたのフィードバックは、ドキュメントの改善に大いに役立ちます。",
emailPlaceholder: "メールアドレスを入力してください。",
errorMessage: "後で再試行してください。",
modalTitleError403: "リクエストのURLがPushFeedbackで定義されたURLと一致しません。",
modalTitleError404: "PushFeedbackで提供されたプロジェクトIDが見つかりません。",
messagePlaceholder: "フィードバック",
modalTitleError: "おっとっと!",
modalTitleSuccess: "フィードバックをありがとうございます!",
screenshotButtonText: "スクリーンショットを撮る",
screenshotTopbarText: "該当する場所を選択してください。",
sendButtonText: "送信する",
ratingPlaceholder: "このページは役に立ちましたか?",
ratingStarsPlaceholder: "このページを評価してください。"
},
'zh-CN': {
feedbackButtonText: "让这个页面变得更好",
modalTitle: "您的反馈有助于我们改进工作。",
Expand All @@ -57,7 +73,7 @@ const placeholders = {
},
'zh-TW': {
feedbackButtonText: "讓這個頁面變得更好",
modalTitle: "您的反饋使我們與衆不同。讓我們知道如何做得更好",
modalTitle: "您的反饋有助於我們改進工作。",
emailPlaceholder: "輸入您的電子郵件",
errorMessage: "請稍後再試",
modalTitleError403: "請求的 URL 與 PushFeedback 中爲該項目定義的 URL 不匹配",
Expand Down

0 comments on commit c1fa913

Please sign in to comment.