mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 12:31:41 +08:00
fix: missing parameter names in token title translation. (#3752)
This commit is contained in:
parent
da651c722b
commit
cce6b74fce
|
@ -185,7 +185,7 @@ export default class AccessTokensList<CustomAttrs extends IAccessTokensListAttrs
|
|||
const name = token.title() || app.translator.trans('core.forum.security.token_title_placeholder');
|
||||
const value = this.tokenValueDisplay(token);
|
||||
|
||||
return app.translator.trans('core.forum.security.token_item_title', { name, value });
|
||||
return app.translator.trans('core.forum.security.token_item_title', { title: name, token: value });
|
||||
}
|
||||
|
||||
tokenValueDisplay(token: AccessToken): Mithril.Children {
|
||||
|
|
Loading…
Reference in New Issue
Block a user