From b25a3c853e1fc9c9f6a8511213380e258df6e2c9 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Wed, 10 Aug 2022 18:57:19 +1000 Subject: [PATCH] New translations dialog.mdx (Russian) [ci skip] --- .../current/reference/runtime/dialog.mdx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/runtime/dialog.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/runtime/dialog.mdx index 8f05ec2e..ad00650a 100644 --- a/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/runtime/dialog.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/runtime/dialog.mdx @@ -152,11 +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": @@ -170,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.
- +

@@ -187,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:
- +

@@ -220,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:
- +

@@ -232,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:
- +