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