Skip to content

Commit

Permalink
add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Hicks committed Mar 16, 2023
1 parent b9f58d0 commit 4da0c1c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/funds/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p style="text-align:right;"><strong><%= link_to "Back", fund_url(current_tenant) %></strong></p>
<p><strong><%= link_to "Back", fund_url(current_tenant) %></strong></p>
<h1>
<%= t 'funds.edit.title' %>
<%= t 'funds.edit.title', fund: current_tenant.name %>
</h1>

<%= render 'funds/fund_form',
Expand Down
5 changes: 5 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,11 @@ en:
user_created: User created!
user_update_error: Error saving user details - %{error}
user_update_success: Successfully updated user details
funds:
edit:
title: Edit %{fund}
form:
save_changes: Save changes
lines:
new:
start: Get started
Expand Down
5 changes: 5 additions & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,11 @@ es:
user_created: "¡Usuario creado!"
user_update_error: Error al guardar los detalles del usuario - %{error}
user_update_success: Detalles de usuario actualizados exitosamente
funds:
edit:
title: Editar detalles del fondo
form:
save_changes: Guardar cambios
lines:
new:
start: Empezar
Expand Down

0 comments on commit 4da0c1c

Please sign in to comment.