[Glitch] Replace 'favourite' by 'favorite' for American English
Port 217ef7f2af to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
			
			
This commit is contained in:
		@@ -31,7 +31,7 @@ const messages = defineMessages({
 | 
			
		||||
  reblog_private: { id: 'status.reblog_private', defaultMessage: 'Boost with original visibility' },
 | 
			
		||||
  cancel_reblog_private: { id: 'status.cancel_reblog_private', defaultMessage: 'Unboost' },
 | 
			
		||||
  cannot_reblog: { id: 'status.cannot_reblog', defaultMessage: 'This post cannot be boosted' },
 | 
			
		||||
  favourite: { id: 'status.favourite', defaultMessage: 'Favourite' },
 | 
			
		||||
  favourite: { id: 'status.favourite', defaultMessage: 'Favorite' },
 | 
			
		||||
  bookmark: { id: 'status.bookmark', defaultMessage: 'Bookmark' },
 | 
			
		||||
  open: { id: 'status.open', defaultMessage: 'Expand this status' },
 | 
			
		||||
  report: { id: 'status.report', defaultMessage: 'Report @{name}' },
 | 
			
		||||
 
 | 
			
		||||
@@ -55,7 +55,7 @@ export default class StatusPrepend extends PureComponent {
 | 
			
		||||
      return (
 | 
			
		||||
        <FormattedMessage
 | 
			
		||||
          id='notification.favourite'
 | 
			
		||||
          defaultMessage='{name} favourited your status'
 | 
			
		||||
          defaultMessage='{name} favorited your status'
 | 
			
		||||
          values={{ name : link }}
 | 
			
		||||
        />
 | 
			
		||||
      );
 | 
			
		||||
 
 | 
			
		||||
@@ -47,7 +47,7 @@ const messages = defineMessages({
 | 
			
		||||
  deleteConfirm: { id: 'confirmations.delete.confirm', defaultMessage: 'Delete' },
 | 
			
		||||
  deleteMessage: { id: 'confirmations.delete.message', defaultMessage: 'Are you sure you want to delete this status?' },
 | 
			
		||||
  redraftConfirm: { id: 'confirmations.redraft.confirm', defaultMessage: 'Delete & redraft' },
 | 
			
		||||
  redraftMessage: { id: 'confirmations.redraft.message', defaultMessage: 'Are you sure you want to delete this status and re-draft it? Favourites and boosts will be lost, and replies to the original post will be orphaned.' },
 | 
			
		||||
  redraftMessage: { id: 'confirmations.redraft.message', defaultMessage: 'Are you sure you want to delete this status and re-draft it? Favorites and boosts will be lost, and replies to the original post will be orphaned.' },
 | 
			
		||||
  replyConfirm: { id: 'confirmations.reply.confirm', defaultMessage: 'Reply' },
 | 
			
		||||
  replyMessage: { id: 'confirmations.reply.message', defaultMessage: 'Replying now will overwrite the message you are currently composing. Are you sure you want to proceed?' },
 | 
			
		||||
  editConfirm: { id: 'confirmations.edit.confirm', defaultMessage: 'Edit' },
 | 
			
		||||
 
 | 
			
		||||
@@ -46,7 +46,7 @@ const messages = defineMessages({
 | 
			
		||||
  pins: { id: 'navigation_bar.pins', defaultMessage: 'Pinned posts' },
 | 
			
		||||
  preferences: { id: 'navigation_bar.preferences', defaultMessage: 'Preferences' },
 | 
			
		||||
  follow_requests: { id: 'navigation_bar.follow_requests', defaultMessage: 'Follow requests' },
 | 
			
		||||
  favourites: { id: 'navigation_bar.favourites', defaultMessage: 'Favourites' },
 | 
			
		||||
  favourites: { id: 'navigation_bar.favourites', defaultMessage: 'Favorites' },
 | 
			
		||||
  lists: { id: 'navigation_bar.lists', defaultMessage: 'Lists' },
 | 
			
		||||
  followed_tags: { id: 'navigation_bar.followed_tags', defaultMessage: 'Followed hashtags' },
 | 
			
		||||
  blocks: { id: 'navigation_bar.blocks', defaultMessage: 'Blocked users' },
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ const messages = defineMessages({
 | 
			
		||||
  pins: { id: 'navigation_bar.pins', defaultMessage: 'Pinned posts' },
 | 
			
		||||
  preferences: { id: 'navigation_bar.preferences', defaultMessage: 'Preferences' },
 | 
			
		||||
  follow_requests: { id: 'navigation_bar.follow_requests', defaultMessage: 'Follow requests' },
 | 
			
		||||
  favourites: { id: 'navigation_bar.favourites', defaultMessage: 'Favourites' },
 | 
			
		||||
  favourites: { id: 'navigation_bar.favourites', defaultMessage: 'Favorites' },
 | 
			
		||||
  lists: { id: 'navigation_bar.lists', defaultMessage: 'Lists' },
 | 
			
		||||
  followed_tags: { id: 'navigation_bar.followed_tags', defaultMessage: 'Followed hashtags' },
 | 
			
		||||
  blocks: { id: 'navigation_bar.blocks', defaultMessage: 'Blocked users' },
 | 
			
		||||
 
 | 
			
		||||
@@ -47,7 +47,7 @@ class Statuses extends PureComponent {
 | 
			
		||||
    return (
 | 
			
		||||
      <>
 | 
			
		||||
        <DismissableBanner id='explore/statuses'>
 | 
			
		||||
          <FormattedMessage id='dismissable_banner.explore_statuses' defaultMessage='These are posts from across the social web that are gaining traction today. Newer posts with more boosts and favourites are ranked higher.' />
 | 
			
		||||
          <FormattedMessage id='dismissable_banner.explore_statuses' defaultMessage='These are posts from across the social web that are gaining traction today. Newer posts with more boosts and favorites are ranked higher.' />
 | 
			
		||||
        </DismissableBanner>
 | 
			
		||||
 | 
			
		||||
        <StatusList
 | 
			
		||||
 
 | 
			
		||||
@@ -18,7 +18,7 @@ import Column from 'flavours/glitch/features/ui/components/column';
 | 
			
		||||
import { getStatusList } from 'flavours/glitch/selectors';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  heading: { id: 'column.favourites', defaultMessage: 'Favourites' },
 | 
			
		||||
  heading: { id: 'column.favourites', defaultMessage: 'Favorites' },
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
const mapStateToProps = state => ({
 | 
			
		||||
@@ -74,7 +74,7 @@ class Favourites extends ImmutablePureComponent {
 | 
			
		||||
    const { intl, statusIds, columnId, multiColumn, hasMore, isLoading } = this.props;
 | 
			
		||||
    const pinned = !!columnId;
 | 
			
		||||
 | 
			
		||||
    const emptyMessage = <FormattedMessage id='empty_column.favourited_statuses' defaultMessage="You don't have any favourite posts yet. When you favourite one, it will show up here." />;
 | 
			
		||||
    const emptyMessage = <FormattedMessage id='empty_column.favourited_statuses' defaultMessage="You don't have any favorite posts yet. When you favorite one, it will show up here." />;
 | 
			
		||||
 | 
			
		||||
    return (
 | 
			
		||||
      <Column bindToDocument={!multiColumn} ref={this.setRef} name='favourites' label={intl.formatMessage(messages.heading)}>
 | 
			
		||||
 
 | 
			
		||||
@@ -71,7 +71,7 @@ class Favourites extends ImmutablePureComponent {
 | 
			
		||||
      );
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    const emptyMessage = <FormattedMessage id='empty_column.favourites' defaultMessage='No one has favourited this post yet. When someone does, they will show up here.' />;
 | 
			
		||||
    const emptyMessage = <FormattedMessage id='empty_column.favourites' defaultMessage='No one has favorited this post yet. When someone does, they will show up here.' />;
 | 
			
		||||
 | 
			
		||||
    return (
 | 
			
		||||
      <Column ref={this.setRef}>
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,7 @@ import ColumnSubheading from 'flavours/glitch/features/ui/components/column_subh
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
  heading: { id: 'column.heading', defaultMessage: 'Misc' },
 | 
			
		||||
  subheading: { id: 'column.subheading', defaultMessage: 'Miscellaneous options' },
 | 
			
		||||
  favourites: { id: 'navigation_bar.favourites', defaultMessage: 'Favourites' },
 | 
			
		||||
  favourites: { id: 'navigation_bar.favourites', defaultMessage: 'Favorites' },
 | 
			
		||||
  blocks: { id: 'navigation_bar.blocks', defaultMessage: 'Blocked users' },
 | 
			
		||||
  domain_blocks: { id: 'navigation_bar.domain_blocks', defaultMessage: 'Blocked domains' },
 | 
			
		||||
  mutes: { id: 'navigation_bar.mutes', defaultMessage: 'Muted users' },
 | 
			
		||||
 
 | 
			
		||||
@@ -116,8 +116,8 @@ class InteractionModal extends PureComponent {
 | 
			
		||||
      break;
 | 
			
		||||
    case 'favourite':
 | 
			
		||||
      icon = <Icon id='star' />;
 | 
			
		||||
      title = <FormattedMessage id='interaction_modal.title.favourite' defaultMessage="Favourite {name}'s post" values={{ name }} />;
 | 
			
		||||
      actionDescription = <FormattedMessage id='interaction_modal.description.favourite' defaultMessage='With an account on Mastodon, you can favourite this post to let the author know you appreciate it and save it for later.' />;
 | 
			
		||||
      title = <FormattedMessage id='interaction_modal.title.favourite' defaultMessage="Favorite {name}'s post" values={{ name }} />;
 | 
			
		||||
      actionDescription = <FormattedMessage id='interaction_modal.description.favourite' defaultMessage='With an account on Mastodon, you can favorite this post to let the author know you appreciate it and save it for later.' />;
 | 
			
		||||
      break;
 | 
			
		||||
    case 'follow':
 | 
			
		||||
      icon = <Icon id='user-plus' />;
 | 
			
		||||
@@ -158,7 +158,7 @@ class InteractionModal extends PureComponent {
 | 
			
		||||
 | 
			
		||||
          <div className='interaction-modal__choices__choice'>
 | 
			
		||||
            <h3><FormattedMessage id='interaction_modal.on_another_server' defaultMessage='On a different server' /></h3>
 | 
			
		||||
            <p><FormattedMessage id='interaction_modal.other_server_instructions' defaultMessage='Copy and paste this URL into the search field of your favourite Mastodon app or the web interface of your Mastodon server.' /></p>
 | 
			
		||||
            <p><FormattedMessage id='interaction_modal.other_server_instructions' defaultMessage='Copy and paste this URL into the search field of your favorite Mastodon app or the web interface of your Mastodon server.' /></p>
 | 
			
		||||
            <Copypaste value={url} />
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
 
 | 
			
		||||
@@ -61,7 +61,7 @@ class KeyboardShortcuts extends ImmutablePureComponent {
 | 
			
		||||
              </tr>
 | 
			
		||||
              <tr>
 | 
			
		||||
                <td><kbd>f</kbd></td>
 | 
			
		||||
                <td><FormattedMessage id='keyboard_shortcuts.favourite' defaultMessage='to favourite' /></td>
 | 
			
		||||
                <td><FormattedMessage id='keyboard_shortcuts.favourite' defaultMessage='to favorite' /></td>
 | 
			
		||||
              </tr>
 | 
			
		||||
              <tr>
 | 
			
		||||
                <td><kbd>b</kbd></td>
 | 
			
		||||
 
 | 
			
		||||
@@ -110,7 +110,7 @@ export default class ColumnSettings extends PureComponent {
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        <div role='group' aria-labelledby='notifications-favourite'>
 | 
			
		||||
          <span id='notifications-favourite' className='column-settings__section'><FormattedMessage id='notifications.column_settings.favourite' defaultMessage='Favourites:' /></span>
 | 
			
		||||
          <span id='notifications-favourite' className='column-settings__section'><FormattedMessage id='notifications.column_settings.favourite' defaultMessage='Favorites:' /></span>
 | 
			
		||||
 | 
			
		||||
          <div className='column-settings__pillbar'>
 | 
			
		||||
            <PillBarButton disabled={browserPermission === 'denied'} prefix='notifications_desktop' settings={settings} settingPath={['alerts', 'favourite']} onChange={onChange} label={alertStr} />
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,7 @@ import { Icon } from 'flavours/glitch/components/icon';
 | 
			
		||||
 | 
			
		||||
const tooltips = defineMessages({
 | 
			
		||||
  mentions: { id: 'notifications.filter.mentions', defaultMessage: 'Mentions' },
 | 
			
		||||
  favourites: { id: 'notifications.filter.favourites', defaultMessage: 'Favourites' },
 | 
			
		||||
  favourites: { id: 'notifications.filter.favourites', defaultMessage: 'Favorites' },
 | 
			
		||||
  boosts: { id: 'notifications.filter.boosts', defaultMessage: 'Boosts' },
 | 
			
		||||
  polls: { id: 'notifications.filter.polls', defaultMessage: 'Poll results' },
 | 
			
		||||
  follows: { id: 'notifications.filter.follows', defaultMessage: 'Follows' },
 | 
			
		||||
 
 | 
			
		||||
@@ -23,7 +23,7 @@ const messages = defineMessages({
 | 
			
		||||
  reblog_private: { id: 'status.reblog_private', defaultMessage: 'Boost with original visibility' },
 | 
			
		||||
  cancel_reblog_private: { id: 'status.cancel_reblog_private', defaultMessage: 'Unboost' },
 | 
			
		||||
  cannot_reblog: { id: 'status.cannot_reblog', defaultMessage: 'This post cannot be boosted' },
 | 
			
		||||
  favourite: { id: 'status.favourite', defaultMessage: 'Favourite' },
 | 
			
		||||
  favourite: { id: 'status.favourite', defaultMessage: 'Favorite' },
 | 
			
		||||
  replyConfirm: { id: 'confirmations.reply.confirm', defaultMessage: 'Reply' },
 | 
			
		||||
  replyMessage: { id: 'confirmations.reply.message', defaultMessage: 'Replying now will overwrite the message you are currently composing. Are you sure you want to proceed?' },
 | 
			
		||||
  open: { id: 'status.open', defaultMessage: 'Expand this status' },
 | 
			
		||||
 
 | 
			
		||||
@@ -24,7 +24,7 @@ const messages = defineMessages({
 | 
			
		||||
  reblog_private: { id: 'status.reblog_private', defaultMessage: 'Boost with original visibility' },
 | 
			
		||||
  cancel_reblog_private: { id: 'status.cancel_reblog_private', defaultMessage: 'Unboost' },
 | 
			
		||||
  cannot_reblog: { id: 'status.cannot_reblog', defaultMessage: 'This post cannot be boosted' },
 | 
			
		||||
  favourite: { id: 'status.favourite', defaultMessage: 'Favourite' },
 | 
			
		||||
  favourite: { id: 'status.favourite', defaultMessage: 'Favorite' },
 | 
			
		||||
  bookmark: { id: 'status.bookmark', defaultMessage: 'Bookmark' },
 | 
			
		||||
  more: { id: 'status.more', defaultMessage: 'More' },
 | 
			
		||||
  mute: { id: 'status.mute', defaultMessage: 'Mute @{name}' },
 | 
			
		||||
 
 | 
			
		||||
@@ -35,7 +35,7 @@ const messages = defineMessages({
 | 
			
		||||
  deleteConfirm: { id: 'confirmations.delete.confirm', defaultMessage: 'Delete' },
 | 
			
		||||
  deleteMessage: { id: 'confirmations.delete.message', defaultMessage: 'Are you sure you want to delete this status?' },
 | 
			
		||||
  redraftConfirm: { id: 'confirmations.redraft.confirm', defaultMessage: 'Delete & redraft' },
 | 
			
		||||
  redraftMessage: { id: 'confirmations.redraft.message', defaultMessage: 'Are you sure you want to delete this status and re-draft it? Favourites and boosts will be lost, and replies to the original post will be orphaned.' },
 | 
			
		||||
  redraftMessage: { id: 'confirmations.redraft.message', defaultMessage: 'Are you sure you want to delete this status and re-draft it? Favorites and boosts will be lost, and replies to the original post will be orphaned.' },
 | 
			
		||||
  replyConfirm: { id: 'confirmations.reply.confirm', defaultMessage: 'Reply' },
 | 
			
		||||
  replyMessage: { id: 'confirmations.reply.message', defaultMessage: 'Replying now will overwrite the message you are currently composing. Are you sure you want to proceed?' },
 | 
			
		||||
});
 | 
			
		||||
 
 | 
			
		||||
@@ -66,7 +66,7 @@ const messages = defineMessages({
 | 
			
		||||
  deleteConfirm: { id: 'confirmations.delete.confirm', defaultMessage: 'Delete' },
 | 
			
		||||
  deleteMessage: { id: 'confirmations.delete.message', defaultMessage: 'Are you sure you want to delete this status?' },
 | 
			
		||||
  redraftConfirm: { id: 'confirmations.redraft.confirm', defaultMessage: 'Delete & redraft' },
 | 
			
		||||
  redraftMessage: { id: 'confirmations.redraft.message', defaultMessage: 'Are you sure you want to delete this status and re-draft it? Favourites and boosts will be lost, and replies to the original post will be orphaned.' },
 | 
			
		||||
  redraftMessage: { id: 'confirmations.redraft.message', defaultMessage: 'Are you sure you want to delete this status and re-draft it? Favorites and boosts will be lost, and replies to the original post will be orphaned.' },
 | 
			
		||||
  revealAll: { id: 'status.show_more_all', defaultMessage: 'Show more for all' },
 | 
			
		||||
  hideAll: { id: 'status.show_less_all', defaultMessage: 'Show less for all' },
 | 
			
		||||
  statusTitleWithAttachments: { id: 'status.title.with_attachments', defaultMessage: '{user} posted {attachmentCount, plural, one {an attachment} other {# attachments}}' },
 | 
			
		||||
 
 | 
			
		||||
@@ -21,7 +21,7 @@ const messages = defineMessages({
 | 
			
		||||
  explore: { id: 'explore.title', defaultMessage: 'Explore' },
 | 
			
		||||
  firehose: { id: 'column.firehose', defaultMessage: 'Live feeds' },
 | 
			
		||||
  direct: { id: 'navigation_bar.direct', defaultMessage: 'Private mentions' },
 | 
			
		||||
  favourites: { id: 'navigation_bar.favourites', defaultMessage: 'Favourites' },
 | 
			
		||||
  favourites: { id: 'navigation_bar.favourites', defaultMessage: 'Favorites' },
 | 
			
		||||
  bookmarks: { id: 'navigation_bar.bookmarks', defaultMessage: 'Bookmarks' },
 | 
			
		||||
  lists: { id: 'navigation_bar.lists', defaultMessage: 'Lists' },
 | 
			
		||||
  preferences: { id: 'navigation_bar.preferences', defaultMessage: 'Preferences' },
 | 
			
		||||
 
 | 
			
		||||
@@ -34,7 +34,7 @@ const SignInBanner = () => {
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <div className='sign-in-banner'>
 | 
			
		||||
      <p><FormattedMessage id='sign_in_banner.text' defaultMessage='Login to follow profiles or hashtags, favourite, share and reply to posts. You can also interact from your account on a different server.' /></p>
 | 
			
		||||
      <p><FormattedMessage id='sign_in_banner.text' defaultMessage='Login to follow profiles or hashtags, favorite, share and reply to posts. You can also interact from your account on a different server.' /></p>
 | 
			
		||||
      {signupButton}
 | 
			
		||||
      <a href='/auth/sign_in' className='button button--block button-tertiary'><FormattedMessage id='sign_in_banner.sign_in' defaultMessage='Login' /></a>
 | 
			
		||||
    </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user