1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-05 13:35:21 +02:00

Start I18n Internationalization setup (#276)

* start internationalization_setup

* add passwords views translations

* add account views translations

* fix translations

* temporary disable i18n used key
This commit is contained in:
Ricardo Siqueira de Oliveira Leite 2024-02-06 14:58:17 -03:00 committed by GitHub
parent 64c8774867
commit c8a659694d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 177 additions and 102 deletions

View file

@ -49,20 +49,20 @@
<li>
<%= link_to root_path, class: 'block hover:bg-gray-100 -ml-2 p-2 text-sm font-semibold text-gray-900 flex items-center rounded' do %>
<%= inline_svg_tag('icon-dashboard.svg', class: 'text-black stroke-current mr-2') %>
Dashboard
<%= t('.dashboard') %>
<% end %>
</li>
</ul>
</nav>
<div class="flex flex-col mt-6">
<div class="flex items-center justify-between">
<span class="text-xs">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: "New account" do %>
<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 %>
<%= inline_svg_tag('icon-add.svg', class: 'text-gray-500 fill-current') %>
<% end %>
</div>
<div>
<h2 class="text-sm font-semibold font-display">Cash</h2>
<h2 class="text-sm font-semibold font-display"><%= t('.cache') %></h2>
<% Current.family.accounts.each do |account| %>
<div class="flex items-center justify-between py-2">