Skip to content

Commit

Permalink
Merge pull request #290 from tomatoes-app/add-missing-translation
Browse files Browse the repository at this point in the history
Add missing translations
  • Loading branch information
potomak committed May 7, 2017
2 parents db2120b + 329a614 commit df9518f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/welcome/_projects_list.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><%= link_to "Today's projects", projects_path %></h3>
<h3 class="panel-title"><%= link_to t('welcome.today_s_projects'), projects_path %></h3>
</div>
<% if @projects.empty? %>
<div class="panel-body">
Expand Down
2 changes: 1 addition & 1 deletion app/views/welcome/_tomatoes_list.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><%= link_to "Today's tomatoes", tomatoes_path %></h3>
<h3 class="panel-title"><%= link_to t('welcome.today_s_tomatoes'), tomatoes_path %></h3>
</div>
<% if @tomatoes.empty? %>
<div class="panel-body">
Expand Down
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ en:
day: Today
week: This week
month: This month
today_s_tomatoes: Today's tomatoes
today_s_projects: Today's projects
timer:
ticking_sound: Ticking sound
start: Start
Expand Down
2 changes: 2 additions & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ es:
day: Hoy
week: Esta semana
month: Este mes
today_s_tomatoes: Tomates de Hoy
today_s_projects: Proyectos de Hoy
timer:
ticking_sound: Sonido tic tac
start: Iniciar
Expand Down

0 comments on commit df9518f

Please sign in to comment.