Some new translations.

This commit is contained in:
James Cole
2015-05-14 19:44:20 +02:00
parent d3897eece7
commit 5368a0f1d7
4 changed files with 22 additions and 4 deletions

View File

@@ -44,12 +44,12 @@ class TransactionController extends Controller
{
$accounts = ExpandedForm::makeSelectList($repository->getAccounts(['Default account', 'Asset account']));
$budgets = ExpandedForm::makeSelectList(Auth::user()->budgets()->get());
$budgets[0] = '(no budget)';
$budgets[0] = trans('form.noBudget');
$piggies = ExpandedForm::makeSelectList(Auth::user()->piggyBanks()->get());
$piggies[0] = '(no piggy bank)';
$piggies[0] = trans('form.noPiggybank');
$preFilled = Session::has('preFilled') ? Session::get('preFilled') : [];
$respondTo = ['account_id', 'account_from_id'];
$subTitle = 'Add a new ' . e($what);
$subTitle = trans('form.add_new_'.$what);
foreach ($respondTo as $r) {
if (!is_null(Input::get($r))) {