mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Added translation for initial balance account name on creation
This commit is contained in:
parent
3a427dd0f4
commit
81a23b5b22
@ -217,13 +217,13 @@ trait AccountServiceTrait
|
|||||||
*/
|
*/
|
||||||
public function storeOpposingAccount(User $user, string $name): Account
|
public function storeOpposingAccount(User $user, string $name): Account
|
||||||
{
|
{
|
||||||
$name .= ' initial balance';
|
$opposingAccountName = trans('firefly.initial_balance_account', ['name' => $name]);
|
||||||
Log::debug('Going to create an opening balance opposing account.');
|
Log::debug('Going to create an opening balance opposing account.');
|
||||||
/** @var AccountFactory $factory */
|
/** @var AccountFactory $factory */
|
||||||
$factory = app(AccountFactory::class);
|
$factory = app(AccountFactory::class);
|
||||||
$factory->setUser($user);
|
$factory->setUser($user);
|
||||||
|
|
||||||
return $factory->findOrCreate($name, AccountType::INITIAL_BALANCE);
|
return $factory->findOrCreate($opposingAccountName, AccountType::INITIAL_BALANCE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -777,6 +777,7 @@ return [
|
|||||||
'interest_calc_daily' => 'Täglich',
|
'interest_calc_daily' => 'Täglich',
|
||||||
'interest_calc_monthly' => 'Monatlich',
|
'interest_calc_monthly' => 'Monatlich',
|
||||||
'interest_calc_yearly' => 'Jährlich',
|
'interest_calc_yearly' => 'Jährlich',
|
||||||
|
'initial_balance_account' => 'Startguthaben von :name',
|
||||||
|
|
||||||
// categories:
|
// categories:
|
||||||
'new_category' => 'Neue Kategorie',
|
'new_category' => 'Neue Kategorie',
|
||||||
|
@ -779,6 +779,7 @@ return [
|
|||||||
'interest_calc_daily' => 'Per day',
|
'interest_calc_daily' => 'Per day',
|
||||||
'interest_calc_monthly' => 'Per month',
|
'interest_calc_monthly' => 'Per month',
|
||||||
'interest_calc_yearly' => 'Per year',
|
'interest_calc_yearly' => 'Per year',
|
||||||
|
'initial_balance_account' => 'Initial balance account of :name',
|
||||||
|
|
||||||
// categories:
|
// categories:
|
||||||
'new_category' => 'New category',
|
'new_category' => 'New category',
|
||||||
|
@ -777,6 +777,7 @@ return [
|
|||||||
'interest_calc_daily' => 'Por dia',
|
'interest_calc_daily' => 'Por dia',
|
||||||
'interest_calc_monthly' => 'Por mes',
|
'interest_calc_monthly' => 'Por mes',
|
||||||
'interest_calc_yearly' => 'Por año',
|
'interest_calc_yearly' => 'Por año',
|
||||||
|
'initial_balance_account' => 'Balance inicial de :name',
|
||||||
|
|
||||||
// categories:
|
// categories:
|
||||||
'new_category' => 'Nueva categoría',
|
'new_category' => 'Nueva categoría',
|
||||||
|
@ -777,6 +777,7 @@ return [
|
|||||||
'interest_calc_daily' => 'Par jour',
|
'interest_calc_daily' => 'Par jour',
|
||||||
'interest_calc_monthly' => 'Par mois',
|
'interest_calc_monthly' => 'Par mois',
|
||||||
'interest_calc_yearly' => 'Par an',
|
'interest_calc_yearly' => 'Par an',
|
||||||
|
'initial_balance_account' => 'Solde initial de :name',
|
||||||
|
|
||||||
// categories:
|
// categories:
|
||||||
'new_category' => 'Nouvelle catégorie',
|
'new_category' => 'Nouvelle catégorie',
|
||||||
|
@ -777,6 +777,7 @@ return [
|
|||||||
'interest_calc_daily' => 'Per day',
|
'interest_calc_daily' => 'Per day',
|
||||||
'interest_calc_monthly' => 'Per month',
|
'interest_calc_monthly' => 'Per month',
|
||||||
'interest_calc_yearly' => 'Per year',
|
'interest_calc_yearly' => 'Per year',
|
||||||
|
'initial_balance_account' => 'Saldo awal :name',
|
||||||
|
|
||||||
// categories:
|
// categories:
|
||||||
'new_category' => 'Kategori baru',
|
'new_category' => 'Kategori baru',
|
||||||
|
@ -777,6 +777,7 @@ return [
|
|||||||
'interest_calc_daily' => 'Al giorno',
|
'interest_calc_daily' => 'Al giorno',
|
||||||
'interest_calc_monthly' => 'Al mese',
|
'interest_calc_monthly' => 'Al mese',
|
||||||
'interest_calc_yearly' => 'All\'anno',
|
'interest_calc_yearly' => 'All\'anno',
|
||||||
|
'initial_balance_account' => 'Saldo iniziale di :name',
|
||||||
|
|
||||||
// categories:
|
// categories:
|
||||||
'new_category' => 'Nuova categoria',
|
'new_category' => 'Nuova categoria',
|
||||||
|
@ -777,6 +777,7 @@ return [
|
|||||||
'interest_calc_daily' => 'Per dag',
|
'interest_calc_daily' => 'Per dag',
|
||||||
'interest_calc_monthly' => 'Per maand',
|
'interest_calc_monthly' => 'Per maand',
|
||||||
'interest_calc_yearly' => 'Per jaar',
|
'interest_calc_yearly' => 'Per jaar',
|
||||||
|
'initial_balance_account' => 'Startsaldo rekening van :name',
|
||||||
|
|
||||||
// categories:
|
// categories:
|
||||||
'new_category' => 'Nieuwe categorie',
|
'new_category' => 'Nieuwe categorie',
|
||||||
|
@ -777,6 +777,7 @@ return [
|
|||||||
'interest_calc_daily' => 'Per day',
|
'interest_calc_daily' => 'Per day',
|
||||||
'interest_calc_monthly' => 'Per month',
|
'interest_calc_monthly' => 'Per month',
|
||||||
'interest_calc_yearly' => 'Per year',
|
'interest_calc_yearly' => 'Per year',
|
||||||
|
'initial_balance_account' => 'Saldo początkowe z :name',
|
||||||
|
|
||||||
// categories:
|
// categories:
|
||||||
'new_category' => 'Nowa kategoria',
|
'new_category' => 'Nowa kategoria',
|
||||||
|
@ -777,6 +777,7 @@ return [
|
|||||||
'interest_calc_daily' => 'Per day',
|
'interest_calc_daily' => 'Per day',
|
||||||
'interest_calc_monthly' => 'Per month',
|
'interest_calc_monthly' => 'Per month',
|
||||||
'interest_calc_yearly' => 'Per year',
|
'interest_calc_yearly' => 'Per year',
|
||||||
|
'initial_balance_account' => 'Saldo inicial de :name',
|
||||||
|
|
||||||
// categories:
|
// categories:
|
||||||
'new_category' => 'Nova categoria',
|
'new_category' => 'Nova categoria',
|
||||||
|
@ -777,6 +777,7 @@ return [
|
|||||||
'interest_calc_daily' => 'Per day',
|
'interest_calc_daily' => 'Per day',
|
||||||
'interest_calc_monthly' => 'Per month',
|
'interest_calc_monthly' => 'Per month',
|
||||||
'interest_calc_yearly' => 'Per year',
|
'interest_calc_yearly' => 'Per year',
|
||||||
|
'initial_balance_account' => 'начальный баланс :name',
|
||||||
|
|
||||||
// categories:
|
// categories:
|
||||||
'new_category' => 'Новая категория',
|
'new_category' => 'Новая категория',
|
||||||
|
@ -780,6 +780,7 @@ işlemlerin kontrol edildiğini lütfen unutmayın.',
|
|||||||
'interest_calc_daily' => 'Per day',
|
'interest_calc_daily' => 'Per day',
|
||||||
'interest_calc_monthly' => 'Per month',
|
'interest_calc_monthly' => 'Per month',
|
||||||
'interest_calc_yearly' => 'Per year',
|
'interest_calc_yearly' => 'Per year',
|
||||||
|
'initial_balance_account' => 'Başlangıç bakiyesi :name',
|
||||||
|
|
||||||
// categories:
|
// categories:
|
||||||
'new_category' => 'Yeni Kategori',
|
'new_category' => 'Yeni Kategori',
|
||||||
|
Loading…
Reference in New Issue
Block a user