Skip to content

Commit

Permalink
feat: add vietnam language into build jsr, npm and jsr
Browse files Browse the repository at this point in the history
Signed-off-by: ThomasBui <[email protected]>
  • Loading branch information
thinhbg2812-2 committed Dec 2, 2024
1 parent fb61e9f commit 0547fb7
Show file tree
Hide file tree
Showing 8 changed files with 834 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
"prettier": "^3.3.2",
"prettier-plugin-tailwindcss": "^0.6.5",
"typescript": "5.5.3"
}
},
"packageManager": "[email protected]+sha512.c8180b3fbe4e4bca02c94234717896b5529740a6cbadf19fa78254270403ea2f27d4e1d46a08a0f56c89b63dc8ebfd3ee53326da720273794e6200fcf0d184ab"
}
6 changes: 6 additions & 0 deletions packages/i18n/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@

All notable changes to the library will be documented in this file.



## v1.0.0 (Month DD, YYYY)

- Add new and missing actions to translations
- Add Farsi (fa) translations (pull request #838)
- Add Czech (cs) translations (pull request #886)
- Change Valibot peer dependency to v1.0.0

## v0.18.0 (Dec 1, 2024)

- Add VietNam (vi) translations (pull request #951)

## v0.17.0 (July 26, 2024)

- Add Indonesia (id) translations (pull request #683)
Expand Down
2 changes: 2 additions & 0 deletions packages/i18n/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ The official i18n translations for Valibot. See the [internationalization guide]
| Swedish (sv) | [#606][pr-606-url] ||
| Turkish (tr) | [#549][pr-549-url] ||
| Ukrainian (uk) | [#423][pr-423-url] ||
| VietNam (vi) | [#951][pr-951-url] ||

[pr-397-url]: https://github.com/fabian-hiller/valibot/pull/397
[pr-418-url]: https://github.com/fabian-hiller/valibot/pull/418
Expand All @@ -56,6 +57,7 @@ The official i18n translations for Valibot. See the [internationalization guide]
[pr-683-url]: https://github.com/fabian-hiller/valibot/pull/683
[pr-838-url]: https://github.com/fabian-hiller/valibot/pull/838
[pr-886-url]: https://github.com/fabian-hiller/valibot/pull/886
[pr-951-url]: https://github.com/fabian-hiller/valibot/pull/951

## Getting started

Expand Down
77 changes: 76 additions & 1 deletion packages/i18n/jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"!sv",
"!tr",
"!uk",
"!vi",
"!zh-CN",
"!zh-TW"
],
Expand Down Expand Up @@ -1660,6 +1661,80 @@
"./uk/uuid": "./uk/uuid.ts",
"./uk/value": "./uk/value.ts",
"./uk/words": "./uk/words.ts",
"./vi": "./vi/index.ts",
"./vi/schema": "./vi/schema.ts",
"./vi/base64": "./vi/base64.ts",
"./vi/bic": "./vi/bic.ts",
"./vi/bytes": "./vi/bytes.ts",
"./vi/check": "./vi/check.ts",
"./vi/checkAsync": "./vi/checkAsync.ts",
"./vi/checkItems": "./vi/checkItems.ts",
"./vi/checkItemsAsync": "./vi/checkItemsAsync.ts",
"./vi/creditCard": "./vi/creditCard.ts",
"./vi/cuid2": "./vi/cuid2.ts",
"./vi/decimal": "./vi/decimal.ts",
"./vi/digits": "./vi/digits.ts",
"./vi/email": "./vi/email.ts",
"./vi/emoji": "./vi/emoji.ts",
"./vi/empty": "./vi/empty.ts",
"./vi/endsWith": "./vi/endsWith.ts",
"./vi/everyItem": "./vi/everyItem.ts",
"./vi/excludes": "./vi/excludes.ts",
"./vi/finite": "./vi/finite.ts",
"./vi/graphemes": "./vi/graphemes.ts",
"./vi/hash": "./vi/hash.ts",
"./vi/hexColor": "./vi/hexColor.ts",
"./vi/hexadecimal": "./vi/hexadecimal.ts",
"./vi/imei": "./vi/imei.ts",
"./vi/includes": "./vi/includes.ts",
"./vi/integer": "./vi/integer.ts",
"./vi/ip": "./vi/ip.ts",
"./vi/ipv4": "./vi/ipv4.ts",
"./vi/ipv6": "./vi/ipv6.ts",
"./vi/isoDate": "./vi/isoDate.ts",
"./vi/isoDateTime": "./vi/isoDateTime.ts",
"./vi/isoTime": "./vi/isoTime.ts",
"./vi/isoTimeSecond": "./vi/isoTimeSecond.ts",
"./vi/isoTimestamp": "./vi/isoTimestamp.ts",
"./vi/isoWeek": "./vi/isoWeek.ts",
"./vi/length": "./vi/length.ts",
"./vi/mac": "./vi/mac.ts",
"./vi/mac48": "./vi/mac48.ts",
"./vi/mac64": "./vi/mac64.ts",
"./vi/maxBytes": "./vi/maxBytes.ts",
"./vi/maxGraphemes": "./vi/maxGraphemes.ts",
"./vi/maxLength": "./vi/maxLength.ts",
"./vi/maxSize": "./vi/maxSize.ts",
"./vi/maxValue": "./vi/maxValue.ts",
"./vi/maxWords": "./vi/maxWords.ts",
"./vi/mimeType": "./vi/mimeType.ts",
"./vi/minBytes": "./vi/minBytes.ts",
"./vi/minGraphemes": "./vi/minGraphemes.ts",
"./vi/minLength": "./vi/minLength.ts",
"./vi/minSize": "./vi/minSize.ts",
"./vi/minValue": "./vi/minValue.ts",
"./vi/minWords": "./vi/minWords.ts",
"./vi/multipleOf": "./vi/multipleOf.ts",
"./vi/nanoid": "./vi/nanoid.ts",
"./vi/nonEmpty": "./vi/nonEmpty.ts",
"./vi/notBytes": "./vi/notBytes.ts",
"./vi/notGraphemes": "./vi/notGraphemes.ts",
"./vi/notLength": "./vi/notLength.ts",
"./vi/notSize": "./vi/notSize.ts",
"./vi/notValue": "./vi/notValue.ts",
"./vi/notWords": "./vi/notWords.ts",
"./vi/octal": "./vi/octal.ts",
"./vi/partialCheck": "./vi/partialCheck.ts",
"./vi/regex": "./vi/regex.ts",
"./vi/safeInteger": "./vi/safeInteger.ts",
"./vi/size": "./vi/size.ts",
"./vi/someItem": "./vi/someItem.ts",
"./vi/startsWith": "./vi/startsWith.ts",
"./vi/ulid": "./vi/ulid.ts",
"./vi/url": "./vi/url.ts",
"./vi/uuid": "./vi/uuid.ts",
"./vi/value": "./vi/value.ts",
"./vi/words": "./vi/words.ts",
"./zh-CN": "./zh-CN/index.ts",
"./zh-CN/schema": "./zh-CN/schema.ts",
"./zh-CN/base64": "./zh-CN/base64.ts",
Expand Down Expand Up @@ -1809,4 +1884,4 @@
"./zh-TW/value": "./zh-TW/value.ts",
"./zh-TW/words": "./zh-TW/words.ts"
}
}
}
Loading

0 comments on commit 0547fb7

Please sign in to comment.