Skip to content

Commit

Permalink
feat(translation): add error code 30075 #patch (AccelByte#49)
Browse files Browse the repository at this point in the history
Co-authored-by: Xu Ming <[email protected]>
  • Loading branch information
JakeXu and Xu Ming authored Dec 15, 2022
1 parent 83b0423 commit c766ac8
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.36.5]
### Added
- Error translation for `30075` in `adminServiceErrorTranslationMap`

## [1.36.4]
### [Added]
- Add `isValid` method in `Validation` to check whether a field is valid
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "justice-js-common-utils",
"version": "1.36.4",
"version": "1.36.5",
"description": "AccelByte's Justice Common Javascript Utilities",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ export const EcommerceAdminErrorTranslationMap: { [key: string]: React.ReactNode
This item cannot be deselected while the associated subscription is still selected
</Trans>
),
30075: (
<Trans i18nKey="adminServiceError.30075">
This display cannot be deselected while the associated section is still selected
</Trans>
),
30141: <Trans i18nKey="adminServiceError.30141">The draft store does not exist or deleted in namespace</Trans>,
30326: <Trans i18nKey="adminServiceError.30326">Subscription item cannot be bundled</Trans>,
30327: <Trans i18nKey="adminServiceError.30327">Invalid item trial price</Trans>,
Expand Down
1 change: 1 addition & 0 deletions src/lib/service-error-translator/translations/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"adminServiceError.30071": "This item cannot be deselected while the associated bundle/option box/loot box is still selected",
"adminServiceError.30072": "This category cannot be deselected while there are still items selected within it.",
"adminServiceError.30074": "This item cannot be deselected while the associated subscription is still selected",
"adminServiceError.30075": "This display cannot be deselected while the associated section is still selected",
"adminServiceError.30141": "The draft store does not exist or deleted in namespace",
"adminServiceError.30142": "Published store does not exist in namespace",
"adminServiceError.30326": "Subscription item cannot be bundled",
Expand Down
1 change: 1 addition & 0 deletions src/lib/service-error-translator/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"adminServiceError.30071": "当关联的捆绑包/自选宝箱/随机宝箱仍处于选中状态时,无法取消选择此项",
"adminServiceError.30072": "当其中仍有选择的项目时,无法取消选择此类别。",
"adminServiceError.30074": "当关联的订阅仍处于选中状态时,无法取消选择此项目",
"adminServiceError.30075": "当关联分段仍处于选中状态时,无法取消选中此陈列",
"adminServiceError.30141": "该草稿商店不存在或已删除于当前命名空间。",
"adminServiceError.30142": "在该命名空间中不存在已发布的商店。",
"adminServiceError.30326": "订阅项目不能捆绑",
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "1.36.4"
"version": "1.36.5"
}

0 comments on commit c766ac8

Please sign in to comment.