Skip to content

Commit

Permalink
Merge pull request #97 from nini22P/dev
Browse files Browse the repository at this point in the history
v1.7.0
  • Loading branch information
nini22P committed Jun 1, 2024
2 parents 9616bd3 + f3093a4 commit ef455bb
Show file tree
Hide file tree
Showing 33 changed files with 2,769 additions and 577 deletions.
5 changes: 5 additions & 0 deletions .swcrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"$schema": "https://json.schemastore.org/swcrc",
"jsc": {
"experimental": {
"plugins": [
["@lingui/swc-plugin",{}]
]
},
"parser": {
"syntax": "typescript"
},
Expand Down
12 changes: 12 additions & 0 deletions lingui.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/** @type {import('@lingui/conf').LinguiConfig} */
module.exports = {
locales: ['en', 'zh-CN'],
sourceLocale: 'en',
catalogs: [
{
path: '<rootDir>/src/locales/{locale}/messages',
include: ['src'],
},
],
format: 'po',
}
Loading

0 comments on commit ef455bb

Please sign in to comment.