mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 11:34:36 +08:00
Add third-level namespacing to deleted_user_text
This commit is contained in:
parent
172fffd1ed
commit
c432ed7d5c
|
@ -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