Files
sure/config/locales/views/shared/en.yml
Claude Ayitey 9563ac6334 Dashboard empty view (#707)
* Added i18n for the Dashboard page.

* Add a check for blank. Empty returned an error since @accounts was nil.

* Remove subtitle when accounts are empty..

* Increased the padding-right value for the buttons. The sapce occupied by the icon made the button elements unbalanced.

* Add refactor as suggested by Zach (https://github.com/maybe-finance/maybe/pull/707#discussion_r1588506443)

* Extract empty state into a partial.

* Render new partial if no accounts exist.

* Moved translation text to shared directory.

* Fix padding-right on New account button.

* Lint fix

* i18n tasks

* Get tests passing with :test queue adapter

---------

Co-authored-by: Zach Gollwitzer <zach.gollwitzer@gmail.com>
2024-05-03 08:11:31 -04:00

21 lines
690 B
YAML

---
en:
shared:
confirm_modal:
accept: Confirm
body_html: "<p>You will not be able to undo this decision</p>"
cancel: Cancel
title: Are you sure?
no_account_empty_state:
new_account: New account
no_account_subtitle: Since no accounts have been added, there's no data to display.
Add your first accounts to start viewing dashboard data.
no_account_title: No accounts yet
notification:
dismiss: Dismiss
upgrade_notification:
app_upgraded: The app has been upgraded to %{version}.
dismiss: Dismiss
new_version_available: A new version of Maybe is available for upgrade.
upgrade_now: Upgrade Now