5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 20:51:38 +08:00

Translations docs

This commit is contained in:
Lea Anthony 2022-04-03 17:47:56 +10:00
parent 8e8b88ef48
commit 90fc96b494

View File

@ -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