Skip to content

Commit

Permalink
Bump i18n package to v0.12.0 and add JSR support
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-hiller committed May 11, 2024
1 parent 4f6e073 commit 46dc63c
Show file tree
Hide file tree
Showing 7 changed files with 1,086 additions and 11 deletions.
1 change: 1 addition & 0 deletions packages/i18n/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
index.ts
index.js
index.cjs
index.d.ts
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

## vX.X.X (Month DD, YYYY)
## v0.12.0 (May 11, 2024)

- Add Hungarian (hu) translations (pull request #560)

Expand Down
5 changes: 3 additions & 2 deletions packages/i18n/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,14 @@ cd ../packages/i18n
1. Add ISO code to `src/types.ts` in line 4
2. Duplicate `src/en.ts` and change file name to ISO code
3. Change ISO code and translate messages in new file
4. Import new language file in `scripts/build.ts`
4. Import new language file in `scripts/build-npm.ts` and `scripts/build-jsr.ts`
5. Add new import to `languages` array

## Build library

Execute build script

```bash
pnpm build
pnpm build-npm # for npm
pnpm build-jsr # for JSR
```
Loading

0 comments on commit 46dc63c

Please sign in to comment.