mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Small various fixes.
This commit is contained in:
parent
189d969ee6
commit
c1b8d44209
@ -113,9 +113,9 @@ class NewUserController extends Controller
|
||||
$count++;
|
||||
}
|
||||
if ($count == 1) {
|
||||
Session::flash('success', strval(trans('firefly.stored_new_account')));
|
||||
Session::flash('success', strval(trans('firefly.stored_new_account_new_user')));
|
||||
} else {
|
||||
Session::flash('success', strval(trans('firefly.stored_new_accounts')));
|
||||
Session::flash('success', strval(trans('firefly.stored_new_accounts_new_user')));
|
||||
}
|
||||
|
||||
Preferences::mark();
|
||||
|
@ -47,7 +47,7 @@ class Amount
|
||||
$result = $formatter->formatCurrency($float, $format->code);
|
||||
|
||||
if ($coloured === true) {
|
||||
if ($amount == 0) {
|
||||
if ($amount === 0.00) {
|
||||
return '<span style="color:#999">' . $result . '</span>';
|
||||
}
|
||||
if ($amount > 0) {
|
||||
@ -76,7 +76,7 @@ class Amount
|
||||
$currencyCode = $journal->transaction_currency_code ?? $journal->transactionCurrency->code;
|
||||
$result = $formatter->formatCurrency($float, $currencyCode);
|
||||
|
||||
if ($coloured === true && $float == 0) {
|
||||
if ($coloured === true && $float === 0.00) {
|
||||
return '<span style="color:#999">' . $result . '</span>'; // always grey.
|
||||
}
|
||||
if (!$coloured) {
|
||||
|
@ -415,8 +415,8 @@ return [
|
||||
'to_get_started' => 'To get started with Firefly, please enter your current bank\'s name, and the balance of your checking account:',
|
||||
'savings_balance_text' => 'If you have a savings account, please enter the current balance of your savings account:',
|
||||
'cc_balance_text' => 'If you have a credit card, please enter your credit card\'s limit.',
|
||||
'stored_new_account' => 'Yay! Your new account has been stored.',
|
||||
'stored_new_accounts' => 'Yay! Your new accounts have been stored.',
|
||||
'stored_new_account_new_user' => 'Yay! Your new account has been stored.',
|
||||
'stored_new_accounts_new_user' => 'Yay! Your new accounts have been stored.',
|
||||
|
||||
// forms:
|
||||
'mandatoryFields' => 'Mandatory fields',
|
||||
@ -479,6 +479,8 @@ return [
|
||||
'asset_accounts' => 'Asset accounts',
|
||||
'expense_accounts' => 'Expense accounts',
|
||||
'revenue_accounts' => 'Revenue accounts',
|
||||
'cash_accounts' => 'Cash accounts',
|
||||
'Cash account' => 'Cash account',
|
||||
'accountExtraHelp_asset' => '',
|
||||
'accountExtraHelp_expense' => '',
|
||||
'accountExtraHelp_revenue' => '',
|
||||
@ -650,7 +652,7 @@ return [
|
||||
'earned' => 'Earned',
|
||||
'overspent' => 'Overspent',
|
||||
'left' => 'Left',
|
||||
'no_budget' => '(no budget)',
|
||||
'no_budget' => '(no budget)',
|
||||
'maxAmount' => 'Maximum amount',
|
||||
'minAmount' => 'Minumum amount',
|
||||
'billEntry' => 'Current bill entry',
|
||||
|
Loading…
Reference in New Issue
Block a user