mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 05:53:45 +08:00
Merge pull request #648 from dcsjapan/adjust-key
Add third-level namespacing to deleted_user_text
This commit is contained in:
commit
173de809b8
|
@ -6,7 +6,7 @@
|
||||||
* @return {Object}
|
* @return {Object}
|
||||||
*/
|
*/
|
||||||
export default function username(user) {
|
export default function username(user) {
|
||||||
const name = (user && user.username()) || app.translator.trans('core.lib.deleted_user_text');
|
const name = (user && user.username()) || app.translator.trans('core.lib.username.deleted_text');
|
||||||
|
|
||||||
return <span className="username">{name}</span>;
|
return <span className="username">{name}</span>;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user