fix: clarify account creation modal copy (#274)

## Summary
- update the create account modal copy to explicitly mention loans and
property accounts
- clarify the manual option so users understand it also covers manually
created real-estate accounts
- update the browser test assertion to match the revised dialog copy
This commit is contained in:
Víctor Falcón 2026-04-12 16:38:00 +01:00 committed by GitHub
parent 80274e03a8
commit dafc58f49f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 7 deletions

View File

@ -114,10 +114,10 @@
"Add More Accounts": "Agregar M\u00e1s Cuentas",
"Add More Accounts?": "\u00bfAgregar M\u00e1s Cuentas?",
"Add Transaction": "Agregar Transacci\u00f3n",
"Add a new bank account to track your transactions.": "Agrega una nueva cuenta bancaria para rastrear tus transacciones.",
"Add a bank account, loan, or property to your workspace.": "Agrega una cuenta bancaria, un prestamo o una propiedad a tu espacio de trabajo.",
"Add a new category to organize your transactions.": "Agrega una nueva categor\u00eda para organizar tus transacciones.",
"Add a new label to tag your transactions.": "Agrega una nueva etiqueta para etiquetar tus transacciones.",
"Add an account and import transactions manually.": "A\u00f1ade una cuenta e importa transacciones manualmente.",
"Create bank accounts, loans, or properties manually and import transactions.": "Crea cuentas bancarias, prestamos o propiedades manualmente e importa transacciones.",
"Add another account": "Agregar otra cuenta",
"Add another account to track more of your finances.": "Agrega otra cuenta para rastrear m\u00e1s de tus finanzas.",
"Add labels": "Agregar etiquetas",
@ -286,7 +286,7 @@
"Chinese Yuan": "Yuan chino",
"Choose how to handle each account from :bank. You can create new accounts, link to existing ones, or skip.": "Elige c\u00f3mo gestionar cada cuenta de :bank. Puedes crear nuevas cuentas, vincularlas a las existentes u omitirlas.",
"Choose how to report this transfer": "Elige como mostrar esta transferencia",
"Choose how you want to add your account.": "Elige c\u00f3mo quieres a\u00f1adir tu cuenta.",
"Create a bank account, loan, or property to track it manually.": "Crea una cuenta bancaria, un prestamo o una propiedad para seguirla manualmente.",
"Choose the account where transactions will be imported": "Elige la cuenta donde se importar\u00e1n las transacciones",
"Choose the color palette for your charts": "Elige la paleta de colores para tus gr\u00e1ficos",
"Choose the plan that works for you": "Elige el plan que funcione para ti",

View File

@ -240,9 +240,11 @@ export function CreateAccountDialog({
<DialogTitle>{__('Create Account')}</DialogTitle>
<DialogDescription>
{mode === 'choice'
? __('Choose how you want to add your account.')
? __(
'Add a bank account, loan, or property to your workspace.',
)
: __(
'Add a new bank account to track your transactions.',
'Create a bank account, loan, or property to track it manually.',
)}
</DialogDescription>
</DialogHeader>
@ -261,7 +263,7 @@ export function CreateAccountDialog({
</p>
<p className="text-xs text-balance text-muted-foreground">
{__(
'Add an account and import transactions manually.',
'Create bank accounts, loans, or properties manually and import transactions.',
)}
</p>
</div>

View File

@ -51,7 +51,7 @@ it('can open create account dialog', function () {
$page->assertSee('Bank accounts')
->click('Create Account')
->wait(0.5)
->assertSee('Add a new bank account to track your transactions')
->assertSee('Create a bank account, loan, or property to track it manually')
->assertNoJavascriptErrors();
});