From a2f80f8191f6b2cebfaf5911ad926edd8d43cc91 Mon Sep 17 00:00:00 2001 From: Oleg Lebedev Date: Sat, 4 Nov 2023 06:07:28 +0000 Subject: [PATCH] chore: add missing supported languages --- README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 15d7650..5fe859a 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ - drop me a line **next wednesday at 2:25 p.m** - it could be done at **11 am past tuesday** -Check [EN](https://github.com/olebedev/when/blob/master/rules/en), [RU](https://github.com/olebedev/when/blob/master/rules/ru) and [BR](https://github.com/olebedev/when/blob/master/rules/br) rules and tests for them, for more examples. +Check [EN](https://github.com/olebedev/when/blob/master/rules/en) rules and tests of them, for more examples. **Needed rule not found?** Open [an issue](https://github.com/olebedev/when/issues/new) with the case and it will be added asap. @@ -29,6 +29,14 @@ So, we have a cluster of matched rules - `"next wednesday at 2:25 p.m."` in the After that, each rule is applied to the context. In order of definition or in match order, if [`options.MatchByOrder`](https://github.com/olebedev/when/blob/master/when.go#L141-L144) is set to `true`(which it is by default). Each rule could be applied with given merge strategy. By default, it's an [Override](https://github.com/olebedev/when/blob/master/rules/rules.go#L13) strategy. The other strategies are not implemented yet in the rules. **Pull requests are welcome.** +### Supported Languages + +- [EN](https://github.com/olebedev/when/blob/master/rules/en) - English +- [RU](https://github.com/olebedev/when/blob/master/rules/ru) - Russian +- [BR](https://github.com/olebedev/when/blob/master/rules/br) - Brazilian Portuguese +- [ZH](https://github.com/olebedev/when/blob/master/rules/zh) - Chinese +- [NL](https://github.com/olebedev/when/blob/master/rules/nl) - Dutch + ### Install The project follows the official [release workflow](https://go.dev/doc/modules/release-workflow). It is recommended to refer to this resource for detailed information on the process. @@ -99,12 +107,6 @@ fmt.Printf(r.Time.String()) The project is in a more-or-less complete state. It's used for one project already. Bugs will be fixed as soon as they will be found. -### Supported Languages - -- English -- Russian -- Brazilian Portuguese (#18) - ### TODO - [ ] readme: describe all the existing rules