The personal finance app for everyone
Fix accounts title and i18n variable name (#333)
Muhammed Kılıçb8198d17b713
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erbindex 80628e29..fd46221a 100644--- a/app/views/layouts/application.html.erb+++ b/app/views/layouts/application.html.erb@@ -56,8 +56,10 @@</nav><div class="flex flex-col mt-6"><div class="flex items-center justify-between">- <span class="text-xs"><%= t('.accounts') %></span>- <%= link_to new_account_path, class: 'block hover:bg-gray-100 p-2 text-sm font-semibold text-gray-900 flex items-center rounded', title: t('.new_accoount') do %>+ <%= link_to accounts_path, class: 'text-xs' do%>+ <%= t('.accounts') %>+ <% end %>+ <%= link_to new_account_path, class: 'block hover:bg-gray-100 p-2 text-sm font-semibold text-gray-900 flex items-center rounded', title: t('.new_account') do %><%= inline_svg_tag('icon-add.svg', class: 'text-gray-500 fill-current') %><% end %></div>diff --git a/config/locales/views/layout/en.yml b/config/locales/views/layout/en.ymlindex 85310a0f..780891a5 100644--- a/config/locales/views/layout/en.yml+++ b/config/locales/views/layout/en.yml@@ -5,7 +5,7 @@ en:accounts: Accountscash: Cashdashboard: Dashboard- new_accoount: New Account+ new_account: New Accountauth:or: orprivacy_policy: Privacy Policy