~cytrogen/masto-fe

432a5d2d4bc307d9a9c7b484de96d3eb7926fa93 — Eugen Rochko 2 years ago 62c996b
Change "bot" label to "automated" (#25356)

M app/javascript/mastodon/features/account/components/header.jsx => app/javascript/mastodon/features/account/components/header.jsx +1 -1
@@ 374,7 374,7 @@ class Header extends ImmutablePureComponent {
    let badge;

    if (account.get('bot')) {
      badge = (<div className='account-role bot'><FormattedMessage id='account.badges.bot' defaultMessage='Bot' /></div>);
      badge = (<div className='account-role bot'><FormattedMessage id='account.badges.bot' defaultMessage='Automated' /></div>);
    } else if (account.get('group')) {
      badge = (<div className='account-role group'><FormattedMessage id='account.badges.group' defaultMessage='Group' /></div>);
    } else {

M app/javascript/mastodon/locales/en.json => app/javascript/mastodon/locales/en.json +1 -1
@@ 13,7 13,7 @@
  "about.rules": "Server rules",
  "account.account_note_header": "Note",
  "account.add_or_remove_from_list": "Add or Remove from lists",
  "account.badges.bot": "Bot",
  "account.badges.bot": "Automated",
  "account.badges.group": "Group",
  "account.block": "Block @{name}",
  "account.block_domain": "Block domain {domain}",

M config/locales/simple_form.en.yml => config/locales/simple_form.en.yml +1 -1
@@ 168,7 168,7 @@ en:
      defaults:
        autofollow: Invite to follow your account
        avatar: Avatar
        bot: This is a bot account
        bot: This is an automated account
        chosen_languages: Filter languages
        confirm_new_password: Confirm new password
        confirm_password: Confirm password