Skip to content

Commit 48cf0e9

Browse files
authored
Merge pull request #102 from t-kazu/feature/menu-for-download-ruby-code
メニューにコンピュータにルビーのコードを保存するを追加しました
2 parents d88993e + 864cb4e commit 48cf0e9

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

src/components/menu-bar/menu-bar.jsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,18 @@ class MenuBar extends React.Component {
359359
/>
360360
</MenuItem>
361361
)}</SB3Downloader>
362+
<MenuItemTooltip
363+
id="download_ruby_code"
364+
isRtl={this.props.isRtl}
365+
>
366+
<MenuItem>
367+
<FormattedMessage
368+
defaultMessage="Download Ruby code to your computer"
369+
description="Menu bar item for downloading Ruby code to your computer"
370+
id="gui.smalruby3.menuBar.downloadRubyCodeToComputer"
371+
/>
372+
</MenuItem>
373+
</MenuItemTooltip>
362374
</MenuSection>
363375
</MenuBarMenu>
364376
</div>

src/locales/en.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default {
66
"gui.smalruby3.previewInfo.label": "Try Smalruby 3.0",
77
"gui.smalruby3.previewInfo.invitation": "We're working on the next generation of Smalruby. We're excited for you to try it!",
88
"gui.smalruby3.previewInfo.welcome": "Welcome to the Smalruby 3.0 Preview",
9+
'gui.smalruby3.menuBar.downloadRubyCodeToComputer': 'Download Ruby code to your computer',
910
"gui.smalruby3.unsupportedBrowser.description": "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.",
1011
"gui.smalruby3.webglModal.description": "Unfortunately it looks like your browser or computer {webGlLink}. This technology is needed for Smalruby 3.0 to run."
1112
};

src/locales/ja-Hira.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default {
66
'gui.smalruby3.previewInfo.label': 'スモウルビー3.0をためしてみる',
77
'gui.smalruby3.previewInfo.invitation': 'わたしたちはじせだいのスモウルビーをかいはつちゅうです。おためしください!',
88
'gui.smalruby3.previewInfo.welcome': 'スモウルビー3.0 プレビューばんにようこそ!',
9+
'gui.smalruby3.menuBar.downloadRubyCodeToComputer': 'コンピュータにルビーのコードをほぞんする',
910
'gui.smalruby3.unsupportedBrowser.description': 'もうしわけありません。スモウルビー3.0はインターネットエクスプローラ、ビヴァルディ、オペラ、シルクをサポートしていません。グーグル クローム、モジラ ファイアーフォックス、マイクロソフト エッジのようなあたらしいブラウザのりようをおすすめします。',
1011
'gui.smalruby3.webglModal.description': 'ざんねんながら、ブラウザーやコンピューターが{webGlLink}ようです。このぎじゅつはスモウルビー3.0のじっこうにひっすです。'
1112
};

src/locales/ja.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default {
66
'gui.smalruby3.previewInfo.label': 'スモウルビー3.0を試してみる',
77
'gui.smalruby3.previewInfo.invitation': '私たちは次世代のスモウルビーを開発中です。お試しください!',
88
'gui.smalruby3.previewInfo.welcome': 'スモウルビー3.0 プレビュー版にようこそ!',
9+
'gui.smalruby3.menuBar.downloadRubyCodeToComputer': 'コンピュータにルビーのコードを保存する',
910
'gui.smalruby3.unsupportedBrowser.description': '申し訳ありません。スモウルビー3.0はInternet Explorer、Vivaldi、Opera、Silkをサポートしていません。Google Chrome、Mozilla Firefox、Microsoft Edgeのような新しいブラウザの利用をお勧めします。',
1011
'gui.smalruby3.webglModal.description': '残念ながら、ブラウザーやコンピューターが{webGlLink}ようです。この技術はスモウルビー3.0の実行に必須です。'
1112
};

0 commit comments

Comments
 (0)