Skip to content

Commit b3f58c7

Browse files
authored
docs: sync translations
1 parent bedebe0 commit b3f58c7

File tree

302 files changed

+12049
-380
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

302 files changed

+12049
-380
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# grpcmd-gui
2+
3+
```mdx-code-block
4+
<p style={{ "text-align": "center" }}>
5+
<img src={require("@site/static/img/showcase/grpcmd-gui.webp").default} />
6+
<br />
7+
</p>
8+
```
9+
10+
[grpcmd-gui](https://grpc.md/gui) is a modern cross-platform desktop app and API client for gRPC development and testing.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Kafka-King
2+
3+
```mdx-code-block
4+
<p style={{ "text-align": "center" }}>
5+
<img src={require("@site/static/img/showcase/kafka-King-img_3.webp").default} />
6+
<br />
7+
</p>
8+
```
9+
10+
[Kafka-King](https://github.com/Bronya0/Kafka-King) is a kafka GUI client that supports various systems and is compact and easy to use.
11+
This is made of Wails+vue3
12+
13+
# Kafka-King function list
14+
15+
- [x] View the cluster node list, support dynamic configuration of broker and topic configuration items
16+
- [x] Supports consumer clients, consumes the specified topic, size, and timeout according to the specified group, and displays the message information in various dimensions in a table
17+
- [x] Supports PLAIN, SSL, SASL, kerberos, sasl_plaintext, etc. etc.
18+
- [x] Create topics (support batches), delete topics, specify replicas, partitions
19+
- [x] Support statistics of the total number of messages, total number of submissions, and backlog for each topic based on consumer groups
20+
- [x] Support viewing topics Detailed information (offset) of the partition, and support adding additional partitions
21+
- [x] Support simulated producers, batch sending messages, specify headers, partitions
22+
- [x] Health check
23+
- [x] Support viewing consumer groups , Consumer- ……
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Minesweeper XP
2+
3+
```mdx-code-block
4+
<p style={{ "text-align": "center" }}>
5+
<img src={require("@site/static/img/showcase/minesweeper-xp.webp").default} />
6+
<br />
7+
</p>
8+
```
9+
10+
[Minesweeper-XP](https://git.new/Minesweeper-XP) allows you to experience the classic Minesweeper XP (+ 98 and 3.1) on macOS, Windows, and Linux!
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Resizem
2+
3+
```mdx-code-block
4+
<p style={{ "text-align": "center" }}>
5+
<img src={require("@site/static/img/showcase/resizem.webp").default} />
6+
<br />
7+
</p>
8+
```
9+
10+
[Resizem](https://github.com/barats/resizem) - is an app designed for bulk image process. It is particularly useful for users who need to resize, convert, and manage large numbers of image files at once.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# WailsTerm
2+
3+
```mdx-code-block
4+
<p style={{ "text-align": "center" }}>
5+
<img src={require("@site/static/img/showcase/wailsterm.webp").default} />
6+
<br />
7+
</p>
8+
```
9+
10+
[WailsTerm](https://github.com/rlshukhov/wailsterm) is a simple translucent terminal app powered by Wails and Xterm.js.

website/i18n/ar/docusaurus-plugin-content-docs/current/community/templates.mdx

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
2626
- [wails-template-quasar-js](https://github.com/sgosiaco/wails-template-quasar-js) - A template using JavaScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier)
2727
- [wails-template-quasar-ts](https://github.com/sgosiaco/wails-template-quasar-ts) - A template using TypeScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier, Composition API with &lt;script setup&gt;)
2828
- [wails-template-naive](https://github.com/tk103331/wails-template-naive) - Wails template based on Naive UI (A Vue 3 Component Library)
29+
- [wails-template-tdesign-js](https://github.com/tongque0/wails-template-tdesign-js) - Wails template based on TDesign UI (a Vue 3 UI library by Tencent), using Vite, Pinia, Vue Router, ESLint, and Prettier.
2930

3031
## Angular
3132

@@ -40,13 +41,13 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
4041
- [wails-template-nextjs-app-router](https://github.com/thisisvk-in/wails-template-nextjs-app-router) - A template using Next.js and TypeScript with App router
4142
- [wails-vite-react-ts-tailwind-template](https://github.com/hotafrika/wails-vite-react-ts-tailwind-template) - A template for React + TypeScript + Vite + TailwindCSS
4243
- [wails-vite-react-ts-tailwind-shadcnui-template](https://github.com/Mahcks/wails-vite-react-tailwind-shadcnui-ts) - A template with Vite, React, TypeScript, TailwindCSS, and shadcn/ui
44+
- [wails-nextjs-tailwind-template](https://github.com/kairo913/wails-nextjs-tailwind-template) - A template using Next.js and Typescript with TailwindCSS
4345

4446
## Svelte
4547

4648
- [wails-svelte-template](https://github.com/raitonoberu/wails-svelte-template) - A template using Svelte
4749
- [wails-vite-svelte-template](https://github.com/BillBuilt/wails-vite-svelte-template) - A template using Svelte and Vite
4850
- [wails-vite-svelte-ts-tailwind-template](https://github.com/xvertile/wails-vite-svelte-tailwind-template) - A template using Wails, Svelte, Vite, TypeScript, and TailwindCSS v3
49-
- [wails-vite-svelte-tailwind-template](https://github.com/xvertile/wails-vite-svelte-tailwind-template) - A template using Svelte and Vite with TailwindCSS v3
5051
- [wails-vite-svelte-tailwind-template](https://github.com/BillBuilt/wails-vite-svelte-tailwind-template) - A template using Svelte and Vite with TailwindCSS v3
5152
- [wails-svelte-tailwind-vite-template](https://github.com/PylotLight/wails-vite-svelte-tailwind-template/tree/master) - An updated template using Svelte v4.2.0 and Vite with TailwindCSS v3.3.3
5253
- [wails-sveltekit-template](https://github.com/h8gi/wails-sveltekit-template) - A template using SvelteKit

website/i18n/ar/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ sidebar_position: 1
77
## Supported Platforms
88

99
- Windows 10/11 AMD64/ARM64
10-
- MacOS 10.13+ AMD64
10+
- MacOS 10.15+ AMD64 for development, MacOS 10.13+ for release
1111
- MacOS 11.0+ ARM64
1212
- Linux AMD64/ARM64
1313

1414
## Dependencies
1515

1616
Wails has a number of common dependencies that are required before installation:
1717

18-
- Go 1.20+
18+
- Go 1.21+ (macOS 15+ requires Go 1.23.3+)
1919
- NPM (Node 15+)
2020

2121
### Go
@@ -58,6 +58,8 @@ import TabItem from "@theme/TabItem";
5858
</TabItem>
5959
<TabItem value={"Linux"}>
6060
Linux requires the standard <code>gcc</code> build tools plus <code>libgtk3</code> and <code>libwebkit</code>. Rather than list a ton of commands for different distros, Wails can try to determine what the installation commands are for your specific distribution. Run <code>wails doctor</code> after installation to be shown how to install the dependencies. If your distro/package manager is not supported, please consult the <a href={"/docs/guides/linux-distro-support"}>Add Linux Distro</a> guide.
61+
<br/><strong>Note:</strong><br/>
62+
If you are using latest Linux version (example: Ubuntu 24.04) and it is not supporting <code>libwebkit2gtk-4.0-dev</code>, then you might encounter an issue in <code>wails doctor</code>: <code>libwebkit</code> not found. To resolve this issue you can install <code>libwebkit2gtk-4.1-dev</code> and during your build use the tag <code>-tags webkit2_41</code>.
6163
</TabItem>
6264
</Tabs>
6365
```

website/i18n/ar/docusaurus-plugin-content-docs/current/guides/application-development.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ If these 2 keys aren't given, then Wails does absolutely nothing with the fronte
235235

236236
### AssetsHandler
237237

238-
A Wails v2 app can optionally define a `http.Handler` in the `options.App`, which allows hooking into the AssetServer to create files on the fly or process POST/PUT requests. GET requests are always first handled by the `assets` FS. If the FS doesn't find the requested file the request will be forwarded to the `http.Handler` for serving. Any requests other than GET will be directly processed by the `AssetsHandler` if specified. It's also possible to only use the `AssetsHandler` by specifiy `nil` as the `Assets` option.
238+
A Wails v2 app can optionally define a `http.Handler` in the `options.App`, which allows hooking into the AssetServer to create files on the fly or process POST/PUT requests. GET requests are always first handled by the `assets` FS. If the FS doesn't find the requested file the request will be forwarded to the `http.Handler` for serving. Any requests other than GET will be directly processed by the `AssetsHandler` if specified. It's also possible to only use the `AssetsHandler` by specifying `nil` as the `Assets` option.
239239

240240
## Built in Dev Server
241241

website/i18n/ar/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ This example offers opportunities for various enhancements, including:
6161
6262
- Caching dependencies
6363
- Code signing
64-
- Uploading to platforms like S3, Supbase, etc.
64+
- Uploading to platforms like S3, Supabase, etc.
6565
- Injecting secrets as environment variables
6666
- Utilizing environment variables as build variables (such as version variable extracted from the current Git tag)

website/i18n/ar/docusaurus-plugin-content-docs/current/guides/frontend.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The options are as follows:
4444
| noautoinjectipc | Disable the autoinjection of `/wails/ipc.js` |
4545
| noautoinject | Disable all autoinjection of scripts |
4646

47-
Multiple options may be used provided they are comma seperated.
47+
Multiple options may be used provided they are comma separated.
4848

4949
This code is perfectly valid and operates the same as the autoinjection version:
5050

website/i18n/ar/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ This is an example entitlements file from the [RiftShare](https://github.com/ach
6161
</plist>
6262
```
6363

64-
**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the applicaton. It needs to be named embedded.provisionprofile.
64+
**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the application. It needs to be named embedded.provisionprofile.
6565

6666
#### Build and Sign the App Package
6767

@@ -80,9 +80,9 @@ wails build -platform darwin/universal -clean
8080

8181
cp ./embedded.provisionprofile "./build/bin/$APP_NAME.app/Contents"
8282

83-
codesign --timestamp --options=runtime -s "$APP_CERTIFICATE" -v --entitlements ./build/darwin/entitlements.plist ./build/bin/$APP_NAME.app
83+
codesign --timestamp --options=runtime -s "$APP_CERTIFICATE" -v --entitlements ./build/darwin/entitlements.plist "./build/bin/$APP_NAME.app"
8484

85-
productbuild --sign "$PKG_CERTIFICATE" --component ./build/bin/$APP_NAME.app /Applications ./$APP_NAME.pkg
85+
productbuild --sign "$PKG_CERTIFICATE" --component "./build/bin/$APP_NAME.app" /Applications "./$APP_NAME.pkg"
8686
```
8787

8888
#### Upload App Bundle

website/i18n/ar/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NixOS FontSize Bug
22

3-
NixOS/Wayland can cause a bug where the `font-size` css property doesnt affect the rendered page. To fix this add the following to your devShell.
3+
NixOS/Wayland can cause a bug where the `font-size` css property doesn't affect the rendered page. To fix this add the following to your devShell.
44

55
```shell
66
shellHook = with pkgs; ''

website/i18n/ar/docusaurus-plugin-content-docs/current/guides/signing.mdx

+4-2
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ Now we need to configure some gon config files in our `build/darwin` directory:
232232
"bundle_id": "app.myapp",
233233
"apple_id": {
234234
"username": "[email protected]",
235-
"password": "@env:APPLE_PASSWORD",
235+
"password": "your-app-specific-password",
236236
"provider": "ABCDE12345"
237237
},
238238
"sign": {
@@ -246,11 +246,13 @@ Here is a brief break down of the above fields:
246246
- `source`: The location of your wails binary to be signed
247247
- `apple_id`:
248248
- `username`: Your Apple ID email address
249-
- `password`: Your app-specific password, referenced using Gon's environment variable syntax
249+
- `password`: Your app-specific password
250250
- `provider`: Your team ID for your App Store Connect account
251251
- `sign`:
252252
- `application_identity`: Your Apple developer identity
253253

254+
The (https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool)[deprecated Apple's altool]'s syntax supporting `@env:` is no longer available since Apple has migrated to the new notarytool.
255+
254256
Your developer identity and team ID can both by found on macOS by running the following command:
255257

256258
```bash

website/i18n/ar/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This guide will go into:
44

5-
1. Miminal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
5+
1. Minimal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
66
2. Install Script - Bash script for accomplishing the Minimal Installation Steps with optional Wails branding.
77
3. Important Notes - Issues that can be encountered when using SvelteKit + Wails and fixes.
88

@@ -17,9 +17,9 @@ This guide will go into:
1717
- Navigate into your newly created myapp folder.
1818
- Delete the folder named "frontend"
1919

20-
##### While in the Wails project root. Use your favorite package manager and install SvelteKit as the new frontend. Follow the prompts.
20+
##### While in the Wails project root. Use the Svelte CLI to create a SvelteKit project as the new frontend. Follow the prompts, nothing Wails specific is needed here.
2121

22-
- `npm create svelte@latest frontend`
22+
- `npx sv create frontend`
2323

2424
##### Modify wails.json.
2525

@@ -124,7 +124,7 @@ wails dev
124124

125125
See https://wails.io/docs/guides/frontend for more information.
126126

127-
##### Inital data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
127+
##### Initial data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
128128

129129
- \+page.ts/+page.js works well with load() https://kit.svelte.dev/docs/load#page-data
130130
- invalidateAll() in +page.svelte will call load() from +page.ts/+page.js https://kit.svelte.dev/docs/load#rerunning-load-functions-manual-invalidation.

website/i18n/ar/docusaurus-plugin-content-docs/current/reference/cli.mdx

+7-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
6666
| -nsis | Generate NSIS installer for Windows | |
6767
| -o filename | Output filename | |
6868
| -obfuscated | Obfuscate the application using [garble](https://github.com/burrowers/garble) | |
69-
| -platform | Build for the given (comma delimited) [platforms](../reference/cli.mdx#platforms) eg. `windows/arm64`. Note, if you do not give the architecture, `runtime.GOARCH` is used. | platform = `GOOS` environment variable if given else `runtime.GOOS`.<br/>arch = `GOARCH` envrionment variable if given else `runtime.GOARCH`. |
69+
| -platform | Build for the given (comma delimited) [platforms](../reference/cli.mdx#platforms) eg. `windows/arm64`. Note, if you do not give the architecture, `runtime.GOARCH` is used. | platform = `GOOS` environment variable if given else `runtime.GOOS`.<br/>arch = `GOARCH` environment variable if given else `runtime.GOARCH`. |
7070
| -race | Build with Go's race detector | |
7171
| -s | Skip building the frontend | |
7272
| -skipbindings | Skip bindings generation | |
@@ -99,6 +99,12 @@ There are [issues](https://github.com/upx/upx/issues/446) with using UPX with Ap
9999

100100
:::
101101

102+
:::info Set minimal version for MacOS
103+
104+
You can override default [minimal version](../gettingstarted/installation#supported-platforms) of macOS for your app by providing version via `CGO_CFLAGS` and `CGO_LDFLAGS` environment variables. e.g. `CGO_CFLAGS=-mmacosx-version-min=10.15.0 CGO_LDFLAGS=-mmacosx-version-min=10.15.0 wails build`
105+
106+
:::
107+
102108
:::info UPX on Windows
103109

104110
Some Antivirus vendors false positively mark `upx` compressed binaries as virus, see [issue](https://github.com/upx/upx/issues/437).

website/i18n/ar/docusaurus-plugin-content-docs/current/reference/menus.mdx

+9-3
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,21 @@ An example of how to create a menu:
1313
app := NewApp()
1414

1515
AppMenu := menu.NewMenu()
16+
if runtime.GOOS == "darwin" {
17+
AppMenu.Append(menu.AppMenu()) // On macOS platform, this must be done right after `NewMenu()`
18+
}
1619
FileMenu := AppMenu.AddSubmenu("File")
17-
FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), openFile)
20+
FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), func(_ *menu.CallbackData) {
21+
// do something
22+
})
1823
FileMenu.AddSeparator()
1924
FileMenu.AddText("Quit", keys.CmdOrCtrl("q"), func(_ *menu.CallbackData) {
20-
runtime.Quit(app.ctx)
25+
// `rt` is an alias of "github.com/wailsapp/wails/v2/pkg/runtime" to prevent collision with standard package
26+
rt.Quit(app.ctx)
2127
})
2228

2329
if runtime.GOOS == "darwin" {
24-
AppMenu.Append(menu.EditMenu()) // on macos platform, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut
30+
AppMenu.Append(menu.EditMenu()) // On macOS platform, EditMenu should be appended to enable Cmd+C, Cmd+V, Cmd+Z... shortcuts
2531
}
2632

2733
err := wails.Run(&options.App{

website/i18n/ar/docusaurus-plugin-content-docs/current/reference/options.mdx

+9-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ func main() {
9898
// OnResume is called when Windows resumes from low power mode
9999
OnResume: func(),
100100
// Disable GPU hardware acceleration for the webview
101-
WebviewGpuDisabled: false,
101+
WebviewGpuDisabled: false,
102+
// Class name for the window. If empty, 'wailsWindow' will be used.
103+
WindowClassName: "MyWindow",
102104
},
103105
Mac: &mac.Options{
104106
TitleBar: &mac.TitleBar{
@@ -690,6 +692,12 @@ Setting this to `true` will enable swipe gestures for the webview.
690692

691693
Name: EnableSwipeGestures<br/> Type: `bool`
692694

695+
#### WindowClassName
696+
697+
Class name for the window. If empty, 'wailsWindow' will be used.
698+
699+
Name: WindowClassName<br/> Type: `string`
700+
693701
### Mac
694702

695703
This defines [Mac specific options](#mac).

website/i18n/ar/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Go: `EventsOn(ctx context.Context, eventName string, callback func(optionalData
1414

1515
### EventsOff
1616

17-
This method unregisters the listener for the given event name, optionally multiple listeneres can be unregistered via `additionalEventNames`.
17+
This method unregisters the listener for the given event name, optionally multiple listeners can be unregistered via `additionalEventNames`.
1818

1919
Go: `EventsOff(ctx context.Context, eventName string, additionalEventNames ...string)`<br/> JS: `EventsOff(eventName string, ...additionalEventNames)`
2020

website/i18n/ar/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Go: `WindowSetBackgroundColour(ctx context.Context, R, G, B, A uint8)`<br/> JS:
202202

203203
### WindowPrint
204204

205-
Opens tha native print dialog.
205+
Opens the native print dialog.
206206

207207
Go: `WindowPrint(ctx context.Context)`<br/> JS: `WindowPrint()`
208208

0 commit comments

Comments
 (0)