Commit 471251f
Changed files (2)
app
views
training_sessions
config
locales
app/views/training_sessions/_import_address_modal.html.erb
@@ -1,6 +1,6 @@
<div id="sendToStrongLiftsModal" class="reveal-modal" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog">
- <h2 id="modalTitle">Send-to-Stronglifters.</h2>
- <p class="lead">Your custom email address.</p>
+ <h2 id="modalTitle"><%= t('.title') %></h2>
+ <p class="lead"><%= t('.lead') %></p>
<p><%= t('.blurb') %></p>
<div class="row">
@@ -13,7 +13,7 @@
</div>
<p class="text-center"><%= mail_to(current_user.import_address, User.human_attribute_name(:import_address)) %></p>
<a class="close-reveal-modal" aria-label="Close">×</a>
- <% if !current_user.default_time_zone? %>
+ <% if current_user.default_time_zone? %>
<div class="panel">
<p><i class="fa fa-warning"></i><%= link_to t('.warning'), edit_profile_path(current_user.profile) %></p>
</div>
config/locales/en.yml
@@ -92,6 +92,8 @@ en:
success: 'Our minions have been summoned to fetch your backup.'
import_address_modal:
blurb: This is your custom email address for sending CSV exports from the StrongLifts 5x5 mobile application.
+ lead: Your custom email address.
+ title: Send-to-Stronglifters.
warning: To ensure your workouts are imported correctly we suggest that you update your timezone.
upload:
success: "Our minions have been summoned to unpack your backup."