Add comment sorting strings
This commit is contained in:
parent
bb56d92147
commit
54cdf2a7e6
2 changed files with 5 additions and 3 deletions
|
@ -1303,6 +1303,8 @@
|
||||||
"1 comment": "1 comment",
|
"1 comment": "1 comment",
|
||||||
"Upvote": "Upvote",
|
"Upvote": "Upvote",
|
||||||
"Downvote": "Downvote",
|
"Downvote": "Downvote",
|
||||||
|
"Best": "Best",
|
||||||
|
"Controversial": "Controversial",
|
||||||
"Hide %number% Replies": "Hide %number% Replies",
|
"Hide %number% Replies": "Hide %number% Replies",
|
||||||
"Show %number% Replies": "Show %number% Replies",
|
"Show %number% Replies": "Show %number% Replies",
|
||||||
"Unable to create comment, please try again later.": "Unable to create comment, please try again later.",
|
"Unable to create comment, please try again later.": "Unable to create comment, please try again later.",
|
||||||
|
|
|
@ -160,7 +160,7 @@ function CommentList(props: Props) {
|
||||||
<span className="comment__sort">
|
<span className="comment__sort">
|
||||||
<Button
|
<Button
|
||||||
button="alt"
|
button="alt"
|
||||||
label={'Best'}
|
label={__('Best')}
|
||||||
icon={ICONS.FIRE}
|
icon={ICONS.FIRE}
|
||||||
onClick={() => setSort(SORT_COMMENTS_BEST)}
|
onClick={() => setSort(SORT_COMMENTS_BEST)}
|
||||||
className={classnames(`button-toggle`, {
|
className={classnames(`button-toggle`, {
|
||||||
|
@ -169,7 +169,7 @@ function CommentList(props: Props) {
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
button="alt"
|
button="alt"
|
||||||
label={'Controversial'}
|
label={__('Controversial')}
|
||||||
icon={ICONS.CONTROVERSIAL}
|
icon={ICONS.CONTROVERSIAL}
|
||||||
onClick={() => setSort(SORT_COMMENTS_CONTROVERSIAL)}
|
onClick={() => setSort(SORT_COMMENTS_CONTROVERSIAL)}
|
||||||
className={classnames(`button-toggle`, {
|
className={classnames(`button-toggle`, {
|
||||||
|
@ -178,7 +178,7 @@ function CommentList(props: Props) {
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
button="alt"
|
button="alt"
|
||||||
label={'New'}
|
label={__('New')}
|
||||||
icon={ICONS.NEW}
|
icon={ICONS.NEW}
|
||||||
onClick={() => setSort(SORT_COMMENTS_NEW)}
|
onClick={() => setSort(SORT_COMMENTS_NEW)}
|
||||||
className={classnames(`button-toggle`, {
|
className={classnames(`button-toggle`, {
|
||||||
|
|
Loading…
Reference in a new issue