diff --git a/app/Api/V1/Controllers/Chart/AccountController.php b/app/Api/V1/Controllers/Chart/AccountController.php index 5d8aacc0ec..becc661d3e 100644 --- a/app/Api/V1/Controllers/Chart/AccountController.php +++ b/app/Api/V1/Controllers/Chart/AccountController.php @@ -105,17 +105,17 @@ class AccountController extends Controller private function renderAccountData(array $params, Account $account): void { Log::debug(sprintf('Now in %s(array, #%d)', __METHOD__, $account->id)); - $currency = $this->repository->getAccountCurrency($account); - $currentStart = clone $params['start']; - $range = Steam::finalAccountBalanceInRange($account, $params['start'], clone $params['end'], $this->convertToPrimary); + $currency = $this->repository->getAccountCurrency($account); + $currentStart = clone $params['start']; + $range = Steam::finalAccountBalanceInRange($account, $params['start'], clone $params['end'], $this->convertToPrimary); - $previous = array_values($range)[0]['balance']; - $pcPrevious = null; + $previous = array_values($range)[0]['balance']; + $pcPrevious = null; if (!$currency instanceof TransactionCurrency) { $currency = $this->default; } - $currentSet = [ + $currentSet = [ 'label' => $account->name, // the currency that belongs to the account. @@ -132,12 +132,12 @@ class AccountController extends Controller 'entries' => [], ]; if ($this->convertToPrimary) { - $currentSet['pc_entries'] = []; + $currentSet['pc_entries'] = []; $currentSet['primary_currency_id'] = (string)$this->primaryCurrency->id; $currentSet['primary_currency_code'] = $this->primaryCurrency->code; $currentSet['primary_currency_symbol'] = $this->primaryCurrency->symbol; $currentSet['primary_currency_decimal_places'] = $this->primaryCurrency->decimal_places; - $pcPrevious = array_values($range)[0]['pc_balance']; + $pcPrevious = array_values($range)[0]['pc_balance']; } @@ -150,7 +150,7 @@ class AccountController extends Controller // do the same for the primary currency balance, if relevant: - $pcBalance = null; + $pcBalance = null; if ($this->convertToPrimary) { $pcBalance = array_key_exists($format, $range) ? $range[$format]['pc_balance'] : $pcPrevious; $pcPrevious = $pcBalance; @@ -191,12 +191,12 @@ class AccountController extends Controller /** @var Account $account */ foreach ($accounts as $account) { Log::debug(sprintf('Rendering chart data for account %s (%d)', $account->name, $account->id)); - $currency = $this->repository->getAccountCurrency($account) ?? $this->primaryCurrency; - $currentStart = clone $start; - $range = Steam::finalAccountBalanceInRange($account, $start, clone $end, $this->convertToPrimary); - $previous = array_values($range)[0]['balance']; - $pcPrevious = null; - $currentSet = [ + $currency = $this->repository->getAccountCurrency($account) ?? $this->primaryCurrency; + $currentStart = clone $start; + $range = Steam::finalAccountBalanceInRange($account, $start, clone $end, $this->convertToPrimary); + $previous = array_values($range)[0]['balance']; + $pcPrevious = null; + $currentSet = [ 'label' => $account->name, 'currency_id' => (string)$currency->id, 'currency_code' => $currency->code, @@ -211,12 +211,12 @@ class AccountController extends Controller // add "pc_entries" if convertToPrimary is true: if ($this->convertToPrimary) { - $currentSet['pc_entries'] = []; + $currentSet['pc_entries'] = []; $currentSet['primary_currency_id'] = (string)$this->primaryCurrency->id; $currentSet['primary_currency_code'] = $this->primaryCurrency->code; $currentSet['primary_currency_symbol'] = $this->primaryCurrency->symbol; $currentSet['primary_currency_decimal_places'] = $this->primaryCurrency->decimal_places; - $pcPrevious = array_values($range)[0]['pc_balance']; + $pcPrevious = array_values($range)[0]['pc_balance']; } @@ -231,7 +231,7 @@ class AccountController extends Controller $currentSet['entries'][$label] = $balance; // do the same for the primary balance, if relevant: - $pcBalance = null; + $pcBalance = null; if ($this->convertToPrimary) { $pcBalance = array_key_exists($format, $range) ? $range[$format]['pc_balance'] : $pcPrevious; $pcPrevious = $pcBalance; @@ -241,7 +241,7 @@ class AccountController extends Controller $currentStart->addDay(); } - $chartData[] = $currentSet; + $chartData[] = $currentSet; } return response()->json($chartData); diff --git a/app/Api/V1/Controllers/Controller.php b/app/Api/V1/Controllers/Controller.php index 0bbdb3a248..ffef4503f4 100644 --- a/app/Api/V1/Controllers/Controller.php +++ b/app/Api/V1/Controllers/Controller.php @@ -62,9 +62,9 @@ abstract class Controller extends BaseController use ValidatesRequests; use ValidatesUserGroupTrait; - protected const string CONTENT_TYPE = 'application/vnd.api+json'; - protected const string JSON_CONTENT_TYPE = 'application/json'; - protected array $accepts = ['application/json', 'application/vnd.api+json']; + protected const string CONTENT_TYPE = 'application/vnd.api+json'; + protected const string JSON_CONTENT_TYPE = 'application/json'; + protected array $accepts = ['application/json', 'application/vnd.api+json']; /** @var array */ protected array $allowedSort; @@ -83,7 +83,7 @@ abstract class Controller extends BaseController function ($request, $next) { $this->parameters = $this->getParameters(); if (auth()->check()) { - $language = Steam::getLanguage(); + $language = Steam::getLanguage(); $this->convertToPrimary = Amount::convertToPrimary(); $this->primaryCurrency = Amount::getPrimaryCurrency(); app()->setLocale($language); diff --git a/app/Api/V1/Controllers/Insight/Expense/BillController.php b/app/Api/V1/Controllers/Insight/Expense/BillController.php index 9fd29558b0..938c4d5e31 100644 --- a/app/Api/V1/Controllers/Insight/Expense/BillController.php +++ b/app/Api/V1/Controllers/Insight/Expense/BillController.php @@ -65,13 +65,13 @@ class BillController extends Controller */ public function bill(GenericRequest $request): JsonResponse { - $accounts = $request->getAssetAccounts(); - $bills = $request->getBills(); - $start = $request->getStart(); - $end = $request->getEnd(); + $accounts = $request->getAssetAccounts(); + $bills = $request->getBills(); + $start = $request->getStart(); + $end = $request->getEnd(); $convertToPrimary = Amount::convertToPrimary(); - $primary = Amount::getPrimaryCurrency(); - $response = []; + $primary = Amount::getPrimaryCurrency(); + $response = []; // get all bills: if (0 === $bills->count()) { @@ -79,11 +79,11 @@ class BillController extends Controller } // collect all expenses in this period (regardless of type) by the given bills and accounts. - $collector = app(GroupCollectorInterface::class); + $collector = app(GroupCollectorInterface::class); $collector->setTypes([TransactionTypeEnum::WITHDRAWAL->value])->setRange($start, $end)->setSourceAccounts($accounts); $collector->setBills($bills); - $genericSet = $collector->getExtractedJournals(); + $genericSet = $collector->getExtractedJournals(); foreach ($genericSet as $journal) { $billId = (int) $journal['bill_id']; $currencyId = (int) $journal['currency_id']; @@ -129,19 +129,19 @@ class BillController extends Controller */ public function noBill(GenericRequest $request): JsonResponse { - $accounts = $request->getAssetAccounts(); - $start = $request->getStart(); - $end = $request->getEnd(); + $accounts = $request->getAssetAccounts(); + $start = $request->getStart(); + $end = $request->getEnd(); $convertToPrimary = Amount::convertToPrimary(); - $primary = Amount::getPrimaryCurrency(); - $response = []; + $primary = Amount::getPrimaryCurrency(); + $response = []; // collect all expenses in this period (regardless of type) by the given bills and accounts. - $collector = app(GroupCollectorInterface::class); + $collector = app(GroupCollectorInterface::class); $collector->setTypes([TransactionTypeEnum::WITHDRAWAL->value])->setRange($start, $end)->setSourceAccounts($accounts); $collector->withoutBill(); - $genericSet = $collector->getExtractedJournals(); + $genericSet = $collector->getExtractedJournals(); foreach ($genericSet as $journal) { $currencyId = (int) $journal['currency_id']; diff --git a/app/Api/V1/Controllers/Insight/Expense/PeriodController.php b/app/Api/V1/Controllers/Insight/Expense/PeriodController.php index d0f383e254..b50c3a0384 100644 --- a/app/Api/V1/Controllers/Insight/Expense/PeriodController.php +++ b/app/Api/V1/Controllers/Insight/Expense/PeriodController.php @@ -43,17 +43,17 @@ class PeriodController extends Controller */ public function total(GenericRequest $request): JsonResponse { - $accounts = $request->getAssetAccounts(); - $start = $request->getStart(); - $end = $request->getEnd(); - $response = []; + $accounts = $request->getAssetAccounts(); + $start = $request->getStart(); + $end = $request->getEnd(); + $response = []; $convertToPrimary = Amount::convertToPrimary(); - $primary = Amount::getPrimaryCurrency(); + $primary = Amount::getPrimaryCurrency(); // collect all expenses in this period (regardless of type) - $collector = app(GroupCollectorInterface::class); + $collector = app(GroupCollectorInterface::class); $collector->setTypes([TransactionTypeEnum::WITHDRAWAL->value])->setRange($start, $end)->setSourceAccounts($accounts); - $genericSet = $collector->getExtractedJournals(); + $genericSet = $collector->getExtractedJournals(); foreach ($genericSet as $journal) { // same code as many other sumExpense methods. I think this needs some kind of generic method. $amount = '0'; diff --git a/app/Api/V1/Controllers/Insight/Expense/TagController.php b/app/Api/V1/Controllers/Insight/Expense/TagController.php index c0fb8c8290..e48bb1df25 100644 --- a/app/Api/V1/Controllers/Insight/Expense/TagController.php +++ b/app/Api/V1/Controllers/Insight/Expense/TagController.php @@ -64,19 +64,19 @@ class TagController extends Controller */ public function noTag(GenericRequest $request): JsonResponse { - $accounts = $request->getAssetAccounts(); - $start = $request->getStart(); - $end = $request->getEnd(); - $response = []; + $accounts = $request->getAssetAccounts(); + $start = $request->getStart(); + $end = $request->getEnd(); + $response = []; $convertToPrimary = Amount::convertToPrimary(); - $primary = Amount::getPrimaryCurrency(); + $primary = Amount::getPrimaryCurrency(); // collect all expenses in this period (regardless of type) by the given bills and accounts. - $collector = app(GroupCollectorInterface::class); + $collector = app(GroupCollectorInterface::class); $collector->setTypes([TransactionTypeEnum::WITHDRAWAL->value])->setRange($start, $end)->setSourceAccounts($accounts); $collector->withoutTags(); - $genericSet = $collector->getExtractedJournals(); + $genericSet = $collector->getExtractedJournals(); foreach ($genericSet as $journal) { // same code as many other sumExpense methods. I think this needs some kind of generic method. diff --git a/app/Api/V1/Controllers/Insight/Income/PeriodController.php b/app/Api/V1/Controllers/Insight/Income/PeriodController.php index d24ccfe981..8f535c8bbf 100644 --- a/app/Api/V1/Controllers/Insight/Income/PeriodController.php +++ b/app/Api/V1/Controllers/Insight/Income/PeriodController.php @@ -42,17 +42,17 @@ class PeriodController extends Controller */ public function total(GenericRequest $request): JsonResponse { - $accounts = $request->getAssetAccounts(); - $start = $request->getStart(); - $end = $request->getEnd(); - $response = []; + $accounts = $request->getAssetAccounts(); + $start = $request->getStart(); + $end = $request->getEnd(); + $response = []; $convertToPrimary = Amount::convertToPrimary(); - $primary = Amount::getPrimaryCurrency(); + $primary = Amount::getPrimaryCurrency(); // collect all expenses in this period (regardless of type) - $collector = app(GroupCollectorInterface::class); + $collector = app(GroupCollectorInterface::class); $collector->setTypes([TransactionTypeEnum::DEPOSIT->value])->setRange($start, $end)->setDestinationAccounts($accounts); - $genericSet = $collector->getExtractedJournals(); + $genericSet = $collector->getExtractedJournals(); foreach ($genericSet as $journal) { // currency $currencyId = $journal['currency_id']; diff --git a/app/Api/V1/Controllers/Insight/Income/TagController.php b/app/Api/V1/Controllers/Insight/Income/TagController.php index 65690326b0..72c869711a 100644 --- a/app/Api/V1/Controllers/Insight/Income/TagController.php +++ b/app/Api/V1/Controllers/Insight/Income/TagController.php @@ -64,19 +64,19 @@ class TagController extends Controller */ public function noTag(GenericRequest $request): JsonResponse { - $accounts = $request->getAssetAccounts(); - $start = $request->getStart(); - $end = $request->getEnd(); - $response = []; + $accounts = $request->getAssetAccounts(); + $start = $request->getStart(); + $end = $request->getEnd(); + $response = []; $convertToPrimary = Amount::convertToPrimary(); - $primary = Amount::getPrimaryCurrency(); + $primary = Amount::getPrimaryCurrency(); // collect all expenses in this period (regardless of type) by the given bills and accounts. - $collector = app(GroupCollectorInterface::class); + $collector = app(GroupCollectorInterface::class); $collector->setTypes([TransactionTypeEnum::DEPOSIT->value])->setRange($start, $end)->setDestinationAccounts($accounts); $collector->withoutTags(); - $genericSet = $collector->getExtractedJournals(); + $genericSet = $collector->getExtractedJournals(); foreach ($genericSet as $journal) { // currency diff --git a/app/Api/V1/Controllers/Insight/Transfer/PeriodController.php b/app/Api/V1/Controllers/Insight/Transfer/PeriodController.php index 87e5738f3e..ef3230bac5 100644 --- a/app/Api/V1/Controllers/Insight/Transfer/PeriodController.php +++ b/app/Api/V1/Controllers/Insight/Transfer/PeriodController.php @@ -42,17 +42,17 @@ class PeriodController extends Controller */ public function total(GenericRequest $request): JsonResponse { - $accounts = $request->getAssetAccounts(); - $start = $request->getStart(); - $end = $request->getEnd(); - $response = []; + $accounts = $request->getAssetAccounts(); + $start = $request->getStart(); + $end = $request->getEnd(); + $response = []; $convertToPrimary = Amount::convertToPrimary(); - $primary = Amount::getPrimaryCurrency(); + $primary = Amount::getPrimaryCurrency(); // collect all expenses in this period (regardless of type) - $collector = app(GroupCollectorInterface::class); + $collector = app(GroupCollectorInterface::class); $collector->setTypes([TransactionTypeEnum::TRANSFER->value])->setRange($start, $end)->setDestinationAccounts($accounts); - $genericSet = $collector->getExtractedJournals(); + $genericSet = $collector->getExtractedJournals(); foreach ($genericSet as $journal) { // currency $currencyId = $journal['currency_id']; diff --git a/app/Api/V1/Controllers/Insight/Transfer/TagController.php b/app/Api/V1/Controllers/Insight/Transfer/TagController.php index 4af2c733ca..be3f15ef59 100644 --- a/app/Api/V1/Controllers/Insight/Transfer/TagController.php +++ b/app/Api/V1/Controllers/Insight/Transfer/TagController.php @@ -62,20 +62,20 @@ class TagController extends Controller */ public function noTag(GenericRequest $request): JsonResponse { - $accounts = $request->getAssetAccounts(); - $start = $request->getStart(); - $end = $request->getEnd(); - $response = []; + $accounts = $request->getAssetAccounts(); + $start = $request->getStart(); + $end = $request->getEnd(); + $response = []; $convertToPrimary = Amount::convertToPrimary(); - $primary = Amount::getPrimaryCurrency(); + $primary = Amount::getPrimaryCurrency(); // collect all expenses in this period (regardless of type) by the given bills and accounts. - $collector = app(GroupCollectorInterface::class); + $collector = app(GroupCollectorInterface::class); $collector->setTypes([TransactionTypeEnum::TRANSFER->value])->setRange($start, $end)->setDestinationAccounts($accounts); $collector->withoutTags(); - $genericSet = $collector->getExtractedJournals(); + $genericSet = $collector->getExtractedJournals(); foreach ($genericSet as $journal) { // currency diff --git a/app/Api/V1/Controllers/Summary/BasicController.php b/app/Api/V1/Controllers/Summary/BasicController.php index b64d5c7f3f..0872ffccf0 100644 --- a/app/Api/V1/Controllers/Summary/BasicController.php +++ b/app/Api/V1/Controllers/Summary/BasicController.php @@ -128,28 +128,28 @@ class BasicController extends Controller Log::debug('getBalanceInformation'); // some config settings $convertToPrimary = Amount::convertToPrimary(); - $primary = Amount::getPrimaryCurrency(); + $primary = Amount::getPrimaryCurrency(); // prep some arrays: - $sums = []; - $return = []; - $currencies = [ + $sums = []; + $return = []; + $currencies = [ $primary->id => $primary, ]; // collect income of user using the new group collector. /** @var GroupCollectorInterface $collector */ - $collector = app(GroupCollectorInterface::class); - $summarizer = new TransactionSummarizer(); - $set = $collector->setRange($start, $end)->setTypes([TransactionTypeEnum::DEPOSIT->value])->getExtractedJournals(); - $incomes = $summarizer->groupByCurrencyId($set, 'positive', false); + $collector = app(GroupCollectorInterface::class); + $summarizer = new TransactionSummarizer(); + $set = $collector->setRange($start, $end)->setTypes([TransactionTypeEnum::DEPOSIT->value])->getExtractedJournals(); + $incomes = $summarizer->groupByCurrencyId($set, 'positive', false); // collect expenses of user. // collect expenses of user using the new group collector. /** @var GroupCollectorInterface $collector */ - $collector = app(GroupCollectorInterface::class); - $set = $collector->setRange($start, $end)->setPage($this->parameters->get('page'))->setTypes([TransactionTypeEnum::WITHDRAWAL->value])->getExtractedJournals(); - $expenses = $summarizer->groupByCurrencyId($set, 'negative', false); + $collector = app(GroupCollectorInterface::class); + $set = $collector->setRange($start, $end)->setPage($this->parameters->get('page'))->setTypes([TransactionTypeEnum::WITHDRAWAL->value])->getExtractedJournals(); + $expenses = $summarizer->groupByCurrencyId($set, 'negative', false); // if convert to primary, do so right now. if ($convertToPrimary) { @@ -233,7 +233,7 @@ class BasicController extends Controller } } // format amounts: - $keys = array_keys($sums); + $keys = array_keys($sums); foreach ($keys as $currencyId) { $currency = $currencies[$currencyId] ?? $this->currencyRepos->find($currencyId); if (null === $currency) { diff --git a/app/Api/V1/Requests/Models/UserGroup/UpdateRequest.php b/app/Api/V1/Requests/Models/UserGroup/UpdateRequest.php index 3ed9995765..20c75a9342 100644 --- a/app/Api/V1/Requests/Models/UserGroup/UpdateRequest.php +++ b/app/Api/V1/Requests/Models/UserGroup/UpdateRequest.php @@ -39,7 +39,7 @@ class UpdateRequest extends FormRequest public function getData(): array { $fields = [ - 'title' => ['title', 'convertString'], + 'title' => ['title', 'convertString'], 'primary_currency_id' => ['primary_currency_id', 'convertInteger'], 'primary_currency_code' => ['primary_currency_code', 'convertString'], ]; @@ -53,7 +53,7 @@ class UpdateRequest extends FormRequest public function rules(): array { return [ - 'title' => ['required', 'min:1', 'max:255'], + 'title' => ['required', 'min:1', 'max:255'], 'primary_currency_id' => 'exists:transaction_currencies,id', 'primary_currency_code' => 'exists:transaction_currencies,code', ]; diff --git a/app/Console/Commands/Correction/CorrectsAmounts.php b/app/Console/Commands/Correction/CorrectsAmounts.php index 9bcf3d478a..328196817f 100644 --- a/app/Console/Commands/Correction/CorrectsAmounts.php +++ b/app/Console/Commands/Correction/CorrectsAmounts.php @@ -86,7 +86,7 @@ class CorrectsAmounts extends Command /** @var TransactionJournal $journal */ foreach ($journals as $journal) { $repository->setUser($journal->user); - $primary = Amount::getPrimaryCurrencyByUserGroup($journal->userGroup); + $primary = Amount::getPrimaryCurrencyByUserGroup($journal->userGroup); /** @var null|Transaction $source */ $source = $journal->transactions()->where('amount', '<', 0)->first(); diff --git a/app/Console/Commands/System/OutputsInstructions.php b/app/Console/Commands/System/OutputsInstructions.php index 18ac9abd18..b144fcdf33 100644 --- a/app/Console/Commands/System/OutputsInstructions.php +++ b/app/Console/Commands/System/OutputsInstructions.php @@ -238,14 +238,14 @@ class OutputsInstructions extends Command private function someQuote(): void { - $lines = [ + $lines = [ 'Forgive yourself for not being at peace.', 'Doesn\'t look like anything to me.', 'Be proud of what you make.', 'Be there or forever wonder.', - 'A year from now you will wish you had started today.' + 'A year from now you will wish you had started today.', ]; - $random = random_int(0, count($lines)-1); + $random = random_int(0, count($lines) - 1); $this->line(sprintf(' "%s"', $lines[$random])); } } diff --git a/app/Helpers/Collector/GroupCollector.php b/app/Helpers/Collector/GroupCollector.php index 270318ba3b..0e05e5d7c0 100644 --- a/app/Helpers/Collector/GroupCollector.php +++ b/app/Helpers/Collector/GroupCollector.php @@ -731,13 +731,13 @@ class GroupCollector implements GroupCollectorInterface foreach ($groups as $groudId => $group) { /** @var array $transaction */ foreach ($group['transactions'] as $transaction) { - $currencyId = (int) $transaction['currency_id']; + $currencyId = (int) $transaction['currency_id']; if (null === $transaction['amount']) { throw new FireflyException(sprintf('Amount is NULL for a transaction in group #%d, please investigate.', $groudId)); } $pcAmount = (string) ('' === $transaction['pc_amount'] ? '0' : $transaction['pc_amount']); $pcForeignAmount = (string) ('' === $transaction['pc_foreign_amount'] ? '0' : $transaction['pc_foreign_amount']); - $foreignAmount = (string) ('' === $transaction['foreign_amount'] ? '0' : $transaction['foreign_amount']); + $foreignAmount = (string) ('' === $transaction['foreign_amount'] ? '0' : $transaction['foreign_amount']); // set default: if (!array_key_exists($currencyId, $groups[$groudId]['sums'])) { @@ -746,13 +746,13 @@ class GroupCollector implements GroupCollectorInterface $groups[$groudId]['sums'][$currencyId]['currency_symbol'] = $transaction['currency_symbol']; $groups[$groudId]['sums'][$currencyId]['currency_decimal_places'] = $transaction['currency_decimal_places']; $groups[$groudId]['sums'][$currencyId]['amount'] = '0'; - $groups[$groudId]['sums'][$currencyId]['pc_amount'] = '0'; + $groups[$groudId]['sums'][$currencyId]['pc_amount'] = '0'; } - $groups[$groudId]['sums'][$currencyId]['amount'] = bcadd((string) $groups[$groudId]['sums'][$currencyId]['amount'], $transaction['amount']); + $groups[$groudId]['sums'][$currencyId]['amount'] = bcadd((string) $groups[$groudId]['sums'][$currencyId]['amount'], $transaction['amount']); $groups[$groudId]['sums'][$currencyId]['pc_amount'] = bcadd((string) $groups[$groudId]['sums'][$currencyId]['pc_amount'], $pcAmount); if (null !== $transaction['foreign_amount'] && null !== $transaction['foreign_currency_id']) { - $currencyId = (int) $transaction['foreign_currency_id']; + $currencyId = (int) $transaction['foreign_currency_id']; // set default: if (!array_key_exists($currencyId, $groups[$groudId]['sums'])) { @@ -761,9 +761,9 @@ class GroupCollector implements GroupCollectorInterface $groups[$groudId]['sums'][$currencyId]['currency_symbol'] = $transaction['foreign_currency_symbol']; $groups[$groudId]['sums'][$currencyId]['currency_decimal_places'] = $transaction['foreign_currency_decimal_places']; $groups[$groudId]['sums'][$currencyId]['amount'] = '0'; - $groups[$groudId]['sums'][$currencyId]['pc_amount'] = '0'; + $groups[$groudId]['sums'][$currencyId]['pc_amount'] = '0'; } - $groups[$groudId]['sums'][$currencyId]['amount'] = bcadd((string) $groups[$groudId]['sums'][$currencyId]['amount'], $foreignAmount); + $groups[$groudId]['sums'][$currencyId]['amount'] = bcadd((string) $groups[$groudId]['sums'][$currencyId]['amount'], $foreignAmount); $groups[$groudId]['sums'][$currencyId]['pc_amount'] = bcadd($groups[$groudId]['sums'][$currencyId]['amount'], $pcForeignAmount); } } diff --git a/app/Helpers/Report/NetWorth.php b/app/Helpers/Report/NetWorth.php index 382b0e1b56..4e317d65eb 100644 --- a/app/Helpers/Report/NetWorth.php +++ b/app/Helpers/Report/NetWorth.php @@ -65,8 +65,8 @@ class NetWorth implements NetWorthInterface { // start in the past, end in the future? use $date $convertToPrimary = Amount::convertToPrimary(); - $ids = implode(',', $accounts->pluck('id')->toArray()); - $cache = new CacheProperties(); + $ids = implode(',', $accounts->pluck('id')->toArray()); + $cache = new CacheProperties(); $cache->addProperty($date); $cache->addProperty($convertToPrimary); $cache->addProperty('net-worth-by-accounts'); @@ -75,28 +75,28 @@ class NetWorth implements NetWorthInterface return $cache->get(); } Log::debug(sprintf('Now in byAccounts("%s", "%s")', $ids, $date->format('Y-m-d H:i:s'))); - $primary = Amount::getPrimaryCurrency(); - $netWorth = []; + $primary = Amount::getPrimaryCurrency(); + $netWorth = []; Log::debug(sprintf('NetWorth: finalAccountsBalance("%s")', $date->format('Y-m-d H:i:s'))); - $balances = Steam::finalAccountsBalance($accounts, $date); + $balances = Steam::finalAccountsBalance($accounts, $date); /** @var Account $account */ foreach ($accounts as $account) { // Log::debug(sprintf('Now at account #%d ("%s")', $account->id, $account->name)); $currency = $this->accountRepository->getAccountCurrency($account) ?? $primary; - $usePrimary = $convertToPrimary && $primary->id !== $currency->id; + $usePrimary = $convertToPrimary && $primary->id !== $currency->id; $currency = $usePrimary ? $primary : $currency; $currencyCode = $currency->code; $balance = '0'; - $primaryBalance = '0'; + $primaryBalance = '0'; if (array_key_exists($account->id, $balances)) { - $balance = $balances[$account->id]['balance'] ?? '0'; + $balance = $balances[$account->id]['balance'] ?? '0'; $primaryBalance = $balances[$account->id]['pc_balance'] ?? '0'; } // Log::debug(sprintf('Balance is %s, primary balance is %s', $balance, $primaryBalance)); // always subtract virtual balance again. $balance = '' !== (string) $account->virtual_balance ? bcsub($balance, (string) $account->virtual_balance) : $balance; - $primaryBalance = '' !== (string) $account->native_virtual_balance ? bcsub($primaryBalance, (string) $account->native_virtual_balance) : $primaryBalance; + $primaryBalance = '' !== (string) $account->native_virtual_balance ? bcsub($primaryBalance, (string) $account->native_virtual_balance) : $primaryBalance; $amountToUse = $usePrimary ? $primaryBalance : $balance; // Log::debug(sprintf('Will use %s %s', $currencyCode, $amountToUse)); diff --git a/app/Http/Controllers/Budget/IndexController.php b/app/Http/Controllers/Budget/IndexController.php index afb957312a..2d87ccd176 100644 --- a/app/Http/Controllers/Budget/IndexController.php +++ b/app/Http/Controllers/Budget/IndexController.php @@ -172,22 +172,22 @@ class IndexController extends Controller // for each, complement with spent amount: /** @var AvailableBudget $entry */ foreach ($ab as $entry) { - $array = $entry->toArray(); - $array['start_date'] = $entry->start_date; - $array['end_date'] = $entry->end_date; + $array = $entry->toArray(); + $array['start_date'] = $entry->start_date; + $array['end_date'] = $entry->end_date; // spent in period: - $spentArr = $this->opsRepository->sumExpenses($entry->start_date, $entry->end_date, null, null, $entry->transactionCurrency, false); - $array['spent'] = $spentArr[$entry->transaction_currency_id]['sum'] ?? '0'; + $spentArr = $this->opsRepository->sumExpenses($entry->start_date, $entry->end_date, null, null, $entry->transactionCurrency, false); + $array['spent'] = $spentArr[$entry->transaction_currency_id]['sum'] ?? '0'; $array['pc_spent'] = $this->convertToPrimary && $entry->transaction_currency_id !== $this->primaryCurrency->id ? $converter->convert($entry->transactionCurrency, $this->primaryCurrency, $entry->start_date, $array['spent']) : null; // budgeted in period: - $budgeted = $this->blRepository->budgeted($entry->start_date, $entry->end_date, $entry->transactionCurrency); - $array['budgeted'] = $budgeted; + $budgeted = $this->blRepository->budgeted($entry->start_date, $entry->end_date, $entry->transactionCurrency); + $array['budgeted'] = $budgeted; $array['pc_budgeted'] = $this->convertToPrimary && $entry->transaction_currency_id !== $this->primaryCurrency->id ? $converter->convert($entry->transactionCurrency, $this->primaryCurrency, $entry->start_date, $budgeted) : null; // this time, because of complex sums, use the currency converter. - $availableBudgets[] = $array; + $availableBudgets[] = $array; unset($spentArr); } diff --git a/app/Http/Controllers/Chart/BudgetController.php b/app/Http/Controllers/Chart/BudgetController.php index ae9124068a..49433fb8eb 100644 --- a/app/Http/Controllers/Chart/BudgetController.php +++ b/app/Http/Controllers/Chart/BudgetController.php @@ -450,10 +450,10 @@ class BudgetController extends Controller */ public function frontpage(): JsonResponse { - $start = session('start', today(config('app.timezone'))->startOfMonth()); - $end = session('end', today(config('app.timezone'))->endOfMonth()); + $start = session('start', today(config('app.timezone'))->startOfMonth()); + $end = session('end', today(config('app.timezone'))->endOfMonth()); // chart properties for cache: - $cache = new CacheProperties(); + $cache = new CacheProperties(); $cache->addProperty($start); $cache->addProperty($end); $cache->addProperty($this->convertToPrimary); @@ -462,15 +462,15 @@ class BudgetController extends Controller return response()->json($cache->get()); } Log::debug('Regenerate frontpage chart from scratch.'); - $chartGenerator = app(FrontpageChartGenerator::class); + $chartGenerator = app(FrontpageChartGenerator::class); $chartGenerator->setUser(auth()->user()); $chartGenerator->setStart($start); $chartGenerator->setEnd($end); $chartGenerator->convertToPrimary = $this->convertToPrimary; - $chartGenerator->default = $this->primaryCurrency; + $chartGenerator->default = $this->primaryCurrency; - $chartData = $chartGenerator->generate(); - $data = $this->generator->multiSet($chartData); + $chartData = $chartGenerator->generate(); + $data = $this->generator->multiSet($chartData); $cache->store($data); return response()->json($data); diff --git a/app/Http/Controllers/Chart/CategoryController.php b/app/Http/Controllers/Chart/CategoryController.php index c6324ca042..8c86235325 100644 --- a/app/Http/Controllers/Chart/CategoryController.php +++ b/app/Http/Controllers/Chart/CategoryController.php @@ -70,7 +70,7 @@ class CategoryController extends Controller public function all(Category $category): JsonResponse { // cache results: - $cache = new CacheProperties(); + $cache = new CacheProperties(); $cache->addProperty('chart.category.all'); $cache->addProperty($category->id); $cache->addProperty($this->convertToPrimary); @@ -79,18 +79,18 @@ class CategoryController extends Controller } /** @var CategoryRepositoryInterface $repository */ - $repository = app(CategoryRepositoryInterface::class); - $start = $repository->firstUseDate($category) ?? $this->getDate(); - $range = app('navigation')->getViewRange(false); - $start = app('navigation')->startOfPeriod($start, $range); - $end = $this->getDate(); + $repository = app(CategoryRepositoryInterface::class); + $start = $repository->firstUseDate($category) ?? $this->getDate(); + $range = app('navigation')->getViewRange(false); + $start = app('navigation')->startOfPeriod($start, $range); + $end = $this->getDate(); /** @var WholePeriodChartGenerator $chartGenerator */ - $chartGenerator = app(WholePeriodChartGenerator::class); + $chartGenerator = app(WholePeriodChartGenerator::class); $chartGenerator->convertToPrimary = $this->convertToPrimary; - $chartData = $chartGenerator->generate($category, $start, $end); - $data = $this->generator->multiSet($chartData); + $chartData = $chartGenerator->generate($category, $start, $end); + $data = $this->generator->multiSet($chartData); $cache->store($data); return response()->json($data); diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php index b3175e9e8d..01b05dacb2 100644 --- a/app/Http/Controllers/Controller.php +++ b/app/Http/Controllers/Controller.php @@ -60,7 +60,7 @@ abstract class Controller extends BaseController protected ?TransactionCurrency $primaryCurrency; protected string $monthAndDayFormat; protected string $monthFormat; - protected string $redirectUrl = '/'; + protected string $redirectUrl = '/'; /** * Controller constructor. @@ -128,13 +128,13 @@ abstract class Controller extends BaseController $this->primaryCurrency = null; // get shown-intro-preference: if (auth()->check()) { - $this->primaryCurrency = Amount::getPrimaryCurrency(); - $language = Steam::getLanguage(); - $locale = Steam::getLocale(); - $darkMode = app('preferences')->get('darkMode', 'browser')->data; + $this->primaryCurrency = Amount::getPrimaryCurrency(); + $language = Steam::getLanguage(); + $locale = Steam::getLocale(); + $darkMode = app('preferences')->get('darkMode', 'browser')->data; $this->convertToPrimary = Amount::convertToPrimary(); - $page = $this->getPageName(); - $shownDemo = $this->hasSeenDemo(); + $page = $this->getPageName(); + $shownDemo = $this->hasSeenDemo(); View::share('language', $language); View::share('locale', $locale); View::share('convertToPrimary', $this->convertToPrimary); diff --git a/app/Http/Controllers/DebugController.php b/app/Http/Controllers/DebugController.php index a5c427b6a4..54d1038f31 100644 --- a/app/Http/Controllers/DebugController.php +++ b/app/Http/Controllers/DebugController.php @@ -281,16 +281,16 @@ class DebugController extends Controller setlocale(LC_ALL, (string) $original); return [ - 'user_id' => auth()->user()->id, - 'user_count' => User::count(), - 'user_flags' => $userFlags, - 'user_agent' => $userAgent, + 'user_id' => auth()->user()->id, + 'user_count' => User::count(), + 'user_flags' => $userFlags, + 'user_agent' => $userAgent, 'primary' => Amount::getPrimaryCurrency(), 'convert_to_primary' => Amount::convertToPrimary(), - 'locale_attempts' => $localeAttempts, - 'locale' => Steam::getLocale(), - 'language' => Steam::getLanguage(), - 'view_range' => Preferences::get('viewRange', '1M')->data, + 'locale_attempts' => $localeAttempts, + 'locale' => Steam::getLocale(), + 'language' => Steam::getLanguage(), + 'view_range' => Preferences::get('viewRange', '1M')->data, ]; } diff --git a/app/Http/Controllers/Json/FrontpageController.php b/app/Http/Controllers/Json/FrontpageController.php index f67ac10359..f66864866b 100644 --- a/app/Http/Controllers/Json/FrontpageController.php +++ b/app/Http/Controllers/Json/FrontpageController.php @@ -28,7 +28,6 @@ use FireflyIII\Exceptions\FireflyException; use FireflyIII\Http\Controllers\Controller; use FireflyIII\Models\PiggyBank; use FireflyIII\Repositories\PiggyBank\PiggyBankRepositoryInterface; -use FireflyIII\Support\Facades\Amount; use Illuminate\Http\JsonResponse; /** @@ -43,13 +42,13 @@ class FrontpageController extends Controller */ public function piggyBanks(PiggyBankRepositoryInterface $repository): JsonResponse { - $set = $repository->getPiggyBanks(); - $info = []; + $set = $repository->getPiggyBanks(); + $info = []; /** @var PiggyBank $piggyBank */ foreach ($set as $piggyBank) { - $amount = $repository->getCurrentAmount($piggyBank); + $amount = $repository->getCurrentAmount($piggyBank); $pcAmount = $repository->getCurrentPrimaryCurrencyAmount($piggyBank); if (1 === bccomp($amount, '0')) { // percentage! @@ -59,16 +58,16 @@ class FrontpageController extends Controller } $entry = [ - 'id' => $piggyBank->id, - 'name' => $piggyBank->name, - 'amount' => $amount, - 'pc_amount' => $pcAmount, - 'target' => $piggyBank->target_amount, - 'pc_target' => $piggyBank->native_target_amount, - 'percentage' => $pct, + 'id' => $piggyBank->id, + 'name' => $piggyBank->name, + 'amount' => $amount, + 'pc_amount' => $pcAmount, + 'target' => $piggyBank->target_amount, + 'pc_target' => $piggyBank->native_target_amount, + 'percentage' => $pct, // currency: - 'currency_symbol' => $piggyBank->transactionCurrency->symbol, - 'currency_decimal_places' => $piggyBank->transactionCurrency->decimal_places, + 'currency_symbol' => $piggyBank->transactionCurrency->symbol, + 'currency_decimal_places' => $piggyBank->transactionCurrency->decimal_places, 'primary_currency_symbol' => $this->primaryCurrency->symbol, 'primary_currency_decimal_places' => $this->primaryCurrency->decimal_places, @@ -84,12 +83,12 @@ class FrontpageController extends Controller static fn (array $a, array $b) => $a['percentage'] <=> $b['percentage'] ); - $html = ''; + $html = ''; if (0 !== count($info)) { try { $convertToPrimary = $this->convertToPrimary; - $primary = $this->primaryCurrency; - $html = view('json.piggy-banks', compact('info', 'convertToPrimary', 'primary'))->render(); + $primary = $this->primaryCurrency; + $html = view('json.piggy-banks', compact('info', 'convertToPrimary', 'primary'))->render(); } catch (Throwable $e) { app('log')->error(sprintf('Cannot render json.piggy-banks: %s', $e->getMessage())); app('log')->error($e->getTraceAsString()); diff --git a/app/Http/Controllers/PreferencesController.php b/app/Http/Controllers/PreferencesController.php index ab0cd9717a..f69cb2c9fb 100644 --- a/app/Http/Controllers/PreferencesController.php +++ b/app/Http/Controllers/PreferencesController.php @@ -112,7 +112,7 @@ class PreferencesController extends Controller $darkMode = Preferences::get('darkMode', 'browser')->data; $customFiscalYear = Preferences::get('customFiscalYear', 0)->data; $fiscalYearStartStr = Preferences::get('fiscalYearStart', '01-01')->data; - $convertToPrimary = $this->convertToPrimary; + $convertToPrimary = $this->convertToPrimary; if (is_array($fiscalYearStartStr)) { $fiscalYearStartStr = '01-01'; } @@ -266,7 +266,7 @@ class PreferencesController extends Controller } // convert primary - $convertToPrimary = 1 === (int) $request->get('convertToPrimary'); + $convertToPrimary = 1 === (int) $request->get('convertToPrimary'); if ($convertToPrimary && !$this->convertToPrimary) { // set to true! Log::debug('User sets convertToPrimary to true.'); diff --git a/app/Http/Controllers/TransactionCurrency/IndexController.php b/app/Http/Controllers/TransactionCurrency/IndexController.php index e6fe7edde4..d63ffe5897 100644 --- a/app/Http/Controllers/TransactionCurrency/IndexController.php +++ b/app/Http/Controllers/TransactionCurrency/IndexController.php @@ -74,7 +74,7 @@ class IndexController extends Controller // order so default and enabled are on top: $collection = $collection->sortBy( static function (TransactionCurrency $currency) { - $primary = true === $currency->userGroupNative ? 0 : 1; + $primary = true === $currency->userGroupNative ? 0 : 1; $enabled = true === $currency->userGroupEnabled ? 0 : 1; return sprintf('%s-%s-%s', $primary, $enabled, $currency->code); diff --git a/app/Repositories/Bill/BillRepository.php b/app/Repositories/Bill/BillRepository.php index 62da96a65b..99c484f4a8 100644 --- a/app/Repositories/Bill/BillRepository.php +++ b/app/Repositories/Bill/BillRepository.php @@ -259,21 +259,21 @@ class BillRepository implements BillRepositoryInterface, UserGroupInterface /** @var TransactionJournal $journal */ foreach ($journals as $journal) { /** @var Transaction $transaction */ - $transaction = $journal->transactions()->where('amount', '<', 0)->first(); - $currencyId = (int) $journal->transaction_currency_id; - $currency = $journal->transactionCurrency; + $transaction = $journal->transactions()->where('amount', '<', 0)->first(); + $currencyId = (int) $journal->transaction_currency_id; + $currency = $journal->transactionCurrency; $result[$currencyId] ??= [ 'sum' => '0', - 'pc_sum' => '0', + 'pc_sum' => '0', 'count' => 0, 'avg' => '0', - 'pc_avg' => '0', + 'pc_avg' => '0', 'currency_id' => $currency->id, 'currency_code' => $currency->code, 'currency_symbol' => $currency->symbol, 'currency_decimal_places' => $currency->decimal_places, ]; - $result[$currencyId]['sum'] = bcadd($result[$currencyId]['sum'], (string) $transaction->amount); + $result[$currencyId]['sum'] = bcadd($result[$currencyId]['sum'], (string) $transaction->amount); $result[$currencyId]['pc_sum'] = bcadd($result[$currencyId]['pc_sum'], $transaction->native_amount ?? '0'); if ($journal->foreign_currency_id === Amount::getPrimaryCurrency()->id) { $result[$currencyId]['pc_sum'] = bcadd($result[$currencyId]['pc_sum'], (string) $transaction->amount); @@ -287,7 +287,7 @@ class BillRepository implements BillRepositoryInterface, UserGroupInterface * @var array $arr */ foreach ($result as $currencyId => $arr) { - $result[$currencyId]['avg'] = bcdiv((string) $arr['sum'], (string) $arr['count']); + $result[$currencyId]['avg'] = bcdiv((string) $arr['sum'], (string) $arr['count']); $result[$currencyId]['pc_avg'] = bcdiv((string) $arr['pc_sum'], (string) $arr['count']); } @@ -393,15 +393,15 @@ class BillRepository implements BillRepositoryInterface, UserGroupInterface /** @var TransactionJournal $journal */ foreach ($journals as $journal) { /** @var null|Transaction $transaction */ - $transaction = $journal->transactions()->where('amount', '<', 0)->first(); + $transaction = $journal->transactions()->where('amount', '<', 0)->first(); if (null === $transaction) { continue; } - $currencyId = (int) $journal->transaction_currency_id; - $currency = $journal->transactionCurrency; + $currencyId = (int) $journal->transaction_currency_id; + $currency = $journal->transactionCurrency; $result[$currencyId] ??= [ 'sum' => '0', - 'pc_sum' => '0', + 'pc_sum' => '0', 'count' => 0, 'avg' => '0', 'currency_id' => $currency->id, @@ -409,7 +409,7 @@ class BillRepository implements BillRepositoryInterface, UserGroupInterface 'currency_symbol' => $currency->symbol, 'currency_decimal_places' => $currency->decimal_places, ]; - $result[$currencyId]['sum'] = bcadd($result[$currencyId]['sum'], (string) $transaction->amount); + $result[$currencyId]['sum'] = bcadd($result[$currencyId]['sum'], (string) $transaction->amount); $result[$currencyId]['pc_sum'] = bcadd($result[$currencyId]['pc_sum'], $transaction->native_amount ?? '0'); if ($journal->foreign_currency_id === Amount::getPrimaryCurrency()->id) { $result[$currencyId]['pc_sum'] = bcadd($result[$currencyId]['pc_sum'], (string) $transaction->amount); @@ -423,7 +423,7 @@ class BillRepository implements BillRepositoryInterface, UserGroupInterface * @var array $arr */ foreach ($result as $currencyId => $arr) { - $result[$currencyId]['avg'] = bcdiv((string) $arr['sum'], (string) $arr['count']); + $result[$currencyId]['avg'] = bcdiv((string) $arr['sum'], (string) $arr['count']); $result[$currencyId]['pc_avg'] = bcdiv((string) $arr['pc_sum'], (string) $arr['count']); } @@ -532,10 +532,10 @@ class BillRepository implements BillRepositoryInterface, UserGroupInterface public function sumPaidInRange(Carbon $start, Carbon $end): array { Log::debug(sprintf('sumPaidInRange from %s to %s', $start->toW3cString(), $end->toW3cString())); - $bills = $this->getActiveBills(); - $return = []; + $bills = $this->getActiveBills(); + $return = []; $convertToPrimary = Amount::convertToPrimary($this->user); - $primary = app('amount')->getPrimaryCurrency(); + $primary = app('amount')->getPrimaryCurrency(); /** @var Bill $bill */ foreach ($bills as $bill) { @@ -575,7 +575,7 @@ class BillRepository implements BillRepositoryInterface, UserGroupInterface // Log::debug(sprintf('Total sum is now %s', $return[$currency->id]['sum'])); } // remove empty sets - $final = []; + $final = []; foreach ($return as $entry) { if (0 === bccomp($entry['sum'], '0')) { continue; @@ -598,10 +598,10 @@ class BillRepository implements BillRepositoryInterface, UserGroupInterface public function sumUnpaidInRange(Carbon $start, Carbon $end): array { app('log')->debug(sprintf('Now in sumUnpaidInRange("%s", "%s")', $start->format('Y-m-d'), $end->format('Y-m-d'))); - $bills = $this->getActiveBills(); - $return = []; + $bills = $this->getActiveBills(); + $return = []; $convertToPrimary = Amount::convertToPrimary($this->user); - $primary = app('amount')->getPrimaryCurrency(); + $primary = app('amount')->getPrimaryCurrency(); /** @var Bill $bill */ foreach ($bills as $bill) { diff --git a/app/Repositories/Budget/AvailableBudgetRepository.php b/app/Repositories/Budget/AvailableBudgetRepository.php index 641e5e7157..fb789f3ebb 100644 --- a/app/Repositories/Budget/AvailableBudgetRepository.php +++ b/app/Repositories/Budget/AvailableBudgetRepository.php @@ -142,7 +142,7 @@ class AvailableBudgetRepository implements AvailableBudgetRepositoryInterface, U Log::debug(sprintf('Found %d available budgets (already converted)', $availableBudgets->count())); // use primary amount if necessary? - $convertToPrimary = Amount::convertToPrimary($this->user); + $convertToPrimary = Amount::convertToPrimary($this->user); $primary = Amount::getPrimaryCurrency(); /** @var AvailableBudget $availableBudget */ diff --git a/app/Repositories/Budget/BudgetRepository.php b/app/Repositories/Budget/BudgetRepository.php index def70b71d5..56de39dcc6 100644 --- a/app/Repositories/Budget/BudgetRepository.php +++ b/app/Repositories/Budget/BudgetRepository.php @@ -102,26 +102,26 @@ class BudgetRepository implements BudgetRepositoryInterface, UserGroupInterface /** @var BudgetLimit $limit */ foreach ($limits as $limit) { app('log')->debug(sprintf('Budget limit #%d', $limit->id)); - $currency = $limit->transactionCurrency; - $rate = $converter->getCurrencyRate($currency, $primaryCurrency, $end); - $currencyCode = $currency->code; + $currency = $limit->transactionCurrency; + $rate = $converter->getCurrencyRate($currency, $primaryCurrency, $end); + $currencyCode = $currency->code; $return[$currencyCode] ??= [ - 'currency_id' => (string) $currency->id, - 'currency_name' => $currency->name, - 'currency_symbol' => $currency->symbol, - 'currency_code' => $currency->code, - 'currency_decimal_places' => $currency->decimal_places, + 'currency_id' => (string) $currency->id, + 'currency_name' => $currency->name, + 'currency_symbol' => $currency->symbol, + 'currency_code' => $currency->code, + 'currency_decimal_places' => $currency->decimal_places, 'primary_currency_id' => (string) $primaryCurrency->id, 'primary_currency_name' => $primaryCurrency->name, 'primary_currency_symbol' => $primaryCurrency->symbol, 'primary_currency_code' => $primaryCurrency->code, 'primary_currency_decimal_places' => $primaryCurrency->decimal_places, - 'sum' => '0', - 'pc_sum' => '0', + 'sum' => '0', + 'pc_sum' => '0', ]; // same period if ($limit->start_date->isSameDay($start) && $limit->end_date->isSameDay($end)) { - $return[$currencyCode]['sum'] = bcadd($return[$currencyCode]['sum'], (string) $limit->amount); + $return[$currencyCode]['sum'] = bcadd($return[$currencyCode]['sum'], (string) $limit->amount); $return[$currencyCode]['pc_sum'] = bcmul($rate, $return[$currencyCode]['sum']); app('log')->debug(sprintf('Add full amount [1]: %s', $limit->amount)); @@ -129,16 +129,16 @@ class BudgetRepository implements BudgetRepositoryInterface, UserGroupInterface } // limit is inside of date range if ($start->lte($limit->start_date) && $end->gte($limit->end_date)) { - $return[$currencyCode]['sum'] = bcadd($return[$currencyCode]['sum'], (string) $limit->amount); + $return[$currencyCode]['sum'] = bcadd($return[$currencyCode]['sum'], (string) $limit->amount); $return[$currencyCode]['pc_sum'] = bcmul($rate, $return[$currencyCode]['sum']); app('log')->debug(sprintf('Add full amount [2]: %s', $limit->amount)); continue; } - $total = $limit->start_date->diffInDays($limit->end_date, true) + 1; // include the day itself. - $days = $this->daysInOverlap($limit, $start, $end); - $amount = bcmul(bcdiv((string) $limit->amount, (string) $total), (string) $days); - $return[$currencyCode]['sum'] = bcadd($return[$currencyCode]['sum'], $amount); + $total = $limit->start_date->diffInDays($limit->end_date, true) + 1; // include the day itself. + $days = $this->daysInOverlap($limit, $start, $end); + $amount = bcmul(bcdiv((string) $limit->amount, (string) $total), (string) $days); + $return[$currencyCode]['sum'] = bcadd($return[$currencyCode]['sum'], $amount); $return[$currencyCode]['pc_sum'] = bcmul($rate, $return[$currencyCode]['sum']); app('log')->debug( sprintf( diff --git a/app/Repositories/Budget/OperationsRepository.php b/app/Repositories/Budget/OperationsRepository.php index e7a787c361..7c8b1c5217 100644 --- a/app/Repositories/Budget/OperationsRepository.php +++ b/app/Repositories/Budget/OperationsRepository.php @@ -142,8 +142,8 @@ class OperationsRepository implements OperationsRepositoryInterface, UserGroupIn $array = []; // if needs conversion to primary. - $convertToPrimary = Amount::convertToPrimary($this->user); - $primaryCurrency = Amount::getPrimaryCurrencyByUserGroup($this->userGroup); + $convertToPrimary = Amount::convertToPrimary($this->user); + $primaryCurrency = Amount::getPrimaryCurrencyByUserGroup($this->userGroup); $currencyId = (int) $primaryCurrency->id; $currencyCode = $primaryCurrency->code; $currencyName = $primaryCurrency->name; diff --git a/app/Repositories/Category/OperationsRepository.php b/app/Repositories/Category/OperationsRepository.php index ca07010926..19d76502a9 100644 --- a/app/Repositories/Category/OperationsRepository.php +++ b/app/Repositories/Category/OperationsRepository.php @@ -345,7 +345,7 @@ class OperationsRepository implements OperationsRepositoryInterface, UserGroupIn public function sumIncome(Carbon $start, Carbon $end, ?Collection $accounts = null, ?Collection $categories = null): array { /** @var GroupCollectorInterface $collector */ - $collector = app(GroupCollectorInterface::class); + $collector = app(GroupCollectorInterface::class); $collector->setUser($this->user)->setRange($start, $end) ->setTypes([TransactionTypeEnum::DEPOSIT->value]) ; @@ -357,10 +357,10 @@ class OperationsRepository implements OperationsRepositoryInterface, UserGroupIn $categories = $this->getCategories(); } $collector->setCategories($categories); - $journals = $collector->getExtractedJournals(); + $journals = $collector->getExtractedJournals(); $convertToPrimary = Amount::convertToPrimary($this->user); - $primary = Amount::getPrimaryCurrency(); - $array = []; + $primary = Amount::getPrimaryCurrency(); + $array = []; foreach ($journals as $journal) { // Almost the same as in \FireflyIII\Repositories\Budget\OperationsRepository::sumExpenses diff --git a/app/Repositories/Currency/CurrencyRepository.php b/app/Repositories/Currency/CurrencyRepository.php index ec797744f0..d448a21816 100644 --- a/app/Repositories/Currency/CurrencyRepository.php +++ b/app/Repositories/Currency/CurrencyRepository.php @@ -183,7 +183,7 @@ class CurrencyRepository implements CurrencyRepositoryInterface, UserGroupInterf return $all->map(static function (TransactionCurrency $current) use ($local) { $hasId = $local->contains(static fn (TransactionCurrency $entry) => $entry->id === $current->id); - $isPrimary = $local->contains(static fn (TransactionCurrency $entry) => 1 === (int) $entry->pivot->group_default && $entry->id === $current->id); + $isPrimary = $local->contains(static fn (TransactionCurrency $entry) => 1 === (int) $entry->pivot->group_default && $entry->id === $current->id); $current->userGroupEnabled = $hasId; $current->userGroupNative = $isPrimary; diff --git a/app/Repositories/UserGroups/Bill/BillRepository.php b/app/Repositories/UserGroups/Bill/BillRepository.php index f992e095f5..defdaaba0d 100644 --- a/app/Repositories/UserGroups/Bill/BillRepository.php +++ b/app/Repositories/UserGroups/Bill/BillRepository.php @@ -83,18 +83,18 @@ class BillRepository implements BillRepositoryInterface $currencyId = $bill->transaction_currency_id; $return[$currencyId] ??= [ - 'currency_id' => (string) $currency->id, - 'currency_name' => $currency->name, - 'currency_symbol' => $currency->symbol, - 'currency_code' => $currency->code, - 'currency_decimal_places' => $currency->decimal_places, + 'currency_id' => (string) $currency->id, + 'currency_name' => $currency->name, + 'currency_symbol' => $currency->symbol, + 'currency_code' => $currency->code, + 'currency_decimal_places' => $currency->decimal_places, 'primary_currency_id' => (string) $primary->id, 'primary_currency_name' => $primary->name, 'primary_currency_symbol' => $primary->symbol, 'primary_currency_code' => $primary->code, 'primary_currency_decimal_places' => $primary->decimal_places, - 'sum' => '0', - 'pc_sum' => '0', + 'sum' => '0', + 'pc_sum' => '0', ]; /** @var TransactionJournal $transactionJournal */ @@ -102,7 +102,7 @@ class BillRepository implements BillRepositoryInterface /** @var null|Transaction $sourceTransaction */ $sourceTransaction = $transactionJournal->transactions()->where('amount', '<', 0)->first(); if (null !== $sourceTransaction) { - $amount = $sourceTransaction->amount; + $amount = $sourceTransaction->amount; if ((int) $sourceTransaction->foreign_currency_id === $currency->id) { // use foreign amount instead! $amount = (string) $sourceTransaction->foreign_amount; @@ -117,7 +117,7 @@ class BillRepository implements BillRepositoryInterface // ignore conversion, use foreign amount $pcAmount = (string) $sourceTransaction->foreign_amount; } - $return[$currencyId]['sum'] = bcadd($return[$currencyId]['sum'], (string) $amount); + $return[$currencyId]['sum'] = bcadd($return[$currencyId]['sum'], (string) $amount); $return[$currencyId]['pc_sum'] = bcadd($return[$currencyId]['pc_sum'], (string) $pcAmount); } } @@ -151,25 +151,25 @@ class BillRepository implements BillRepositoryInterface $total = $dates->count() - $count; if ($total > 0) { - $currency = $bill->transactionCurrency; - $currencyId = $bill->transaction_currency_id; - $average = bcdiv(bcadd((string) $bill->amount_max, (string) $bill->amount_min), '2'); + $currency = $bill->transactionCurrency; + $currencyId = $bill->transaction_currency_id; + $average = bcdiv(bcadd((string) $bill->amount_max, (string) $bill->amount_min), '2'); $pcAverage = $converter->convert($currency, $primary, $start, $average); $return[$currencyId] ??= [ - 'currency_id' => (string) $currency->id, - 'currency_name' => $currency->name, - 'currency_symbol' => $currency->symbol, - 'currency_code' => $currency->code, - 'currency_decimal_places' => $currency->decimal_places, + 'currency_id' => (string) $currency->id, + 'currency_name' => $currency->name, + 'currency_symbol' => $currency->symbol, + 'currency_code' => $currency->code, + 'currency_decimal_places' => $currency->decimal_places, 'primary_currency_id' => (string) $primary->id, 'primary_currency_name' => $primary->name, 'primary_currency_symbol' => $primary->symbol, 'primary_currency_code' => $primary->code, 'primary_currency_decimal_places' => $primary->decimal_places, - 'sum' => '0', - 'pc_sum' => '0', + 'sum' => '0', + 'pc_sum' => '0', ]; - $return[$currencyId]['sum'] = bcadd($return[$currencyId]['sum'], bcmul($average, (string) $total)); + $return[$currencyId]['sum'] = bcadd($return[$currencyId]['sum'], bcmul($average, (string) $total)); $return[$currencyId]['pc_sum'] = bcadd($return[$currencyId]['pc_sum'], bcmul($pcAverage, (string) $total)); } } diff --git a/app/Repositories/UserGroups/Budget/AvailableBudgetRepository.php b/app/Repositories/UserGroups/Budget/AvailableBudgetRepository.php index ef9cf5b6a9..c07ec329a9 100644 --- a/app/Repositories/UserGroups/Budget/AvailableBudgetRepository.php +++ b/app/Repositories/UserGroups/Budget/AvailableBudgetRepository.php @@ -52,23 +52,23 @@ class AvailableBudgetRepository implements AvailableBudgetRepositoryInterface /** @var AvailableBudget $availableBudget */ foreach ($availableBudgets as $availableBudget) { - $currencyId = $availableBudget->transaction_currency_id; + $currencyId = $availableBudget->transaction_currency_id; $return[$currencyId] ??= [ - 'currency_id' => $currencyId, - 'currency_code' => $availableBudget->transactionCurrency->code, - 'currency_symbol' => $availableBudget->transactionCurrency->symbol, - 'currency_name' => $availableBudget->transactionCurrency->name, - 'currency_decimal_places' => $availableBudget->transactionCurrency->decimal_places, + 'currency_id' => $currencyId, + 'currency_code' => $availableBudget->transactionCurrency->code, + 'currency_symbol' => $availableBudget->transactionCurrency->symbol, + 'currency_name' => $availableBudget->transactionCurrency->name, + 'currency_decimal_places' => $availableBudget->transactionCurrency->decimal_places, 'primary_currency_id' => $primary->id, 'primary_currency_code' => $primary->code, 'primary_currency_symbol' => $primary->symbol, 'primary_currency_name' => $primary->name, 'primary_currency_decimal_places' => $primary->decimal_places, - 'amount' => '0', - 'pc_amount' => '0', + 'amount' => '0', + 'pc_amount' => '0', ]; $pcAmount = $converter->convert($availableBudget->transactionCurrency, $primary, $availableBudget->start_date, $availableBudget->amount); - $return[$currencyId]['amount'] = bcadd($return[$currencyId]['amount'], (string) $availableBudget->amount); + $return[$currencyId]['amount'] = bcadd($return[$currencyId]['amount'], (string) $availableBudget->amount); $return[$currencyId]['pc_amount'] = bcadd($return[$currencyId]['pc_amount'], $pcAmount); } $converter->summarize(); diff --git a/app/Repositories/UserGroups/Currency/CurrencyRepository.php b/app/Repositories/UserGroups/Currency/CurrencyRepository.php index 3e02cb4d0c..5dad9eb1f8 100644 --- a/app/Repositories/UserGroups/Currency/CurrencyRepository.php +++ b/app/Repositories/UserGroups/Currency/CurrencyRepository.php @@ -182,7 +182,7 @@ class CurrencyRepository implements CurrencyRepositoryInterface return $all->map(static function (TransactionCurrency $current) use ($local) { $hasId = $local->contains(static fn (TransactionCurrency $entry) => $entry->id === $current->id); - $isPrimary = $local->contains(static fn (TransactionCurrency $entry) => 1 === (int) $entry->pivot->group_default && $entry->id === $current->id); + $isPrimary = $local->contains(static fn (TransactionCurrency $entry) => 1 === (int) $entry->pivot->group_default && $entry->id === $current->id); $current->userGroupEnabled = $hasId; $current->userGroupNative = $isPrimary; diff --git a/app/Support/Amount.php b/app/Support/Amount.php index 6dfd38ff89..57377bc672 100644 --- a/app/Support/Amount.php +++ b/app/Support/Amount.php @@ -23,7 +23,6 @@ declare(strict_types=1); namespace FireflyIII\Support; -use Deprecated; use FireflyIII\Exceptions\FireflyException; use FireflyIII\Models\Transaction; use FireflyIII\Models\TransactionCurrency; @@ -102,9 +101,9 @@ class Amount public function getAmountFromJournal(array $journal): string { $convertToPrimary = $this->convertToPrimary(); - $currency = $this->getPrimaryCurrency(); - $field = $convertToPrimary && $currency->id !== $journal['currency_id'] ? 'pc_amount' : 'amount'; - $amount = $journal[$field] ?? '0'; + $currency = $this->getPrimaryCurrency(); + $field = $convertToPrimary && $currency->id !== $journal['currency_id'] ? 'pc_amount' : 'amount'; + $amount = $journal[$field] ?? '0'; // Log::debug(sprintf('Field is %s, amount is %s', $field, $amount)); // fallback, the transaction has a foreign amount in $currency. if ($convertToPrimary && null !== $journal['foreign_amount'] && $currency->id === (int)$journal['foreign_currency_id']) { @@ -139,7 +138,7 @@ class Amount public function getPrimaryCurrencyByUserGroup(UserGroup $userGroup): TransactionCurrency { - $cache = new CacheProperties(); + $cache = new CacheProperties(); $cache->addProperty('getPrimaryCurrencyByGroup'); $cache->addProperty($userGroup->id); if ($cache->has()) { @@ -169,7 +168,7 @@ class Amount */ public function getAmountFromJournalObject(TransactionJournal $journal): string { - $convertToPrimary = $this->convertToPrimary(); + $convertToPrimary = $this->convertToPrimary(); $currency = $this->getPrimaryCurrency(); $field = $convertToPrimary && $currency->id !== $journal->transaction_currency_id ? 'pc_amount' : 'amount'; diff --git a/app/Support/Chart/Budget/FrontpageChartGenerator.php b/app/Support/Chart/Budget/FrontpageChartGenerator.php index 65070d83f6..f2728f89e5 100644 --- a/app/Support/Chart/Budget/FrontpageChartGenerator.php +++ b/app/Support/Chart/Budget/FrontpageChartGenerator.php @@ -150,7 +150,7 @@ class FrontpageChartGenerator private function processLimit(array $data, Budget $budget, BudgetLimit $limit): array { $usePrimary = $this->convertToPrimary && $this->default->id !== $limit->transaction_currency_id; - $currency = $limit->transactionCurrency; + $currency = $limit->transactionCurrency; if ($usePrimary) { Log::debug(sprintf('Processing limit #%d with (primary currency) %s %s', $limit->id, $this->default->code, $limit->native_amount)); } @@ -158,7 +158,7 @@ class FrontpageChartGenerator Log::debug(sprintf('Processing limit #%d with %s %s', $limit->id, $limit->transactionCurrency->code, $limit->amount)); } - $spent = $this->opsRepository->sumExpenses($limit->start_date, $limit->end_date, null, new Collection([$budget]), $currency); + $spent = $this->opsRepository->sumExpenses($limit->start_date, $limit->end_date, null, new Collection([$budget]), $currency); Log::debug(sprintf('Spent array has %d entries.', count($spent))); /** @var array $entry */ @@ -196,7 +196,7 @@ class FrontpageChartGenerator $limit->end_date->isoFormat($this->monthAndDayFormat) ); } - $usePrimary = $this->convertToPrimary && $this->default->id !== $limit->transaction_currency_id; + $usePrimary = $this->convertToPrimary && $this->default->id !== $limit->transaction_currency_id; $amount = $limit->amount; Log::debug(sprintf('Amount is "%s".', $amount)); if ($usePrimary && $limit->transaction_currency_id !== $this->default->id) { diff --git a/app/Support/Export/ExportDataGenerator.php b/app/Support/Export/ExportDataGenerator.php index 12b70b1e45..02f3f04763 100644 --- a/app/Support/Export/ExportDataGenerator.php +++ b/app/Support/Export/ExportDataGenerator.php @@ -757,28 +757,28 @@ class ExportDataGenerator /** @var array $journal */ foreach ($journals as $journal) { - $metaData = $repository->getMetaFields($journal['transaction_journal_id'], $metaFields); - $amount = Steam::bcround(Steam::negative($journal['amount']), $journal['currency_decimal_places']); - $foreignAmount = null === $journal['foreign_amount'] ? null : Steam::bcround(Steam::negative($journal['foreign_amount']), $journal['foreign_currency_decimal_places']); + $metaData = $repository->getMetaFields($journal['transaction_journal_id'], $metaFields); + $amount = Steam::bcround(Steam::negative($journal['amount']), $journal['currency_decimal_places']); + $foreignAmount = null === $journal['foreign_amount'] ? null : Steam::bcround(Steam::negative($journal['foreign_amount']), $journal['foreign_currency_decimal_places']); $pcAmount = null === $journal['pc_amount'] ? null : Steam::bcround(Steam::negative($journal['pc_amount']), $primary->decimal_places); $pcForeignAmount = null === $journal['pc_foreign_amount'] ? null : Steam::bcround(Steam::negative($journal['pc_foreign_amount']), $primary->decimal_places); if (TransactionTypeEnum::WITHDRAWAL->value !== $journal['transaction_type_type']) { - $amount = Steam::bcround(Steam::positive($journal['amount']), $journal['currency_decimal_places']); - $foreignAmount = null === $journal['foreign_amount'] ? null : Steam::bcround(Steam::positive($journal['foreign_amount']), $journal['foreign_currency_decimal_places']); + $amount = Steam::bcround(Steam::positive($journal['amount']), $journal['currency_decimal_places']); + $foreignAmount = null === $journal['foreign_amount'] ? null : Steam::bcround(Steam::positive($journal['foreign_amount']), $journal['foreign_currency_decimal_places']); $pcAmount = null === $journal['pc_amount'] ? null : Steam::bcround(Steam::positive($journal['pc_amount']), $primary->decimal_places); $pcForeignAmount = null === $journal['pc_foreign_amount'] ? null : Steam::bcround(Steam::positive($journal['pc_foreign_amount']), $primary->decimal_places); } // opening balance depends on source account type. if (TransactionTypeEnum::OPENING_BALANCE->value === $journal['transaction_type_type'] && AccountTypeEnum::ASSET->value === $journal['source_account_type']) { - $amount = Steam::bcround(Steam::negative($journal['amount']), $journal['currency_decimal_places']); - $foreignAmount = null === $journal['foreign_amount'] ? null : Steam::bcround(Steam::negative($journal['foreign_amount']), $journal['foreign_currency_decimal_places']); + $amount = Steam::bcround(Steam::negative($journal['amount']), $journal['currency_decimal_places']); + $foreignAmount = null === $journal['foreign_amount'] ? null : Steam::bcround(Steam::negative($journal['foreign_amount']), $journal['foreign_currency_decimal_places']); $pcAmount = null === $journal['pc_amount'] ? null : Steam::bcround(Steam::negative($journal['pc_amount']), $primary->decimal_places); $pcForeignAmount = null === $journal['pc_foreign_amount'] ? null : Steam::bcround(Steam::negative($journal['pc_foreign_amount']), $primary->decimal_places); } - $records[] = [ + $records[] = [ $journal['user_id'], $journal['transaction_group_id'], $journal['transaction_journal_id'], $journal['created_at']->toAtomString(), $journal['updated_at']->toAtomString(), $journal['transaction_group_title'], $journal['transaction_type_type'], // amounts and currencies $journal['currency_code'], $amount, $journal['foreign_currency_code'], $foreignAmount, $primary->code, $pcAmount, $pcForeignAmount, diff --git a/app/Support/Http/Api/AccountBalanceGrouped.php b/app/Support/Http/Api/AccountBalanceGrouped.php index e8f65276ee..e3d84f3896 100644 --- a/app/Support/Http/Api/AccountBalanceGrouped.php +++ b/app/Support/Http/Api/AccountBalanceGrouped.php @@ -65,54 +65,54 @@ class AccountBalanceGrouped foreach ($this->data as $currency) { // income and expense array prepped: $income = [ - 'label' => 'earned', - 'currency_id' => (string) $currency['currency_id'], - 'currency_symbol' => $currency['currency_symbol'], - 'currency_code' => $currency['currency_code'], - 'currency_decimal_places' => $currency['currency_decimal_places'], + 'label' => 'earned', + 'currency_id' => (string) $currency['currency_id'], + 'currency_symbol' => $currency['currency_symbol'], + 'currency_code' => $currency['currency_code'], + 'currency_decimal_places' => $currency['currency_decimal_places'], 'primary_currency_id' => (string) $currency['primary_currency_id'], 'primary_currency_symbol' => $currency['primary_currency_symbol'], 'primary_currency_code' => $currency['primary_currency_code'], 'primary_currency_decimal_places' => $currency['primary_currency_decimal_places'], - 'date' => $this->start->toAtomString(), - 'start' => $this->start->toAtomString(), - 'end' => $this->end->toAtomString(), - 'period' => $this->preferredRange, - 'entries' => [], + 'date' => $this->start->toAtomString(), + 'start' => $this->start->toAtomString(), + 'end' => $this->end->toAtomString(), + 'period' => $this->preferredRange, + 'entries' => [], 'primary_entries' => [], ]; $expense = [ - 'label' => 'spent', - 'currency_id' => (string) $currency['currency_id'], - 'currency_symbol' => $currency['currency_symbol'], - 'currency_code' => $currency['currency_code'], - 'currency_decimal_places' => $currency['currency_decimal_places'], + 'label' => 'spent', + 'currency_id' => (string) $currency['currency_id'], + 'currency_symbol' => $currency['currency_symbol'], + 'currency_code' => $currency['currency_code'], + 'currency_decimal_places' => $currency['currency_decimal_places'], 'primary_currency_id' => (string) $currency['primary_currency_id'], 'primary_currency_symbol' => $currency['primary_currency_symbol'], 'primary_currency_code' => $currency['primary_currency_code'], 'primary_currency_decimal_places' => $currency['primary_currency_decimal_places'], - 'date' => $this->start->toAtomString(), - 'start' => $this->start->toAtomString(), - 'end' => $this->end->toAtomString(), - 'period' => $this->preferredRange, - 'entries' => [], - 'pc_entries' => [], + 'date' => $this->start->toAtomString(), + 'start' => $this->start->toAtomString(), + 'end' => $this->end->toAtomString(), + 'period' => $this->preferredRange, + 'entries' => [], + 'pc_entries' => [], ]; // loop all possible periods between $start and $end, and add them to the correct dataset. $currentStart = clone $this->start; while ($currentStart <= $this->end) { - $key = $currentStart->format($this->carbonFormat); - $label = $currentStart->toAtomString(); + $key = $currentStart->format($this->carbonFormat); + $label = $currentStart->toAtomString(); // normal entries - $income['entries'][$label] = app('steam')->bcround($currency[$key]['earned'] ?? '0', $currency['currency_decimal_places']); - $expense['entries'][$label] = app('steam')->bcround($currency[$key]['spent'] ?? '0', $currency['currency_decimal_places']); + $income['entries'][$label] = app('steam')->bcround($currency[$key]['earned'] ?? '0', $currency['currency_decimal_places']); + $expense['entries'][$label] = app('steam')->bcround($currency[$key]['spent'] ?? '0', $currency['currency_decimal_places']); // converted entries $income['pc_entries'][$label] = app('steam')->bcround($currency[$key]['pc_earned'] ?? '0', $currency['primary_currency_decimal_places']); $expense['pc_entries'][$label] = app('steam')->bcround($currency[$key]['pc_spent'] ?? '0', $currency['primary_currency_decimal_places']); // next loop - $currentStart = app('navigation')->addPeriod($currentStart, $this->preferredRange, 0); + $currentStart = app('navigation')->addPeriod($currentStart, $this->preferredRange, 0); } $chartData[] = $income; @@ -187,11 +187,11 @@ class AccountBalanceGrouped { $currencyId = (int) $journal['currency_id']; $this->data[$currencyId] ??= [ - 'currency_id' => (string) $currencyId, - 'currency_symbol' => $journal['currency_symbol'], - 'currency_code' => $journal['currency_code'], - 'currency_name' => $journal['currency_name'], - 'currency_decimal_places' => $journal['currency_decimal_places'], + 'currency_id' => (string) $currencyId, + 'currency_symbol' => $journal['currency_symbol'], + 'currency_code' => $journal['currency_code'], + 'currency_name' => $journal['currency_name'], + 'currency_decimal_places' => $journal['currency_decimal_places'], // primary currency info (could be the same) 'primary_currency_id' => (string) $this->primary->id, 'primary_currency_code' => $this->primary->code, @@ -208,8 +208,8 @@ class AccountBalanceGrouped 'period' => $period, 'spent' => '0', 'earned' => '0', - 'pc_spent' => '0', - 'pc_earned' => '0', + 'pc_spent' => '0', + 'pc_earned' => '0', ]; } @@ -258,11 +258,11 @@ class AccountBalanceGrouped $primaryCurrencyId = $primary->id; $this->currencies = [$primary->id => $primary]; // currency cache $this->data[$primaryCurrencyId] = [ - 'currency_id' => (string) $primaryCurrencyId, - 'currency_symbol' => $primary->symbol, - 'currency_code' => $primary->code, - 'currency_name' => $primary->name, - 'currency_decimal_places' => $primary->decimal_places, + 'currency_id' => (string) $primaryCurrencyId, + 'currency_symbol' => $primary->symbol, + 'currency_code' => $primary->code, + 'currency_name' => $primary->name, + 'currency_decimal_places' => $primary->decimal_places, 'primary_currency_id' => (string) $primaryCurrencyId, 'primary_currency_symbol' => $primary->symbol, 'primary_currency_code' => $primary->code, diff --git a/app/Support/Http/Api/SummaryBalanceGrouped.php b/app/Support/Http/Api/SummaryBalanceGrouped.php index b3cfb5eb17..6fc534b59a 100644 --- a/app/Support/Http/Api/SummaryBalanceGrouped.php +++ b/app/Support/Http/Api/SummaryBalanceGrouped.php @@ -112,7 +112,7 @@ class SummaryBalanceGrouped $amount = bcmul((string) $journal['amount'], $multiplier); $currency = $this->currencies[$currencyId] ?? TransactionCurrency::find($currencyId); $this->currencies[$currencyId] = $currency; - $pcAmount = $converter->convert($currency, $this->default, $journal['date'], $amount); + $pcAmount = $converter->convert($currency, $this->default, $journal['date'], $amount); if ((int) $journal['foreign_currency_id'] === $this->default->id) { // use foreign amount instead $pcAmount = $journal['foreign_amount']; @@ -120,15 +120,15 @@ class SummaryBalanceGrouped // prep the arrays $this->amounts[$key] ??= []; $this->amounts[$key][$currencyId] ??= '0'; - $this->amounts[$key]['primary'] ??= '0'; + $this->amounts[$key]['primary'] ??= '0'; $this->amounts[self::SUM][$currencyId] ??= '0'; - $this->amounts[self::SUM]['primary'] ??= '0'; + $this->amounts[self::SUM]['primary'] ??= '0'; // add values: $this->amounts[$key][$currencyId] = bcadd((string) $this->amounts[$key][$currencyId], $amount); $this->amounts[self::SUM][$currencyId] = bcadd((string) $this->amounts[self::SUM][$currencyId], $amount); - $this->amounts[$key]['primary'] = bcadd((string) $this->amounts[$key]['primary'], (string) $pcAmount); - $this->amounts[self::SUM]['primary'] = bcadd((string) $this->amounts[self::SUM]['primary'], (string) $pcAmount); + $this->amounts[$key]['primary'] = bcadd((string) $this->amounts[$key]['primary'], (string) $pcAmount); + $this->amounts[self::SUM]['primary'] = bcadd((string) $this->amounts[self::SUM]['primary'], (string) $pcAmount); } $converter->summarize(); } diff --git a/app/Support/Http/Controllers/AugumentData.php b/app/Support/Http/Controllers/AugumentData.php index 168cb9b3f0..5159fe0210 100644 --- a/app/Support/Http/Controllers/AugumentData.php +++ b/app/Support/Http/Controllers/AugumentData.php @@ -199,29 +199,29 @@ trait AugumentData /** @var BudgetLimit $entry */ foreach ($set as $entry) { Log::debug(sprintf('Now at budget limit #%d', $entry->id)); - $currency = $entry->transactionCurrency; + $currency = $entry->transactionCurrency; if ($this->convertToPrimary) { // the sumExpenses method already handles this. $currency = $this->defaultCurrency; } // clone because these objects change each other. - $currentStart = clone $entry->start_date; - $currentEnd = null === $entry->end_date ? null : clone $entry->end_date; + $currentStart = clone $entry->start_date; + $currentEnd = null === $entry->end_date ? null : clone $entry->end_date; if (null === $currentEnd) { $currentEnd = clone $currentStart; $currentEnd->addMonth(); } // primary currency amount. - $expenses = $opsRepository->sumExpenses($currentStart, $currentEnd, null, $budgetCollection, $entry->transactionCurrency, $this->convertToPrimary); - $spent = $expenses[$currency->id]['sum'] ?? '0'; + $expenses = $opsRepository->sumExpenses($currentStart, $currentEnd, null, $budgetCollection, $entry->transactionCurrency, $this->convertToPrimary); + $spent = $expenses[$currency->id]['sum'] ?? '0'; $entry->pc_spent = $spent; // normal amount: - $expenses = $opsRepository->sumExpenses($currentStart, $currentEnd, null, $budgetCollection, $entry->transactionCurrency, false); - $spent = $expenses[$entry->transactionCurrency->id]['sum'] ?? '0'; - $entry->spent = $spent; + $expenses = $opsRepository->sumExpenses($currentStart, $currentEnd, null, $budgetCollection, $entry->transactionCurrency, false); + $spent = $expenses[$entry->transactionCurrency->id]['sum'] ?? '0'; + $entry->spent = $spent; $limits->push($entry); } diff --git a/app/Support/Http/Controllers/ChartGeneration.php b/app/Support/Http/Controllers/ChartGeneration.php index 3819e44515..3f2b3d43cd 100644 --- a/app/Support/Http/Controllers/ChartGeneration.php +++ b/app/Support/Http/Controllers/ChartGeneration.php @@ -49,7 +49,7 @@ trait ChartGeneration { // chart properties for cache: $convertToPrimary = Amount::convertToPrimary(); - $cache = new CacheProperties(); + $cache = new CacheProperties(); $cache->addProperty($start); $cache->addProperty($end); $cache->addProperty('chart.account.account-balance-chart'); @@ -59,16 +59,16 @@ trait ChartGeneration return $cache->get(); } Log::debug('Regenerate chart.account.account-balance-chart from scratch.'); - $locale = app('steam')->getLocale(); + $locale = app('steam')->getLocale(); /** @var GeneratorInterface $generator */ - $generator = app(GeneratorInterface::class); + $generator = app(GeneratorInterface::class); /** @var AccountRepositoryInterface $accountRepos */ - $accountRepos = app(AccountRepositoryInterface::class); + $accountRepos = app(AccountRepositoryInterface::class); - $default = app('amount')->getPrimaryCurrency(); - $chartData = []; + $default = app('amount')->getPrimaryCurrency(); + $chartData = []; Log::debug(sprintf('Start of accountBalanceChart(list, %s, %s)', $start->format('Y-m-d H:i:s'), $end->format('Y-m-d H:i:s'))); @@ -76,7 +76,7 @@ trait ChartGeneration foreach ($accounts as $account) { Log::debug(sprintf('Now at account #%d ("%s)', $account->id, $account->name)); $currency = $accountRepos->getAccountCurrency($account) ?? $default; - $usePrimary = $convertToPrimary && $default->id !== $currency->id; + $usePrimary = $convertToPrimary && $default->id !== $currency->id; $field = $convertToPrimary ? 'pc_balance' : 'balance'; $currency = $usePrimary ? $default : $currency; Log::debug(sprintf('Will use field %s', $field)); @@ -100,7 +100,7 @@ trait ChartGeneration } $chartData[] = $currentSet; } - $data = $generator->multiSet($chartData); + $data = $generator->multiSet($chartData); $cache->store($data); return $data; diff --git a/app/Support/JsonApi/Enrichments/SubscriptionEnrichment.php b/app/Support/JsonApi/Enrichments/SubscriptionEnrichment.php index 5fea88d9f3..f1c9f142db 100644 --- a/app/Support/JsonApi/Enrichments/SubscriptionEnrichment.php +++ b/app/Support/JsonApi/Enrichments/SubscriptionEnrichment.php @@ -27,14 +27,14 @@ class SubscriptionEnrichment implements EnrichmentInterface private UserGroup $userGroup; private Collection $collection; private bool $convertToPrimary = false; - private ?Carbon $start = null; - private ?Carbon $end = null; - private array $subscriptionIds = []; - private array $objectGroups = []; - private array $mappedObjects = []; - private array $paidDates = []; - private array $notes = []; - private array $payDates = []; + private ?Carbon $start = null; + private ?Carbon $end = null; + private array $subscriptionIds = []; + private array $objectGroups = []; + private array $mappedObjects = []; + private array $paidDates = []; + private array $notes = []; + private array $payDates = []; private TransactionCurrency $primaryCurrency; private BillDateCalculator $calculator; @@ -236,7 +236,8 @@ class SubscriptionEnrichment implements EnrichmentInterface Log::debug(sprintf('Count %d entries in set', $set->count())); // for each bill, do a loop. - $converter = new ExchangeRateConverter(); + $converter = new ExchangeRateConverter(); + /** @var Bill $subscription */ foreach ($this->collection as $subscription) { // Grab from array the most recent payment. If none exist, fall back to the start date and pretend *that* was the last paid date. @@ -267,10 +268,10 @@ class SubscriptionEnrichment implements EnrichmentInterface $array['foreign_currency_decimal_places'] = $entry->foreign_currency_decimal_places; $array['foreign_amount'] = Steam::bcround($entry->foreign_amount, $entry->foreign_currency_decimal_places); } - if($this->convertToPrimary) { - $array['amount'] = $converter->convert($entry->transactionCurrency, $this->primaryCurrency, $entry->date, $entry->amount); - $array['currency_id'] = $this->primaryCurrency->id; - $array['currency_code'] = $this->primaryCurrency->code; + if ($this->convertToPrimary) { + $array['amount'] = $converter->convert($entry->transactionCurrency, $this->primaryCurrency, $entry->date, $entry->amount); + $array['currency_id'] = $this->primaryCurrency->id; + $array['currency_code'] = $this->primaryCurrency->code; $array['currency_decimal_places'] = $this->primaryCurrency->decimal_places; } @@ -343,10 +344,12 @@ class SubscriptionEnrichment implements EnrichmentInterface private function collectPayDates(): void { - if(null === $this->start || null === $this->end) { + if (null === $this->start || null === $this->end) { Log::debug('Parameters are NULL, set empty array'); + return; } + /** @var Bill $subscription */ foreach ($this->collection as $subscription) { $id = (int)$subscription->id; diff --git a/app/Support/JsonApi/Enrichments/TransactionGroupEnrichment.php b/app/Support/JsonApi/Enrichments/TransactionGroupEnrichment.php index 3d4f373c68..44a05d212d 100644 --- a/app/Support/JsonApi/Enrichments/TransactionGroupEnrichment.php +++ b/app/Support/JsonApi/Enrichments/TransactionGroupEnrichment.php @@ -66,7 +66,7 @@ class TransactionGroupEnrichment implements EnrichmentInterface $this->locations = []; $this->attachmentCount = []; $this->dateFields = ['interest_date', 'book_date', 'process_date', 'due_date', 'payment_date', 'invoice_date']; - $this->primaryCurrency = Amount::getPrimaryCurrency(); + $this->primaryCurrency = Amount::getPrimaryCurrency(); } #[Override] @@ -198,7 +198,7 @@ class TransactionGroupEnrichment implements EnrichmentInterface $metaData = $this->metaData; $locations = $this->locations; $attachmentCount = $this->attachmentCount; - $primaryCurrency = $this->primaryCurrency; + $primaryCurrency = $this->primaryCurrency; $this->collection = $this->collection->map(function (array $item) use ($primaryCurrency, $notes, $tags, $metaData, $locations, $attachmentCount) { foreach ($item['transactions'] as $index => $transaction) { @@ -221,7 +221,7 @@ class TransactionGroupEnrichment implements EnrichmentInterface ]; // primary currency - $item['transactions'][$index]['primary_currency'] = [ + $item['transactions'][$index]['primary_currency'] = [ 'id' => (string) $primaryCurrency->id, 'code' => $primaryCurrency->code, 'name' => $primaryCurrency->name, diff --git a/app/Support/Report/Summarizer/TransactionSummarizer.php b/app/Support/Report/Summarizer/TransactionSummarizer.php index f84691377a..a1ab2abf07 100644 --- a/app/Support/Report/Summarizer/TransactionSummarizer.php +++ b/app/Support/Report/Summarizer/TransactionSummarizer.php @@ -44,8 +44,8 @@ class TransactionSummarizer public function setUser(User $user): void { - $this->user = $user; - $this->default = Amount::getPrimaryCurrencyByUserGroup($user->userGroup); + $this->user = $user; + $this->default = Amount::getPrimaryCurrencyByUserGroup($user->userGroup); $this->convertToPrimary = Amount::convertToPrimary($user); } @@ -73,7 +73,7 @@ class TransactionSummarizer if ($this->convertToPrimary) { // Log::debug('convertToPrimary is true.'); // if convert to primary currency, use the primary currency amount yes or no? - $usePrimary = $this->default->id !== (int) $journal['currency_id']; + $usePrimary = $this->default->id !== (int) $journal['currency_id']; $useForeign = $this->default->id === (int) $journal['foreign_currency_id']; if ($usePrimary) { // Log::debug(sprintf('Journal #%d switches to primary currency amount (original is %s)', $journal['transaction_journal_id'], $journal['currency_code'])); @@ -156,11 +156,11 @@ class TransactionSummarizer public function groupByDirection(array $journals, string $method, string $direction): array { - $array = []; - $idKey = sprintf('%s_account_id', $direction); - $nameKey = sprintf('%s_account_name', $direction); + $array = []; + $idKey = sprintf('%s_account_id', $direction); + $nameKey = sprintf('%s_account_name', $direction); $convertToPrimary = Amount::convertToPrimary($this->user); - $primary = Amount::getPrimaryCurrencyByUserGroup($this->user->userGroup); + $primary = Amount::getPrimaryCurrencyByUserGroup($this->user->userGroup); Log::debug(sprintf('groupByDirection(array, %s, %s).', $direction, $method)); diff --git a/app/Support/Steam.php b/app/Support/Steam.php index c75dc1b2ee..fc946ade57 100644 --- a/app/Support/Steam.php +++ b/app/Support/Steam.php @@ -224,7 +224,7 @@ class Steam $request->subDay()->endOfDay(); Log::debug(sprintf('finalAccountBalanceInRange: Call finalAccountBalance with date/time "%s"', $request->toIso8601String())); $startBalance = $this->finalAccountBalance($account, $request); - $primaryCurrency = Amount::getPrimaryCurrencyByUserGroup($account->user->userGroup); + $primaryCurrency = Amount::getPrimaryCurrencyByUserGroup($account->user->userGroup); $accountCurrency = $this->getAccountCurrency($account); $hasCurrency = $accountCurrency instanceof TransactionCurrency; $currency = $accountCurrency ?? $primaryCurrency; @@ -241,7 +241,7 @@ class Steam $startBalance[$primaryCurrency->code] ??= '0'; } $currencies = [ - $currency->id => $currency, + $currency->id => $currency, $primaryCurrency->id => $primaryCurrency, ]; @@ -361,7 +361,7 @@ class Steam $hasCurrency = null !== $accountCurrency; $currency = $hasCurrency ? $accountCurrency : $primary; $return = [ - 'pc_balance' => '0', + 'pc_balance' => '0', 'balance' => '0', // this key is overwritten right away, but I must remember it is always created. ]; // balance(s) in all currencies. @@ -390,7 +390,7 @@ class Steam if ($convertToPrimary) { // the primary currency balance is combined with a converted virtual_balance: - $converter = new ExchangeRateConverter(); + $converter = new ExchangeRateConverter(); $pcVirtualBalance = $converter->convert($currency, $primary, $date, $virtualBalance); $return['pc_balance'] = bcadd($pcVirtualBalance, $return['pc_balance']); // Log::debug(sprintf('Primary virtual balance makes the primary total %s', $return['pc_balance'])); diff --git a/app/Support/Twig/General.php b/app/Support/Twig/General.php index 3302fe17a2..b2c4fc9bcb 100644 --- a/app/Support/Twig/General.php +++ b/app/Support/Twig/General.php @@ -71,15 +71,15 @@ class General extends AbstractExtension } /** @var Carbon $date */ - $date = session('end', today(config('app.timezone'))->endOfMonth()); + $date = session('end', today(config('app.timezone'))->endOfMonth()); Log::debug(sprintf('twig balance: Call finalAccountBalance with date/time "%s"', $date->toIso8601String())); - $info = Steam::finalAccountBalance($account, $date); - $currency = Steam::getAccountCurrency($account); - $primary = Amount::getPrimaryCurrency(); + $info = Steam::finalAccountBalance($account, $date); + $currency = Steam::getAccountCurrency($account); + $primary = Amount::getPrimaryCurrency(); $convertToPrimary = Amount::convertToPrimary(); $usePrimary = $convertToPrimary && $primary->id !== $currency->id; $currency ??= $primary; - $strings = []; + $strings = []; foreach ($info as $key => $balance) { if ('balance' === $key) { // balance in account currency. diff --git a/app/Transformers/AccountTransformer.php b/app/Transformers/AccountTransformer.php index aa528a3a59..77069a3fa5 100644 --- a/app/Transformers/AccountTransformer.php +++ b/app/Transformers/AccountTransformer.php @@ -49,8 +49,8 @@ class AccountTransformer extends AbstractTransformer */ public function __construct() { - $this->parameters = new ParameterBag(); - $this->repository = app(AccountRepositoryInterface::class); + $this->parameters = new ParameterBag(); + $this->repository = app(AccountRepositoryInterface::class); $this->convertToPrimary = Amount::convertToPrimary(); $this->primary = Amount::getPrimaryCurrency(); } @@ -80,10 +80,10 @@ class AccountTransformer extends AbstractTransformer $date->endOfDay(); [$creditCardType, $monthlyPaymentDate] = $this->getCCInfo($account, $accountRole, $accountType); - [$openingBalance, $pcOpeningBalance, $openingBalanceDate] = $this->getOpeningBalance($account, $accountType); + [$openingBalance, $pcOpeningBalance, $openingBalanceDate] = $this->getOpeningBalance($account, $accountType); [$interest, $interestPeriod] = $this->getInterest($account, $accountType); - $primary = $this->primary; + $primary = $this->primary; if (!$this->convertToPrimary) { // reset primary currency to NULL, not interesting. $primary = null; @@ -109,7 +109,7 @@ class AccountTransformer extends AbstractTransformer } $currentBalance = Steam::bcround($finalBalance['balance'] ?? '0', $decimalPlaces); - $pcCurrentBalance = $this->convertToPrimary ? Steam::bcround($finalBalance['pc_balance'] ?? '0', $primary->decimal_places) : null; + $pcCurrentBalance = $this->convertToPrimary ? Steam::bcround($finalBalance['pc_balance'] ?? '0', $primary->decimal_places) : null; // set up balances array: $balances = []; @@ -159,48 +159,48 @@ class AccountTransformer extends AbstractTransformer } return [ - 'id' => (string)$account->id, - 'created_at' => $account->created_at->toAtomString(), - 'updated_at' => $account->updated_at->toAtomString(), - 'active' => $account->active, - 'order' => $order, - 'name' => $account->name, - 'type' => strtolower($accountType), - 'account_role' => $accountRole, - 'currency_id' => $account->meta['currency_id'] ?? null, - 'currency_code' => $account->meta['currency']?->code, - 'currency_symbol' => $account->meta['currency']?->symbol, - 'currency_decimal_places' => $account->meta['currency']?->decimal_places, + 'id' => (string)$account->id, + 'created_at' => $account->created_at->toAtomString(), + 'updated_at' => $account->updated_at->toAtomString(), + 'active' => $account->active, + 'order' => $order, + 'name' => $account->name, + 'type' => strtolower($accountType), + 'account_role' => $accountRole, + 'currency_id' => $account->meta['currency_id'] ?? null, + 'currency_code' => $account->meta['currency']?->code, + 'currency_symbol' => $account->meta['currency']?->symbol, + 'currency_decimal_places' => $account->meta['currency']?->decimal_places, 'primary_currency_id' => $primary instanceof TransactionCurrency ? (string)$primary->id : null, 'primary_currency_code' => $primary?->code, 'primary_currency_symbol' => $primary?->symbol, 'primary_currency_decimal_places' => $primary?->decimal_places, - 'current_balance' => $currentBalance, - 'pc_current_balance' => $pcCurrentBalance, - 'current_balance_date' => $date->toAtomString(), - 'notes' => $account->meta['notes'] ?? null, - 'monthly_payment_date' => $monthlyPaymentDate, - 'credit_card_type' => $creditCardType, - 'account_number' => $account->meta['account_number'] ?? null, - 'iban' => '' === $account->iban ? null : $account->iban, - 'bic' => $account->meta['BIC'] ?? null, - 'virtual_balance' => Steam::bcround($account->virtual_balance, $decimalPlaces), - 'pc_virtual_balance' => $this->convertToPrimary ? Steam::bcround($account->native_virtual_balance, $primary->decimal_places) : null, - 'opening_balance' => $openingBalanceRounded, - 'pc_opening_balance' => $pcOpeningBalance, - 'opening_balance_date' => $openingBalanceDate, - 'liability_type' => $liabilityType, - 'liability_direction' => $liabilityDirection, - 'interest' => $interest, - 'interest_period' => $interestPeriod, - 'current_debt' => $account->meta['current_debt'] ?? null, - 'include_net_worth' => $includeNetWorth, - 'longitude' => $longitude, - 'latitude' => $latitude, - 'zoom_level' => $zoomLevel, - 'last_activity' => array_key_exists('last_activity', $account->meta) ? $account->meta['last_activity']->toAtomString() : null, - 'balances' => $balances, - 'links' => [ + 'current_balance' => $currentBalance, + 'pc_current_balance' => $pcCurrentBalance, + 'current_balance_date' => $date->toAtomString(), + 'notes' => $account->meta['notes'] ?? null, + 'monthly_payment_date' => $monthlyPaymentDate, + 'credit_card_type' => $creditCardType, + 'account_number' => $account->meta['account_number'] ?? null, + 'iban' => '' === $account->iban ? null : $account->iban, + 'bic' => $account->meta['BIC'] ?? null, + 'virtual_balance' => Steam::bcround($account->virtual_balance, $decimalPlaces), + 'pc_virtual_balance' => $this->convertToPrimary ? Steam::bcround($account->native_virtual_balance, $primary->decimal_places) : null, + 'opening_balance' => $openingBalanceRounded, + 'pc_opening_balance' => $pcOpeningBalance, + 'opening_balance_date' => $openingBalanceDate, + 'liability_type' => $liabilityType, + 'liability_direction' => $liabilityDirection, + 'interest' => $interest, + 'interest_period' => $interestPeriod, + 'current_debt' => $account->meta['current_debt'] ?? null, + 'include_net_worth' => $includeNetWorth, + 'longitude' => $longitude, + 'latitude' => $latitude, + 'zoom_level' => $zoomLevel, + 'last_activity' => array_key_exists('last_activity', $account->meta) ? $account->meta['last_activity']->toAtomString() : null, + 'balances' => $balances, + 'links' => [ [ 'rel' => 'self', 'uri' => sprintf('/accounts/%d', $account->id), @@ -258,14 +258,14 @@ class AccountTransformer extends AbstractTransformer private function getOpeningBalance(Account $account, string $accountType): array { - $openingBalance = null; - $openingBalanceDate = null; - $pcOpeningBalance = null; + $openingBalance = null; + $openingBalanceDate = null; + $pcOpeningBalance = null; if (in_array($accountType, ['asset', 'liabilities'], true)) { // grab from meta. - $openingBalance = $account->meta['opening_balance_amount'] ?? null; - $pcOpeningBalance = null; - $openingBalanceDate = $account->meta['opening_balance_date'] ?? null; + $openingBalance = $account->meta['opening_balance_amount'] ?? null; + $pcOpeningBalance = null; + $openingBalanceDate = $account->meta['opening_balance_date'] ?? null; } if (null !== $openingBalanceDate) { $object = Carbon::createFromFormat('Y-m-d H:i:s', $openingBalanceDate, config('app.timezone')); @@ -276,7 +276,7 @@ class AccountTransformer extends AbstractTransformer // NOW do conversion. if ($this->convertToPrimary && null !== $account->meta['currency']) { - $converter = new ExchangeRateConverter(); + $converter = new ExchangeRateConverter(); $pcOpeningBalance = $converter->convert($account->meta['currency'], $this->primary, $object, $openingBalance); } diff --git a/app/Transformers/AvailableBudgetTransformer.php b/app/Transformers/AvailableBudgetTransformer.php index 3988057214..cb8a52b161 100644 --- a/app/Transformers/AvailableBudgetTransformer.php +++ b/app/Transformers/AvailableBudgetTransformer.php @@ -66,7 +66,7 @@ class AvailableBudgetTransformer extends AbstractTransformer if (!$this->convertToPrimary) { $primary = null; } - $data = [ + $data = [ 'id' => (string)$availableBudget->id, 'created_at' => $availableBudget->created_at->toAtomString(), 'updated_at' => $availableBudget->updated_at->toAtomString(), @@ -87,12 +87,12 @@ class AvailableBudgetTransformer extends AbstractTransformer 'links' => [ [ 'rel' => 'self', - 'uri' => '/available_budgets/' . $availableBudget->id, + 'uri' => '/available_budgets/'.$availableBudget->id, ], ], ]; - $start = $this->parameters->get('start'); - $end = $this->parameters->get('end'); + $start = $this->parameters->get('start'); + $end = $this->parameters->get('end'); if (null !== $start && null !== $end) { $data['spent_in_budgets'] = $this->getSpentInBudgets(); $data['spent_no_budget'] = $this->spentOutsideBudgets(); diff --git a/app/Transformers/BillTransformer.php b/app/Transformers/BillTransformer.php index a06d6c10b0..88834c1d45 100644 --- a/app/Transformers/BillTransformer.php +++ b/app/Transformers/BillTransformer.php @@ -52,46 +52,46 @@ class BillTransformer extends AbstractTransformer return [ - 'id' => $bill->id, - 'created_at' => $bill->created_at->toAtomString(), - 'updated_at' => $bill->updated_at->toAtomString(), - 'currency_id' => (string)$bill->transaction_currency_id, - 'currency_code' => $currency->code, - 'currency_symbol' => $currency->symbol, - 'currency_decimal_places' => $currency->decimal_places, + 'id' => $bill->id, + 'created_at' => $bill->created_at->toAtomString(), + 'updated_at' => $bill->updated_at->toAtomString(), + 'currency_id' => (string)$bill->transaction_currency_id, + 'currency_code' => $currency->code, + 'currency_symbol' => $currency->symbol, + 'currency_decimal_places' => $currency->decimal_places, 'primary_currency_id' => (string)$this->primary->id, 'primary_currency_code' => $this->primary->code, 'primary_currency_symbol' => $this->primary->symbol, 'primary_currency_decimal_places' => $this->primary->decimal_places, - 'name' => $bill->name, - 'amount_min' => $bill->amounts['amount_min'], - 'amount_max' => $bill->amounts['amount_max'], - 'amount_avg' => $bill->amounts['average'], - 'date' => $bill->date->toAtomString(), - 'end_date' => $bill->end_date?->toAtomString(), - 'extension_date' => $bill->extension_date?->toAtomString(), - 'repeat_freq' => $bill->repeat_freq, - 'skip' => $bill->skip, - 'active' => $bill->active, - 'order' => $bill->order, - 'notes' => $bill->meta['notes'], - 'object_group_id' => $bill->meta['object_group_id'], - 'object_group_order' => $bill->meta['object_group_order'], - 'object_group_title' => $bill->meta['object_group_title'], + 'name' => $bill->name, + 'amount_min' => $bill->amounts['amount_min'], + 'amount_max' => $bill->amounts['amount_max'], + 'amount_avg' => $bill->amounts['average'], + 'date' => $bill->date->toAtomString(), + 'end_date' => $bill->end_date?->toAtomString(), + 'extension_date' => $bill->extension_date?->toAtomString(), + 'repeat_freq' => $bill->repeat_freq, + 'skip' => $bill->skip, + 'active' => $bill->active, + 'order' => $bill->order, + 'notes' => $bill->meta['notes'], + 'object_group_id' => $bill->meta['object_group_id'], + 'object_group_order' => $bill->meta['object_group_order'], + 'object_group_title' => $bill->meta['object_group_title'], - 'paid_dates' => $bill->meta['paid_dates'], - 'pay_dates' => $bill->meta['pay_dates'], - 'next_expected_match' => $bill->meta['nem']?->toAtomString(), - 'next_expected_match_diff' => $bill->meta['nem_diff'], + 'paid_dates' => $bill->meta['paid_dates'], + 'pay_dates' => $bill->meta['pay_dates'], + 'next_expected_match' => $bill->meta['nem']?->toAtomString(), + 'next_expected_match_diff' => $bill->meta['nem_diff'], // these fields need work: // 'next_expected_match' => $nem, // 'next_expected_match_diff' => $nemDiff, // 'pay_dates' => $payDatesFormatted, - 'links' => [ + 'links' => [ [ 'rel' => 'self', 'uri' => '/bills/'.$bill->id, diff --git a/app/Transformers/BudgetLimitTransformer.php b/app/Transformers/BudgetLimitTransformer.php index 71e167a07d..dca28f6ab2 100644 --- a/app/Transformers/BudgetLimitTransformer.php +++ b/app/Transformers/BudgetLimitTransformer.php @@ -65,8 +65,8 @@ class BudgetLimitTransformer extends AbstractTransformer */ public function transform(BudgetLimit $budgetLimit): array { - $repository = app(OperationsRepository::class); - $limitRepos = app(BudgetLimitRepositoryInterface::class); + $repository = app(OperationsRepository::class); + $limitRepos = app(BudgetLimitRepositoryInterface::class); $repository->setUser($budgetLimit->budget->user); $limitRepos->setUser($budgetLimit->budget->user); $expenses = $repository->sumExpenses( @@ -92,8 +92,8 @@ class BudgetLimitTransformer extends AbstractTransformer $currencySymbol = $currency->symbol; $currencyDecimalPlaces = $currency->decimal_places; } - $amount = app('steam')->bcround($amount, $currencyDecimalPlaces); - $primary = $this->primary; + $amount = app('steam')->bcround($amount, $currencyDecimalPlaces); + $primary = $this->primary; if (!$this->convertToPrimary) { $primary = null; } @@ -123,7 +123,7 @@ class BudgetLimitTransformer extends AbstractTransformer 'links' => [ [ 'rel' => 'self', - 'uri' => '/budgets/limits/' . $budgetLimit->id, + 'uri' => '/budgets/limits/'.$budgetLimit->id, ], ], ]; diff --git a/app/Transformers/BudgetTransformer.php b/app/Transformers/BudgetTransformer.php index eec4aeeaae..f65fa5d59c 100644 --- a/app/Transformers/BudgetTransformer.php +++ b/app/Transformers/BudgetTransformer.php @@ -48,10 +48,10 @@ class BudgetTransformer extends AbstractTransformer */ public function __construct() { - $this->opsRepository = app(OperationsRepositoryInterface::class); - $this->repository = app(BudgetRepositoryInterface::class); - $this->parameters = new ParameterBag(); - $this->primary = Amount::getPrimaryCurrency(); + $this->opsRepository = app(OperationsRepositoryInterface::class); + $this->repository = app(BudgetRepositoryInterface::class); + $this->parameters = new ParameterBag(); + $this->primary = Amount::getPrimaryCurrency(); $this->convertToPrimary = Amount::convertToPrimary(); } @@ -72,7 +72,7 @@ class BudgetTransformer extends AbstractTransformer // info for auto budget. $abType = null; $abAmount = null; - $abPrimary = null; + $abPrimary = null; $abPeriod = null; $notes = $this->repository->getNoteText($budget); @@ -90,28 +90,28 @@ class BudgetTransformer extends AbstractTransformer $currency = $primary; } if (null !== $autoBudget) { - $abType = $types[$autoBudget->auto_budget_type]; - $abAmount = app('steam')->bcround($autoBudget->amount, $currency->decimal_places); + $abType = $types[$autoBudget->auto_budget_type]; + $abAmount = app('steam')->bcround($autoBudget->amount, $currency->decimal_places); $abPrimary = $this->convertToPrimary ? app('steam')->bcround($autoBudget->native_amount, $primary->decimal_places) : null; - $abPeriod = $autoBudget->period; + $abPeriod = $autoBudget->period; } return [ - 'id' => (string) $budget->id, - 'created_at' => $budget->created_at->toAtomString(), - 'updated_at' => $budget->updated_at->toAtomString(), - 'active' => $budget->active, - 'name' => $budget->name, - 'order' => $budget->order, - 'notes' => $notes, - 'auto_budget_type' => $abType, - 'auto_budget_period' => $abPeriod, + 'id' => (string) $budget->id, + 'created_at' => $budget->created_at->toAtomString(), + 'updated_at' => $budget->updated_at->toAtomString(), + 'active' => $budget->active, + 'name' => $budget->name, + 'order' => $budget->order, + 'notes' => $notes, + 'auto_budget_type' => $abType, + 'auto_budget_period' => $abPeriod, - 'currency_id' => null === $autoBudget ? null : (string) $autoBudget->transactionCurrency->id, - 'currency_code' => $autoBudget?->transactionCurrency->code, - 'currency_name' => $autoBudget?->transactionCurrency->name, - 'currency_decimal_places' => $autoBudget?->transactionCurrency->decimal_places, - 'currency_symbol' => $autoBudget?->transactionCurrency->symbol, + 'currency_id' => null === $autoBudget ? null : (string) $autoBudget->transactionCurrency->id, + 'currency_code' => $autoBudget?->transactionCurrency->code, + 'currency_name' => $autoBudget?->transactionCurrency->name, + 'currency_decimal_places' => $autoBudget?->transactionCurrency->decimal_places, + 'currency_symbol' => $autoBudget?->transactionCurrency->symbol, 'primary_currency_id' => $primary instanceof TransactionCurrency ? (string) $primary->id : null, 'primary_currency_code' => $primary?->code, @@ -120,10 +120,10 @@ class BudgetTransformer extends AbstractTransformer // amount and primary currency amount if present. - 'auto_budget_amount' => $abAmount, - 'pc_auto_budget_amount' => $abPrimary, - 'spent' => $spent, // always in primary currency. - 'links' => [ + 'auto_budget_amount' => $abAmount, + 'pc_auto_budget_amount' => $abPrimary, + 'spent' => $spent, // always in primary currency. + 'links' => [ [ 'rel' => 'self', 'uri' => '/budgets/'.$budget->id, diff --git a/app/Transformers/CategoryTransformer.php b/app/Transformers/CategoryTransformer.php index cad3bdb15f..ffc3618fee 100644 --- a/app/Transformers/CategoryTransformer.php +++ b/app/Transformers/CategoryTransformer.php @@ -60,10 +60,10 @@ class CategoryTransformer extends AbstractTransformer $this->opsRepository->setUser($category->user); $this->repository->setUser($category->user); - $spent = []; - $earned = []; - $start = $this->parameters->get('start'); - $end = $this->parameters->get('end'); + $spent = []; + $earned = []; + $start = $this->parameters->get('start'); + $end = $this->parameters->get('end'); if (null !== $start && null !== $end) { $earned = $this->beautify($this->opsRepository->sumIncome($start, $end, null, new Collection([$category]))); $spent = $this->beautify($this->opsRepository->sumExpenses($start, $end, null, new Collection([$category]))); @@ -72,7 +72,7 @@ class CategoryTransformer extends AbstractTransformer if (!$this->convertToNative) { $primary = null; } - $notes = $this->repository->getNoteText($category); + $notes = $this->repository->getNoteText($category); return [ 'id' => $category->id, @@ -89,7 +89,7 @@ class CategoryTransformer extends AbstractTransformer 'links' => [ [ 'rel' => 'self', - 'uri' => '/categories/' . $category->id, + 'uri' => '/categories/'.$category->id, ], ], ]; diff --git a/app/Transformers/PiggyBankTransformer.php b/app/Transformers/PiggyBankTransformer.php index ece95aeb6e..674ba62faa 100644 --- a/app/Transformers/PiggyBankTransformer.php +++ b/app/Transformers/PiggyBankTransformer.php @@ -135,7 +135,7 @@ class PiggyBankTransformer extends AbstractTransformer 'id' => (string) $account->id, 'name' => $account->name, 'current_amount' => (string) $account->pivot->current_amount, - 'pc_current_amount' => (string) $account->pivot->native_current_amount, + 'pc_current_amount' => (string) $account->pivot->native_current_amount, // TODO add balance, add left to save. ]; } diff --git a/app/Transformers/TransactionGroupTransformer.php b/app/Transformers/TransactionGroupTransformer.php index ea3b57c713..f5ee41f1e9 100644 --- a/app/Transformers/TransactionGroupTransformer.php +++ b/app/Transformers/TransactionGroupTransformer.php @@ -139,29 +139,29 @@ class TransactionGroupTransformer extends AbstractTransformer $recurrenceCount = null !== $recurrenceCount ? (int) $recurrenceCount : null; return [ - 'user' => (string) $transaction['user_id'], - 'transaction_journal_id' => (string) $transaction['transaction_journal_id'], - 'type' => strtolower((string) $type), - 'date' => $transaction['date']->toAtomString(), - 'order' => $transaction['order'], + 'user' => (string) $transaction['user_id'], + 'transaction_journal_id' => (string) $transaction['transaction_journal_id'], + 'type' => strtolower((string) $type), + 'date' => $transaction['date']->toAtomString(), + 'order' => $transaction['order'], - 'currency_id' => (string) $transaction['currency_id'], - 'currency_code' => $transaction['currency_code'], - 'currency_name' => $transaction['currency_name'], - 'currency_symbol' => $transaction['currency_symbol'], - 'currency_decimal_places' => (int) $transaction['currency_decimal_places'], + 'currency_id' => (string) $transaction['currency_id'], + 'currency_code' => $transaction['currency_code'], + 'currency_name' => $transaction['currency_name'], + 'currency_symbol' => $transaction['currency_symbol'], + 'currency_decimal_places' => (int) $transaction['currency_decimal_places'], - 'foreign_currency_id' => $this->stringFromArray($transaction, 'foreign_currency_id', null), - 'foreign_currency_code' => $transaction['foreign_currency_code'], - 'foreign_currency_name' => $transaction['foreign_currency_name'], - 'foreign_currency_symbol' => $transaction['foreign_currency_symbol'], - 'foreign_currency_decimal_places' => $transaction['foreign_currency_decimal_places'], + 'foreign_currency_id' => $this->stringFromArray($transaction, 'foreign_currency_id', null), + 'foreign_currency_code' => $transaction['foreign_currency_code'], + 'foreign_currency_name' => $transaction['foreign_currency_name'], + 'foreign_currency_symbol' => $transaction['foreign_currency_symbol'], + 'foreign_currency_decimal_places' => $transaction['foreign_currency_decimal_places'], - 'amount' => $amount, - 'foreign_amount' => $foreignAmount, + 'amount' => $amount, + 'foreign_amount' => $foreignAmount, // primary currency amount, defaults to NULL when convertToPrimary is false. - 'pc_amount' => $transaction['pc_amount'] ?? null, + 'pc_amount' => $transaction['pc_amount'] ?? null, // primary currency, always present. 'primary_currency_id' => $transaction['primary_currency']['id'] ?? null, @@ -171,12 +171,12 @@ class TransactionGroupTransformer extends AbstractTransformer 'primary_currency_decimal_places' => $transaction['primary_currency']['decimal_places'] ?? null, // source balance after - 'source_balance_after' => $transaction['source_balance_after'] ?? null, - 'source_balance_dirty' => $transaction['source_balance_dirty'], + 'source_balance_after' => $transaction['source_balance_after'] ?? null, + 'source_balance_dirty' => $transaction['source_balance_dirty'], // destination balance after - 'destination_balance_after' => $transaction['destination_balance_after'] ?? null, - 'destination_balance_dirty' => $transaction['destination_balance_dirty'], + 'destination_balance_after' => $transaction['destination_balance_after'] ?? null, + 'destination_balance_dirty' => $transaction['destination_balance_dirty'], // balance before and after, if not dirty. // 'running_balance_dirty' => $transaction['balance_dirty'] ?? false, @@ -185,61 +185,61 @@ class TransactionGroupTransformer extends AbstractTransformer - 'description' => $transaction['description'], + 'description' => $transaction['description'], - 'source_id' => (string) $transaction['source_account_id'], - 'source_name' => $transaction['source_account_name'], - 'source_iban' => $transaction['source_account_iban'], - 'source_type' => $transaction['source_account_type'], + 'source_id' => (string) $transaction['source_account_id'], + 'source_name' => $transaction['source_account_name'], + 'source_iban' => $transaction['source_account_iban'], + 'source_type' => $transaction['source_account_type'], - 'destination_id' => (string) $transaction['destination_account_id'], - 'destination_name' => $transaction['destination_account_name'], - 'destination_iban' => $transaction['destination_account_iban'], - 'destination_type' => $transaction['destination_account_type'], + 'destination_id' => (string) $transaction['destination_account_id'], + 'destination_name' => $transaction['destination_account_name'], + 'destination_iban' => $transaction['destination_account_iban'], + 'destination_type' => $transaction['destination_account_type'], - 'budget_id' => $this->stringFromArray($transaction, 'budget_id', null), - 'budget_name' => $transaction['budget_name'], + 'budget_id' => $this->stringFromArray($transaction, 'budget_id', null), + 'budget_name' => $transaction['budget_name'], - 'category_id' => $this->stringFromArray($transaction, 'category_id', null), - 'category_name' => $transaction['category_name'], + 'category_id' => $this->stringFromArray($transaction, 'category_id', null), + 'category_name' => $transaction['category_name'], - 'bill_id' => $this->stringFromArray($transaction, 'bill_id', null), - 'bill_name' => $transaction['bill_name'], + 'bill_id' => $this->stringFromArray($transaction, 'bill_id', null), + 'bill_name' => $transaction['bill_name'], - 'reconciled' => $transaction['reconciled'], - 'notes' => $transaction['notes'], - 'tags' => $transaction['tags'], + 'reconciled' => $transaction['reconciled'], + 'notes' => $transaction['notes'], + 'tags' => $transaction['tags'], - 'internal_reference' => $transaction['meta']['internal_reference'] ?? null, - 'external_id' => $transaction['meta']['external_id'] ?? null, - 'original_source' => $transaction['meta']['original_source'] ?? null, - 'recurrence_id' => $transaction['meta']['recurrence_id'] ?? null, - 'recurrence_total' => $recurrenceTotal, - 'recurrence_count' => $recurrenceCount, - 'bunq_payment_id' => $transaction['meta']['bunq_payment_id'] ?? null, - 'external_url' => $transaction['meta']['external_url'] ?? null, - 'import_hash_v2' => $transaction['meta']['import_hash_v2'] ?? null, + 'internal_reference' => $transaction['meta']['internal_reference'] ?? null, + 'external_id' => $transaction['meta']['external_id'] ?? null, + 'original_source' => $transaction['meta']['original_source'] ?? null, + 'recurrence_id' => $transaction['meta']['recurrence_id'] ?? null, + 'recurrence_total' => $recurrenceTotal, + 'recurrence_count' => $recurrenceCount, + 'bunq_payment_id' => $transaction['meta']['bunq_payment_id'] ?? null, + 'external_url' => $transaction['meta']['external_url'] ?? null, + 'import_hash_v2' => $transaction['meta']['import_hash_v2'] ?? null, - 'sepa_cc' => $transaction['meta']['sepa_cc'] ?? null, - 'sepa_ct_op' => $transaction['meta']['sepa_ct_op'] ?? null, - 'sepa_ct_id' => $transaction['meta']['sepa_ct_id'] ?? null, - 'sepa_db' => $transaction['meta']['sepa_db'] ?? null, - 'sepa_country' => $transaction['meta']['sepa_country'] ?? null, - 'sepa_ep' => $transaction['meta']['sepa_ep'] ?? null, - 'sepa_ci' => $transaction['meta']['sepa_ci'] ?? null, - 'sepa_batch_id' => $transaction['meta']['sepa_batch_id'] ?? null, + 'sepa_cc' => $transaction['meta']['sepa_cc'] ?? null, + 'sepa_ct_op' => $transaction['meta']['sepa_ct_op'] ?? null, + 'sepa_ct_id' => $transaction['meta']['sepa_ct_id'] ?? null, + 'sepa_db' => $transaction['meta']['sepa_db'] ?? null, + 'sepa_country' => $transaction['meta']['sepa_country'] ?? null, + 'sepa_ep' => $transaction['meta']['sepa_ep'] ?? null, + 'sepa_ci' => $transaction['meta']['sepa_ci'] ?? null, + 'sepa_batch_id' => $transaction['meta']['sepa_batch_id'] ?? null, - 'interest_date' => array_key_exists('interest_date', $transaction['meta_date']) ? $transaction['meta_date']['interest_date']->toW3CString() : null, - 'book_date' => array_key_exists('book_date', $transaction['meta_date']) ? $transaction['meta_date']['book_date']->toW3CString() : null, - 'process_date' => array_key_exists('process_date', $transaction['meta_date']) ? $transaction['meta_date']['process_date']->toW3CString() : null, - 'due_date' => array_key_exists('due_date', $transaction['meta_date']) ? $transaction['meta_date']['due_date']->toW3CString() : null, - 'payment_date' => array_key_exists('payment_date', $transaction['meta_date']) ? $transaction['meta_date']['payment_date']->toW3CString() : null, - 'invoice_date' => array_key_exists('invoice_date', $transaction['meta_date']) ? $transaction['meta_date']['invoice_date']->toW3CString() : null, + 'interest_date' => array_key_exists('interest_date', $transaction['meta_date']) ? $transaction['meta_date']['interest_date']->toW3CString() : null, + 'book_date' => array_key_exists('book_date', $transaction['meta_date']) ? $transaction['meta_date']['book_date']->toW3CString() : null, + 'process_date' => array_key_exists('process_date', $transaction['meta_date']) ? $transaction['meta_date']['process_date']->toW3CString() : null, + 'due_date' => array_key_exists('due_date', $transaction['meta_date']) ? $transaction['meta_date']['due_date']->toW3CString() : null, + 'payment_date' => array_key_exists('payment_date', $transaction['meta_date']) ? $transaction['meta_date']['payment_date']->toW3CString() : null, + 'invoice_date' => array_key_exists('invoice_date', $transaction['meta_date']) ? $transaction['meta_date']['invoice_date']->toW3CString() : null, // location data - 'longitude' => $transaction['location']['longitude'], - 'latitude' => $transaction['location']['latitude'], - 'zoom_level' => $transaction['location']['zoom_level'], - 'has_attachments' => $transaction['attachment_count'] > 0, + 'longitude' => $transaction['location']['longitude'], + 'latitude' => $transaction['location']['latitude'], + 'zoom_level' => $transaction['location']['zoom_level'], + 'has_attachments' => $transaction['attachment_count'] > 0, ]; } diff --git a/app/Transformers/UserGroupTransformer.php b/app/Transformers/UserGroupTransformer.php index 98e495f6ef..ea822589b7 100644 --- a/app/Transformers/UserGroupTransformer.php +++ b/app/Transformers/UserGroupTransformer.php @@ -108,18 +108,18 @@ class UserGroupTransformer extends AbstractTransformer $currency = Amount::getPrimaryCurrencyByUserGroup($userGroup); return [ - 'id' => $userGroup->id, - 'created_at' => $userGroup->created_at->toAtomString(), - 'updated_at' => $userGroup->updated_at->toAtomString(), - 'in_use' => $this->inUse[$userGroup->id] ?? false, - 'can_see_members' => $this->membershipsVisible[$userGroup->id] ?? false, - 'title' => $userGroup->title, + 'id' => $userGroup->id, + 'created_at' => $userGroup->created_at->toAtomString(), + 'updated_at' => $userGroup->updated_at->toAtomString(), + 'in_use' => $this->inUse[$userGroup->id] ?? false, + 'can_see_members' => $this->membershipsVisible[$userGroup->id] ?? false, + 'title' => $userGroup->title, 'primary_currency_id' => (string) $currency->id, 'primary_currency_name' => $currency->name, 'primary_currency_code' => $currency->code, 'primary_currency_symbol' => $currency->symbol, 'primary_currency_decimal_places' => $currency->decimal_places, - 'members' => array_values($this->memberships[$userGroup->id] ?? []), + 'members' => array_values($this->memberships[$userGroup->id] ?? []), ]; // if the user has a specific role in this group, then collect the memberships. } diff --git a/composer.lock b/composer.lock index 28064be042..45a153153e 100644 --- a/composer.lock +++ b/composer.lock @@ -10771,16 +10771,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.13.3", + "version": "1.13.4", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "faed855a7b5f4d4637717c2b3863e277116beb36" + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/faed855a7b5f4d4637717c2b3863e277116beb36", - "reference": "faed855a7b5f4d4637717c2b3863e277116beb36", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/07d290f0c47959fd5eed98c95ee5602db07e0b6a", + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a", "shasum": "" }, "require": { @@ -10819,7 +10819,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.13.3" + "source": "https://github.com/myclabs/DeepCopy/tree/1.13.4" }, "funding": [ { @@ -10827,7 +10827,7 @@ "type": "tidelift" } ], - "time": "2025-07-05T12:25:42+00:00" + "time": "2025-08-01T08:46:24+00:00" }, { "name": "nikic/php-parser", @@ -11615,16 +11615,16 @@ }, { "name": "phpunit/phpunit", - "version": "12.2.9", + "version": "12.3.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "442c06d0a952a5dbffba181cff969b91fdc9bada" + "reference": "264da860d6fe0d00582355a6ecbbf7ae57b44895" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/442c06d0a952a5dbffba181cff969b91fdc9bada", - "reference": "442c06d0a952a5dbffba181cff969b91fdc9bada", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/264da860d6fe0d00582355a6ecbbf7ae57b44895", + "reference": "264da860d6fe0d00582355a6ecbbf7ae57b44895", "shasum": "" }, "require": { @@ -11660,7 +11660,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "12.2-dev" + "dev-main": "12.3-dev" } }, "autoload": { @@ -11692,7 +11692,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/12.2.9" + "source": "https://github.com/sebastianbergmann/phpunit/tree/12.3.0" }, "funding": [ { @@ -11716,7 +11716,7 @@ "type": "tidelift" } ], - "time": "2025-07-31T07:12:16+00:00" + "time": "2025-08-01T05:14:47+00:00" }, { "name": "rector/rector", diff --git a/config/firefly.php b/config/firefly.php index ba19e13e11..d4018274c7 100644 --- a/config/firefly.php +++ b/config/firefly.php @@ -78,8 +78,8 @@ return [ 'running_balance_column' => env('USE_RUNNING_BALANCE', false), // see cer.php for exchange rates feature flag. ], - 'version' => 'develop/2025-07-31', - 'build_time' => 1753977228, + 'version' => 'develop/2025-08-01', + 'build_time' => 1754046504, 'api_version' => '2.1.0', // field is no longer used. 'db_version' => 26, @@ -181,11 +181,11 @@ return [ 'darkMode' => 'browser', 'list_length' => 10, // to be removed if v1 is cancelled. 'default_preferences' => [ - 'frontpageAccounts' => [], - 'listPageSize' => 50, - 'currencyPreference' => 'EUR', - 'language' => 'en_US', - 'locale' => 'equal', + 'frontpageAccounts' => [], + 'listPageSize' => 50, + 'currencyPreference' => 'EUR', + 'language' => 'en_US', + 'locale' => 'equal', 'convertToPrimary' => false, ], 'default_currency' => 'EUR', diff --git a/package-lock.json b/package-lock.json index 05fdfe9278..c060dd1ecc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2917,13 +2917,13 @@ } }, "node_modules/@types/babel__traverse": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.7.tgz", - "integrity": "sha512-dkO5fhS7+/oos4ciWxyEyjWe48zmG6wbCheo/G2ZnHx4fs3EU6YC6UM8rk56gAjNJ9P3MTH2jo5jb92/K6wbng==", + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz", + "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.20.7" + "@babel/types": "^7.28.2" } }, "node_modules/@types/body-parser": { @@ -5700,9 +5700,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.193", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.193.tgz", - "integrity": "sha512-eePuBZXM9OVCwfYUhd2OzESeNGnWmLyeu0XAEjf7xjijNjHFdeJSzuRUGN4ueT2tEYo5YqjHramKEFxz67p3XA==", + "version": "1.5.194", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.194.tgz", + "integrity": "sha512-SdnWJwSUot04UR51I2oPD8kuP2VI37/CADR1OHsFOUzZIvfWJBO6q11k5P/uKNyTT3cdOsnyjkrZ+DDShqYqJA==", "dev": true, "license": "ISC" }, diff --git a/resources/assets/v1/src/locales/af.json b/resources/assets/v1/src/locales/af.json index 957010b1b4..93cd32955f 100644 --- a/resources/assets/v1/src/locales/af.json +++ b/resources/assets/v1/src/locales/af.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "Table", "welcome_back": "What's playing?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Client Secret", "profile_oauth_client_secret_expl": "Here is your new client secret. This is the only time it will be shown so don't lose it! You may now use this secret to make API requests.", "profile_oauth_confidential": "Confidential", - "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as native desktop or JavaScript SPA applications, are unable to hold secrets securely.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Depending on the type of transaction you create, the source and\/or destination account of subsequent splits may be overruled by whatever is defined in the first split of the transaction.", "multi_account_warning_withdrawal": "Keep in mind that the source account of subsequent splits will be overruled by whatever is defined in the first split of the withdrawal.", "multi_account_warning_deposit": "Keep in mind that the destination account of subsequent splits will be overruled by whatever is defined in the first split of the deposit.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Active", "interest_date": "Interest date", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "Title", "date": "Date", "book_date": "Book date", @@ -174,7 +174,7 @@ "list": { "title": "Title", "active": "Is active?", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "Trigger", "response": "Response", "delivery": "Delivery", diff --git a/resources/assets/v1/src/locales/bg.json b/resources/assets/v1/src/locales/bg.json index 7d2fed816a..2734fd00b1 100644 --- a/resources/assets/v1/src/locales/bg.json +++ b/resources/assets/v1/src/locales/bg.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "\u0422\u0430\u0431\u043b\u0438\u0446\u0430", "welcome_back": "\u041a\u0430\u043a\u0432\u043e \u0441\u0435 \u0441\u043b\u0443\u0447\u0432\u0430?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "\u0422\u0430\u0439\u043d\u0430 \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "profile_oauth_client_secret_expl": "\u0422\u043e\u0432\u0430 \u0435 \u043d\u043e\u0432\u0430\u0442\u0430 \u0432\u0438 \"\u0442\u0430\u0439\u043d\u0430 \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430\". \u0422\u043e\u0432\u0430 \u0435 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u0438\u044f\u0442 \u043f\u044a\u0442, \u043a\u043e\u0433\u0430\u0442\u043e \u0449\u0435 \u0431\u044a\u0434\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0430, \u0442\u0430\u043a\u0430 \u0447\u0435 \u043d\u0435 \u0433\u043e \u0433\u0443\u0431\u0435\u0442\u0435! \u0412\u0435\u0447\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u0442\u043e\u0437\u0438 \u043c\u0430\u0440\u043a\u0435\u0440, \u0437\u0430 \u0434\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u044f\u0442\u0435 \u0437\u0430\u044f\u0432\u043a\u0438 \u043a\u044a\u043c API.", "profile_oauth_confidential": "\u041f\u043e\u0432\u0435\u0440\u0438\u0442\u0435\u043b\u043d\u043e", - "profile_oauth_confidential_help": "\u0418\u0437\u0438\u0441\u043a\u0432\u0430\u0439\u0442\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0434\u0430 \u0441\u0435 \u0443\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u044f\u0432\u0430 \u0441 \u0442\u0430\u0439\u043d\u0430. \u041f\u043e\u0432\u0435\u0440\u0438\u0442\u0435\u043b\u043d\u0438\u0442\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0438 \u043c\u043e\u0433\u0430\u0442 \u0434\u0430 \u043f\u0440\u0438\u0442\u0435\u0436\u0430\u0432\u0430\u0442 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u043e\u043d\u043d\u0438 \u0434\u0430\u043d\u043d\u0438 \u043f\u043e \u0437\u0430\u0449\u0438\u0442\u0435\u043d \u043d\u0430\u0447\u0438\u043d, \u0431\u0435\u0437 \u0434\u0430 \u0433\u0438 \u0438\u0437\u043b\u0430\u0433\u0430\u0442 \u043d\u0430 \u043d\u0435\u043e\u0442\u043e\u0440\u0438\u0437\u0438\u0440\u0430\u043d\u0438 \u0441\u0442\u0440\u0430\u043d\u0438. \u041f\u0443\u0431\u043b\u0438\u0447\u043d\u0438\u0442\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043a\u0430\u0442\u043e \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u0430 \u0438\u043b\u0438 JavaScript SPA \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043d\u0435 \u043c\u043e\u0433\u0430\u0442 \u0434\u0430 \u043f\u0430\u0437\u044f\u0442 \u0442\u0430\u0439\u043d\u0438 \u043f\u043e \u0441\u0438\u0433\u0443\u0440\u0435\u043d \u043d\u0430\u0447\u0438\u043d.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "\u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442 \u043e\u0442 \u0432\u0438\u0434\u0430 \u043d\u0430 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f\u0442\u0430 \u043a\u043e\u044f\u0442\u043e \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u0442\u0435, \u0438\u0437\u0442\u043e\u0447\u043d\u0438\u043a\u044a\u0442 \u0438 \/ \u0438\u043b\u0438 \u0446\u0435\u043b\u0435\u0432\u0430\u0442\u0430 \u0441\u043c\u0435\u0442\u043a\u0430 \u043d\u0430 \u0441\u043b\u0435\u0434\u0432\u0430\u0449\u0438\u0442\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u043d\u0438\u044f \u043c\u043e\u0436\u0435 \u0434\u0430 \u0431\u044a\u0434\u0435 \u043f\u0440\u043e\u043c\u0435\u043d\u0435\u043d\u0430 \u043e\u0442 \u0442\u043e\u0432\u0430 \u043a\u043e\u0435\u0442\u043e \u0435 \u0434\u0435\u0444\u0438\u043d\u0438\u0440\u0430\u043d\u043e \u0432 \u043f\u044a\u0440\u0432\u043e\u0442\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f\u0442\u0430.", "multi_account_warning_withdrawal": "\u0418\u043c\u0430\u0439\u0442\u0435 \u043f\u0440\u0435\u0434\u0432\u0438\u0434, \u0447\u0435 \u0440\u0430\u0437\u0445\u043e\u0434\u043d\u0430 \u0441\u043c\u0435\u0442\u043a\u0430 \u043d\u0430 \u0441\u043b\u0435\u0434\u0432\u0430\u0449\u0438\u0442\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u043d\u0438\u044f \u0449\u0435 \u0431\u044a\u0434\u0435 \u0442\u0430\u0437\u0438 \u043a\u043e\u044f\u0442\u043e \u0435 \u0434\u0435\u0444\u0438\u043d\u0438\u0440\u0430\u043d\u0430 \u0432 \u043f\u044a\u0440\u0432\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b \u043d\u0430 \u0442\u0435\u0433\u043b\u0435\u043d\u0435\u0442\u043e.", "multi_account_warning_deposit": "\u0418\u043c\u0430\u0439\u0442\u0435 \u043f\u0440\u0435\u0434\u0432\u0438\u0434, \u0447\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u043d\u0430\u0442\u0430 \u0441\u043c\u0435\u0442\u043a\u0430 \u043d\u0430 \u0441\u043b\u0435\u0434\u0432\u0430\u0449\u0438\u0442\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u043d\u0438\u044f \u0449\u0435 \u0431\u044a\u0434\u0435 \u0442\u0430\u0437\u0438 \u043a\u043e\u044f\u0442\u043e \u0435 \u0434\u0435\u0444\u0438\u043d\u0438\u0440\u0430\u043d\u0430 \u0432 \u043f\u044a\u0440\u0432\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b \u043d\u0430 \u0434\u0435\u043f\u043e\u0437\u0438\u0442\u0430.", @@ -154,7 +154,7 @@ "url": "URL", "active": "\u0410\u043a\u0442\u0438\u0432\u0435\u043d", "interest_date": "\u041f\u0430\u0434\u0435\u0436 \u043d\u0430 \u043b\u0438\u0445\u0432\u0430", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "\u0417\u0430\u0433\u043b\u0430\u0432\u0438\u0435", "date": "\u0414\u0430\u0442\u0430", "book_date": "\u0414\u0430\u0442\u0430 \u043d\u0430 \u043e\u0441\u0447\u0435\u0442\u043e\u0432\u043e\u0434\u044f\u0432\u0430\u043d\u0435", @@ -174,7 +174,7 @@ "list": { "title": "\u0417\u0430\u0433\u043b\u0430\u0432\u0438\u0435", "active": "\u0410\u043a\u0442\u0438\u0432\u0435\u043d \u043b\u0438 \u0435?", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "\u0417\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u0430\u043d\u0435", "response": "\u041e\u0442\u0433\u043e\u0432\u043e\u0440", "delivery": "Delivery", diff --git a/resources/assets/v1/src/locales/ca.json b/resources/assets/v1/src/locales/ca.json index 4dde0ac977..c31559aad3 100644 --- a/resources/assets/v1/src/locales/ca.json +++ b/resources/assets/v1/src/locales/ca.json @@ -3,8 +3,8 @@ "administrations_page_title": "Administracions financeres", "administrations_index_menu": "Administracions financeres", "expires_at": "Caduca a les", - "temp_administrations_introduction": "Firefly III aviat podr\u00e0 gestionar diverses administracions financeres. Ara mateix, nom\u00e9s en teniu una. Podeu definir el t\u00edtol d'aquesta administraci\u00f3 i la seva moneda nativa. Aix\u00f2 substitueix la configuraci\u00f3 anterior on definiu la vostra \"moneda predeterminada\". Aquesta configuraci\u00f3 ara est\u00e0 vinculada a l'administraci\u00f3 financera i pot ser diferent per a cada administraci\u00f3.", - "administration_currency_form_help": "La p\u00e0gina pot trigar molt a carregar-se si canvieu la moneda nativa, ja que pot ser que la transacci\u00f3 s'hagi de convertir a la vostra (nova) moneda nativa.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edita l'administraci\u00f3 financera \"{title}\"", "table": "Taula", "welcome_back": "Qu\u00e8 est\u00e0 passant?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Secret del client", "profile_oauth_client_secret_expl": "Aquest \u00e9s el teu nou secret de client. \u00c9s l'\u00fanic cop que es mostrar\u00e0, aix\u00ed que no el perdis! Ara ja pots utilitzar aquest secret per fer crides a l'API.", "profile_oauth_confidential": "Confidencial", - "profile_oauth_confidential_help": "Requerir el client d'autenticar-se amb un secret. Els clients confidencials poden mantenir credencials de forma segura sense exposar-les a parts no autoritzades. Les aplicacions p\u00fabliques, com les d'escriptori o SPA de JavaScript, no poden guardar secrets de forma segura.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Depenent del tipus de transacci\u00f3 que cre\u00efs, el compte d'origen i\/o el de dest\u00ed de divisions posteriors pot ser anul\u00b7lada pel que es defineix en la primera divisi\u00f3 de la transacci\u00f3.", "multi_account_warning_withdrawal": "Tingues en compte que el compte d'origen de divisions posteriors ser\u00e0 anul\u00b7lat pel que es troba definit a la primera divisi\u00f3 de la retirada.", "multi_account_warning_deposit": "Tingues en compte que el compte de dest\u00ed de divisions posteriors ser\u00e0 anul\u00b7lat pel que es troba definit a la primera divisi\u00f3 del dip\u00f2sit.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Actiu", "interest_date": "Data d'inter\u00e8s", - "administration_currency": "Moneda nativa", + "administration_currency": "Primary currency", "title": "T\u00edtol", "date": "Data", "book_date": "Data de registre", @@ -174,7 +174,7 @@ "list": { "title": "T\u00edtol", "active": "Est\u00e0 actiu?", - "native_currency": "Moneda nativa", + "primary_currency": "Primary currency", "trigger": "Activador", "response": "Resposta", "delivery": "Lliurament", diff --git a/resources/assets/v1/src/locales/cs.json b/resources/assets/v1/src/locales/cs.json index 345a011dc7..e0d33f34d6 100644 --- a/resources/assets/v1/src/locales/cs.json +++ b/resources/assets/v1/src/locales/cs.json @@ -3,8 +3,8 @@ "administrations_page_title": "Spr\u00e1va financ\u00ed", "administrations_index_menu": "Spr\u00e1va financ\u00ed", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III brzy z\u00edsk\u00e1 mo\u017enost spravovat v\u00edce spr\u00e1v financ\u00ed. Moment\u00e1ln\u011b m\u00e1te pouze jednu. M\u016f\u017eete nastavit n\u00e1zev t\u00e9to spr\u00e1vy a jej\u00ed m\u00edstn\u00ed m\u011bnu. Toto nahrazuje p\u0159edchoz\u00ed nastaven\u00ed, kde jste nastavovali \u201ev\u00fdchoz\u00ed m\u011bnu\u201c. Toto nastaven\u00ed je nyn\u00ed v\u00e1z\u00e1no na spr\u00e1vu financ\u00ed a m\u016f\u017ee se li\u0161it pro ka\u017edou spr\u00e1vu.", - "administration_currency_form_help": "Pokud zm\u011bn\u00edte m\u00edstn\u00ed m\u011bnu, m\u016f\u017ee na\u010dten\u00ed str\u00e1nky trvat d\u00e9le, proto\u017ee transakce mo\u017en\u00e1 bude pot\u0159eba p\u0159ev\u00e9st na va\u0161i (novou) m\u00edstn\u00ed m\u011bnu.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Upravit spr\u00e1vu financ\u00ed \u201e{title}\u201c", "table": "Tabulka", "welcome_back": "Jak to jde?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Client Secret", "profile_oauth_client_secret_expl": "Here is your new client secret. This is the only time it will be shown so don't lose it! You may now use this secret to make API requests.", "profile_oauth_confidential": "Soukrom\u00e1 aplikace", - "profile_oauth_confidential_help": "Po\u017eadovat aby se klienti autorizovali. Soukrom\u00e9 aplikace mohou bezpe\u010dn\u011b pracovat s p\u0159\u00edstupov\u00fdmi \u00fadaji bez toho aby je zve\u0159ejnily. Ve\u0159ejn\u00e9 aplikace, nativn\u00ed nebo JavaScriptov\u00e9 SPA, toho schopn\u00e9 nejsou.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Depending on the type of transaction you create, the source and\/or destination account of subsequent splits may be overruled by whatever is defined in the first split of the transaction.", "multi_account_warning_withdrawal": "Zdrojov\u00fd \u00fa\u010det cel\u00e9 transakce je ovl\u00e1dan\u00fd prvn\u00edm rozd\u011blen\u00edm.", "multi_account_warning_deposit": "C\u00edlov\u00fd \u00fa\u010del v\u0161ech n\u00e1sleduj\u00edc\u00edch rozd\u011blen\u00ed je ovl\u00e1dan\u00fd c\u00edlov\u00fdm \u00fa\u010dtem prvn\u00edho rozd\u011blen\u00ed transakce.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Aktivn\u00ed", "interest_date": "\u00darokov\u00e9 datum", - "administration_currency": "M\u00edstn\u00ed m\u011bna", + "administration_currency": "Primary currency", "title": "N\u00e1zev", "date": "Datum", "book_date": "Datum rezervace", @@ -174,7 +174,7 @@ "list": { "title": "N\u00e1zev", "active": "Aktivn\u00ed?", - "native_currency": "M\u00edstn\u00ed m\u011bna", + "primary_currency": "Primary currency", "trigger": "Spou\u0161t\u011b\u010d", "response": "Odpov\u011b\u010f", "delivery": "Dod\u00e1n\u00ed", diff --git a/resources/assets/v1/src/locales/da.json b/resources/assets/v1/src/locales/da.json index 24a49b6eb8..3f3ce06500 100644 --- a/resources/assets/v1/src/locales/da.json +++ b/resources/assets/v1/src/locales/da.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "Tabel", "welcome_back": "Hvad spiller?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Klient Hemmelighed", "profile_oauth_client_secret_expl": "Her er din nye klient hemmelighed. Dette er den eneste tid, den vil blive vist, s\u00e5 mist det ikke! Du kan nu bruge denne hemmelighed til at lave API-anmodninger.", "profile_oauth_confidential": "Fortroligt", - "profile_oauth_confidential_help": "Kr\u00e6ver klienten at godkende med en hemmelighed. Fortrolige klienter kan holde legitimationsoplysninger p\u00e5 en sikker m\u00e5de uden at uds\u00e6tte dem for uautoriserede parter. Offentlige applikationer, s\u00e5som native desktop eller JavaScript SPA applikationer, er ikke i stand til at holde hemmeligheder sikkert.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Afh\u00e6ngigt af hvilken type transaktion du opretter kan kilden og\/eller destinationskontoen for efterf\u00f8lgende opsplitninger tilsides\u00e6ttes, uanset hvad der er defineret i den f\u00f8rste opdeling af transaktionen.", "multi_account_warning_withdrawal": "Husk, at kildekontoen for efterf\u00f8lgende opdelinger vil blive overstyret af hvad der er defineret i den f\u00f8rste opdeling af tilbagetr\u00e6kningen.", "multi_account_warning_deposit": "Husk, at destinationskontoen for efterf\u00f8lgende opdelinger vil blive tilsidesat af hvad der er defineret i den f\u00f8rste opsplitning af depositummet.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Aktiv", "interest_date": "Rentedato", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "Titel", "date": "Dato", "book_date": "Bogf\u00f8ringsdato", @@ -174,7 +174,7 @@ "list": { "title": "Titel", "active": "Aktiv?", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "Udl\u00f8ser", "response": "Svar", "delivery": "Delivery", diff --git a/resources/assets/v1/src/locales/de.json b/resources/assets/v1/src/locales/de.json index c6305cab2f..f99bcb4c73 100644 --- a/resources/assets/v1/src/locales/de.json +++ b/resources/assets/v1/src/locales/de.json @@ -3,8 +3,8 @@ "administrations_page_title": "Finanzverwaltungen", "administrations_index_menu": "Finanzverwaltung", "expires_at": "G\u00fcltig bis", - "temp_administrations_introduction": "Firefly III wird bald die M\u00f6glichkeit erhalten, mehrere Finanzverwaltungen zu verwalten. Im Moment verf\u00fcgen Sie nur \u00fcber eine. Sie k\u00f6nnen den Titel dieser Verwaltung und ihre eigene W\u00e4hrung festlegen. Dies ersetzt die bisherige Einstellung, bei der Sie Ihre \u201eStandardw\u00e4hrung\u201c festlegen konnten. Diese Einstellung ist jetzt an die Finanzverwaltung gebunden und kann f\u00fcr jede Verwaltung unterschiedlich sein.", - "administration_currency_form_help": "Es kann l\u00e4nger dauern, bis die Seite geladen ist, wenn Sie die Landesw\u00e4hrung \u00e4ndern, da die Buchungen m\u00f6glicherweise in Ihre (neue) Landesw\u00e4hrung umgerechnet werden m\u00fcssen.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Finanzverwaltung \u201e{title}\u201c bearbeiten", "table": "Tabelle", "welcome_back": "\u00dcberblick", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Client Secret", "profile_oauth_client_secret_expl": "Hier ist Ihr neuer pers\u00f6nlicher Zugangsschl\u00fcssel. Dies ist das einzige Mal, dass er angezeigt wird, also verlieren Sie ihn nicht! Sie k\u00f6nnen diesen Token jetzt verwenden, um API-Anfragen zu stellen.", "profile_oauth_confidential": "Vertraulich", - "profile_oauth_confidential_help": "Der Client muss sich mit einem Secret authentifizieren. Vertrauliche Clients k\u00f6nnen die Anmeldedaten speichern, ohne diese unautorisierten Akteuren mitzuteilen. \u00d6ffentliche Anwendungen wie native Desktop- oder JavaScript-SPA-Anwendungen k\u00f6nnen Geheimnisse nicht sicher speichern.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Abh\u00e4ngig von der Art der Buchung, die Sie anlegen, kann das Quell- und\/oder Zielkonto nachfolgender Aufteilungen durch das \u00fcberschrieben werden, was in der ersten Aufteilung der Buchung definiert wurde.", "multi_account_warning_withdrawal": "Bedenken Sie, dass das Quellkonto nachfolgender Aufteilungen von dem, was in der ersten Aufteilung der Abhebung definiert ist, au\u00dfer Kraft gesetzt wird.", "multi_account_warning_deposit": "Bedenken Sie, dass das Zielkonto nachfolgender Aufteilungen von dem, was in der ersten Aufteilung der Einnahmen definiert ist, au\u00dfer Kraft gesetzt wird.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Aktiv", "interest_date": "Zinstermin", - "administration_currency": "Landesw\u00e4hrung", + "administration_currency": "Primary currency", "title": "Titel", "date": "Datum", "book_date": "Buchungsdatum", @@ -174,7 +174,7 @@ "list": { "title": "Titel", "active": "Aktiv?", - "native_currency": "Landesw\u00e4hrung", + "primary_currency": "Primary currency", "trigger": "Ausl\u00f6ser", "response": "Antwort", "delivery": "Zustellung", diff --git a/resources/assets/v1/src/locales/el.json b/resources/assets/v1/src/locales/el.json index 77c7086820..f615499ab5 100644 --- a/resources/assets/v1/src/locales/el.json +++ b/resources/assets/v1/src/locales/el.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "\u03a0\u03af\u03bd\u03b1\u03ba\u03b1\u03c2", "welcome_back": "\u03a4\u03b9 \u03c0\u03b1\u03af\u03b6\u03b5\u03b9;", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "\u039c\u03c5\u03c3\u03c4\u03b9\u03ba\u03cc \u03a0\u03b5\u03bb\u03ac\u03c4\u03b7", "profile_oauth_client_secret_expl": "\u0395\u03b4\u03ce \u03b5\u03af\u03bd\u03b1\u03b9 \u03c4\u03bf \u03bd\u03ad\u03bf \u03c3\u03b1\u03c2 \u03bc\u03c5\u03c3\u03c4\u03b9\u03ba\u03cc \u03c0\u03b5\u03bb\u03ac\u03c4\u03b7. \u0391\u03c5\u03c4\u03ae \u03b5\u03af\u03bd\u03b1\u03b9 \u03b7 \u03bc\u03cc\u03bd\u03b7 \u03c6\u03bf\u03c1\u03ac \u03c0\u03bf\u03c5 \u03b8\u03b1 \u03c3\u03b1\u03c2 \u03b5\u03bc\u03c6\u03b1\u03bd\u03b9\u03c3\u03c4\u03b5\u03af, \u03bf\u03c0\u03cc\u03c4\u03b5 \u03bc\u03b7\u03bd \u03c4\u03bf \u03c7\u03ac\u03c3\u03b5\u03c4\u03b5! \u039c\u03c0\u03bf\u03c1\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03c4\u03bf \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b5\u03af\u03c4\u03b5 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03c4\u03b5 \u03b1\u03b9\u03c4\u03ae\u03bc\u03b1\u03c4\u03b1 API.", "profile_oauth_confidential": "\u0395\u03bc\u03c0\u03b9\u03c3\u03c4\u03b5\u03c5\u03c4\u03b9\u03ba\u03cc", - "profile_oauth_confidential_help": "\u0391\u03c0\u03b1\u03b9\u03c4\u03ae\u03c3\u03c4\u03b5 \u03b1\u03c0\u03cc \u03c4\u03bf \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1 \u03c0\u03b5\u03bb\u03ac\u03c4\u03b7 \u03bd\u03b1 \u03c0\u03c1\u03b1\u03b3\u03bc\u03b1\u03c4\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03b9 \u03ad\u03bb\u03b5\u03b3\u03c7\u03bf \u03c4\u03b1\u03c5\u03c4\u03cc\u03c4\u03b7\u03c4\u03b1\u03c2 \u03bc\u03b5 \u03ad\u03bd\u03b1 \u03bc\u03c5\u03c3\u03c4\u03b9\u03ba\u03cc. \u039f\u03b9 \u03ad\u03bc\u03c0\u03b9\u03c3\u03c4\u03bf\u03b9 \u03c0\u03b5\u03bb\u03ac\u03c4\u03b5\u03c2 \u03bc\u03c0\u03bf\u03c1\u03bf\u03cd\u03bd \u03bd\u03b1 \u03b4\u03b9\u03b1\u03c4\u03b7\u03c1\u03bf\u03cd\u03bd \u03b4\u03b9\u03b1\u03c0\u03b9\u03c3\u03c4\u03b5\u03c5\u03c4\u03ae\u03c1\u03b9\u03b1 \u03bc\u03b5 \u03b1\u03c3\u03c6\u03b1\u03bb\u03ae \u03c4\u03c1\u03cc\u03c0\u03bf \u03c7\u03c9\u03c1\u03af\u03c2 \u03bd\u03b1 \u03c4\u03b1 \u03b5\u03ba\u03b8\u03ad\u03c4\u03bf\u03c5\u03bd \u03c3\u03b5 \u03bc\u03b7 \u03b5\u03be\u03bf\u03c5\u03c3\u03b9\u03bf\u03b4\u03bf\u03c4\u03b7\u03bc\u03ad\u03bd\u03b1 \u03bc\u03ad\u03c1\u03b7. \u039f\u03b9 \u03b4\u03b7\u03bc\u03cc\u03c3\u03b9\u03b5\u03c2 \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ad\u03c2, \u03cc\u03c0\u03c9\u03c2 \u03bf\u03b9 \u03b5\u03b3\u03b3\u03b5\u03bd\u03b5\u03af\u03c2 \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ad\u03c2 \u03b3\u03b9\u03b1 \u03b5\u03c0\u03b9\u03c4\u03c1\u03b1\u03c0\u03ad\u03b6\u03b9\u03bf\u03c5\u03c2 \u03c5\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03c4\u03ad\u03c2 \u03ae JavaScript SPA, \u03b4\u03b5\u03bd \u03bc\u03c0\u03bf\u03c1\u03bf\u03cd\u03bd \u03bd\u03b1 \u03ba\u03c1\u03b1\u03c4\u03ae\u03c3\u03bf\u03c5\u03bd \u03bc\u03c5\u03c3\u03c4\u03b9\u03ba\u03ac \u03bc\u03b5 \u03b1\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "\u0391\u03bd\u03ac\u03bb\u03bf\u03b3\u03b1 \u03bc\u03b5 \u03c4\u03bf\u03bd \u03c4\u03cd\u03c0\u03bf \u03c4\u03b7\u03c2 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae\u03c2 \u03c0\u03bf\u03c5 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b5\u03af\u03c4\u03b5, \u03bf \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03c0\u03c1\u03bf\u03ad\u03bb\u03b5\u03c5\u03c3\u03b7\u03c2 \u03ae\/\u03ba\u03b1\u03b9 \u03c0\u03c1\u03bf\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd \u03c4\u03c9\u03bd \u03b5\u03c0\u03cc\u03bc\u03b5\u03bd\u03c9\u03bd \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03ce\u03bd \u03b5\u03bd\u03b4\u03ad\u03c7\u03b5\u03c4\u03b1\u03b9 \u03bd\u03b1 \u03c0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bc\u03c6\u03b8\u03b5\u03af \u03b1\u03c0\u03cc \u03b1\u03c5\u03c4\u03cc \u03c0\u03bf\u03c5 \u03bf\u03c1\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03c3\u03c4\u03bf \u03c0\u03c1\u03ce\u03c4\u03bf \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03cc \u03c4\u03b7\u03c2 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae\u03c2.", "multi_account_warning_withdrawal": "\u039b\u03ac\u03b2\u03b5\u03c4\u03b5 \u03c5\u03c0\u03cc\u03c8\u03b7 \u03cc\u03c4\u03b9 \u03bf \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03c0\u03c1\u03bf\u03ad\u03bb\u03b5\u03c5\u03c3\u03b7\u03c2 \u03c4\u03c9\u03bd \u03b5\u03c0\u03cc\u03bc\u03b5\u03bd\u03c9\u03bd \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03ce\u03bd \u03b8\u03b1 \u03c5\u03c0\u03b5\u03c1\u03b9\u03c3\u03c7\u03cd\u03c3\u03b5\u03b9 \u03b1\u03c5\u03c4\u03bf\u03cd \u03c4\u03bf\u03c5 \u03c0\u03c1\u03ce\u03c4\u03bf\u03c5 \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd \u03c4\u03b7\u03c2 \u03b1\u03bd\u03ac\u03bb\u03b7\u03c8\u03b7\u03c2.", "multi_account_warning_deposit": "\u039b\u03ac\u03b2\u03b5\u03c4\u03b5 \u03c5\u03c0\u03cc\u03c8\u03b7 \u03cc\u03c4\u03b9 \u03bf \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03c0\u03c1\u03bf\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd \u03c4\u03c9\u03bd \u03b5\u03c0\u03cc\u03bc\u03b5\u03bd\u03c9\u03bd \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03ce\u03bd \u03b8\u03b1 \u03c5\u03c0\u03b5\u03c1\u03b9\u03c3\u03c7\u03cd\u03c3\u03b5\u03b9 \u03b1\u03c5\u03c4\u03bf\u03cd \u03c4\u03bf\u03c5 \u03c0\u03c1\u03ce\u03c4\u03bf\u03c5 \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd \u03c4\u03b7\u03c2 \u03ba\u03b1\u03c4\u03ac\u03b8\u03b5\u03c3\u03b7\u03c2.", @@ -154,7 +154,7 @@ "url": "\u0394\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7 URL", "active": "\u0395\u03bd\u03b5\u03c1\u03b3\u03cc", "interest_date": "\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 \u03c4\u03bf\u03ba\u03b9\u03c3\u03bc\u03bf\u03cd", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "\u03a4\u03af\u03c4\u03bb\u03bf\u03c2", "date": "\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1", "book_date": "\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03ae\u03c2", @@ -174,7 +174,7 @@ "list": { "title": "\u03a4\u03af\u03c4\u03bb\u03bf\u03c2", "active": "\u0395\u03af\u03bd\u03b1\u03b9 \u03b5\u03bd\u03b5\u03c1\u03b3\u03cc;", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7", "response": "\u0391\u03c0\u03cc\u03ba\u03c1\u03b9\u03c3\u03b7", "delivery": "\u03a0\u03b1\u03c1\u03ac\u03b4\u03bf\u03c3\u03b7", diff --git a/resources/assets/v1/src/locales/en-gb.json b/resources/assets/v1/src/locales/en-gb.json index c98446f715..4f95028f17 100644 --- a/resources/assets/v1/src/locales/en-gb.json +++ b/resources/assets/v1/src/locales/en-gb.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "Table", "welcome_back": "What's playing?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Client Secret", "profile_oauth_client_secret_expl": "Here is your new client secret. This is the only time it will be shown so don't lose it! You may now use this secret to make API requests.", "profile_oauth_confidential": "Confidential", - "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as native desktop or JavaScript SPA applications, are unable to hold secrets securely.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Depending on the type of transaction you create, the source and\/or destination account of subsequent splits may be overruled by whatever is defined in the first split of the transaction.", "multi_account_warning_withdrawal": "Keep in mind that the source account of subsequent splits will be overruled by whatever is defined in the first split of the withdrawal.", "multi_account_warning_deposit": "Keep in mind that the destination account of subsequent splits will be overruled by whatever is defined in the first split of the deposit.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Active", "interest_date": "Interest date", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "Title", "date": "Date", "book_date": "Book date", @@ -174,7 +174,7 @@ "list": { "title": "Title", "active": "Is active?", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "Trigger", "response": "Response", "delivery": "Delivery", diff --git a/resources/assets/v1/src/locales/en.json b/resources/assets/v1/src/locales/en.json index 9effd02cb4..cf44c477c5 100644 --- a/resources/assets/v1/src/locales/en.json +++ b/resources/assets/v1/src/locales/en.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "Table", "welcome_back": "What's playing?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Client Secret", "profile_oauth_client_secret_expl": "Here is your new client secret. This is the only time it will be shown so don't lose it! You may now use this secret to make API requests.", "profile_oauth_confidential": "Confidential", - "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as native desktop or JavaScript SPA applications, are unable to hold secrets securely.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Depending on the type of transaction you create, the source and\/or destination account of subsequent splits may be overruled by whatever is defined in the first split of the transaction.", "multi_account_warning_withdrawal": "Keep in mind that the source account of subsequent splits will be overruled by whatever is defined in the first split of the withdrawal.", "multi_account_warning_deposit": "Keep in mind that the destination account of subsequent splits will be overruled by whatever is defined in the first split of the deposit.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Active", "interest_date": "Interest date", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "Title", "date": "Date", "book_date": "Book date", @@ -174,7 +174,7 @@ "list": { "title": "Title", "active": "Is active?", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "Trigger", "response": "Response", "delivery": "Delivery", diff --git a/resources/assets/v1/src/locales/es.json b/resources/assets/v1/src/locales/es.json index 36d25d130a..18490417b2 100644 --- a/resources/assets/v1/src/locales/es.json +++ b/resources/assets/v1/src/locales/es.json @@ -3,8 +3,8 @@ "administrations_page_title": "Administraciones financieras", "administrations_index_menu": "Administraciones financieras", "expires_at": "Expira el", - "temp_administrations_introduction": "Firefly III pronto tendr\u00e1 la capacidad de gestionar m\u00faltiples administraciones financieras. Ahora mismo, solo tienes uno. Puedes establecer el t\u00edtulo de esta administraci\u00f3n y su moneda nativa. Esto reemplaza la configuraci\u00f3n anterior donde establecer\u00eda su \"moneda predeterminada\". Esta situaci\u00f3n est\u00e1 vinculada ahora a la administraci\u00f3n financiera y puede ser diferente por administraci\u00f3n.", - "administration_currency_form_help": "Puede tardar mucho tiempo en cargar la p\u00e1gina si cambia la moneda nativa porque la transacci\u00f3n puede necesitar ser convertida a su (nueva) moneda nativa.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Editar administraci\u00f3n financiera \"{title}\"", "table": "Mesa", "welcome_back": "\u00bfQu\u00e9 est\u00e1 pasando?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Secreto del Cliente", "profile_oauth_client_secret_expl": "Aqu\u00ed est\u00e1 su nuevo secreto de cliente. Esta es la \u00fanica vez que se mostrar\u00e1 as\u00ed que no lo pierda! Ahora puede usar este secreto para hacer solicitudes de API.", "profile_oauth_confidential": "Confidencial", - "profile_oauth_confidential_help": "Requerir que el cliente se autentifique con un secreto. Los clientes confidenciales pueden mantener las credenciales de forma segura sin exponerlas a partes no autorizadas. Las aplicaciones p\u00fablicas, como aplicaciones de escritorio nativo o SPA de JavaScript, no pueden guardar secretos de forma segura.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Dependiendo del tipo de transacci\u00f3n que cree, la cuenta de origen y\/o destino de divisiones posteriores puede ser anulada por lo que se define en la primera divisi\u00f3n de la transacci\u00f3n.", "multi_account_warning_withdrawal": "Tenga en cuenta que la cuenta de origen de las divisiones posteriores ser\u00e1 anulada por lo que se defina en la primera divisi\u00f3n del gasto.", "multi_account_warning_deposit": "Tenga en cuenta que la cuenta de destino de las divisiones posteriores ser\u00e1 anulada por lo que se defina en la primera divisi\u00f3n del retiro.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Activo", "interest_date": "Fecha de inter\u00e9s", - "administration_currency": "Moneda nativa", + "administration_currency": "Primary currency", "title": "T\u00edtulo", "date": "Fecha", "book_date": "Fecha de registro", @@ -174,7 +174,7 @@ "list": { "title": "T\u00edtulo", "active": "\u00bfEst\u00e1 Activo?", - "native_currency": "Moneda nativa", + "primary_currency": "Primary currency", "trigger": "Disparador", "response": "Respuesta", "delivery": "Entrega", diff --git a/resources/assets/v1/src/locales/fa.json b/resources/assets/v1/src/locales/fa.json index dc395c9c28..27b55112f9 100644 --- a/resources/assets/v1/src/locales/fa.json +++ b/resources/assets/v1/src/locales/fa.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "\u062c\u062f\u0648\u0644", "welcome_back": "\u0686\u0647 \u062e\u0628\u0631\u061f", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "\u0631\u0627\u0632 \u0645\u0634\u062a\u0631\u06cc", "profile_oauth_client_secret_expl": "\u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0631\u0627\u0632 \u0645\u0634\u062a\u0631\u06cc \u062c\u062f\u06cc\u062f \u0634\u0645\u0627 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f. \u0627\u06cc\u0646 \u062a\u0646\u0647\u0627 \u0628\u0627\u0631\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u062f \u0634\u062f\u060c \u067e\u0633 \u0622\u0646 \u0631\u0627 \u0627\u0632 \u062f\u0633\u062a \u0646\u062f\u0647\u06cc\u062f! \u0627\u06a9\u0646\u0648\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646 \u0631\u0627\u0632 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0627\u06cc API \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.\n", "profile_oauth_confidential": "\u0645\u062d\u0631\u0645\u0627\u0646\u0647", - "profile_oauth_confidential_help": "\u0627\u0632 \u0645\u0634\u062a\u0631\u06cc \u0628\u062e\u0648\u0627\u0647\u06cc\u062f \u0628\u0627 \u06cc\u06a9 \u0631\u0627\u0632 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u06a9\u0646\u062f. \u0645\u0634\u062a\u0631\u06cc\u0627\u0646 \u0645\u062d\u0631\u0645\u0627\u0646\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u0627\u0639\u062a\u0628\u0627\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u0631\u0627 \u0628\u0647 \u0631\u0648\u0634\u06cc \u0627\u0645\u0646 \u0648 \u0628\u062f\u0648\u0646 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 \u0622\u0646\u0647\u0627 \u062f\u0631 \u0645\u0639\u0631\u0636 \u0627\u0634\u062e\u0627\u0635 \u063a\u06cc\u0631\u0645\u062c\u0627\u0632 \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u06a9\u0646\u0646\u062f. \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u0639\u0645\u0648\u0645\u06cc\u060c \u0645\u0627\u0646\u0646\u062f \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u062f\u0633\u06a9\u062a\u0627\u067e \u0628\u0648\u0645\u06cc \u06cc\u0627 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a SPA\u060c \u0646\u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u0627\u0633\u0631\u0627\u0631 \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u0627\u06cc\u0645\u0646 \u0646\u06af\u0647 \u062f\u0627\u0631\u0646\u062f.\n", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "\u0628\u0633\u062a\u0647 \u0628\u0647 \u0646\u0648\u0639 \u062a\u0631\u0627\u06a9\u0646\u0634\u06cc \u06a9\u0647 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f\u060c \u062d\u0633\u0627\u0628 \u0645\u0646\u0628\u0639 \u0648\/\u06cc\u0627 \u0645\u0642\u0635\u062f \u062a\u0642\u0633\u06cc\u0645\u200c\u0647\u0627\u06cc \u0628\u0639\u062f\u06cc \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0628\u0627 \u0647\u0631 \u0622\u0646\u0686\u0647 \u062f\u0631 \u062a\u0642\u0633\u06cc\u0645 \u0627\u0648\u0644 \u062a\u0631\u0627\u06a9\u0646\u0634 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0627\u0633\u062a \u0644\u063a\u0648 \u0634\u0648\u062f.\n", "multi_account_warning_withdrawal": "\u0628\u0647 \u062e\u0627\u0637\u0631 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u062d\u0633\u0627\u0628 \u0645\u0646\u0628\u0639 \u0627\u0646\u0634\u0639\u0627\u0628\u0627\u062a \u0628\u0639\u062f\u06cc \u0628\u0627 \u0647\u0631 \u0622\u0646\u0686\u0647 \u062f\u0631 \u062a\u0642\u0633\u06cc\u0645 \u0627\u0648\u0644 \u0628\u0631\u062f\u0627\u0634\u062a \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0627\u0633\u062a \u0644\u063a\u0648 \u0645\u06cc \u0634\u0648\u062f.\n", "multi_account_warning_deposit": "\u0628\u0647 \u062e\u0627\u0637\u0631 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u062d\u0633\u0627\u0628 \u0645\u0642\u0635\u062f \u062a\u0642\u0633\u06cc\u0645 \u0647\u0627\u06cc \u0628\u0639\u062f\u06cc \u0628\u0627 \u0647\u0631 \u0622\u0646\u0686\u0647 \u062f\u0631 \u0627\u0648\u0644\u06cc\u0646 \u062a\u0642\u0633\u06cc\u0645 \u0633\u067e\u0631\u062f\u0647 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0627\u0633\u062a \u0644\u063a\u0648 \u0645\u06cc \u0634\u0648\u062f.\n", @@ -154,7 +154,7 @@ "url": "\u0646\u0634\u0627\u0646\u06cc \u200cURL", "active": "\u0641\u0639\u0627\u0644", "interest_date": "\u0646\u0631\u062e \u0628\u0647\u0631\u0647", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "\u0639\u0646\u0648\u0627\u0646", "date": "\u062a\u0627\u0631\u06cc\u062e", "book_date": "\u062a\u0627\u0631\u06cc\u062e \u06a9\u062a\u0627\u0628", @@ -174,7 +174,7 @@ "list": { "title": "\u0639\u0646\u0648\u0627\u0646", "active": "\u0641\u0639\u0627\u0644 \u0627\u0633\u062a\u061f", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "\u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632", "response": "\u067e\u0627\u0633\u062e", "delivery": "\u062a\u062d\u0648\u06cc\u0644", diff --git a/resources/assets/v1/src/locales/fi.json b/resources/assets/v1/src/locales/fi.json index e17ab83b40..391f827bb9 100644 --- a/resources/assets/v1/src/locales/fi.json +++ b/resources/assets/v1/src/locales/fi.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "Taulukko", "welcome_back": "Mit\u00e4 kuuluu?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Asiakkaan salausavain (Client secret)", "profile_oauth_client_secret_expl": "T\u00e4ss\u00e4 on uusi asiakkaan salausavaimesi. T\u00e4m\u00e4 on ainoa kerta kun se n\u00e4ytet\u00e4\u00e4n, joten \u00e4l\u00e4 hukkaa sit\u00e4! Voit nyt k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 avainta tehd\u00e4ksesi API komentoja.", "profile_oauth_confidential": "Luottamuksellinen", - "profile_oauth_confidential_help": "Vaadi asiakasta tunnistautumaan salausavaimella. Luotettavat asiakkaat pystyv\u00e4t yll\u00e4pit\u00e4m\u00e4\u00e4n k\u00e4ytt\u00e4j\u00e4tunnuksia turvallisella tavalla paljastamatta niit\u00e4 luvattomille osapuolille. Julkiset sovellukset, kuten natiivi ty\u00f6p\u00f6yt\u00e4 tai JavaScript SPA sovellukset, eiv\u00e4t pysty pit\u00e4m\u00e4\u00e4n salausavaimia tietoturvallisesti.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Riippuen luomasi tapahtuman tyypist\u00e4, my\u00f6hempien jaotteluiden l\u00e4hde- ja\/tai kohdetilin tyyppi voidaan kumota sen mukaan, mit\u00e4 on m\u00e4\u00e4ritelty tapahtuman ensimm\u00e4isess\u00e4 jaossa.", "multi_account_warning_withdrawal": "Muista, ett\u00e4 my\u00f6hempien jakojen l\u00e4hdetili m\u00e4\u00e4r\u00e4ytyy noston ensimm\u00e4isen jaon m\u00e4\u00e4ritysten mukaan.", "multi_account_warning_deposit": "Muista, ett\u00e4 my\u00f6hempien jakojen kohdetili m\u00e4\u00e4r\u00e4ytyy talletuksen ensimm\u00e4isen jaon m\u00e4\u00e4ritysten mukaan.", @@ -154,7 +154,7 @@ "url": "URL-osoite", "active": "Aktiivinen", "interest_date": "Korkop\u00e4iv\u00e4", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "Otsikko", "date": "P\u00e4iv\u00e4m\u00e4\u00e4r\u00e4", "book_date": "Kirjausp\u00e4iv\u00e4", @@ -174,7 +174,7 @@ "list": { "title": "Otsikko", "active": "Aktiivinen?", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "Ehto", "response": "Vastaus", "delivery": "Toimitus", diff --git a/resources/assets/v1/src/locales/fr.json b/resources/assets/v1/src/locales/fr.json index 4e60e54d3a..81649efa5a 100644 --- a/resources/assets/v1/src/locales/fr.json +++ b/resources/assets/v1/src/locales/fr.json @@ -3,8 +3,8 @@ "administrations_page_title": "Administrations financi\u00e8res", "administrations_index_menu": "Administrations financi\u00e8res", "expires_at": "Expire le", - "temp_administrations_introduction": "Firefly III aura bient\u00f4t la possibilit\u00e9 de g\u00e9rer plusieurs administrations financi\u00e8res. Pour le moment, vous n'en avez qu'une. Vous pouvez d\u00e9finir le titre de cette administration et de sa devise locale. Cela remplace le param\u00e8tre pr\u00e9c\u00e9dent o\u00f9 vous d\u00e9finissiez votre \"devise par d\u00e9faut\". Ce param\u00e8tre est d\u00e9sormais li\u00e9 \u00e0 l'administration financi\u00e8re et peut \u00eatre diff\u00e9rent par administration.", - "administration_currency_form_help": "La page peut mettre longtemps \u00e0 charger si vous modifiez la devise locale, car des op\u00e9rations peuvent n\u00e9cessiter une conversion vers votre (nouvelle) devise locale.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Modifier l'administration financi\u00e8re \"{title}\"", "table": "Tableau", "welcome_back": "Quoi de neuf ?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Secret du client", "profile_oauth_client_secret_expl": "Voici votre nouveau secret de client. C'est la seule fois qu'il sera affich\u00e9, donc ne le perdez pas ! Vous pouvez maintenant utiliser ce secret pour faire des requ\u00eates d'API.", "profile_oauth_confidential": "Confidentiel", - "profile_oauth_confidential_help": "Exiger que le client s'authentifie avec un secret. Les clients confidentiels peuvent d\u00e9tenir des informations d'identification de mani\u00e8re s\u00e9curis\u00e9e sans les exposer \u00e0 des tiers non autoris\u00e9s. Les applications publiques, telles que les applications de bureau natif ou les SPA JavaScript, ne peuvent pas tenir des secrets en toute s\u00e9curit\u00e9.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Selon le type d'op\u00e9ration que vous cr\u00e9ez, le(s) compte(s) source et\/ou de destination des s\u00e9parations suivantes peuvent \u00eatre remplac\u00e9s par celui de la premi\u00e8re s\u00e9paration de l'op\u00e9ration.", "multi_account_warning_withdrawal": "Gardez en t\u00eate que le compte source des s\u00e9parations suivantes peut \u00eatre remplac\u00e9 par celui de la premi\u00e8re s\u00e9paration de la d\u00e9pense.", "multi_account_warning_deposit": "Gardez en t\u00eate que le compte de destination des s\u00e9parations suivantes peut \u00eatre remplac\u00e9 par celui de la premi\u00e8re s\u00e9paration du d\u00e9p\u00f4t.", @@ -154,7 +154,7 @@ "url": "Liens", "active": "Actif", "interest_date": "Date de valeur (int\u00e9r\u00eats)", - "administration_currency": "Devise locale", + "administration_currency": "Primary currency", "title": "Titre", "date": "Date", "book_date": "Date d'enregistrement", @@ -174,7 +174,7 @@ "list": { "title": "Titre", "active": "Actif ?", - "native_currency": "Devise locale", + "primary_currency": "Primary currency", "trigger": "D\u00e9clencheur", "response": "R\u00e9ponse", "delivery": "Distribution", diff --git a/resources/assets/v1/src/locales/hu.json b/resources/assets/v1/src/locales/hu.json index 9d14edfdfd..1192b9f2f0 100644 --- a/resources/assets/v1/src/locales/hu.json +++ b/resources/assets/v1/src/locales/hu.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "T\u00e1bl\u00e1zat", "welcome_back": "Mi a helyzet?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Kliens titkos k\u00f3dja", "profile_oauth_client_secret_expl": "Ez a kliens titkos k\u00f3dja. Ez az egyetlen alkalom, amikor meg van jelen\u00edtve, ne hagyd el! Ezzel a k\u00f3ddal v\u00e9gezhetsz API h\u00edv\u00e1sokat.", "profile_oauth_confidential": "Bizalmas", - "profile_oauth_confidential_help": "Titkos k\u00f3d haszn\u00e1lata a kliens bejelentkez\u00e9s\u00e9hez. Bizonyos kliensek biztons\u00e1gosan tudnak hiteles\u00edt\u0151 adatokat t\u00e1rolni, an\u00e9lk\u00fcl hogy jogosulatlan f\u00e9l hozz\u00e1f\u00e9rhetne. Nyilv\u00e1nos kliensek, p\u00e9ld\u00e1ul mint asztali vagy JavaScript SPA alkalmaz\u00e1sok nem tudnak biztons\u00e1gosan titkos k\u00f3dot t\u00e1rolni.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Depending on the type of transaction you create, the source and\/or destination account of subsequent splits may be overruled by whatever is defined in the first split of the transaction.", "multi_account_warning_withdrawal": "Keep in mind that the source account of subsequent splits will be overruled by whatever is defined in the first split of the withdrawal.", "multi_account_warning_deposit": "Keep in mind that the destination account of subsequent splits will be overruled by whatever is defined in the first split of the deposit.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Akt\u00edv", "interest_date": "Kamatfizet\u00e9si id\u0151pont", - "administration_currency": "Hazai p\u00e9nznem", + "administration_currency": "Primary currency", "title": "C\u00edm", "date": "D\u00e1tum", "book_date": "K\u00f6nyvel\u00e9s d\u00e1tuma", @@ -174,7 +174,7 @@ "list": { "title": "C\u00edm", "active": "Akt\u00edv?", - "native_currency": "Hazai p\u00e9nznem", + "primary_currency": "Primary currency", "trigger": "Esem\u00e9nyind\u00edt\u00f3", "response": "V\u00e1lasz", "delivery": "Sz\u00e1ll\u00edt\u00e1s", diff --git a/resources/assets/v1/src/locales/id.json b/resources/assets/v1/src/locales/id.json index 8ca557cead..54ca371e31 100644 --- a/resources/assets/v1/src/locales/id.json +++ b/resources/assets/v1/src/locales/id.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "Meja", "welcome_back": "Apa yang sedang dimainkan?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Client Secret", "profile_oauth_client_secret_expl": "Here is your new client secret. This is the only time it will be shown so don't lose it! You may now use this secret to make API requests.", "profile_oauth_confidential": "Confidential", - "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as native desktop or JavaScript SPA applications, are unable to hold secrets securely.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Depending on the type of transaction you create, the source and\/or destination account of subsequent splits may be overruled by whatever is defined in the first split of the transaction.", "multi_account_warning_withdrawal": "Keep in mind that the source account of subsequent splits will be overruled by whatever is defined in the first split of the withdrawal.", "multi_account_warning_deposit": "Keep in mind that the destination account of subsequent splits will be overruled by whatever is defined in the first split of the deposit.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Aktif", "interest_date": "Tanggal bunga", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "Judul", "date": "Tanggal", "book_date": "Tanggal buku", @@ -174,7 +174,7 @@ "list": { "title": "Judul", "active": "Aktif?", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "Trigger", "response": "Response", "delivery": "Delivery", diff --git a/resources/assets/v1/src/locales/it.json b/resources/assets/v1/src/locales/it.json index 84bf9f540a..8c5ad3bd50 100644 --- a/resources/assets/v1/src/locales/it.json +++ b/resources/assets/v1/src/locales/it.json @@ -3,8 +3,8 @@ "administrations_page_title": "Amministrazioni finanziarie", "administrations_index_menu": "Amministrazioni finanziarie", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III avr\u00e0 presto la possibilit\u00e0 di gestire pi\u00f9 amministrazioni finanziarie. In questo momento, hai solo il titolo. Puoi impostare il titolo di questa amministrazione e la sua valuta nativa. Questo sostituisce l'impostazione precedente, in cui si impostava la \"valuta predefinita\". Questa situazione \u00e8 ora legata all'amministrazione finanziaria e pu\u00f2 essere diversa per amministrazione.", - "administration_currency_form_help": "Se modifichi la valuta nativa, il caricamento della pagina potrebbe richiedere molto tempo, poich\u00e9 potrebbe essere necessario convertire la transazione nella (nuova) valuta nativa.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Modifica amministrazione finanziaria \"{title}\"", "table": "Tabella", "welcome_back": "La tua situazione finanziaria", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Segreto del client", "profile_oauth_client_secret_expl": "Ecco il segreto del nuovo client. Questa \u00e8 l'unica occasione in cui viene mostrato pertanto non perderlo! Ora puoi usare questo segreto per effettuare delle richieste alle API.", "profile_oauth_confidential": "Riservato", - "profile_oauth_confidential_help": "Richiede al client di autenticarsi con un segreto. I client riservati possono conservare le credenziali in modo sicuro senza esporle a soggetti non autorizzati. Le applicazioni pubbliche, come le applicazioni desktop native o JavaScript SPA, non sono in grado di conservare i segreti in modo sicuro.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "A seconda del tipo di transazione che hai creato, il conto di origine e\/o destinazione delle successive suddivisioni pu\u00f2 essere sovrascritto da qualsiasi cosa sia definita nella prima suddivisione della transazione.", "multi_account_warning_withdrawal": "Ricorda che il conto di origine delle successive suddivisioni verr\u00e0 sovrascritto da quello definito nella prima suddivisione del prelievo.", "multi_account_warning_deposit": "Ricorda che il conto di destinazione delle successive suddivisioni verr\u00e0 sovrascritto da quello definito nella prima suddivisione del deposito.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Attivo", "interest_date": "Data di valuta", - "administration_currency": "Valuta nativa", + "administration_currency": "Primary currency", "title": "Titolo", "date": "Data", "book_date": "Data contabile", @@ -174,7 +174,7 @@ "list": { "title": "Titolo", "active": "\u00c8 attivo?", - "native_currency": "Valuta nativa", + "primary_currency": "Primary currency", "trigger": "Trigger", "response": "Risposta", "delivery": "Consegna", diff --git a/resources/assets/v1/src/locales/ja.json b/resources/assets/v1/src/locales/ja.json index a7311de21a..7b01b0146c 100644 --- a/resources/assets/v1/src/locales/ja.json +++ b/resources/assets/v1/src/locales/ja.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "\u8868", "welcome_back": "\u6982\u8981", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b7\u30fc\u30af\u30ec\u30c3\u30c8", "profile_oauth_client_secret_expl": "\u65b0\u3057\u3044\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3067\u3059\u3002 \u3053\u308c\u306f\u4e00\u5ea6\u3057\u304b\u8868\u793a\u3055\u308c\u306a\u3044\u306e\u3067\u3001\u5931\u304f\u3055\u306a\u3044\u3067\u304f\u3060\u3055\u3044\uff01\u3053\u306e\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u306b\u3088\u308a API \u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002", "profile_oauth_confidential": "\u6a5f\u5bc6", - "profile_oauth_confidential_help": "\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u4f7f\u3063\u3066\u8a8d\u8a3c\u3059\u308b\u3053\u3068\u3092\u8981\u6c42\u3057\u307e\u3059\u3002\u5185\u3005\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u3001\u8a31\u53ef\u3055\u308c\u3066\u3044\u306a\u3044\u8005\u306b\u516c\u958b\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u8a8d\u8a3c\u60c5\u5831\u3092\u5b89\u5168\u306a\u65b9\u6cd5\u3067\u4fdd\u6301\u3067\u304d\u307e\u3059\u3002 \u30cd\u30a4\u30c6\u30a3\u30d6\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3084 JavaScript SPA\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u306e\u30d1\u30d6\u30ea\u30c3\u30af\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u3092\u5b89\u5168\u306b\u4fdd\u6301\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "\u4f5c\u6210\u3059\u308b\u53d6\u5f15\u306e\u7a2e\u985e\u306b\u5fdc\u3058\u3066\u3001\u7d9a\u304f\u5206\u5272\u306e\u5f15\u304d\u51fa\u3057\u53e3\u5ea7\u3084\u9810\u3051\u5165\u308c\u53e3\u5ea7\u306f\u3001\u53d6\u5f15\u306e\u6700\u521d\u306e\u5206\u5272\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u306b\u3088\u3063\u3066\u8986\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002", "multi_account_warning_withdrawal": "\u7d9a\u304f\u5206\u5272\u306e\u5f15\u304d\u51fa\u3057\u53e3\u5ea7\u306f\u3001\u51fa\u91d1\u306e\u6700\u521d\u306e\u5206\u5272\u306e\u5b9a\u7fa9\u306b\u3088\u3063\u3066\u8986\u3055\u308c\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002", "multi_account_warning_deposit": "\u7d9a\u304f\u5206\u5272\u306e\u9810\u3051\u5165\u308c\u53e3\u5ea7\u306f\u3001\u9001\u91d1\u306e\u6700\u521d\u306e\u5206\u5272\u306e\u5b9a\u7fa9\u306b\u3088\u3063\u3066\u8986\u3055\u308c\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002", @@ -154,7 +154,7 @@ "url": "URL", "active": "\u6709\u52b9", "interest_date": "\u5229\u606f\u65e5", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "\u30bf\u30a4\u30c8\u30eb", "date": "\u65e5\u4ed8", "book_date": "\u8a18\u5e33\u65e5", @@ -174,7 +174,7 @@ "list": { "title": "\u30bf\u30a4\u30c8\u30eb", "active": "\u6709\u52b9", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "\u30c8\u30ea\u30ac\u30fc", "response": "\u30ec\u30b9\u30dd\u30f3\u30b9", "delivery": "\u914d\u4fe1", diff --git a/resources/assets/v1/src/locales/ko.json b/resources/assets/v1/src/locales/ko.json index 977547cb41..566d3d36ad 100644 --- a/resources/assets/v1/src/locales/ko.json +++ b/resources/assets/v1/src/locales/ko.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "\ud45c", "welcome_back": "\ubb34\uc2a8 \uc77c\uc774\uc8e0?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "\ud074\ub77c\uc774\uc5b8\ud2b8 \uc2dc\ud06c\ub9bf", "profile_oauth_client_secret_expl": "\ub2e4\uc74c\uc740 \uc0c8 \ud074\ub77c\uc774\uc5b8\ud2b8 \uc554\ud638\uc785\ub2c8\ub2e4. \uc774\ubc88 \ud55c \ubc88\ub9cc \ud45c\uc2dc\ub418\ub2c8 \ub193\uce58\uc9c0 \ub9c8\uc138\uc694! \uc774\uc81c \uc774 \ube44\ubc00 \ubc88\ud638\ub97c \uc0ac\uc6a9\ud558\uc5ec API \uc694\uccad\uc744 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.", "profile_oauth_confidential": "\ube44\ubc00", - "profile_oauth_confidential_help": "\ud074\ub77c\uc774\uc5b8\ud2b8\uac00 \uc2dc\ud06c\ub9bf\uc73c\ub85c \uc778\uc99d\ud558\ub3c4\ub85d \uc694\uad6c\ud569\ub2c8\ub2e4. \uae30\ubc00 \ud074\ub77c\uc774\uc5b8\ud2b8\ub294 \uad8c\ud55c\uc774 \uc5c6\ub294 \uc0ac\ub78c\uc5d0\uac8c \uc790\uaca9 \uc99d\uba85\uc744 \ub178\ucd9c\ud558\uc9c0 \uc54a\uace0 \uc548\uc804\ud55c \ubc29\uc2dd\uc73c\ub85c \uc790\uaca9 \uc99d\uba85\uc744 \ubcf4\uad00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uae30\ubcf8 \ub370\uc2a4\ud06c\ud1b1 \ub610\ub294 JavaScript SPA \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uacfc \uac19\uc740 \uacf5\uac1c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc2dc\ud06c\ub9bf\uc744 \uc548\uc804\ud558\uac8c \ubcf4\uad00\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "\uc0dd\uc131\ud55c \uac70\ub798 \uc720\ud615\uc5d0 \ub530\ub77c \ub4a4\ub530\ub974\ub294 \ubd84\ud560\uc758 \uc18c\uc2a4 \ubc0f\/\ub610\ub294 \ub300\uc0c1 \uacc4\uc815\uc740 \ub300\uc0c1 \uacc4\uc815 \uac70\ub798\uc758 \uccab \ubc88\uc9f8 \ubd84\ud560\uc5d0 \uc815\uc758\ub41c \ub0b4\uc6a9\uc5d0 \ub530\ub77c \ubb34\uc2dc\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.", "multi_account_warning_withdrawal": "\ub4a4\ub530\ub974\ub294 \ubd84\ud560\uc758 \uc18c\uc2a4 \uacc4\uc815\uc740 \uccab \ubc88\uc9f8 \ucd9c\uae08 \ubd84\ud560\uc5d0 \uc815\uc758\ub41c \ub0b4\uc6a9\uc5d0 \ub530\ub77c \uc7ac\uc815\uc758\ub41c\ub2e4\ub294 \uc810\uc5d0 \uc720\uc758\ud558\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.", "multi_account_warning_deposit": "\ub4a4\ub530\ub974\ub294 \ubd84\ud560\uc758 \ub300\uc0c1 \uacc4\uc815\uc740 \uccab \ubc88\uc9f8 \uc785\uae08 \ubd84\ud560\uc5d0 \uc815\uc758\ub41c \ub0b4\uc6a9\uc5d0 \ub530\ub77c \uc7ac\uc815\uc758\ub41c\ub2e4\ub294 \uc810\uc5d0 \uc720\uc758\ud558\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.", @@ -154,7 +154,7 @@ "url": "URL", "active": "\ud65c\uc131", "interest_date": "\uc774\uc790 \ub0a0\uc9dc", - "administration_currency": "\uc790\uad6d \ud1b5\ud654", + "administration_currency": "Primary currency", "title": "\uc81c\ubaa9", "date": "\ub0a0\uc9dc", "book_date": "\uc608\uc57d\uc77c", @@ -174,7 +174,7 @@ "list": { "title": "\uc81c\ubaa9", "active": "\ud65c\uc131 \uc0c1\ud0dc\uc785\ub2c8\uae4c?", - "native_currency": "\uc790\uad6d \ud1b5\ud654", + "primary_currency": "Primary currency", "trigger": "\ud2b8\ub9ac\uac70", "response": "\uc751\ub2f5", "delivery": "\uc804\ub2ec", diff --git a/resources/assets/v1/src/locales/nb.json b/resources/assets/v1/src/locales/nb.json index 8a45a6b939..a119efcc89 100644 --- a/resources/assets/v1/src/locales/nb.json +++ b/resources/assets/v1/src/locales/nb.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "Tabell", "welcome_back": "Hvordan g\u00e5r det?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Klient hemmilghet", "profile_oauth_client_secret_expl": "Her er din nye klient hemmelighet. Dette er den eneste tiden det blir vist s\u00e5 ikke mister den! Du kan n\u00e5 bruke denne hemmeligheten til \u00e5 lage API-foresp\u00f8rsler.", "profile_oauth_confidential": "Konfidensiell", - "profile_oauth_confidential_help": "Krev at klienten godkjenner med en \"secret\". Konfidensielle klienter kan holde legitimasjon p\u00e5 en sikker m\u00e5te uten \u00e5 utsette dem for uautoriserte parter. Offentlige programmer, som skrivebord eller JavaScript SPA-programmer, kan ikke holde secret \"sikret\".", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Avhengig av hvilken type transaksjon du oppretter, Kilden og\/eller destinasjonskonto for etterf\u00f8lgende delinger kan overstyres av det som er definert i transaksjonens f\u00f8rste del.", "multi_account_warning_withdrawal": "Husk at kildekontoen for etterf\u00f8lgende oppsplitting skal overlates av hva som defineres i den f\u00f8rste delen av uttrekket.", "multi_account_warning_deposit": "Husk at mottakerkontoen for etterf\u00f8lgende oppsplitting skal overstyres av det som er definert i den f\u00f8rste delen av depositumet.", @@ -154,7 +154,7 @@ "url": "Nettadresse", "active": "Aktiv", "interest_date": "Rentedato", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "Tittel", "date": "Dato", "book_date": "Bokf\u00f8ringsdato", @@ -174,7 +174,7 @@ "list": { "title": "Tittel", "active": "Er aktiv?", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "Utl\u00f8ser", "response": "Respons", "delivery": "Levering", diff --git a/resources/assets/v1/src/locales/nl.json b/resources/assets/v1/src/locales/nl.json index c87bdf1f7a..65a3af51d5 100644 --- a/resources/assets/v1/src/locales/nl.json +++ b/resources/assets/v1/src/locales/nl.json @@ -3,8 +3,8 @@ "administrations_page_title": "Grootboeken", "administrations_index_menu": "Grootboeken", "expires_at": "Verloopt op", - "temp_administrations_introduction": "Firefly III krijgt binnenkort het vermogen om meerdere grootboeken te beheren. Op dit moment kan dat nog niet. Je kan de titel van dit grootboek instellen en de basisvaluta. Dit vervangt de voorgaande manier waarop je je \"standaardvaluta\" zou instellen. Deze instelling is nu gekoppeld aan dit grootboek, en kan per grootboek verschillend zijn.", - "administration_currency_form_help": "Het wijzigen van deze instelling betekent dat heel veel transacties omgerekend moeten worden naar je nieuwe basisvaluta en dat kan lang duren.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Wijzig grootboek \"{title}\"", "table": "Tabel", "welcome_back": "Hoe staat het er voor?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Client secret", "profile_oauth_client_secret_expl": "Hier is je nieuwe client secret. Dit is de enige keer dat deze getoond wordt dus verlies deze niet! Je kan dit secret gebruiken om API-aanvragen te maken.", "profile_oauth_confidential": "Vertrouwelijk", - "profile_oauth_confidential_help": "Dit vinkje is bedoeld voor applicaties die geheimen kunnen bewaren. Applicaties zoals sommige desktop-apps en Javascript apps kunnen dit niet. In zo'n geval haal je het vinkje weg.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Afhankelijk van het type transactie wordt de bron- en\/of doelrekening overschreven door wat er in de eerste split staat.", "multi_account_warning_withdrawal": "De bronrekening wordt overschreven door wat er in de eerste split staat.", "multi_account_warning_deposit": "De doelrekening wordt overschreven door wat er in de eerste split staat.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Actief", "interest_date": "Rentedatum", - "administration_currency": "Basisvaluta", + "administration_currency": "Primary currency", "title": "Titel", "date": "Datum", "book_date": "Boekdatum", @@ -174,7 +174,7 @@ "list": { "title": "Titel", "active": "Actief?", - "native_currency": "Basisvaluta", + "primary_currency": "Primary currency", "trigger": "Trigger", "response": "Reactie", "delivery": "Bericht", diff --git a/resources/assets/v1/src/locales/nn.json b/resources/assets/v1/src/locales/nn.json index 3383de47bc..dec475d212 100644 --- a/resources/assets/v1/src/locales/nn.json +++ b/resources/assets/v1/src/locales/nn.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "Tabell", "welcome_back": "Korleis g\u00e5r det?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Klient Hemmelegheit", "profile_oauth_client_secret_expl": "Her er din nye klienthemmelegheit. Dette er den einaste gongen han vert vist s\u00e5 ikkje mist han! Du kan bruka denne hemmeligheita til \u00e5 laga API-sp\u00f8rsm\u00e5l.", "profile_oauth_confidential": "Konfidensiell", - "profile_oauth_confidential_help": "Krev at klienten godkjenner med ein hemmelegheit. Konfidensielle klienter kan halde legitimasjon p\u00e5 ein sikker m\u00e5te uten \u00e5 utsette dei for uautoriserte parter. Offentlige programmer, som skrivebord eller JavaScript SPA-programmer er ikkje istand til \u00e5 halda hemmelegheiter sikra.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Avhengig av kva type transaksjon du opprettar, Kjelde og\/eller m\u00e5lkonto for etterf\u00f8lgande delingar kan overstyrast av det som er definert i transaksjonens f\u00f8rste del.", "multi_account_warning_withdrawal": "Husk at kildekontoen for etterf\u00f8lgende oppsplitting skal overlates av kva som defineres i den f\u00f8rste delen av uttrekket.", "multi_account_warning_deposit": "Husk at mottakerkontoen for etterf\u00f8lgende oppsplitting skal overstyres av det som er definert i den f\u00f8rste delen av depositumet.", @@ -154,7 +154,7 @@ "url": "Nettadresse", "active": "Aktiv", "interest_date": "Rentedato", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "Tittel", "date": "Dato", "book_date": "Bokf\u00f8ringsdato", @@ -174,7 +174,7 @@ "list": { "title": "Tittel", "active": "Er aktiv?", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "Utl\u00f8ser", "response": "Respons", "delivery": "Levering", diff --git a/resources/assets/v1/src/locales/pl.json b/resources/assets/v1/src/locales/pl.json index e197483748..1aa41f6348 100644 --- a/resources/assets/v1/src/locales/pl.json +++ b/resources/assets/v1/src/locales/pl.json @@ -3,8 +3,8 @@ "administrations_page_title": "Ustawienia finansowe", "administrations_index_menu": "Ustawienia finansowe", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III wkr\u00f3tce uzyska mo\u017cliwo\u015b\u0107 zarz\u0105dzania wieloma ustawieniami finansowymi. W tej chwili jest tylko jedno domy\u015blne ustawienie. Mo\u017cesz ustawi\u0107 jego tytu\u0142 i natywn\u0105 walut\u0119. To zast\u0119puje poprzednie ustawienia, w kt\u00f3rym mo\u017cna by\u0142o ustawi\u0107 \"domy\u015bln\u0105 walut\u0119\". Jest ona obecnie powi\u0105zana z wybranym ustawieniem finansowym i mo\u017ce by\u0107 zmienione w tej zak\u0142adce.", - "administration_currency_form_help": "Wczytywanie strony mo\u017ce zaj\u0105\u0107 du\u017co czasu, je\u015bli zmienisz natywn\u0105 walut\u0119, poniewa\u017c transakcja mo\u017ce wymaga\u0107 przewalutowania na (now\u0105) natywn\u0105 walut\u0119.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edytuj ustawienia finansowe \"{title}\"", "table": "Tabela", "welcome_back": "Co jest grane?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Sekret klienta", "profile_oauth_client_secret_expl": "Oto tw\u00f3j nowy sekret klienta. Jest to jedyny raz, gdy zostanie wy\u015bwietlony, wi\u0119c nie zgub go! Mo\u017cesz teraz u\u017cy\u0107 tego sekretu, aby wykona\u0107 zapytania API.", "profile_oauth_confidential": "Poufne", - "profile_oauth_confidential_help": "Wymagaj od klienta uwierzytelnienia za pomoc\u0105 sekretu. Poufni klienci mog\u0105 przechowywa\u0107 po\u015bwiadczenia w bezpieczny spos\u00f3b bez nara\u017cania ich na dost\u0119p przez nieuprawnione strony. Publiczne aplikacje, takie jak natywne aplikacje desktopowe lub JavaScript SPA, nie s\u0105 w stanie bezpiecznie trzyma\u0107 sekret\u00f3w.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "W zale\u017cno\u015bci od rodzaju transakcji, kt\u00f3r\u0105 tworzysz, konto \u017ar\u00f3d\u0142owe i\/lub docelowe kolejnych podzia\u0142\u00f3w mo\u017ce zosta\u0107 ustawione na konto zdefiniowane w pierwszym podziale transakcji.", "multi_account_warning_withdrawal": "Pami\u0119taj, \u017ce konto \u017ar\u00f3d\u0142owe kolejnych podzia\u0142\u00f3w zostanie ustawione na konto zdefiniowane w pierwszym podziale wyp\u0142aty.", "multi_account_warning_deposit": "Pami\u0119taj, \u017ce konto docelowe kolejnych podzia\u0142\u00f3w zostanie ustawione na konto zdefiniowane w pierwszym podziale wp\u0142aty.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Aktywny", "interest_date": "Data odsetek", - "administration_currency": "Waluta natywna", + "administration_currency": "Primary currency", "title": "Tytu\u0142", "date": "Data", "book_date": "Data ksi\u0119gowania", @@ -174,7 +174,7 @@ "list": { "title": "Tytu\u0142", "active": "Jest aktywny?", - "native_currency": "Waluta natywna", + "primary_currency": "Primary currency", "trigger": "Wyzwalacz", "response": "Odpowied\u017a", "delivery": "Dor\u0119czenie", diff --git a/resources/assets/v1/src/locales/pt-br.json b/resources/assets/v1/src/locales/pt-br.json index e1cdf85137..3ae7107484 100644 --- a/resources/assets/v1/src/locales/pt-br.json +++ b/resources/assets/v1/src/locales/pt-br.json @@ -3,8 +3,8 @@ "administrations_page_title": "Administra\u00e7\u00e3o financeira", "administrations_index_menu": "Administra\u00e7\u00e3o financeira", "expires_at": "Expira em", - "temp_administrations_introduction": "O Firefly III ter\u00e1 em breve a capacidade de gerir m\u00faltiplas administra\u00e7\u00f5es financeiras. Neste momento, voc\u00ea tem apenas um. Voc\u00ea pode definir o t\u00edtulo desta administra\u00e7\u00e3o e sua moeda nativa. Isso substitui a configura\u00e7\u00e3o anterior onde voc\u00ea definiria sua \"moeda padr\u00e3o\". Esta defini\u00e7\u00e3o est\u00e1 agora ligada \u00e0 administra\u00e7\u00e3o financeira e pode ser diferente por administra\u00e7\u00e3o.", - "administration_currency_form_help": "A p\u00e1gina poder\u00e1 levar muito tempo para ser carregada, se voc\u00ea alterar a moeda nativa, porque a transa\u00e7\u00e3o precisar\u00e1 ser convertida para a sua (nova) moeda nativa.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Editar administra\u00e7\u00e3o financeira \"{title}\"", "table": "Tabela", "welcome_back": "O que est\u00e1 acontecendo?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Segredo do cliente", "profile_oauth_client_secret_expl": "Aqui est\u00e1 o seu novo segredo de cliente. Esta \u00e9 a \u00fanica vez que ela ser\u00e1 mostrada, ent\u00e3o n\u00e3o o perca! Agora voc\u00ea pode usar este segredo para fazer requisi\u00e7\u00f5es de API.", "profile_oauth_confidential": "Confidencial", - "profile_oauth_confidential_help": "Exige que o cliente se autentique com um segredo. Clientes confidenciais podem manter credenciais de forma segura sem exp\u00f4-las \u00e0 partes n\u00e3o autorizadas. Aplica\u00e7\u00f5es p\u00fablicas, como aplica\u00e7\u00f5es de \u00e1rea de trabalho nativas ou JavaScript SPA, s\u00e3o incapazes de manter segredos com seguran\u00e7a.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Dependendo do tipo de transa\u00e7\u00e3o que voc\u00ea criar, a conta de origem e\/ou de destino das divis\u00f5es subsequentes pode ser sobrescrita pelo que estiver definido na primeira divis\u00e3o da transa\u00e7\u00e3o.", "multi_account_warning_withdrawal": "Tenha em mente que a conta de origem das divis\u00f5es subsequentes ser\u00e1 sobrescrita pelo que estiver definido na primeira divis\u00e3o da sa\u00edda.", "multi_account_warning_deposit": "Tenha em mente que a conta de destino das divis\u00f5es subsequentes ser\u00e1 sobrescrita pelo que estiver definido na primeira divis\u00e3o da entrada.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Ativo", "interest_date": "Data do juros", - "administration_currency": "Moeda nativa", + "administration_currency": "Primary currency", "title": "T\u00edtulo", "date": "Data", "book_date": "Data de lan\u00e7amento", @@ -174,7 +174,7 @@ "list": { "title": "T\u00edtulo", "active": "Est\u00e1 ativo?", - "native_currency": "Moeda nativa", + "primary_currency": "Primary currency", "trigger": "Gatilho", "response": "Resposta", "delivery": "Entrega", diff --git a/resources/assets/v1/src/locales/pt.json b/resources/assets/v1/src/locales/pt.json index b4c3368196..4fba3b658f 100644 --- a/resources/assets/v1/src/locales/pt.json +++ b/resources/assets/v1/src/locales/pt.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "Tabela", "welcome_back": "Painel de controlo", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Segredo do cliente", "profile_oauth_client_secret_expl": "Aqui est\u00e1 o seu segredo de cliente. Apenas estar\u00e1 vis\u00edvel uma vez, portanto n\u00e3o o perca! Pode agora utilizar este segredo para fazer pedidos \u00e0 API.", "profile_oauth_confidential": "Confidencial", - "profile_oauth_confidential_help": "Exigir que o cliente se autentique com um segredo. Clientes confidenciais podem manter credenciais de forma segura sem as expor a terceiros n\u00e3o autorizados. Aplica\u00e7\u00f5es p\u00fablicas, tais como aplica\u00e7\u00f5es desktop nativas ou JavaScript SPA, s\u00e3o incapazes de garantir a seguran\u00e7a dos segredos.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Dependendo do tipo de transa\u00e7\u00e3o que criar, a conta de origem e\/ou destino de subsequentes divis\u00f5es pode ser sobrescrita pelo que estiver definido na primeira divis\u00e3o da transa\u00e7\u00e3o.", "multi_account_warning_withdrawal": "Tenha presente que a conta de origem de divis\u00f5es subsequentes ser\u00e1 sobrescrita pelo que estiver definido na primeira divis\u00e3o do levantamento.", "multi_account_warning_deposit": "Tenha presente que a conta de destino de divis\u00f5es subsequentes ser\u00e1 sobrescrita pelo que estiver definida na primeira divis\u00e3o do dep\u00f3sito.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Ativo", "interest_date": "Data de juros", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "T\u00edtulo", "date": "Data", "book_date": "Data de registo", @@ -174,7 +174,7 @@ "list": { "title": "T\u00edtulo", "active": "Esta ativo?", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "Gatilho", "response": "Resposta", "delivery": "Entrega", diff --git a/resources/assets/v1/src/locales/ro.json b/resources/assets/v1/src/locales/ro.json index bc7a0bb644..b631671308 100644 --- a/resources/assets/v1/src/locales/ro.json +++ b/resources/assets/v1/src/locales/ro.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "Tabel", "welcome_back": "Ce se red\u0103?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Secret client", "profile_oauth_client_secret_expl": "Aici este noul t\u0103u cod secret de client. Este singura dat\u0103 c\u00e2nd va fi afi\u0219at a\u0219a c\u0103 nu \u00eel pierzi! Acum po\u021bi folosi acest cod pentru a face cereri API.", "profile_oauth_confidential": "Confiden\u0163ial", - "profile_oauth_confidential_help": "Solicita\u021bi clientului s\u0103 se autentifice cu un secret. Clien\u021bii confiden\u021biali pot p\u0103stra acredit\u0103rile \u00eentr-un mod securizat f\u0103r\u0103 a le expune unor p\u0103r\u021bi neautorizate. Aplica\u021biile publice, cum ar fi aplica\u021biile native desktop sau JavaScript SPA, nu pot p\u0103stra secretele \u00een siguran\u021b\u0103.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "\u00cen func\u021bie de tipul de tranzac\u021bie pe care o crea\u021bi, contul sursei \u0219i\/sau destina\u021biei frac\u021bion\u0103rilor ulterioare poate fi dep\u0103\u0219it cu orice se define\u0219te \u00een prima \u00eemp\u0103r\u021bire a tranzac\u021biei.", "multi_account_warning_withdrawal": "Re\u0163ine\u0163i faptul c\u0103 sursa scind\u0103rilor ulterioare va fi anulat\u0103 de orice altceva definit \u00een prima \u00eemp\u0103r\u0163ire a retragerii.", "multi_account_warning_deposit": "\u021aine\u021bi cont de faptul c\u0103 destina\u021bia scind\u0103rilor ulterioare va fi dep\u0103\u0219it\u0103 cu orice se define\u0219te la prima \u00eemp\u0103r\u021bire a depozitului.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Activ", "interest_date": "Data de interes", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "Titlu", "date": "Dat\u0103", "book_date": "Rezerv\u0103 dat\u0103", @@ -174,7 +174,7 @@ "list": { "title": "Titlu", "active": "Este activ?", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "Declan\u0219ator", "response": "R\u0103spuns", "delivery": "Livrare", diff --git a/resources/assets/v1/src/locales/ru.json b/resources/assets/v1/src/locales/ru.json index dd66e40bed..5c2503bf78 100644 --- a/resources/assets/v1/src/locales/ru.json +++ b/resources/assets/v1/src/locales/ru.json @@ -3,8 +3,8 @@ "administrations_page_title": "\u0424\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u044b\u0435 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b", "administrations_index_menu": "\u0424\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u044b\u0435 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b", "expires_at": "\u0418\u0441\u0442\u0435\u043a\u0430\u0435\u0442", - "temp_administrations_introduction": "Firefly III \u0432\u0441\u043a\u043e\u0440\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u044b\u043c\u0438 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\u043c\u0438. \u0421\u0435\u0439\u0447\u0430\u0441 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u0430 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0434\u0430\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u044d\u0442\u043e\u0439 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438 \u0435\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u0443\u044e \u0432\u0430\u043b\u044e\u0442\u0443. \u042d\u0442\u043e \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 \"\u0432\u0430\u043b\u044e\u0442\u0443 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e\". \u0412 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u044d\u0442\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0441\u0432\u044f\u0437\u0430\u043d\u0430 \u0441 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e\u0439 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0435\u0439 \u0438 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e\u0439 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430.", - "administration_currency_form_help": "\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043d\u044f\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0435\u0441\u043b\u0438 \u0432\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u0443\u044e \u0432\u0430\u043b\u044e\u0442\u0443, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0430 \u0432 \u043d\u043e\u0432\u0443\u044e \u043e\u0441\u043d\u043e\u0432\u043d\u0443\u044e \u0432\u0430\u043b\u044e\u0442\u0443.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0444\u0438\u043d\u0430\u043d\u0441\u0430\u043c\u0438 \"{title}\"", "table": "\u0422\u0430\u0431\u043b\u0438\u0446\u0430", "welcome_back": "\u0427\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0441 \u043c\u043e\u0438\u043c\u0438 \u0444\u0438\u043d\u0430\u043d\u0441\u0430\u043c\u0438?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "\u041a\u043b\u044e\u0447 \u043a\u043b\u0438\u0435\u043d\u0442\u0430", "profile_oauth_client_secret_expl": "\u0412\u043e\u0442 \u0432\u0430\u0448 \u043d\u043e\u0432\u044b\u0439 \u043a\u043b\u044e\u0447 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u041e\u043d \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u043d \u0432\u0430\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u0439\u0447\u0430\u0441, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435 \u043f\u043e\u0442\u0435\u0440\u044f\u0439\u0442\u0435 \u0435\u0433\u043e! \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043a\u043b\u044e\u0447, \u0447\u0442\u043e\u0431\u044b \u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043f\u043e API.", "profile_oauth_confidential": "\u041a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439", - "profile_oauth_confidential_help": "\u0422\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043a\u043b\u0438\u0435\u043d\u0442 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f \u0441 \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u043c \u043a\u043b\u044e\u0447\u043e\u043c. \u041a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u044b \u043c\u043e\u0433\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0443\u0447\u0451\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u043c \u0432\u0438\u0434\u0435, \u0437\u0430\u0449\u0438\u0449\u0430\u044f \u0438\u0445 \u043e\u0442 \u043d\u0435\u0441\u0430\u043d\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430. \u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u0441\u0442\u043e\u043b \u0438\u043b\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f JavaScript SPA, \u043d\u0435 \u043c\u043e\u0433\u0443\u0442 \u043d\u0430\u0434\u0451\u0436\u043d\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432\u0430\u0448\u0438 \u043a\u043b\u044e\u0447\u0438.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "\u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u0438\u043f\u0430 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u044b \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0435, \u0441\u0447\u0451\u0442-\u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0438\/\u0438\u043b\u0438 \u0441\u0447\u0451\u0442 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 \u0440\u0430\u0437\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b \u0442\u0435\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u0434\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438.", "multi_account_warning_withdrawal": "\u0418\u043c\u0435\u0439\u0442\u0435 \u0432 \u0432\u0438\u0434\u0443, \u0447\u0442\u043e \u0441\u0447\u0451\u0442-\u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0447\u0430\u0441\u0442\u044f\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u0438\u043c \u0436\u0435, \u043a\u0430\u043a \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u0430.", "multi_account_warning_deposit": "\u0418\u043c\u0435\u0439\u0442\u0435 \u0432 \u0432\u0438\u0434\u0443, \u0447\u0442\u043e \u0441\u0447\u0451\u0442 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0447\u0430\u0441\u0442\u044f\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u0438\u043c \u0436\u0435, \u043a\u0430\u043a \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0434\u043e\u0445\u043e\u0434\u0430.", @@ -154,7 +154,7 @@ "url": "\u0421\u0441\u044b\u043b\u043a\u0430", "active": "\u0410\u043a\u0442\u0438\u0432\u043d\u044b\u0439", "interest_date": "\u0414\u0430\u0442\u0430 \u043d\u0430\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043e\u0432", - "administration_currency": "\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0432\u0430\u043b\u044e\u0442\u0430", + "administration_currency": "Primary currency", "title": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a", "date": "\u0414\u0430\u0442\u0430", "book_date": "\u0414\u0430\u0442\u0430 \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f", @@ -174,7 +174,7 @@ "list": { "title": "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435", "active": "\u0410\u043a\u0442\u0438\u0432\u0435\u043d?", - "native_currency": "\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0432\u0430\u043b\u044e\u0442\u0430", + "primary_currency": "Primary currency", "trigger": "\u0421\u043e\u0431\u044b\u0442\u0438\u0435", "response": "\u041e\u0442\u0432\u0435\u0442", "delivery": "\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430", diff --git a/resources/assets/v1/src/locales/sk.json b/resources/assets/v1/src/locales/sk.json index db7e6ad4e4..330e494223 100644 --- a/resources/assets/v1/src/locales/sk.json +++ b/resources/assets/v1/src/locales/sk.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "Tabu\u013eka", "welcome_back": "Ako to ide?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Tajn\u00fd k\u013e\u00fa\u010d klienta", "profile_oauth_client_secret_expl": "Toto je v\u00e1\u0161 tajn\u00fd k\u013e\u00fa\u010d klienta. Toto je jedin\u00fd raz, kedy sa zobraz\u00ed - nestra\u0165te ho! Odteraz m\u00f4\u017eete tento tajn\u00fd k\u013e\u00fa\u010d pou\u017e\u00edva\u0165 pre pr\u00edstup k API.", "profile_oauth_confidential": "D\u00f4vern\u00e9", - "profile_oauth_confidential_help": "Vy\u017eadujte od klienta autentifik\u00e1ciu pomocou tajn\u00e9ho k\u013e\u00fa\u010da. D\u00f4vern\u00ed klienti m\u00f4\u017eu uchov\u00e1va\u0165 poverenia bezpe\u010dn\u00fdm sp\u00f4sobom bez toho, aby boli vystaven\u00ed neopr\u00e1vnen\u00fdm stran\u00e1m. Verejn\u00e9 aplik\u00e1cie, ako napr\u00edklad nat\u00edvna pracovn\u00e1 plocha alebo aplik\u00e1cie Java SPA, nedok\u00e1\u017eu tajn\u00e9 k\u013e\u00fa\u010de bezpe\u010dne uchova\u0165.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "V z\u00e1vislosti od typu vytvorenej transakcie, m\u00f4\u017ee by\u0165 zdrojov\u00fd a\/alebo cie\u013eov\u00fd \u00fa\u010det n\u00e1sledn\u00fdch roz\u00fa\u010dtovan\u00ed prep\u00edsan\u00fd \u00fadajmi v prvom rozdelen\u00ed transakcie.", "multi_account_warning_withdrawal": "Majte na pam\u00e4ti, \u017ee zdrojov\u00fd bankov\u00fd \u00fa\u010det n\u00e1sledn\u00fdch roz\u00fa\u010dtovan\u00ed bude prep\u00edsan\u00fd t\u00fdm, \u010do je definovan\u00e9 v prvom rozdelen\u00ed v\u00fdberu.", "multi_account_warning_deposit": "Majte na pam\u00e4ti, \u017ee zdrojov\u00fd bankov\u00fd \u00fa\u010det n\u00e1sledn\u00fdch roz\u00fa\u010dtovan\u00ed bude prep\u00edsan\u00fd t\u00fdm, \u010do je definovan\u00e9 v prvom roz\u00fa\u010dtovan\u00ed vkladu.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Akt\u00edvne", "interest_date": "\u00darokov\u00fd d\u00e1tum", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "N\u00e1zov", "date": "D\u00e1tum", "book_date": "D\u00e1tum rezerv\u00e1cie", @@ -174,7 +174,7 @@ "list": { "title": "N\u00e1zov", "active": "Akt\u00edvne?", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "Trigger", "response": "Response", "delivery": "Delivery", diff --git a/resources/assets/v1/src/locales/sl.json b/resources/assets/v1/src/locales/sl.json index 0554a1d6eb..7e38bf2922 100644 --- a/resources/assets/v1/src/locales/sl.json +++ b/resources/assets/v1/src/locales/sl.json @@ -3,8 +3,8 @@ "administrations_page_title": "Finan\u010dne administracije", "administrations_index_menu": "Finan\u010dne administracije", "expires_at": "Pote\u010de ob", - "temp_administrations_introduction": "Firefly III bo kmalu dobil mo\u017enost upravljanja ve\u010d finan\u010dnih administracij. Trenutno imate samo eno. Nastavite lahko naziv te administracije in njeno doma\u010do valuto. To nadome\u0161\u010da prej\u0161njo nastavitev, kjer bi nastavili svojo \"privzeto valuto\". Ta nastavitev je zdaj vezana na finan\u010dno administracijo in se lahko razlikuje glede na administracijo.", - "administration_currency_form_help": "\u010ce spremenite doma\u010do valuto, lahko traja dolgo \u010dasa, da se stran nalo\u017ei, ker bo transakcijo morda treba pretvoriti v va\u0161o (novo) doma\u010do valuto.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Uredi finan\u010dno administracijo \"{title}\"", "table": "Tabela", "welcome_back": "Kaj vse se dogaja?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Skrivna koda odjemalca", "profile_oauth_client_secret_expl": "Tukaj je skrivna koda va\u0161ega odjemalca. To je edini \u010das, da bo prikazana, zato je ne izgubite! Zdaj lahko uporabite to skrivno kodo za po\u0161iljanje zahtev API.", "profile_oauth_confidential": "Zaupno", - "profile_oauth_confidential_help": "Od odjemalca zahtevajte avtentikacijo s skrivno kodo. Zaupni odjemalci imajo lahko poverilnice na varen na\u010din, ne da bi jih izpostavili nepoobla\u0161\u010denim osebam. Javne aplikacije, kot so izvorne namizne aplikacije ali aplikacije JavaScript SPA, ne morejo varno hraniti skrivnih kod.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Odvisno od vrste transakcije, ki jo ustvarite, lahko izvorni in\/ali ciljni ra\u010dun poznej\u0161ih razdelitev preglasi tisto, kar je definirano v prvi razdelitvi transakcije.", "multi_account_warning_withdrawal": "Upo\u0161tevajte, da bo izvorni ra\u010dun poznej\u0161ih razdelitev preglasilo tisto, kar je definirano v prvi razdelitvi odliva.", "multi_account_warning_deposit": "Upo\u0161tevajte, da bo ciljni ra\u010dun poznej\u0161ih delitev preglasilo tisto, kar je opredeljeno v prvi delitvi priliva.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Aktivno", "interest_date": "Datum obresti", - "administration_currency": "Doma\u010da valuta", + "administration_currency": "Primary currency", "title": "Naslov", "date": "Datum", "book_date": "Datum knji\u017eenja", @@ -174,7 +174,7 @@ "list": { "title": "Naslov", "active": "Aktiviran?", - "native_currency": "Doma\u010da valuta", + "primary_currency": "Primary currency", "trigger": "Spro\u017eilec", "response": "Odziv", "delivery": "Dostava", diff --git a/resources/assets/v1/src/locales/sv.json b/resources/assets/v1/src/locales/sv.json index e76e2ee29d..7aae05b482 100644 --- a/resources/assets/v1/src/locales/sv.json +++ b/resources/assets/v1/src/locales/sv.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "Tabell", "welcome_back": "Vad spelas?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Klienthemlighet", "profile_oauth_client_secret_expl": "H\u00e4r \u00e4r din nya klient hemlighet. Detta \u00e4r den enda g\u00e5ngen det kommer att visas s\u00e5 f\u00f6rlora inte det! Du kan nu anv\u00e4nda denna hemlighet f\u00f6r att g\u00f6ra API-f\u00f6rfr\u00e5gningar.", "profile_oauth_confidential": "Konfidentiell", - "profile_oauth_confidential_help": "Kr\u00e4v att klienten autentiserar med en hemlighet. Konfidentiella klienter kan h\u00e5lla autentiseringsuppgifter p\u00e5 ett s\u00e4kert s\u00e4tt utan att uts\u00e4tta dem f\u00f6r obeh\u00f6riga parter. Publika applikationer, som skrivbord eller JavaScript-SPA-applikationer, kan inte h\u00e5lla hemligheter p\u00e5 ett s\u00e4kert s\u00e4tt.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Beroende p\u00e5 vilken typ av transaktion du skapar, k\u00e4llan och\/eller destinationskontot f\u00f6r efterf\u00f6ljande delningar kan \u00e5sidos\u00e4ttas av vad som \u00e4n definieras i den f\u00f6rsta delningen av transaktionen.", "multi_account_warning_withdrawal": "T\u00e4nk p\u00e5 att k\u00e4llkontot f\u00f6r efterf\u00f6ljande uppdelningar kommer att upph\u00e4vas av vad som \u00e4n definieras i den f\u00f6rsta uppdelningen av uttaget.", "multi_account_warning_deposit": "T\u00e4nk p\u00e5 att destinationskontot f\u00f6r efterf\u00f6ljande uppdelningar kommer att styras av vad som \u00e4n definieras i den f\u00f6rsta uppdelningen av ins\u00e4ttningen.", @@ -154,7 +154,7 @@ "url": "L\u00e4nk", "active": "Aktiv", "interest_date": "R\u00e4ntedatum", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "Titel", "date": "Datum", "book_date": "Bokf\u00f6ringsdatum", @@ -174,7 +174,7 @@ "list": { "title": "Titel", "active": "\u00c4r aktiv?", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "Utl\u00f6sare", "response": "Svar", "delivery": "Leverans", diff --git a/resources/assets/v1/src/locales/tr.json b/resources/assets/v1/src/locales/tr.json index 57d3350265..4a61e65933 100644 --- a/resources/assets/v1/src/locales/tr.json +++ b/resources/assets/v1/src/locales/tr.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "Tablo", "welcome_back": "Neler oluyor?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "M\u00fc\u015fteri S\u0131rr\u0131", "profile_oauth_client_secret_expl": "\u0130\u015fte yeni m\u00fc\u015fteri s\u0131rr\u0131n. Bu g\u00f6sterilecek tek zaman, bu y\u00fczden onu kaybetme! Art\u0131k API istekleri yapmak i\u00e7in bu s\u0131rr\u0131 kullanabilirsiniz.", "profile_oauth_confidential": "Gizli", - "profile_oauth_confidential_help": "\u0130stemcinin bir s\u0131r ile kimlik do\u011frulamas\u0131 yapmas\u0131n\u0131 isteyin. Gizli m\u00fc\u015fteriler, kimlik bilgilerini yetkisiz taraflara if\u015fa etmeden g\u00fcvenli bir \u015fekilde saklayabilir. Yerel masa\u00fcst\u00fc veya JavaScript SPA uygulamalar\u0131 gibi genel uygulamalar s\u0131rlar\u0131 g\u00fcvenli bir \u015fekilde saklayamaz.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Olu\u015fturdu\u011funuz i\u015flemin t\u00fcr\u00fcne ba\u011fl\u0131 olarak, sonraki b\u00f6l\u00fcnmelerin kaynak ve \/ veya hedef hesab\u0131, i\u015flemin ilk b\u00f6l\u00fcnmesinde tan\u0131mlanan her \u015fey taraf\u0131ndan ge\u00e7ersiz k\u0131l\u0131nabilir.", "multi_account_warning_withdrawal": "Sonraki b\u00f6l\u00fcnmelerin kaynak hesab\u0131n\u0131n, geri \u00e7ekilmenin ilk b\u00f6l\u00fcnmesinde tan\u0131mlanan herhangi bir \u015fey taraf\u0131ndan reddedilece\u011fini unutmay\u0131n.", "multi_account_warning_deposit": "Sonraki b\u00f6l\u00fcnmelerin hedef hesab\u0131n\u0131n, mevduat\u0131n ilk b\u00f6l\u00fcnmesinde tan\u0131mlanan herhangi bir \u015fey taraf\u0131ndan iptal edilece\u011fini unutmay\u0131n.", @@ -154,7 +154,7 @@ "url": "URL", "active": "Aktif", "interest_date": "Faiz tarihi", - "administration_currency": "Native currency", + "administration_currency": "Primary currency", "title": "Ba\u015fl\u0131k", "date": "Tarih", "book_date": "Kitap Tarihi", @@ -174,7 +174,7 @@ "list": { "title": "Ba\u015fl\u0131k", "active": "Aktif mi?", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "Trigger", "response": "Response", "delivery": "Delivery", diff --git a/resources/assets/v1/src/locales/uk.json b/resources/assets/v1/src/locales/uk.json index 23c44f9e84..7a90a431c6 100644 --- a/resources/assets/v1/src/locales/uk.json +++ b/resources/assets/v1/src/locales/uk.json @@ -3,8 +3,8 @@ "administrations_page_title": "\u0424\u0456\u043d\u0430\u043d\u0441\u043e\u0432\u0456 \u0430\u0434\u043c\u0456\u043d\u0456\u0441\u0442\u0440\u0430\u0446\u0456\u0457", "administrations_index_menu": "\u0424\u0456\u043d\u0430\u043d\u0441\u043e\u0432\u0456 \u0430\u0434\u043c\u0456\u043d\u0456\u0441\u0442\u0440\u0430\u0446\u0456\u0457", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "\u0422\u0430\u0431\u043b\u0438\u0446\u044f", "welcome_back": "\u0429\u043e \u0432 \u0433\u0430\u043c\u0430\u043d\u0446\u0456?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "\u0421\u0435\u043a\u0440\u0435\u0442\u043d\u0438\u0439 \u043a\u043b\u044e\u0447 \u043a\u043b\u0456\u0454\u043d\u0442\u0430", "profile_oauth_client_secret_expl": "\u041e\u0441\u044c \u043d\u043e\u0432\u0438\u0439 \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u0438\u0439 \u043a\u043b\u044e\u0447 \u043a\u043b\u0456\u0454\u043d\u0442\u0430. \u0426\u0435 \u0454\u0434\u0438\u043d\u0438\u0439 \u0440\u0430\u0437, \u043a\u043e\u043b\u0438 \u0432\u0456\u043d \u0431\u0443\u0434\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438\u0439, \u0442\u043e\u043c\u0443 \u043d\u0435 \u0432\u0442\u0440\u0430\u0447\u0430\u0439\u0442\u0435 \u0439\u043e\u0433\u043e! \u0422\u0435\u043f\u0435\u0440 \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0446\u0435\u0439 \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u0438\u0439 \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u043d\u0430\u0434\u0441\u0438\u043b\u0430\u043d\u043d\u044f \u0437\u0430\u043f\u0438\u0442\u0456\u0432 API.", "profile_oauth_confidential": "\u041a\u043e\u043d\u0444\u0456\u0434\u0435\u043d\u0446\u0456\u0439\u043d\u043e", - "profile_oauth_confidential_help": "\u0412\u0438\u043c\u0430\u0433\u0430\u0439\u0442\u0435 \u0432\u0456\u0434 \u043a\u043b\u0456\u0454\u043d\u0442\u0430 \u0430\u0432\u0442\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0446\u0456\u0457 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430. \u041a\u043e\u043d\u0444\u0456\u0434\u0435\u043d\u0446\u0456\u0439\u043d\u0456 \u043a\u043b\u0456\u0454\u043d\u0442\u0438 \u043c\u043e\u0436\u0443\u0442\u044c \u0431\u0435\u0437\u043f\u0435\u0447\u043d\u043e \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0442\u0438 \u043e\u0431\u043b\u0456\u043a\u043e\u0432\u0456 \u0434\u0430\u043d\u0456, \u0431\u0435\u0437 \u043d\u0430\u0434\u0430\u043d\u043d\u044f \u0457\u0445 \u043d\u0435\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u0438\u043c \u043e\u0441\u043e\u0431\u0430\u043c. \u041f\u0443\u0431\u043b\u0456\u0447\u043d\u0456 \u0434\u043e\u0434\u0430\u0442\u043a\u0438, \u0442\u0430\u043a\u0456 \u044f\u043a native desktop \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438 \u0430\u0431\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438 JavaScript SPA, \u043d\u0435 \u043c\u043e\u0436\u0443\u0442\u044c \u043d\u0430\u0434\u0456\u0439\u043d\u043e \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0442\u0438 \u0441\u0435\u043a\u0440\u0435\u0442\u0438.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "\u0417\u0430\u043b\u0435\u0436\u043d\u043e \u0432\u0456\u0434 \u0442\u0438\u043f\u0443 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0456\u0457, \u044f\u043a\u0443 \u0432\u0438 \u0441\u0442\u0432\u043e\u0440\u044e\u0454\u0442\u0435, \u0432\u0438\u0445\u0456\u0434\u043d\u0438\u043c \u0456\/\u0430\u0431\u043e \u0446\u0456\u043b\u044c\u043e\u0432\u0438\u043c \u0440\u0430\u0445\u0443\u043d\u043a\u043e\u043c \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0445 \u043f\u043e\u0434\u0456\u043b\u0456\u0432 \u043c\u043e\u0436\u0435 \u0431\u0443\u0442\u0438 \u0440\u0430\u0445\u0443\u043d\u043e\u043a, \u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0443 \u043f\u0435\u0440\u0448\u043e\u043c\u0443 \u043f\u043e\u0434\u0456\u043b\u0456 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0456\u0457.", "multi_account_warning_withdrawal": "\u0417\u0430\u0443\u0432\u0430\u0436\u0442\u0435, \u0449\u043e \u0432\u0438\u0445\u0456\u0434\u043d\u0438\u043c \u0440\u0430\u0445\u0443\u043d\u043a\u043e\u043c \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0445 \u0440\u043e\u0437\u043f\u043e\u0434\u0456\u043b\u0456\u0432 \u0431\u0443\u0434\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0440\u0430\u0445\u0443\u043d\u043e\u043a, \u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0443 \u043f\u0435\u0440\u0448\u043e\u043c\u0443 \u0440\u043e\u0437\u043f\u043e\u0434\u0456\u043b\u0456 \u0432\u0438\u043f\u043b\u0430\u0442.", "multi_account_warning_deposit": "\u0417\u0430\u0443\u0432\u0430\u0436\u0442\u0435, \u0449\u043e \u0446\u0456\u043b\u044c\u043e\u0432\u0438\u043c \u0440\u0430\u0445\u0443\u043d\u043a\u043e\u043c \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0445 \u0440\u043e\u0437\u043f\u043e\u0434\u0456\u043b\u0456\u0432 \u0431\u0443\u0434\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0440\u0430\u0445\u0443\u043d\u043e\u043a, \u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0443 \u043f\u0435\u0440\u0448\u043e\u043c\u0443 \u0440\u043e\u0437\u043f\u043e\u0434\u0456\u043b\u0456 \u0434\u0435\u043f\u043e\u0437\u0438\u0442\u0443.", @@ -154,7 +154,7 @@ "url": "URL-\u0430\u0434\u0440\u0435\u0441\u0430", "active": "\u0410\u043a\u0442\u0438\u0432\u043d\u043e", "interest_date": "\u0414\u0430\u0442\u0430 \u043d\u0430\u0440\u0430\u0445\u0443\u0432\u0430\u043d\u043d\u044f \u0432\u0456\u0434\u0441\u043e\u0442\u043a\u0456\u0432", - "administration_currency": "\u041d\u0430\u0446\u0456\u043e\u043d\u0430\u043b\u044c\u043d\u0430 \u0432\u0430\u043b\u044e\u0442\u0430", + "administration_currency": "Primary currency", "title": "\u041d\u0430\u0437\u0432\u0430", "date": "\u0414\u0430\u0442\u0430", "book_date": "\u0414\u0430\u0442\u0430 \u0431\u0440\u043e\u043d\u044e\u0432\u0430\u043d\u043d\u044f", @@ -174,7 +174,7 @@ "list": { "title": "\u041d\u0430\u0437\u0432\u0430", "active": "\u0427\u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439?", - "native_currency": "\u0420\u0456\u0434\u043d\u0430 \u0432\u0430\u043b\u044e\u0442\u0430", + "primary_currency": "Primary currency", "trigger": "\u0422\u0440\u0438\u0433\u0435\u0440", "response": "\u0412\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u044c", "delivery": "\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430", diff --git a/resources/assets/v1/src/locales/vi.json b/resources/assets/v1/src/locales/vi.json index ba93002a08..dbd8a0615b 100644 --- a/resources/assets/v1/src/locales/vi.json +++ b/resources/assets/v1/src/locales/vi.json @@ -3,8 +3,8 @@ "administrations_page_title": "Financial administrations", "administrations_index_menu": "Financial administrations", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its native currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", - "administration_currency_form_help": "It may take a long time for the page to load if you change the native currency because transaction may need to be converted to your (new) native currency.", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "Edit financial administration \"{title}\"", "table": "B\u00e0n", "welcome_back": "Ch\u00e0o m\u1eebng tr\u1edf l\u1ea1i?", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "Client Secret", "profile_oauth_client_secret_expl": "Here is your new client secret. This is the only time it will be shown so don't lose it! You may now use this secret to make API requests.", "profile_oauth_confidential": "Confidential", - "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as native desktop or JavaScript SPA applications, are unable to hold secrets securely.", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "Depending on the type of transaction you create, the source and\/or destination account of subsequent splits may be overruled by whatever is defined in the first split of the transaction.", "multi_account_warning_withdrawal": "Keep in mind that the source account of subsequent splits will be overruled by whatever is defined in the first split of the withdrawal.", "multi_account_warning_deposit": "Keep in mind that the destination account of subsequent splits will be overruled by whatever is defined in the first split of the deposit.", @@ -154,7 +154,7 @@ "url": "URL", "active": "H\u00e0nh \u0111\u1ed9ng", "interest_date": "Ng\u00e0y l\u00e3i", - "administration_currency": "Ti\u1ec1n t\u1ec7 b\u1ea3n \u0111\u1ecba", + "administration_currency": "Primary currency", "title": "Ti\u00eau \u0111\u1ec1", "date": "Ng\u00e0y", "book_date": "Ng\u00e0y \u0111\u1eb7t s\u00e1ch", @@ -174,7 +174,7 @@ "list": { "title": "Ti\u00eau \u0111\u1ec1", "active": "\u0110ang ho\u1ea1t \u0111\u1ed9ng?", - "native_currency": "Native currency", + "primary_currency": "Primary currency", "trigger": "K\u00edch ho\u1ea1t", "response": "\u0110\u00e1p l\u1ea1i", "delivery": "Ph\u00e2n ph\u1ed1i", diff --git a/resources/assets/v1/src/locales/zh-cn.json b/resources/assets/v1/src/locales/zh-cn.json index 30a3070c9d..400b6a47c8 100644 --- a/resources/assets/v1/src/locales/zh-cn.json +++ b/resources/assets/v1/src/locales/zh-cn.json @@ -3,8 +3,8 @@ "administrations_page_title": "\u8d22\u52a1\u7ba1\u7406", "administrations_index_menu": "\u8d22\u52a1\u7ba1\u7406", "expires_at": "\u8fc7\u671f\u4e8e", - "temp_administrations_introduction": "Firefly III \u4e0d\u4e45\u5c06\u80fd\u591f\u7ba1\u7406\u591a\u4e2a\u8d22\u52a1\u7ba1\u7406\u3002 \u73b0\u5728\uff0c\u4f60\u53ea\u80fd\u6709\u4e00\u4e2a\u8d22\u52a1\u7ba1\u7406\u3002\u4f60\u53ef\u4ee5\u8bbe\u7f6e\u8fd9\u4e2a\u8d22\u52a1\u7ba1\u7406\u7684\u6807\u9898\u53ca\u5176\u5f53\u5730\u8d27\u5e01\u3002 \u8fd9\u5c06\u53d6\u4ee3\u60a8\u5148\u524d\u8bbe\u7f6e\u7684\u201c\u9ed8\u8ba4\u8d27\u5e01\u201d\u3002 \u8fd9\u79cd\u8bbe\u7f6e\u73b0\u5728\u4e0e\u8d22\u52a1\u7ba1\u7406\u6302\u94a9\uff0c\u6bcf\u4e2a\u7ba1\u7406\u53ef\u4ee5\u6709\u4e0d\u540c\u7684\u8bbe\u7f6e\u3002", - "administration_currency_form_help": "\u5982\u679c\u60a8\u66f4\u6539\u672c\u5730\u8d27\u5e01\uff0c\u9875\u9762\u52a0\u8f7d\u53ef\u80fd\u9700\u8981\u5f88\u957f\u65f6\u95f4\uff0c\u56e0\u4e3a\u4ea4\u6613\u53ef\u80fd\u9700\u8981\u8f6c\u6362\u4e3a\u60a8\u7684(\u65b0)\u672c\u5730\u8d27\u5e01\u3002", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "\u7f16\u8f91\u8d22\u52a1\u7ba1\u7406{title}", "table": "\u8868\u683c", "welcome_back": "\u4eca\u5929\u7406\u8d22\u4e86\u5417\uff1f", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "\u5ba2\u6237\u7aef\u5bc6\u94a5", "profile_oauth_client_secret_expl": "\u8bf7\u59a5\u5584\u4fdd\u5b58\u60a8\u7684\u65b0\u5ba2\u6237\u7aef\u7684\u5bc6\u94a5\uff0c\u6b64\u5bc6\u94a5\u4ec5\u4f1a\u5728\u8fd9\u91cc\u5c55\u793a\u4e00\u6b21\u3002\u60a8\u73b0\u5728\u5df2\u53ef\u4ee5\u4f7f\u7528\u6b64\u5bc6\u94a5\u8fdb\u884c API \u8bf7\u6c42\u3002", "profile_oauth_confidential": "\u4f7f\u7528\u52a0\u5bc6", - "profile_oauth_confidential_help": "\u8981\u6c42\u5ba2\u6237\u7aef\u4f7f\u7528\u5bc6\u94a5\u8fdb\u884c\u8ba4\u8bc1\u3002\u52a0\u5bc6\u5ba2\u6237\u7aef\u53ef\u4ee5\u5b89\u5168\u50a8\u5b58\u51ed\u636e\u4e14\u4e0d\u5c06\u5176\u6cc4\u9732\u7ed9\u672a\u6388\u6743\u65b9\uff0c\u800c\u516c\u5171\u5e94\u7528\u7a0b\u5e8f\uff08\u4f8b\u5982\u672c\u5730\u8ba1\u7b97\u673a\u6216 JavaScript SPA \u5e94\u7528\u7a0b\u5e8f\uff09\u65e0\u6cd5\u4fdd\u8bc1\u51ed\u636e\u7684\u5b89\u5168\u6027\u3002", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "\u6839\u636e\u60a8\u521b\u5efa\u7684\u4ea4\u6613\u7c7b\u578b\uff0c\u540e\u7eed\u62c6\u5206\u7684\u6765\u6e90\u548c\/\u6216\u76ee\u6807\u8d26\u6237\u53ef\u80fd\u88ab\u4ea4\u6613\u7684\u9996\u7b14\u62c6\u5206\u7684\u914d\u7f6e\u6240\u8986\u76d6\u3002", "multi_account_warning_withdrawal": "\u8bf7\u6ce8\u610f\uff0c\u540e\u7eed\u62c6\u5206\u7684\u6765\u6e90\u8d26\u6237\u5c06\u4f1a\u88ab\u652f\u51fa\u7684\u9996\u7b14\u62c6\u5206\u7684\u914d\u7f6e\u6240\u8986\u76d6\u3002", "multi_account_warning_deposit": "\u8bf7\u6ce8\u610f\uff0c\u540e\u7eed\u62c6\u5206\u7684\u76ee\u6807\u8d26\u6237\u5c06\u4f1a\u88ab\u6536\u5165\u7684\u9996\u7b14\u62c6\u5206\u7684\u914d\u7f6e\u6240\u8986\u76d6\u3002", @@ -154,7 +154,7 @@ "url": "\u7f51\u5740", "active": "\u542f\u7528", "interest_date": "\u5229\u606f\u65e5\u671f", - "administration_currency": "\u672c\u5730\u8d27\u5e01", + "administration_currency": "Primary currency", "title": "\u6807\u9898", "date": "\u65e5\u671f", "book_date": "\u767b\u8bb0\u65e5\u671f", @@ -174,7 +174,7 @@ "list": { "title": "\u6807\u9898", "active": "\u662f\u5426\u542f\u7528\uff1f", - "native_currency": "\u672c\u5730\u8d27\u5e01", + "primary_currency": "Primary currency", "trigger": "\u89e6\u53d1\u6761\u4ef6", "response": "\u7b54\u590d", "delivery": "\u4ea4\u4ed8", diff --git a/resources/assets/v1/src/locales/zh-tw.json b/resources/assets/v1/src/locales/zh-tw.json index e024a87eb5..aadeef3d57 100644 --- a/resources/assets/v1/src/locales/zh-tw.json +++ b/resources/assets/v1/src/locales/zh-tw.json @@ -3,8 +3,8 @@ "administrations_page_title": "\u591a\u500b\u8ca1\u52d9\u7ba1\u7406", "administrations_index_menu": "\u591a\u500b\u8ca1\u52d9\u7ba1\u7406", "expires_at": "Expires at", - "temp_administrations_introduction": "Firefly III \u5373\u5c07\u652f\u63f4\u540c\u6642\u7ba1\u7406\u591a\u500b\u8ca1\u52d9\u7ba1\u7406\u3002\u76ee\u524d\u60a8\u53ea\u6709\u4e00\u500b\u3002\u60a8\u53ef\u5728\u6b64\u8a2d\u5b9a\u5176\u6a19\u984c\u8207\u672c\u5e63\uff0c\u9019\u53d6\u4ee3\u4e86\u5148\u524d\u7684\u300c\u9810\u8a2d\u8ca8\u5e63\u300d\u8a2d\u5b9a\u3002\u6b64\u8a2d\u5b9a\u73fe\u5728\u7d81\u5b9a\u65bc\u8a72\u8ca1\u52d9\u7ba1\u7406\uff0c\u4e26\u53ef\u56e0\u4e0d\u540c\u8ca1\u52d9\u7ba1\u7406\u800c\u7570\u3002", - "administration_currency_form_help": "\u5982\u679c\u60a8\u66f4\u6539\u4e86\u672c\u5e63\uff0c\u53ef\u80fd\u9700\u8981\u4e00\u6bb5\u6642\u9593\u624d\u80fd\u8f09\u5165\u9801\u9762\uff0c\u56e0\u70ba\u4ea4\u6613\u53ef\u80fd\u9700\u8981\u8f49\u63db\u70ba\uff08\u65b0\uff09\u672c\u5e63\u3002", + "temp_administrations_introduction": "Firefly III will soon get the ability to manage multiple financial administrations. Right now, you only have the one. You can set the title of this administration and its primary currency. This replaces the previous setting where you would set your \"default currency\". This setting is now tied to the financial administration and can be different per administration.", + "administration_currency_form_help": "It may take a long time for the page to load if you change the primary currency because transaction may need to be converted to your (new) primary currency.", "administrations_page_edit_sub_title_js": "\u7de8\u8f2f\u8ca1\u52d9\u7ba1\u7406\u300c{title}\u300d", "table": "\u8868\u683c", "welcome_back": "\u6b61\u8fce\u56de\u4f86\u7e7c\u7e8c\u7406\u8ca1\uff01", @@ -102,7 +102,7 @@ "profile_oauth_client_secret_title": "\u7528\u6236\u7aef\u7955\u5bc6", "profile_oauth_client_secret_expl": "\u4ee5\u4e0b\u70ba\u60a8\u65b0\u7684\u7528\u6236\u7aef\u7955\u5bc6\u3002\u6b64\u7955\u5bc6\u53ea\u6703\u986f\u793a\u4e00\u6b21\uff0c\u8acb\u8b39\u614e\u4fdd\u5b58\uff01\u60a8\u73fe\u5728\u53ef\u4f7f\u7528\u6b64\u7955\u5bc6\u4f86\u767c\u9001 API \u8acb\u6c42\u3002", "profile_oauth_confidential": "\u6a5f\u5bc6 (Confidential)", - "profile_oauth_confidential_help": "\u6b64\u7528\u6236\u7aef\u5fc5\u9808\u4f7f\u7528\u7955\u5bc6\u9032\u884c\u9a57\u8b49\u3002\u6a5f\u5bc6 (Confidential) \u7528\u6236\u7aef\u53ef\u5728\u5b89\u5168\u74b0\u5883\u4fdd\u5b58\u6191\u8b49\uff0c\u4e0d\u6703\u66b4\u9732\u65bc\u672a\u6388\u6b0a\u65b9\u3002\u50cf\u684c\u9762\u61c9\u7528\u6216 JavaScript SPA (\u55ae\u9801\u61c9\u7528) \u5247\u7121\u6cd5\u5b89\u5168\u4fdd\u5b58\u7955\u5bc6\uff0c\u56e0\u6b64\u5c6c\u65bc\u516c\u5171\u61c9\u7528\u7a0b\u5f0f\u3002", + "profile_oauth_confidential_help": "Require the client to authenticate with a secret. Confidential clients can hold credentials in a secure way without exposing them to unauthorized parties. Public applications, such as primary desktop or JavaScript SPA applications, are unable to hold secrets securely.", "multi_account_warning_unknown": "\u4f9d\u60a8\u5efa\u7acb\u4ea4\u6613\u7684\u985e\u578b\u4e0d\u540c\uff0c\u5f8c\u7e8c\u62c6\u5206\u7684\u4f86\u6e90\u5e33\u6236\u6216\u76ee\u6a19\u5e33\u6236\u53ef\u80fd\u6703\u88ab\u7b2c\u4e00\u7b46\u62c6\u5206\u4e2d\u8a2d\u5b9a\u7684\u5e33\u6236\u8986\u5beb\u3002", "multi_account_warning_withdrawal": "\u8acb\u6ce8\u610f\uff0c\u82e5\u60a8\u5efa\u7acb\u7684\u662f\u63d0\u6b3e\u4ea4\u6613\uff0c\u5f8c\u7e8c\u62c6\u5206\u7684\u4f86\u6e90\u5e33\u6236\u5c07\u6703\u88ab\u7b2c\u4e00\u7b46\u62c6\u5206\u4e2d\u8a2d\u5b9a\u7684\u5e33\u6236\u8986\u5beb\u3002", "multi_account_warning_deposit": "\u8acb\u6ce8\u610f\uff0c\u82e5\u60a8\u5efa\u7acb\u7684\u662f\u5b58\u6b3e\u4ea4\u6613\uff0c\u5f8c\u7e8c\u62c6\u5206\u7684\u76ee\u6a19\u5e33\u6236\u5c07\u6703\u88ab\u7b2c\u4e00\u7b46\u62c6\u5206\u4e2d\u8a2d\u5b9a\u7684\u5e33\u6236\u8986\u5beb\u3002", @@ -154,7 +154,7 @@ "url": "URL", "active": "\u555f\u7528", "interest_date": "\u5229\u7387\u65e5\u671f", - "administration_currency": "\u539f\u751f\u8ca8\u5e63", + "administration_currency": "Primary currency", "title": "\u6a19\u984c", "date": "\u65e5\u671f", "book_date": "\u767b\u8a18\u65e5\u671f", @@ -174,7 +174,7 @@ "list": { "title": "\u6a19\u984c", "active": "\u662f\u5426\u555f\u7528\uff1f", - "native_currency": "\u539f\u751f\u8ca8\u5e63", + "primary_currency": "Primary currency", "trigger": "\u89f8\u767c\u5668", "response": "\u56de\u61c9", "delivery": "\u50b3\u905e",