mirror of
https://github.com/wassname/talk.git
synced 2026-08-13 12:40:11 +08:00
Translation
This commit is contained in:
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import cn from 'classnames';
|
||||
import styles from './Comment.css';
|
||||
import {name} from '../../package.json';
|
||||
import {timeago} from 'plugin-api/beta/client/services';
|
||||
import {t, timeago} from 'plugin-api/beta/client/services';
|
||||
import {Slot} from 'plugin-api/beta/client/components';
|
||||
import {Icon} from 'plugin-api/beta/client/components/ui';
|
||||
|
||||
@@ -46,7 +46,7 @@ class Comment extends React.Component {
|
||||
<a className={cn(styles.goTo, `${name}__featured-comment__go-to`)}
|
||||
onClick={this.viewComment}>
|
||||
<Icon name="forum" className={styles.repliesIcon} /> {comment.replyCount} |
|
||||
Go to conversation<Icon name="keyboard_arrow_right" className={styles.goToIcon} />
|
||||
{t('talk-plugin-featured-comments.go_to_conversation')} <Icon name="keyboard_arrow_right" className={styles.goToIcon} />
|
||||
</a>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
@@ -4,6 +4,6 @@ import {t} from 'plugin-api/beta/client/services';
|
||||
|
||||
export default ({active, asset: {featuredCommentsCount}}) => (
|
||||
<span>
|
||||
{t('featured')} <TabCount active={active} sub>{featuredCommentsCount}</TabCount>
|
||||
{t('talk-plugin-featured-comments.featured')} <TabCount active={active} sub>{featuredCommentsCount}</TabCount>
|
||||
</span>
|
||||
);
|
||||
|
||||
@@ -8,7 +8,7 @@ export default (props) => (
|
||||
{
|
||||
isTagged(props.comment.tags, 'FEATURED') && props.depth === 0 ? (
|
||||
<span className={styles.tag}>
|
||||
{t('featured')}
|
||||
{t('talk-plugin-featured-comments.featured')}
|
||||
</span>
|
||||
) : null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user