mirror of
https://github.com/we-promise/sure.git
synced 2026-05-29 15:34:58 +00:00
Replace numerous hardcoded English strings with I18n lookups (t / I18n.t) across controllers, views, helpers, and components, and convert model validation error messages to symbol keys. Added multiple locale files under config/locales for models and views. This centralizes user-facing notices/alerts, UI text, import/validation messages, and prepares the app for localization and easier translation maintenance.
16 lines
461 B
Plaintext
16 lines
461 B
Plaintext
<%# locals: (budget:) %>
|
|
|
|
<div class="flex flex-col gap-4 items-center justify-center h-full">
|
|
<%= icon "alert-triangle", size: "lg", color: "destructive" %>
|
|
<p class="text-secondary text-sm text-center"><%= t(".over_allocated_message") %></p>
|
|
|
|
<%= render DS::Link.new(
|
|
text: t(".fix_allocations"),
|
|
variant: "secondary",
|
|
size: "sm",
|
|
icon: "pencil",
|
|
icon_position: "right",
|
|
href: budget_budget_categories_path(budget)
|
|
) %>
|
|
</div>
|