diff --git a/app/views/campaign_mailer/creation_followup.html.erb b/app/views/campaign_mailer/creation_followup.html.erb index 50252f79..317351e5 100644 --- a/app/views/campaign_mailer/creation_followup.html.erb +++ b/app/views/campaign_mailer/creation_followup.html.erb @@ -8,13 +8,13 @@
<%= t('campaign_mailer.congrats_on_creating_campaign') %>
<%= t('campaign_mailer.you_can_visit_at', url: content_tag(:strong, link_to(campaign_locateable_url(@campaign)) ))%> +
<%= t('campaign_mailer.you_can_visit_at', url: content_tag(:strong, link_to(campaign_locateable_url(@campaign), campaign_locateable_url(@campaign)) ))%>
<%= t('campaign_mailer.before_sharing_tips')%>
<%= t('campaign_mailer.check_publish_when_ready') %>
<%= t('campaign_mailer.can_share_unpublished_campaign') %>
+<%= t('campaign_mailer.can_share_unpublished_campaign_html') %>
<%= render 'emails/sig' %> diff --git a/app/views/campaign_mailer/federated_creation_followup.html.erb b/app/views/campaign_mailer/federated_creation_followup.html.erb index 98fac04f..1bc4201e 100644 --- a/app/views/campaign_mailer/federated_creation_followup.html.erb +++ b/app/views/campaign_mailer/federated_creation_followup.html.erb @@ -2,31 +2,53 @@ # Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> <% campaign_url = Format::Url.concat(root_url, @campaign.url) %> -Dear <%= @creator_profile.name.blank? ? @creator_profile.user.email : @creator_profile.name %>,
+<%= t('campaign_mailer.dear_creator', creator_name: @creator_profile.name.blank? ? @creator_profile.user.email : @creator_profile.name)%>
Congratulations on creating your campaign to support <%= @campaign.nonprofit.name %>!
+<%= t('campaign_mailer.congrats_on_creating_campaign_to_support', nonprofit_name: @campaign.nonprofit.name) %>
You can visit it here: <%= campaign_url %>.
+<%= t('campaign_mailer.you_can_visit_at', url: content_tag(:strong, link_to(campaign_locateable_url(@campaign), campaign_locateable_url(@campaign)) ))%>
<%= t( +'campaign_mailer.before_sharing_add_testimonial', +link_to_profile_fundraisers: content_tag(:strong, + link_to( + t('campaign_mailer.visit_your_fundraising_dashboard_inside_before_sharing_add_testimonial'), + fundraisers_profile_url(@creator_profile))), +link_to_campaign: content_tag(:strong, + link_to( + @campaign.name, + campaign_locateable_url(@campaign) + ))) %> +
-Before you share your campaign with the world, we recommend you personalize - your campaign by including a testimonial in your words about why - you launched your campaign. You can also set a goal amount to inspire you and your donors. - To edit your campaign, ">visit your fundraisers dashboard (you may be asked to login) - and select <%= @campaign.name%>.
-Make sure to tell your friends and family why they should support your cause and how their contributions will make a difference. Your words and your passion can make a big difference. - Share your fundraiser on:
+<%= t('campaign_mailer.make_sure_to_share_with_family_and_friends')%>
If you need some help getting your campaign up and running, don't hesitate to contact <%= Houdini.support_email %>.
+<%= t('campaign_mailer.if_you_need_help_email_support', + email_support: content_tag(:strong, + Houdini.support_email) +)%>
<%= render 'emails/sig' %> diff --git a/config/locales/campaign_mailer.en.yml b/config/locales/campaign_mailer.en.yml index 460b97ee..d290e65f 100644 --- a/config/locales/campaign_mailer.en.yml +++ b/config/locales/campaign_mailer.en.yml @@ -2,14 +2,21 @@ en: campaign_mailer: - dear_creator: Dear %{creator_name}, - congrats_on_creating_campaign: Congratulations on creating your campaign! - you_can_visit_at: 'You can visit it here: %{url}' - before_sharing_tips: 'Before you share your campaign with the world, we have a few tips that could help the success of your campaign:' - why_and_how_of_campaign_story: 'Use your campaign story to explain why supporters should give and how their contributions will be used.' - add_image_and_videos_to_campaign: Make your campaign story more engaging with images and video. - create_gift_options: Create one-time or recurring gift options (recurring gift options are a powerful way to create sustainability for your organization). - get_network_for_initial_donations: Get a few people in your network to make initial donations. - get_network_prepared_for_launch: Inform people in your network before your campaign launches so that they can be prepared to share it and contribute to it. - check_publish_when_ready: Once your campaign is ready to go, you can check the 'Publish' box on your campaign settings. - can_share_unpublished_campaign: Note: You can still share an unpublished campaign, but it will not show up on your nonprofit profile page or on your campaign listing page. + dear_creator: Dear %{creator_name}, + congrats_on_creating_campaign: Congratulations on creating your campaign! + you_can_visit_at: 'You can visit it here: %{url}.' + before_sharing_tips: 'Before you share your campaign with the world, we have a few tips that could help the success of your campaign:' + why_and_how_of_campaign_story_html: 'Use your campaign story to explain why supporters should give and how their contributions will be used.' + add_image_and_videos_to_campaign: Make your campaign story more engaging with images and video. + create_gift_options: Create one-time or recurring gift options (recurring gift options are a powerful way to create sustainability for your organization). + get_network_for_initial_donations: Get a few people in your network to make initial donations. + get_network_prepared_for_launch: Inform people in your network before your campaign launches so that they can be prepared to share it and contribute to it. + check_publish_when_ready: Once your campaign is ready to go, you can check the 'Publish' box on your campaign settings. + can_share_unpublished_campaign_html: Note: You can still share an unpublished campaign, but it will not show up on your nonprofit profile page or on your campaign listing page. + congrats_on_creating_campaign_to_support: Congratulations on creating your campaign to support %{nonprofit_name}! + before_sharing_add_testimonial: Before you share your campaign with the world, we recommend you personalize your campaign by including a testimonial in your words about why you launched your campaign. You can also set a goal amount to inspire you and your donors. To edit your campaign, %{link_to_profile_fundraisers} (you may be asked to login) and select %{link_to_campaign}. + visit_your_fundraising_dashboard_inside_before_sharing_add_testimonial: visit your fundraisers dashboard + make_sure_to_share_with_family_and_friends: 'Make sure to tell your friends and family why they should support your cause and how their contributions will make a difference. Your words and your passion can make a big difference. Share your fundraiser on:' + join_me_in_supporting_campaign_name: 'Join me in supporting: %{campaign_name}' + or_copy_and_paste_above_link: Or copy and paste the link above into an email to your friends and family + if_you_need_help_email_support: If you need some help getting your campaign up and running, don't hesitate to contact %{email_support} \ No newline at end of file