From 90fc96b494a7e8feaa68e65fb4d4dcec1de742c1 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sun, 3 Apr 2022 17:47:56 +1000 Subject: [PATCH] Translations docs --- website/docs/reference/options.mdx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/website/docs/reference/options.mdx b/website/docs/reference/options.mdx index 146477f63..fd1421297 100644 --- a/website/docs/reference/options.mdx +++ b/website/docs/reference/options.mdx @@ -56,6 +56,8 @@ func main() { LightModeTitleText: windows.RGB(20, 20, 20), LightModeBorder: windows.RGB(200, 200, 200), }, + // User messages that can be customised + Messages *windows.Messages }, Mac: &mac.Options{ TitleBar: &mac.TitleBar{ @@ -467,6 +469,15 @@ Example: }, ``` +### Messages + +Name: Messages + +Type: `*windows.Messages` + +A struct of strings used by the webview2 installer if a valid webview2 runtime is not found. +Customise this for any language you choose to support. + ## Mac Specific Options ### TitleBar