Skip to content

Commit

Permalink
content: update english copy and add jp copy
Browse files Browse the repository at this point in the history
  • Loading branch information
roadlittledawn committed Dec 3, 2021
1 parent 445db85 commit 4431334
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
9 changes: 5 additions & 4 deletions src/components/MachineTranslationCallout.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,14 @@ const MachineTranslationCallout = ({ englishHref }) => {
}
`}
>
<Icon name="globe" size="2rem" />
<Icon name="globe" size="2em" />
<div>
<h4>{t('machineTranslation.calloutHeading')}</h4>
<Trans i18nKey="machineTranslation.calloutBody" parent="p">
If there's anything unclear, you can try checking the{' '}
<Link to={englishHref}>English version</Link>. Or tell us how we can
improve it.
In the event of any inconsistency between the English version and
the translated version, the{' '}
<Link to={englishHref}>English version</Link>shall prevail. Please
visit <Link to="/">this page</Link> for more information.
</Trans>
</div>
<CreateIssueButton
Expand Down
4 changes: 2 additions & 2 deletions src/i18n/translations/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
}
},
"machineTranslation": {
"calloutHeading": "We used machine translation for this page",
"calloutBody": "If there's anything unclear, you can try checking the <2>English version</2>. Or tell us how we can improve it."
"calloutHeading": "This machine translation is provided for your convenience.",
"calloutBody": "In the event of any inconsistency between the English version and the translated version, the <2>English version</2> shall prevail. Please visit <3>this page</3> for more information."
}
}
4 changes: 4 additions & 0 deletions src/i18n/translations/jp/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,9 @@
"filter": {
"placeholder": "ナビゲーションの絞り込み"
}
},
"machineTranslation": {
"calloutHeading": "本書は、お客様のご参考のため、機械翻訳を使用し作成された英語版の参考和訳です。",
"calloutBody": "英語版と齟齬がある場合、<2>英語版</2>の定めが優先するものとします。より詳しい情報については、<4>本リンク</4>をご参照ください。"
}
}

0 comments on commit 4431334

Please sign in to comment.