summaryrefslogtreecommitdiffstats
path: root/ui/src/components
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-08-23 15:55:48 -0700
committerDessalines <tyhou13@gmx.com>2019-08-23 15:55:48 -0700
commitd5b9ba724dbab8ac1b17ca52d3f85309e5f22497 (patch)
tree3e76c4ea2b5aa117cc0018ba979968fffc771a9d /ui/src/components
parent5cbbf5a4ace876fae669e05e6c80dd7b17e51cb2 (diff)
Add missing by and to translations.
Diffstat (limited to 'ui/src/components')
-rw-r--r--ui/src/components/post-listing.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx
index f6bf80e4..883d8a53 100644
--- a/ui/src/components/post-listing.tsx
+++ b/ui/src/components/post-listing.tsx
@@ -115,7 +115,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
<div className="details ml-4">
<ul class="list-inline mb-0 text-muted small">
<li className="list-inline-item">
- <span>by </span>
+ <span>{i18n.t('by')} </span>
<Link className="text-info" to={`/u/${post.creator_name}`}>{post.creator_name}</Link>
{this.isMod &&
<span className="mx-1 badge badge-light"><T i18nKey="mod">#</T></span>
@@ -125,7 +125,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
}
{this.props.showCommunity &&
<span>
- <span> to </span>
+ <span> {i18n.t('to')} </span>
<Link to={`/c/${post.community_name}`}>{post.community_name}</Link>
</span>
}