mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 06:53:47 +08:00
Add translation for deleted tags
This commit is contained in:
parent
5ba4934105
commit
d63b442227
|
@ -25,7 +25,7 @@ export default function tagLabel(tag, attrs = {}) {
|
|||
return (
|
||||
m((link ? 'a' : 'span'), attrs,
|
||||
<span className="TagLabel-text">
|
||||
{tag ? tag.name() : app.trans('tags.untagged')}
|
||||
{tag ? tag.name() : app.trans('tags.deleted')}
|
||||
</span>
|
||||
)
|
||||
);
|
||||
|
|
|
@ -11,3 +11,4 @@ tags:
|
|||
confirm: Confirm
|
||||
more: More...
|
||||
tag_cloud_title: Tags
|
||||
deleted: Deleted
|
||||
|
|
|
@ -38,7 +38,8 @@ class AddClientAssets
|
|||
'tags.discussion_tags_placeholder',
|
||||
'tags.confirm',
|
||||
'tags.more',
|
||||
'tags.tag_cloud_title'
|
||||
'tags.tag_cloud_title',
|
||||
'tags.deleted'
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user