|
1 | 1 | export default {
|
2 | 2 | header: 'Dialog',
|
3 |
| - headerText: 'The `v-dialog` component inform users about a specific task and may contain critical information, require decisions, or involve multiple tasks. Use dialogs sparingly because they are interruptive.', |
| 3 | + headerText: |
| 4 | + '`v-dialog`コンポーネントは、特定のタスクについてユーザに通知し、重要な情報を含んだり意思決定を必要とするような複数のタスクを伴う可能性があります。割り込み的な要素ですので、ダイアログは控えめに使用してください。 ', |
4 | 5 | components: ['v-dialog'],
|
5 |
| - examples: [{ |
6 |
| - simple: { |
7 |
| - header: 'Simple dialogs', |
8 |
| - desc: 'Choosing an option immediately commits the option and closes the menu. Touching outside of the dialog, or pressing Back, cancels the action and closes the dialog.', |
9 |
| - uninverted: true |
10 |
| - }, |
11 |
| - withoutActivator: { |
12 |
| - header: 'Without activator', |
13 |
| - desc: 'If for some reason you are unable to use the activator slot, be sure to add the `.stop` modifier to the event that triggers the dialog.', |
14 |
| - uninverted: true |
15 |
| - }, |
16 |
| - modal: { |
17 |
| - header: 'Modal', |
18 |
| - desc: 'Similar to a Simple Dialog, except that it\'s not dismissed when touching outside.', |
19 |
| - uninverted: true |
20 |
| - }, |
21 |
| - fullscreen: { |
22 |
| - header: 'Fullscreen', |
23 |
| - desc: 'Due to limited space, full-screen dialogs may be more appropriate for mobile devices than dialogs used on devices with larger screens.', |
24 |
| - uninverted: true |
25 |
| - }, |
26 |
| - form: { |
27 |
| - header: 'Form', |
28 |
| - desc: 'Just a simple example of a form in a dialog.', |
29 |
| - uninverted: true |
30 |
| - }, |
31 |
| - scrollable: { |
32 |
| - header: 'Scrollable', |
33 |
| - desc: 'Example of a dialog with scrollable content.', |
34 |
| - uninverted: true |
35 |
| - }, |
36 |
| - overflowed: { |
37 |
| - header: 'Overflowed', |
38 |
| - desc: 'Modals that do not fit within the available window space will scroll the container.', |
39 |
| - uninverted: true |
| 6 | + examples: [ |
| 7 | + { |
| 8 | + simple: { |
| 9 | + header: 'シンプルなダイアログ', |
| 10 | + desc: |
| 11 | + 'オプションを選択するとすぐにオプションがコミットされ、メニューが閉じます。ダイアログの外側に触れる、または戻るを押すと、アクションがキャンセルされ、ダイアログが閉じます。', |
| 12 | + uninverted: true |
| 13 | + }, |
| 14 | + withoutActivator: { |
| 15 | + header: 'activatorを使用しない場合', |
| 16 | + desc: |
| 17 | + '何らかの理由で `activator` slotを使用しない場合は、ダイアログをトリガするイベントに `.stop`修飾子を必ず追加してください。', |
| 18 | + uninverted: true |
| 19 | + }, |
| 20 | + modal: { |
| 21 | + header: 'モーダル', |
| 22 | + desc: 'シンプルなダイアログに似ていますが、モーダルの外側に触れてもモーダルは閉じません。', |
| 23 | + uninverted: true |
| 24 | + }, |
| 25 | + fullscreen: { |
| 26 | + header: 'フルスクリーンのダイアログ', |
| 27 | + desc: |
| 28 | + 'スペースが限られているため、モバイルデバイスにとって、フルスクリーンのダイアログは大画面のデバイスで使用されるダイアログよりも適している可能性があります。', |
| 29 | + uninverted: true |
| 30 | + }, |
| 31 | + form: { |
| 32 | + header: 'ダイアログ内のフォーム', |
| 33 | + desc: 'ダイアログ内のフォームのシンプルな例です。', |
| 34 | + uninverted: true |
| 35 | + }, |
| 36 | + scrollable: { |
| 37 | + header: 'スクロール可能なダイアログ', |
| 38 | + desc: 'スクロール可能なコンテンツを持つダイアログの例です。', |
| 39 | + uninverted: true |
| 40 | + }, |
| 41 | + overflowed: { |
| 42 | + header: 'オーバーフロー', |
| 43 | + desc: '利用可能なウィンドウスペースに収まらないモーダルは、コンテナでスクロールされます。', |
| 44 | + uninverted: true |
| 45 | + } |
40 | 46 | }
|
41 |
| - }], |
| 47 | + ], |
42 | 48 | props: {
|
43 |
| - disabled: 'Disabled the ability to open the dialog', |
44 |
| - fullWidth: 'Specifies the modal to force 100% width', |
45 |
| - fullscreen: 'Changes layout for fullscreen display', |
46 |
| - hideOverlay: 'Hide the display of the overlay', |
| 49 | + disabled: 'ダイアログを開く機能を無効にします。', |
| 50 | + fullWidth: 'モーダルの幅が100%となるよう強制的に指定します。', |
| 51 | + fullscreen: 'フルスクリーン表示になるようレイアウトを変更します。', |
| 52 | + hideOverlay: '前面以外の表示を隠します。Hide the display of the overlay', |
47 | 53 | lazy: 'Mixins.Bootable.props.lazy',
|
48 |
| - maxWidth: 'The maximum width of the content', |
| 54 | + maxWidth: 'コンテンツの最大幅を指定します。', |
49 | 55 | origin: 'Mixins.Transitionable.props.origin',
|
50 |
| - persistent: 'Clicking outside will not dismiss the dialog', |
51 |
| - scrollable: 'When set to true, expects a card, card-title, card-text and card-actions. Additionally card-text should have specified height. Will set card-text to overflow-y', |
52 |
| - width: 'Sets the dialog width' |
| 56 | + persistent: 'ダイアログの外側をクリックしてもダイアログを消しません。', |
| 57 | + scrollable: |
| 58 | + 'trueを設定すると、 `card` 、 `card-title` 、 `card-text` 、 `card-action` が必要です。さらに、card-textの高さを設定する必要があります。 `card-text` は、スタイルの `overflow-y` を設定します。', |
| 59 | + width: 'ダイアログの幅を設定します。' |
53 | 60 | }
|
54 | 61 | }
|
0 commit comments