Skip to content

Commit a84f680

Browse files
committed
Fix message
1 parent e3f11c4 commit a84f680

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

app/javascript/mastodon/features/circle_editor/components/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import classNames from 'classnames';
77
import Icon from 'mastodon/components/icon';
88

99
const messages = defineMessages({
10-
search: { id: 'circles.search', defaultMessage: 'Search among people you follow' },
10+
search: { id: 'circles.search', defaultMessage: 'Search among people following you' },
1111
});
1212

1313
const mapStateToProps = state => ({

app/javascript/mastodon/features/circles/components/circle.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { openModal } from '../../../actions/modal';
77
import { deleteCircle } from '../../../actions/circles';
88

99
const messages = defineMessages({
10-
deleteTitle: { id: 'confirmations.delete_circle.title', defaultMessage: 'Delete' },
1110
deleteMessage: { id: 'confirmations.delete_circle.message', defaultMessage: 'Are you sure you want to permanently delete this circle?' },
1211
deleteConfirm: { id: 'confirmations.delete_circle.confirm', defaultMessage: 'Delete' },
1312
});
@@ -49,7 +48,7 @@ class Circle extends React.PureComponent {
4948
<Icon id='circle-o' className='column-link__icon' fixedWidth />
5049
{text}
5150
</button>
52-
<button className='circle-delete-button' title={intl.formatMessage(messages.deleteTitle)} onClick={this.handleDeleteClick}>
51+
<button className='circle-delete-button' title={intl.formatMessage(messages.deleteConfirm)} onClick={this.handleDeleteClick}>
5352
<Icon id='trash' className='column-link__icon' fixedWidth />
5453
</button>
5554
</div>

app/javascript/mastodon/locales/en.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"account.account_note_header": "Note",
3+
"account.add_or_remove_from_circle": "Add or Remove from circles",
34
"account.add_or_remove_from_list": "Add or Remove from lists",
45
"account.badges.bot": "Bot",
56
"account.badges.group": "Group",
@@ -57,8 +58,16 @@
5758
"bundle_modal_error.close": "Close",
5859
"bundle_modal_error.message": "Something went wrong while loading this component.",
5960
"bundle_modal_error.retry": "Try again",
61+
"circles.account.remove": "Remove from circle",
62+
"circles.account.add": "Add to circle",
63+
"circles.edit.submit": "Change title",
64+
"circles.new.create": "Add circle",
65+
"circles.new.title_placeholder": "New circle title",
66+
"circles.search": "Search among people following you",
67+
"circles.subheading": "Your circles",
6068
"column.blocks": "Blocked users",
6169
"column.bookmarks": "Bookmarks",
70+
"column.circles": "Circles",
6271
"column.community": "Local timeline",
6372
"column.direct": "Direct messages",
6473
"column.directory": "Browse profiles",
@@ -108,6 +117,8 @@
108117
"confirmations.block.message": "Are you sure you want to block {name}?",
109118
"confirmations.delete.confirm": "Delete",
110119
"confirmations.delete.message": "Are you sure you want to delete this toot?",
120+
"confirmations.delete_circle.confirm": "Delete",
121+
"confirmations.delete_circle.message": "Are you sure you want to permanently delete this circle?",
111122
"confirmations.delete_list.confirm": "Delete",
112123
"confirmations.delete_list.message": "Are you sure you want to permanently delete this list?",
113124
"confirmations.domain_block.confirm": "Block entire domain",
@@ -271,6 +282,7 @@
271282
"navigation_bar.apps": "Mobile apps",
272283
"navigation_bar.blocks": "Blocked users",
273284
"navigation_bar.bookmarks": "Bookmarks",
285+
"navigation_bar.circles": "Circles",
274286
"navigation_bar.community_timeline": "Local timeline",
275287
"navigation_bar.compose": "Compose new toot",
276288
"navigation_bar.direct": "Direct messages",

0 commit comments

Comments
 (0)