1
0
mirror of https://github.com/flarum/core.git synced 2025-07-23 09:41:26 +02:00

Remove unused translations

This commit is contained in:
Toby Zerner
2015-09-05 16:05:02 +09:30
parent 35dfe10513
commit 6cce84e8c1
2 changed files with 1 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
* @return {Object}
*/
export default function username(user) {
const name = (user && user.username()) || '[deleted]';
const name = (user && user.username()) || app.trans('deleted');
return <span className="username">{name}</span>;
}