]> cat aescling's git repositories - mastodon.git/commitdiff
"Reblog" -> "boost" in more places
authorJessica Stokes <hello@jessicastokes.net>
Thu, 5 Jan 2017 02:00:50 +0000 (18:00 -0800)
committerJessica Stokes <hello@jessicastokes.net>
Thu, 5 Jan 2017 02:00:50 +0000 (18:00 -0800)
A couple of places were using "reblog" rather than "boost" - this updates them to match the web UI

app/assets/javascripts/components/features/notifications/components/notification.jsx
config/locales/en.yml
spec/mailers/notification_mailer_spec.rb

index 9f4cf9e4df3d8f5a6a28b8080968dec23548c11a..37715dd05b91b4be0eea16ed6673ae0e85b096ba 100644 (file)
@@ -71,7 +71,7 @@ const Notification = React.createClass({
             <i className='fa fa-fw fa-retweet' style={{ color: '#2b90d9' }} />
           </div>
 
-          <FormattedMessage id='notification.reblog' defaultMessage='{name} reblogged your status' values={{ name: link }} />
+          <FormattedMessage id='notification.reblog' defaultMessage='{name} boosted your status' values={{ name: link }} />
         </div>
 
         <StatusContainer id={notification.get('status')} muted={true} />
index e166fc7170ac97fec74bf1a77984e035bb6b2a77..dd2ae3aac07109cbf0b8913e9e26f741b5b33e38 100644 (file)
@@ -67,8 +67,8 @@ en:
       body: 'You were mentioned by %{name} in:'
       subject: You were mentioned by %{name}
     reblog:
-      body: 'Your status was reblogged by %{name}:'
-      subject: "%{name} reblogged your status"
+      body: 'Your status was boosted by %{name}:'
+      subject: "%{name} boosted your status"
   pagination:
     next: Next
     prev: Prev
index d4baca5aaada01f83defc78bc1447992703f7220..3beaebeb1c5ede69fb2ae5b2b6759d0ee9cc33fc 100644 (file)
@@ -53,12 +53,12 @@ RSpec.describe NotificationMailer, type: :mailer do
     let(:mail) { NotificationMailer.reblog(own_status.account, Notification.create!(account: receiver.account, activity: reblog)) }
 
     it "renders the headers" do
-      expect(mail.subject).to eq("bob reblogged your status")
+      expect(mail.subject).to eq("bob boosted your status")
       expect(mail.to).to eq([receiver.email])
     end
 
     it "renders the body" do
-      expect(mail.body.encoded).to match("Your status was reblogged by bob")
+      expect(mail.body.encoded).to match("Your status was boosted by bob")
     end
   end