mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Small various fixes.
This commit is contained in:
@@ -113,9 +113,9 @@ class NewUserController extends Controller
|
|||||||
$count++;
|
$count++;
|
||||||
}
|
}
|
||||||
if ($count == 1) {
|
if ($count == 1) {
|
||||||
Session::flash('success', strval(trans('firefly.stored_new_account')));
|
Session::flash('success', strval(trans('firefly.stored_new_account_new_user')));
|
||||||
} else {
|
} else {
|
||||||
Session::flash('success', strval(trans('firefly.stored_new_accounts')));
|
Session::flash('success', strval(trans('firefly.stored_new_accounts_new_user')));
|
||||||
}
|
}
|
||||||
|
|
||||||
Preferences::mark();
|
Preferences::mark();
|
||||||
|
@@ -47,7 +47,7 @@ class Amount
|
|||||||
$result = $formatter->formatCurrency($float, $format->code);
|
$result = $formatter->formatCurrency($float, $format->code);
|
||||||
|
|
||||||
if ($coloured === true) {
|
if ($coloured === true) {
|
||||||
if ($amount == 0) {
|
if ($amount === 0.00) {
|
||||||
return '<span style="color:#999">' . $result . '</span>';
|
return '<span style="color:#999">' . $result . '</span>';
|
||||||
}
|
}
|
||||||
if ($amount > 0) {
|
if ($amount > 0) {
|
||||||
@@ -76,7 +76,7 @@ class Amount
|
|||||||
$currencyCode = $journal->transaction_currency_code ?? $journal->transactionCurrency->code;
|
$currencyCode = $journal->transaction_currency_code ?? $journal->transactionCurrency->code;
|
||||||
$result = $formatter->formatCurrency($float, $currencyCode);
|
$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.
|
return '<span style="color:#999">' . $result . '</span>'; // always grey.
|
||||||
}
|
}
|
||||||
if (!$coloured) {
|
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:',
|
'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:',
|
'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.',
|
'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_account_new_user' => 'Yay! Your new account has been stored.',
|
||||||
'stored_new_accounts' => 'Yay! Your new accounts have been stored.',
|
'stored_new_accounts_new_user' => 'Yay! Your new accounts have been stored.',
|
||||||
|
|
||||||
// forms:
|
// forms:
|
||||||
'mandatoryFields' => 'Mandatory fields',
|
'mandatoryFields' => 'Mandatory fields',
|
||||||
@@ -479,6 +479,8 @@ return [
|
|||||||
'asset_accounts' => 'Asset accounts',
|
'asset_accounts' => 'Asset accounts',
|
||||||
'expense_accounts' => 'Expense accounts',
|
'expense_accounts' => 'Expense accounts',
|
||||||
'revenue_accounts' => 'Revenue accounts',
|
'revenue_accounts' => 'Revenue accounts',
|
||||||
|
'cash_accounts' => 'Cash accounts',
|
||||||
|
'Cash account' => 'Cash account',
|
||||||
'accountExtraHelp_asset' => '',
|
'accountExtraHelp_asset' => '',
|
||||||
'accountExtraHelp_expense' => '',
|
'accountExtraHelp_expense' => '',
|
||||||
'accountExtraHelp_revenue' => '',
|
'accountExtraHelp_revenue' => '',
|
||||||
@@ -650,7 +652,7 @@ return [
|
|||||||
'earned' => 'Earned',
|
'earned' => 'Earned',
|
||||||
'overspent' => 'Overspent',
|
'overspent' => 'Overspent',
|
||||||
'left' => 'Left',
|
'left' => 'Left',
|
||||||
'no_budget' => '(no budget)',
|
'no_budget' => '(no budget)',
|
||||||
'maxAmount' => 'Maximum amount',
|
'maxAmount' => 'Maximum amount',
|
||||||
'minAmount' => 'Minumum amount',
|
'minAmount' => 'Minumum amount',
|
||||||
'billEntry' => 'Current bill entry',
|
'billEntry' => 'Current bill entry',
|
||||||
|
Reference in New Issue
Block a user