mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02:00
Add missing translation
This commit is contained in:
@@ -27,7 +27,7 @@ export default function() {
|
||||
.map(user => {
|
||||
return (
|
||||
<a href={app.route.user(user)} config={m.route}>
|
||||
{user === app.session.user ? 'You' : username(user)}
|
||||
{user === app.session.user ? app.trans('likes.you') : username(user)}
|
||||
</a>
|
||||
);
|
||||
});
|
||||
|
@@ -1,4 +1,6 @@
|
||||
import Notification from 'flarum/components/Notification';
|
||||
import username from 'flarum/helpers/username';
|
||||
import punctuate from 'flarum/helpers/punctuate';
|
||||
|
||||
export default class PostLikedNotification extends Notification {
|
||||
icon() {
|
||||
@@ -19,7 +21,7 @@ export default class PostLikedNotification extends Notification {
|
||||
user,
|
||||
username: auc ? punctuate([
|
||||
username(user),
|
||||
app.trans('core.others', {count: auc})
|
||||
app.trans('likes.others', {count: auc})
|
||||
]) : undefined,
|
||||
number: post.number()
|
||||
});
|
||||
|
Reference in New Issue
Block a user