Commit Graph

47 Commits

Author SHA1 Message Date
Ale Mohamad ⌘ a0ec345aab
Update of custom validator documentation in Spanish (#1052)
Update of custom validator documentation in Spanish from the issue
#1041.

---------

Co-authored-by: TheHandyOwl <24987271+TheHandyOwl@users.noreply.github.com>
2025-01-15 23:29:57 +01:00
Ale Mohamad ⌘ 9e502b7b6e
Add Spanish translation for deploy/fly.md (#1034) 2025-01-14 20:23:50 +00:00
William Adonis 0946bf8f8b
feat(validation.md): added custom validator documentation (#1016)
I created a [PR](https://github.com/vapor/vapor/pull/3263) earlier
today, adding in a custom validator called `Custom`. This allows users
to easily create custom validations, it is simpler to use and shorter in
syntax compared to the current [Custom
Validators](https://docs.vapor.codes/basics/validation/#custom-validators).

This PR also resolves [this
issue](https://github.com/vapor/docs/issues/1015)

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2025-01-01 17:15:56 +00:00
Ale Mohamad ⌘ b2fb239506
Required translation updates for Spanish (#1028)
Required translation updates for Spanish in different issues:

- #932 
- #940 
- #957 
- #963 
- #966 
- #994

---------

Co-authored-by: TheHandyOwl <24987271+TheHandyOwl@users.noreply.github.com>
2024-12-14 17:45:36 +01:00
TheHandyOwl c4213e4817
Feature/translation en es async.es.md (#1018)
NEW: Text update in async.md file
NEW: Updated EN to ES translation in async.es.md file
2024-12-07 06:31:39 +00:00
Przemysław Wrzesiński 07ed13b42b
Add EventLoopFuture.get() description (#1011)
<!-- 🚀 Thank you for contributing! -->

<!-- Describe your changes clearly and use examples if possible. -->

Add EventLoopFuture.get() description:

    try await EventLoopFuture.get()

<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->

---------

Co-authored-by: Przemysław Wrzesiński <p.wrzesinski@vatio.eu>
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2024-12-01 14:02:35 +00:00
Tom 1609273809
Update german translation for #935 (#975) 2024-07-30 22:12:34 +02:00
Miguel Piedrafita ed9aec65dc
Fix Error Middleware docs (#981)
[`ErrorMiddleware` is not the only middleware added by
default](cc98361cbe/Sources/Vapor/Middleware/Application%2BMiddleware.swift (L8)).
This PR updates that assertion and the replacement instructions to
re-introduce `RouteLoggingMiddleware`.
2024-05-30 12:53:11 +00:00
William Sedlacek e478d998a8
Add missing `else` to guard in docs (#955)
<!-- 🚀 Thank you for contributing! -->

<!-- Describe your changes clearly and use examples if possible. -->
The code as is has a syntax error.

<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
2023-12-18 16:55:24 +00:00
JIN 38d4edd812
update cn doc (#952)
update cn doc for pr #935 

@Jinxiansen
2023-12-06 14:59:57 +00:00
とんとんぼ 40a7eea5d5
Add Japanese translation for ”basic" (#948)
## Added Content

Added a Japanese translation of
[basics](https://github.com/vapor/docs/tree/main/docs/basics).

Also addressed Issue.:
[fb3b0c2](fb3b0c23f5)

<details>
<summary>Japanese</summary>
## 追加内容

[basics](https://github.com/vapor/docs/tree/main/docs/basics)
の日本語訳を追加しました。
</details>
2023-11-22 13:54:53 +00:00
Hadi Sharghi 882b8a521f
add Custom Validator section to Validation docs (#935)
<!-- Describe your changes clearly and use examples if possible. -->
Add a section about Custom Validators, and a sample to create a custom
validator for zip codes. The sample is from a code that @0xTim had been
provided in an issue.
<!-- When this PR is merged, the title and body will be -->
Add 'How to create custom validators' to docs.
<!-- used to generate a release automatically. -->

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-11-09 12:28:21 +00:00
Kalyn Davis fbd9723a00
Update routing.md (#920) 2023-10-06 12:01:53 +00:00
Francesco Paolo Severino e487994900
Added Italian translation of leaf/overview.md and basics/client.md (#918) 2023-09-30 17:42:34 +02:00
Mattes Mohr f6b8e0bfc8
Update the German translation for controller.md (#916) 2023-09-30 08:53:38 +02:00
Ale Mohamad ⌘ 18b945a0be
Update Spanish translation doc 877 (#902)
Update Spanish translation doc for pr
https://github.com/vapor/docs/pull/877

Translation needed in issue https://github.com/vapor/docs/issues/878

@jacostaf10
2023-09-14 12:24:01 +01:00
Ale Mohamad ⌘ b04f5b29fd
Add Spanish translation for async.md (#901)
Add Spanish translation for async.md

---------

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>
2023-09-14 11:57:58 +01:00
JIN a3613ee836
Add Chinese translation for request.md (#892)
add cn translation for PR #860 
@Jinxiansen

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-08-29 17:35:01 +00:00
JIN 88787856cd
update cn doc (#886) 2023-08-07 12:02:20 +08:00
Paul Toffoloni aa8e385d07
Translate controllers section to italian (#879) 2023-08-05 15:38:49 +00:00
Paul Toffoloni 3faa2026ab
Add and update controllers section (#877) 2023-08-03 22:27:38 +02:00
Jorge Acosta 9cde126e7c
Add Spanish translation for basics/controllers and basics/errors (#847)
Added Spanish translation for files `controllers` and `errors` located
in the `basics` folder

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-07-05 12:46:19 +00:00
Jorge Acosta fb4f810505
Add Spanish translation for basics/logging and basics/environment (#846)
Added Spanish translations for files `logging.md` and `environment`
located in `basics`. Updated `mkdocks.yml`.

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2023-06-23 19:27:18 +02:00
Ale Mohamad ⌘ b2116754f1
Add Spanish translation for content.md (#842)
* Add Spanish translation for content.md

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update docs/basics/content.es.md

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>

* Update from PR

---------

Co-authored-by: Jorge Acosta <104621044+jacostaf10@users.noreply.github.com>
2023-06-22 20:16:00 +02:00
Jorge Acosta d472122d2b
Add Spanish translation for basics/client and basics/validation (#833)
* Add client.md Spanish translation

Added Spanish translation for client.md

* Add validation.md Spanish translation

Added Spanish translation for validation.md

* Update validation.es.md

* Update docs/basics/client.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/basics/validation.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/basics/validation.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/basics/validation.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update docs/basics/validation.es.md

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>

* Update mkdocs.yml

---------

Co-authored-by: Ale Mohamad ⌘ <alejandro.mohamad@gmail.com>
2023-06-21 17:39:01 +00:00
Ale Mohamad ⌘ 96fd597b16
Add Spanish translation for routing.md (#828)
* Add Spanish translation for routing.md

* Fixes from PR comments
2023-06-13 15:56:13 +00:00
Mattes Mohr b447f44d3f
Add German translation for content.md (#822)
* Start translation

* Revise some passages

* Revise some passages

* Revise some passages

* Fix dead link
2023-06-13 15:13:46 +00:00
Tim Condon 0d669a7e48
Remove all old references to the toolbox (#804) 2023-04-28 21:09:42 +00:00
Mattes Mohr f2a8d9bde2
Revise some phrases (#798)
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-04-28 00:03:26 +00:00
Tim 7087aa3d9d
Further doc updates for new template 2023-04-28 00:58:45 +01:00
Tim Condon fb66441b9f
Update docs for new template (#795) 2023-04-27 20:16:32 +01:00
Mattes Mohr f2987f339e
Add German translation for logging.md (#787)
* Start translation

* Revise some passages

* Fix dead link

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-04-11 13:13:38 +01:00
Mattes Mohr a0d564fc24
Add German translation for validation.md (#786)
* Start the translation

* Revise some passages

* Revise some passages
2023-03-20 14:39:13 +00:00
Mattes Mohr bde2c973a4
Add German translation for routing.md (#778) 2023-03-02 13:38:49 +00:00
Mattes Mohr e7158eae8a
Revise current German translation (#775)
* Revise controllers.de.md

* Revise environment.de.md

* Revise macos.de.md

* Translate the navigation items

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-03-01 00:17:01 +00:00
Mattes Mohr 7539bc06e4
Add German translation for async.md (#774) 2023-02-28 22:49:44 +00:00
Tim Condon 067ac31294
Fix Dead Links (#770)
* Fix Leaf links

* Fix NIO links

* Fix up more links

* Fix Redis links

* Update image links
2023-02-19 13:37:25 +00:00
JIN 961d96b6c6
update cn basics translation part2 (#733) 2022-09-20 10:36:08 +08:00
JIN 7e8223c1f8
update cn fluent translation (#739) 2022-09-17 23:26:06 +08:00
JIN 0cc229fb05
update cn basics translation part1 (#732)
* update cn getting-started translation

* update cn basics translation part1
2022-09-08 20:28:10 +08:00
JIN 4eb478e78b
fix annotation style (#725) 2022-09-05 21:10:20 +08:00
JIN b5a48452a6
fix basics async translation (#723) 2022-09-03 13:01:29 +08:00
JIN 6f45381c6e
add basics errors translation and fix 404 (#711) 2022-08-21 21:54:40 +08:00
BennyDB 4c731052e8
Add dutch translation (#667)
* Add navigation translations

* Vertaal linux.md

* Fix typo

* Translate macos page

* Translate hello-world

* Translate folder structure

* Translate SPM.md

* Translate Xcode.md

* Translate routing

* Translate Validation.md

* Translate logging.md

* Translate controllers

* translate Errors.md

* Translate environment.md

* Translate content.md

* Translated client.md

* Translate async.md

* Translate security/passwords

* Translate security/crypto

* Translated security/jwt

* Translate security/authentication

* Translate redis/sessions

* translate redis/overview.md

* fix list issue in redis/overview

* translate legacy-docs.md

* translate leaf/custome-tags

* translate leaf/getting-started

* translate leaf/overview

* translate fluent/transaction

* translate fluent/migration

* translate fluent/schema

* translate fluent/relations

* translate fluent/query

* translate fluent/advanced

* translate fluent/overview

* Partially translate fluent/model

* Translate fluent/model

* Fix link in fluent/schema

* Add note for future update to the page

* Put the note in the right file

* Translate advanced/commands

* Translate advanced/files

* Translate advanced/middleware

* Translate advanced/websockets

* Translate advanced/testing

* Translate advanced/sessions

* Translate advanced/services

* Translate advanced/server

* Translate advanced/queues

* Translate deploy/systemd

* Translate deploy/supervisor

* Translate deploy/nginx

* Translate deploy/heroku

* Translate deploy/docker

* Translate deploy/digital-ocean

* Translate advanced/APNS

* Translate upgrading

* Fix dead link in custom-tags nl

* Translate contributing/contributing

* Fix routing links

* Add nav translationg for contributing

* Switch out ecdsa vs rsa article to avoid dead links

* Fix issue with dead links

* Change translation based on feedback

* Edits based on feedback
2022-08-12 14:42:58 +02:00
kazogihara 41b5c4133b
Add dead link check CI (#679) 2022-07-21 14:52:35 +01:00
Tim b27a6dfeb4
Renamed gettingstarted to getting-started for SEO 2022-05-15 05:14:36 +01:00
晋先森 fee911560f
Support Chinese doc for Vapor. (#664)
* # Support Chinese doc for Vapor.

* # Added `zh/` path for searchIndex file.
2022-05-15 05:07:28 +01:00