Skip to content

Commit 616d999

Browse files
authored
docs: sync translations
1 parent 4b6a8e1 commit 616d999

File tree

82 files changed

+301
-184
lines changed

Some content is hidden

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

82 files changed

+301
-184
lines changed

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

+1-1
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

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/sveltekit.mdx

+2-2
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

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

+1-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 | |

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

website/i18n/ar/docusaurus-plugin-content-pages/changelog.mdx

+13
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1313

1414
## [Unreleased]
1515

16+
### Fixed
17+
- Fixed CGO memory issue on Darwin by @leaanthony in [PR](https://github.com/wailsapp/wails/pull/3590)
18+
- Fixed an error that occurred when an author name contains a string that is not suitable for JSON. Fixed by @taiseiotsuka in [PR](https://github.com/wailsapp/wails/pull/3638)
19+
- Fixed MacOS build to use `outputfilename` from wails.json. [#3200](https://github.com/wailsapp/wails/issues/3200)
20+
- Fixed file drop events on windows. Fixed in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
21+
- Fixed doctor command not finding pkg-config on Solus. [PR #3670](https://github.com/wailsapp/wails/pull/3670) by [@ianmjones](https://github.com/ianmjones)
22+
- Fixed binding for struct fields that were exported but had no json tags. [PR #3678](https://github.com/wailsapp/wails/pull/3678)
23+
+ Fixed file drop events on Windows in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
24+
+ Modified `ZoomFactor` and `IsZoomControlEnabled` options to be Windows-only options in PR[#3644](https://github.com/wailsapp/wails/pull/3644) by @levinit
25+
- Added nil check for Drag-n-Drop on Windows. Fixed by in [PR](https://github.com/wailsapp/wails/pull/3597) by @leaanthony based on the suggestion by @Alpa-1 in [#3596](https://github.com/wailsapp/wails/issues/3596).
26+
- Fixed typos in various .mdx files. [PR #3628](https://github.com/wailsapp/wails/pull/3628) by [@deining](https://github.com/deining)
27+
- Fixed `notifyListeners()` race condition when terminated mid-emission [PR](https://github.com/wailsapp/wails/pull/3695) by [@mrf345](https://github.com/mrf345)
28+
1629
## v2.9.1 - 2024-06-18
1730

1831
### Fixed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ Si ces 2 clés ne sont pas fournies, alors Wails ne fait absolument rien avec le
235235

236236
### AssetsHandler
237237

238-
Une application Wails v2 peut éventuellement définir un `http.Handler` dans `options.app`, qui permet de se connecter à l'AssetServer pour créer des fichiers à la volée ou traiter les requêtes POST/PUT. Les requêtes GET sont toujours traitées d'abord par le `assets` FS. Si le FS ne trouve pas le fichier demandé, la requête sera transmise au `http.Handler`. Toute requête autre que GET sera traitée directement par le `AssetsHandler` si spécifié. Il est également possible d'utiliser le `AssetsHandler` uniquement en spécifiant `nil` dans l'option `Assets`.
238+
Une application Wails v2 peut éventuellement définir un `http.Handler` dans `options.app`, qui permet de se connecter à l'AssetServer pour créer des fichiers à la volée ou traiter les requêtes POST/PUT. Les requêtes GET sont toujours traitées d'abord par le `assets` FS. Si le FS ne trouve pas le fichier demandé, la requête sera transmise au `http.Handler`. Toute requête autre que GET sera traitée directement par le `AssetsHandler` si spécifié. It's also possible to only use the `AssetsHandler` by specifying `nil` as the `Assets` option.
239239

240240
## Serveur de développement embarqué
241241

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Les options sont les suivantes :
4444
| noautoinjectipc | Pour désactiver l'injection automatique de `/wails/ipc.js` |
4545
| noautoinject | Pour désactiver l'injection automatique de tous les scripts |
4646

47-
Plusieurs options peuvent être utilisées à condition qu'elles soient séparées par des virgules.
47+
Multiple options may be used provided they are comma separated.
4848

4949
Ce code est parfaitement valide et fonctionne de la même manière que la version avec l'auto-injection :
5050

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Ceci est un exemple du fichier entitlements de l'application [RiftShare](https:/
6161
</plist>
6262
```
6363

64-
**Ajouter le profil de provisionnement incorporé** Le profil de provisioning créé ci-dessus doit être ajouté à la racine de l'application. Il doit être nommé embedded.provisionprofile.
64+
**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the application. Il doit être nommé embedded.provisionprofile.
6565

6666
#### Construire et signer le package de l'application
6767

website/i18n/fr/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/fr/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx

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

33
Ce tutoriel va vous présenter :
44

5-
1. L'installation minimale - Les étapes à suivre au minimum pour avoir Wails fonctionnant avec SvelteKit.
5+
1. Minimal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
66
2. Script d'installation - Script Bash pour réaliser les étapes d'installation minimale avec la marque Wails (pouvant être changée dans les options).
77
3. Notes importantes - Problèmes qui peuvent être rencontrés avec SvelteKit + Wails et comment les corriger.
88

@@ -108,7 +108,7 @@ wails dev
108108

109109
##### Le runtime Wails se décharge avec des pages de navigation complètes !
110110

111-
- Tout ce qui provoque la navigation de page complète : `window.location.href = '/<some>/<page>'` ou le menu contextuel se recharge lorsque vous utilisez wails dev. Cela signifie que vous pouvez finir par perdre la possibilité d'appeler n'importe quel runtime cassant l'application. Il y a deux façons de contourner ce problème.
111+
- Tout ce qui provoque la navigation de page complète : \`window.location.href = '/<some>/<page>' ou le menu contextuel se recharge lorsque vous utilisez wails dev. Cela signifie que vous pouvez finir par perdre la possibilité d'appeler n'importe quel runtime cassant l'application. Il y a deux façons de contourner ce problème.
112112
- Utilisez `import { goto } de '$app/navigation'` puis appelez `goto('/<some>/<page>')` dans votre +page.svelte. Cela empêchera la navigation de la page complète.
113113
- Si la navigation de la page complète ne peut pas être empêchée, le runtime Wails peut être ajouté à toutes les pages en ajoutant ce qui suit dans le `<head>` de myapp/frontend/src/app.html
114114

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

125125
Voir https://wails.io/docs/guides/frontend pour plus d'informations.
126126

127-
##### Les données initiales peuvent être chargées et actualisées de +page.ts/+page.js à +page.svelte.
127+
##### Initial data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
128128

129129
- \+page.ts/+page.js fonctionne bien avec la fonction load() https://kit.svelte.dev/docs/load#page-data
130130
- invalidateAll() dans +page.svelte appellera la fonction load() de +page.ts/+page.js https://kit.svelte.dev/docs/load#rerunning-load-functions-manual-invalidation.

0 commit comments

Comments
 (0)