Skip to content

Scratchの文言があるところはdefaltMessageを適応させました #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/browser-modal/browser-modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ const BrowserModal = ({intl, ...props}) => (
<p>
{ /* eslint-disable max-len */ }
<FormattedMessage
defaultMessage="We're very sorry, but Smalruby 3.0 does not support Internet Explorer, Vivaldi, Opera or Silk. We recommend trying a newer browser such as Google Chrome, Mozilla Firefox, or Microsoft Edge."
defaultMessage="申し訳ありません。スモウルビー3.0はInternet ExplorerVivaldiOpera、Silkをサポートしていません。Google ChromeMozilla FirefoxMicrosoft Edgeのような新しいブラウザの利用をお勧めします。"
description="Unsupported browser description"
id="gui.unsupportedBrowser.description"
id="gui.smalruby3.unsupportedBrowser.description"
/>
{ /* eslint-enable max-len */ }
</p>
Expand Down
12 changes: 6 additions & 6 deletions src/components/preview-modal/preview-modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import hattiIcon from './hatti.png';

const messages = defineMessages({
label: {
id: 'gui.previewInfo.label',
defaultMessage: 'Try Smalruby 3.0',
id: 'gui.smalruby3.previewInfo.label',
defaultMessage: 'スモウルビー3.0を試してみる"',
description: 'Smalruby 3.0 modal label - for accessibility'
}
});
Expand All @@ -28,16 +28,16 @@ const PreviewModal = ({intl, ...props}) => (
<Box className={styles.body}>
<h2>
<FormattedMessage
defaultMessage="Welcome to the Smalruby 3.0 Preview"
defaultMessage="スモウルビー3.0 プレビュー版にようこそ!"
description="Header for Preview Info Modal"
id="gui.previewInfo.welcome"
id="gui.smalruby3.previewInfo.welcome"
/>
</h2>
<p>
<FormattedMessage
defaultMessage="We're working on the next generation of Smalruby. We're excited for you to try it!"
defaultMessage="私たちは次世代のスモウルビーを開発中です。お試しください!"
description="Invitation to try 3.0 preview"
id="gui.previewInfo.invitation"
id="gui.smalruby3.previewInfo.invitation"
/>
</p>

Expand Down
4 changes: 2 additions & 2 deletions src/components/webgl-modal/webgl-modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ const WebGlModal = ({intl, ...props}) => (
<p>
{ /* eslint-disable max-len */ }
<FormattedMessage
defaultMessage="Unfortunately it looks like your browser or computer {webGlLink}. This technology is needed for Smalruby 3.0 to run."
defaultMessage="残念ながら、ブラウザーやコンピューターが{webGlLink}ようです。この技術はスモウルビー3.0の実行に必須です。"
description="WebGL missing message"
id="gui.webglModal.description"
id="gui.smalruby3.webglModal.description"
values={{
webGlLink: (
<a
Expand Down