Skip to content

Commit

Permalink
Adds all missing translations which are in use.
Browse files Browse the repository at this point in the history
  • Loading branch information
timparenti committed Apr 6, 2019
1 parent f484e7b commit 87c5c43
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/tasks/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<div>
<% if can?(:create, Task) %>
<div>
<%= link_to t('.new', :default => t("helpers.links.New Task")),
<%= link_to t('.new', :default => t("helpers.links.new_task")),
new_task_path, :class => 'btn btn-primary' %>
</div>
<br>
Expand Down
10 changes: 8 additions & 2 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,27 @@ en:
organization_status_type: 'Type'
participant: 'Created By'
helpers:
actions: 'Actions'
links:
destroy: 'Delete'
new_shift_participant: 'Clock In'
add: 'Add'
edit: 'Edit'
new: 'New'
update: 'Update'
show: 'Show'
destroy: 'Delete'
back: 'Back'
cancel: 'Cancel'
checkout: 'Check-Out'
checkin: 'Check-In'
add_to_cart: 'Add to Cart'
remove_from_cart: 'Remove from Cart'
complete: 'Complete'
confirm: 'Are you sure?'
new_item: 'New Store Item'
new_charge: 'New Charge'
new_faq: 'New FAQ'
new_task: 'New Task'
new_shift_participant: 'Clock In'
errors:
messages:
tool_already_checked_out: 'The Tool you selected is already checked out. Please return it before continuing.'
Expand Down

0 comments on commit 87c5c43

Please sign in to comment.