Merge pull request #2500 from nwind/typo-system-message

typo: 系统消息应该是 System.notify
This commit is contained in:
RickCole 2021-09-03 13:41:28 +08:00 committed by GitHub
commit 3132f81c03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ export default class PlayGround extends React.Component {
toast[type]
? toast[type](
msg,
type === 'error' ? __('System.error') : __('System.message')
type === 'error' ? __('System.error') : __('System.notify')
)
: console.warn('[Notify]', type, msg),
alert,

View File

@ -170,7 +170,7 @@ export function embed(
toast[type]
? toast[type](
msg,
type === 'error' ? __('System.error') : __('System.message')
type === 'error' ? __('System.error') : __('System.notify')
)
: console.warn('[Notify]', type, msg),
alert,