1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-06 14:05:20 +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

@ -1,5 +1,5 @@
<h2 class="text-2xl font-semibold font-display">Cash</h2>
<h2 class="text-2xl font-semibold font-display"><%= t('.title')%></h2>
<h3 class="mt-1 mb-4 text-sm text-gray-500"><%#= number_to_currency Current.family.cash_balance %></h3>
<% Current.family.accounts.each do |account| %>
@ -8,7 +8,7 @@
<%= account.name %>
</div>
<div class="flex items-center text-sm">
<%= account.accountable %>
<%= account.accountable.model_name.human %>
</div>
<p class="text-sm text-right">
<span class="block mb-1"><%= humanized_money_with_symbol account.balance %></span>