-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
62 changed files
with
1,779 additions
and
1,007 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// more config: http://gitlab.alibaba-inc.com/parrot/parrot-tool-must/blob/master/doc/config.md | ||
module.exports = { | ||
extract: { | ||
name: 'gi-assets-algorithm', | ||
sourcePath: 'src', | ||
fileType: 'ts', | ||
prettier: true, | ||
macro: { | ||
path: 'src/i18n', | ||
method: '$i18n.get({id:"$key$",dm:"$defaultMessage$"})', | ||
import: 'import $i18n from "src/i18n"', | ||
keySplitter: '.', | ||
placeholder: variable => { | ||
return `{${variable}}`; | ||
}, | ||
dependencies: ['@aligov/global-locale', '@aligov/global-string-format'], | ||
}, | ||
babel: { | ||
allowImportExportEverywhere: true, | ||
decoratorsBeforeExport: true, | ||
plugins: [ | ||
'asyncGenerators', | ||
'classProperties', | ||
'decorators-legacy', | ||
'doExpressions', | ||
'exportExtensions', | ||
'exportDefaultFrom', | ||
'typescript', | ||
'functionSent', | ||
'functionBind', | ||
'jsx', | ||
'objectRestSpread', | ||
'dynamicImport', | ||
'numericSeparator', | ||
'optionalChaining', | ||
'optionalCatchBinding', | ||
], | ||
}, | ||
isNeedUploadCopyToMedusa: true, | ||
sourceLang: 'zh-CN', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
packages/gi-assets-algorithm/src/ClusterTable/locale/en-US.js
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
packages/gi-assets-algorithm/src/ClusterTable/locale/index.tsx
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
packages/gi-assets-algorithm/src/ClusterTable/locale/zh-CN.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
packages/gi-assets-algorithm/src/CommunityDetection/locale/en-US.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.