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

Clean up i18n translations (#676)

* Clean up i18n translations

* Normalize translations
This commit is contained in:
Zach Gollwitzer 2024-04-25 14:41:12 -04:00 committed by GitHub
parent be21d2b4fd
commit da5021b6b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 27 additions and 28 deletions

View file

@ -40,9 +40,9 @@
<% end %>
<%= link_to valuation_path(valuation.original),
data: { turbo_method: :delete,
turbo_confirm: { title: t("custom_turbo_confirm.history.title"),
body: t("custom_turbo_confirm.history.body_html"),
accept: t("custom_turbo_confirm.history.accept") } },
turbo_confirm: { title: t(".confirm_title"),
body: t(".confirm_body_html"),
accept: t(".confirm_accept") } },
class: "text-red-600 flex gap-1 items-center hover:bg-gray-50 rounded-md p-2" do %>
<%= lucide_icon("trash-2", class: "w-5 h-5 shrink-0") %>
<span class="text-sm">Delete entry</span>

View file

@ -26,9 +26,9 @@
class: "block w-full py-2 text-red-600 hover:text-red-800 flex items-center",
data: {
turbo_confirm: {
title: t("custom_turbo_confirm.account_destroy.title"),
body: t("custom_turbo_confirm.account_destroy.body_html"),
accept: t("custom_turbo_confirm.account_destroy.accept", name: @account.name)
title: t(".confirm_title"),
body: t(".confirm_body_html"),
accept: t(".confirm_accept", name: @account.name)
}
} do %>
<%= lucide_icon("trash-2", class: "w-5 h-5 mr-2") %> Delete account