From 2efab049f0e3414d51fcb4301ddc7e5206de4bf4 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Wed, 10 Aug 2022 18:57:17 +1000 Subject: [PATCH] New translations dialog.mdx (Japanese) [ci skip] --- .../current/reference/runtime/dialog.mdx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/runtime/dialog.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/runtime/dialog.mdx index ac795592c..ad00650a8 100644 --- a/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/runtime/dialog.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/runtime/dialog.mdx @@ -152,10 +152,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ Buttons: []string{"one", "two", "three", "four"}, }) ``` -the first button is shown as default: -
- -
+the first button is shown as default: div class="text--center">
And if we specify `DefaultButton` to be "two": @@ -169,7 +166,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ ``` the second button is shown as default. When `return` is pressed, the value "two" is returned.
- +

@@ -186,7 +183,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ ``` the button with "three" is shown at the bottom of the dialog. When `escape` is pressed, the value "three" is returned:
- +

@@ -219,7 +216,7 @@ type FileFilter struct { Windows allows you to use multiple file filters in dialog boxes. Each FileFilter will show up as a separate entry in the dialog:
- +

@@ -231,7 +228,7 @@ Windows allows you to use multiple file filters in dialog boxes. Each FileFilter Linux allows you to use multiple file filters in dialog boxes. Each FileFilter will show up as a separate entry in the dialog:
- +