From a0c4c1ea58c555f166affbd4a0a09157d264d9a9 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Thu, 18 Aug 2022 20:30:50 +1000 Subject: [PATCH] Fix Crowdin screw ups again --- website/docs/guides/ides.mdx | 1 - .../2021-09-27-v2-beta1-release-notes.mdx | 12 ++++++------ .../2021-11-08-v2-beta2-release-notes.mdx | 14 +++++++------- .../2022-02-22-v2-beta3-release-notes.mdx | 8 ++++---- .../current/gettingstarted/building.mdx | 2 +- .../current/reference/options.mdx | 4 ++-- .../current/reference/runtime/dialog.mdx | 13 ++++++++----- .../2021-09-27-v2-beta1-release-notes.mdx | 12 ++++++------ .../2021-11-08-v2-beta2-release-notes.mdx | 14 +++++++------- .../2022-02-22-v2-beta3-release-notes.mdx | 8 ++++---- .../current/gettingstarted/building.mdx | 2 +- .../current/reference/options.mdx | 4 ++-- .../current/reference/runtime/dialog.mdx | 13 ++++++++----- .../2021-09-27-v2-beta1-release-notes.mdx | 12 ++++++------ .../2021-11-08-v2-beta2-release-notes.mdx | 14 +++++++------- .../2022-02-22-v2-beta3-release-notes.mdx | 8 ++++---- .../current/gettingstarted/building.mdx | 2 +- .../current/reference/options.mdx | 4 ++-- .../current/reference/runtime/dialog.mdx | 10 +++++----- website/src/css/custom.css | 4 ++++ 20 files changed, 85 insertions(+), 76 deletions(-) diff --git a/website/docs/guides/ides.mdx b/website/docs/guides/ides.mdx index 5e47152b..14adde0d 100644 --- a/website/docs/guides/ides.mdx +++ b/website/docs/guides/ides.mdx @@ -1,4 +1,3 @@ - # IDEs Wails aims to provide a great development experience. To that aim, we now support generating IDE specific configuration diff --git a/website/i18n/ja/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx b/website/i18n/ja/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx index e720153f..101b71aa 100644 --- a/website/i18n/ja/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx @@ -10,7 +10,7 @@ tags:
- +

@@ -31,7 +31,7 @@ No, I'm not joking: *No* *CGO* *dependency* 🤯! The thing about Windows is tha ### WebView2 Chromium Renderer
- +

@@ -47,7 +47,7 @@ Gophers rejoice! The single binary dream lives on! ### New Features
- +

@@ -59,7 +59,7 @@ There were a huge number of requests in v1 for the ability to have greater contr There is now the option to generate IDE configuration along with your project. This means that if you open your project in a supported IDE, it will already be configured for building and debugging your application. Currently VSCode is supported but we hope to support other IDEs such as Goland soon.
- +

@@ -79,7 +79,7 @@ You just pass a single `embed.FS` that contains all your assets into your applic ### New Development Experience
- +

@@ -101,7 +101,7 @@ In addition to this, another JS module is dynamically generated wrapping all you ### Remote Templates
- +

diff --git a/website/i18n/ja/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx b/website/i18n/ja/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx index 81493f0d..fac5e9a2 100644 --- a/website/i18n/ja/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx @@ -10,7 +10,7 @@ tags:
- +

@@ -24,7 +24,7 @@ So what's new for Wails v2 for Mac vs v1? Hint: It's pretty similar to the Windo ### New Features
- +

@@ -72,7 +72,7 @@ In addition to this, another JS module is dynamically generated wrapping all you ### Remote Templates
- +

@@ -86,7 +86,7 @@ With v2, I wanted to empower the community by giving you the ability to create a Thanks to the amazing support of [Mat Ryer](https://github.com/matryer/), the Wails project now supports M1 native builds:
- +

@@ -94,7 +94,7 @@ Thanks to the amazing support of [Mat Ryer](https://github.com/matryer/), the Wa You can also specify `darwin/amd64` as a target too:
- +

@@ -102,7 +102,7 @@ You can also specify `darwin/amd64` as a target too: Oh, I almost forgot.... you can also do `darwin/universal`.... :wink:
- +

@@ -112,7 +112,7 @@ Oh, I almost forgot.... you can also do `darwin/universal`.... :wink: Because Wails v2 for Windows is pure Go, you can target Windows builds without docker.
- +

diff --git a/website/i18n/ja/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx b/website/i18n/ja/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx index 6d00c8ae..bcef9504 100644 --- a/website/i18n/ja/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx @@ -10,7 +10,7 @@ tags:
- +

@@ -20,7 +20,7 @@ I'm pleased to finally announce that Wails v2 is now in beta for Linux! It is so ### New Features
- +

@@ -59,7 +59,7 @@ In addition to this, another JS module is dynamically generated wrapping all you ### Remote Templates
- +

@@ -73,7 +73,7 @@ With v2, I wanted to empower the community by giving you the ability to create a Because Wails v2 for Windows is pure Go, you can target Windows builds without docker.
- +

diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx index efefd4bb..e917d9f5 100644 --- a/website/i18n/ja/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx @@ -9,7 +9,7 @@ From the project directory, run `wails build`. This will compile your project an If you run the binary, you should see the default application:
- +

diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/options.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/options.mdx index 9a6fd8f7..895c8bd1 100644 --- a/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/options.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/options.mdx @@ -669,7 +669,7 @@ func main() { The "About" menu item will appear in the app menu:
- +

@@ -677,7 +677,7 @@ The "About" menu item will appear in the app menu: When clicked, that will open an about message box:
- +

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 ad00650a..ea2b37ec 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,7 +152,10 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ Buttons: []string{"one", "two", "three", "four"}, }) ``` -the first button is shown as default: div class="text--center"> +the first button is shown as default: +
+ +

And if we specify `DefaultButton` to be "two": @@ -166,7 +169,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.
- +

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

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

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

diff --git a/website/i18n/ru/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx b/website/i18n/ru/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx index e720153f..a57cfe4b 100644 --- a/website/i18n/ru/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx @@ -10,7 +10,7 @@ tags:
- +

@@ -31,7 +31,7 @@ No, I'm not joking: *No* *CGO* *dependency* 🤯! The thing about Windows is tha ### WebView2 Chromium Renderer
- +

@@ -47,7 +47,7 @@ Gophers rejoice! The single binary dream lives on! ### New Features
- +

@@ -59,7 +59,7 @@ There were a huge number of requests in v1 for the ability to have greater contr There is now the option to generate IDE configuration along with your project. This means that if you open your project in a supported IDE, it will already be configured for building and debugging your application. Currently VSCode is supported but we hope to support other IDEs such as Goland soon.
- +

@@ -79,7 +79,7 @@ You just pass a single `embed.FS` that contains all your assets into your applic ### New Development Experience
- +

@@ -101,7 +101,7 @@ In addition to this, another JS module is dynamically generated wrapping all you ### Remote Templates
- +

diff --git a/website/i18n/ru/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx b/website/i18n/ru/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx index 81493f0d..fac5e9a2 100644 --- a/website/i18n/ru/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx @@ -10,7 +10,7 @@ tags:
- +

@@ -24,7 +24,7 @@ So what's new for Wails v2 for Mac vs v1? Hint: It's pretty similar to the Windo ### New Features
- +

@@ -72,7 +72,7 @@ In addition to this, another JS module is dynamically generated wrapping all you ### Remote Templates
- +

@@ -86,7 +86,7 @@ With v2, I wanted to empower the community by giving you the ability to create a Thanks to the amazing support of [Mat Ryer](https://github.com/matryer/), the Wails project now supports M1 native builds:
- +

@@ -94,7 +94,7 @@ Thanks to the amazing support of [Mat Ryer](https://github.com/matryer/), the Wa You can also specify `darwin/amd64` as a target too:
- +

@@ -102,7 +102,7 @@ You can also specify `darwin/amd64` as a target too: Oh, I almost forgot.... you can also do `darwin/universal`.... :wink:
- +

@@ -112,7 +112,7 @@ Oh, I almost forgot.... you can also do `darwin/universal`.... :wink: Because Wails v2 for Windows is pure Go, you can target Windows builds without docker.
- +

diff --git a/website/i18n/ru/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx b/website/i18n/ru/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx index 6d00c8ae..bcef9504 100644 --- a/website/i18n/ru/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx @@ -10,7 +10,7 @@ tags:
- +

@@ -20,7 +20,7 @@ I'm pleased to finally announce that Wails v2 is now in beta for Linux! It is so ### New Features
- +

@@ -59,7 +59,7 @@ In addition to this, another JS module is dynamically generated wrapping all you ### Remote Templates
- +

@@ -73,7 +73,7 @@ With v2, I wanted to empower the community by giving you the ability to create a Because Wails v2 for Windows is pure Go, you can target Windows builds without docker.
- +

diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx index efefd4bb..e917d9f5 100644 --- a/website/i18n/ru/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx @@ -9,7 +9,7 @@ From the project directory, run `wails build`. This will compile your project an If you run the binary, you should see the default application:
- +

diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/options.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/options.mdx index 9a6fd8f7..895c8bd1 100644 --- a/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/options.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/options.mdx @@ -669,7 +669,7 @@ func main() { The "About" menu item will appear in the app menu:
- +

@@ -677,7 +677,7 @@ The "About" menu item will appear in the app menu: When clicked, that will open an about message box:
- +

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 ad00650a..ea2b37ec 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,7 +152,10 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ Buttons: []string{"one", "two", "three", "four"}, }) ``` -the first button is shown as default: div class="text--center"> +the first button is shown as default: +
+ +

And if we specify `DefaultButton` to be "two": @@ -166,7 +169,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.
- +

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

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

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

diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx index 1953d557..79f9197d 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx @@ -10,7 +10,7 @@ tags:
- +

@@ -31,7 +31,7 @@ tags: ### WebView2 Chromium 渲染引擎
- +

@@ -47,7 +47,7 @@ Gophers 欢呼吧! 单个二进制文件的构想依然存在! ### 新功能
- +

@@ -59,7 +59,7 @@ Gophers 欢呼吧! 单个二进制文件的构想依然存在! 现在可以选择随项目生成 IDE 配置。 这意味着如果您在受支持的 IDE 中打开您的项目,它已经被配置为构建和调试您的应用程序。 目前支持 VSCode,但我们希望尽快支持其他 IDE,例如 Goland。
- +

@@ -79,7 +79,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS ### 全新的开发体验
- +

@@ -101,7 +101,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS ### 远程模板
- +

diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx index aad2712e..468f25bb 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx @@ -10,7 +10,7 @@ tags:
- +

@@ -24,7 +24,7 @@ tags: ### 新特性
- +

@@ -72,7 +72,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS ### 远程模板
- +

@@ -86,7 +86,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS 感谢[Mat Ryer](https://github.com/matryer/)的惊人支持,Wails 项目现在支持 M1 原生构建:
- +

@@ -94,7 +94,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS 您也可以指定`darwin/amd64`为目标:
- +

@@ -102,7 +102,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS 哦,我差点忘了....你也可以做`darwin/universal`....😉
- +

@@ -112,7 +112,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS 因为 Windows 的 Wails v2 是纯 Go,所以你可以在没有 docker 的情况下针对 Windows 构建。
- +

diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx index 91757a65..5a631e16 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx @@ -10,7 +10,7 @@ tags:
- +

@@ -20,7 +20,7 @@ tags: ### 新功能
- +

@@ -59,7 +59,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS ### 远程模板
- +

@@ -73,7 +73,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS 因为适用于 Windows 的 Wails v2 是纯 Go,所以您可以在没有 docker 的情况下针对 Windows 构建。
- +

diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx index b6dae829..43255a10 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx @@ -9,7 +9,7 @@ sidebar_position: 6 如果您运行二进制文件,您应该会看到默认应用程序:
- +

diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/options.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/options.mdx index b31fce08..45d19aa9 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/options.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/options.mdx @@ -681,7 +681,7 @@ func main() { The "About" menu item will appear in the app menu:
- +

@@ -689,7 +689,7 @@ The "About" menu item will appear in the app menu: When clicked, that will open an about message box:
- +

diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/runtime/dialog.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/runtime/dialog.mdx index 86146a3f..9c115243 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/runtime/dialog.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/runtime/dialog.mdx @@ -154,7 +154,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ ``` 第一个按钮显示为默认值:
- +

@@ -170,7 +170,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ ``` 第二个按钮显示为默认值。 当 `return` 被按下时,则返回数值“two”。
- +

@@ -187,7 +187,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ ``` 带有“three”的按钮显示在对话框的底部。 当`escape`被按下时,则返回值“three”:
- +

@@ -220,7 +220,7 @@ type FileFilter struct { Windows 允许您在对话框中使用多个文件过滤器。 每个 FileFilter 将在对话框中显示为一个单独的条目:
- +

@@ -232,7 +232,7 @@ Windows 允许您在对话框中使用多个文件过滤器。 每个 FileFilter Linux 允许您在对话框中使用多个文件过滤器。 每个 FileFilter 将在对话框中显示为一个单独的条目:
- +

diff --git a/website/src/css/custom.css b/website/src/css/custom.css index 18a17395..8e15c93f 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -87,4 +87,8 @@ html[data-theme="light"] .button--secondary { color: var(--ifm-color-primary); background-color: transparent; border-color: var(--ifm-color-primary); +} + +.screenshot { + box-shadow: rgb(255 255 255 / 20%) 0 4px 8px 0, rgb(104 104 104) 0 6px 20px 0; } \ No newline at end of file