Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

Update link text for new account to use translation (#1690)

Julien Roy1e0666eca231
diff --git a/app/views/accounts/index.html.erb b/app/views/accounts/index.html.erb
index af9b7e45fe..2dcd381182 100644
--- a/app/views/accounts/index.html.erb
+++ b/app/views/accounts/index.html.erb
@@ -9,7 +9,7 @@
frame: :_top
) %>
<%= render DS::Link.new(
- text: "New account",
+ text: t(".new_account"),
href: new_account_path(return_to: accounts_path),
variant: "primary",
icon: "plus",