diff options
author | Dessalines <tyhou13@gmx.com> | 2020-02-04 16:37:52 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-02-04 16:37:52 -0500 |
commit | 52f54b92d85d8ab4c319ba63af13198de9c4edc5 (patch) | |
tree | 960b6aca8761e59a5a9a2da75a382febf486fa7e /ui/src | |
parent | d4bc70b61eaca452838677513bb5086a140ebd8f (diff) |
Forgot to add cross-posted to, to i18n.
Diffstat (limited to 'ui/src')
-rw-r--r-- | ui/src/components/post-listing.tsx | 4 | ||||
-rw-r--r-- | ui/src/translations/en.ts | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index f05adf39..9b3141c4 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -332,7 +332,9 @@ export class PostListing extends Component<PostListingProps, PostListingState> { <ul class="list-inline mb-1 text-muted small"> {this.props.post.duplicates && ( <> - <li className="list-inline-item mr-2">cross-posted to:</li> + <li className="list-inline-item mr-2"> + {i18n.t('cross_posted_to')} + </li> {this.props.post.duplicates.map(post => ( <li className="list-inline-item mr-2"> <Link to={`/post/${post.id}`}>{post.community_name}</Link> diff --git a/ui/src/translations/en.ts b/ui/src/translations/en.ts index 7afb99ef..e103df7e 100644 --- a/ui/src/translations/en.ts +++ b/ui/src/translations/en.ts @@ -10,6 +10,7 @@ export const en = { related_posts: 'These posts might be related', cross_posts: 'This link has also been posted to:', cross_post: 'cross-post', + cross_posted_to: 'cross-posted to: ', comments: 'Comments', number_of_comments: '{{count}} Comments', remove_comment: 'Remove Comment', |