Skip to content

Firefly III: a personal finances manager

Small edits to buttons and others. [skip ci]

James Coleeb687333bbb2
diff --git a/resources/lang/en/firefly.php b/resources/lang/en/firefly.php
index b2b051e69b..3784a219ad 100644
--- a/resources/lang/en/firefly.php
+++ b/resources/lang/en/firefly.php
@@ -9,6 +9,8 @@ return [
'optionalFields' => 'Optional fields',
'options' => 'Options',
'something' => 'Something!',
- 'actions' => 'Actions'
+ 'actions' => 'Actions',
+ 'edit' => 'Edit',
+ 'delete' => 'Delete',
];
diff --git a/resources/lang/en/pagination.php b/resources/lang/en/pagination.php
index 13b4dcb3c0..fcab34b253 100644
--- a/resources/lang/en/pagination.php
+++ b/resources/lang/en/pagination.php
@@ -2,18 +2,18 @@
return [
- /*
- |--------------------------------------------------------------------------
- | Pagination Language Lines
- |--------------------------------------------------------------------------
- |
- | The following language lines are used by the paginator library to build
- | the simple pagination links. You are free to change them to anything
- | you want to customize your views to better match your application.
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Pagination Language Lines
+ |--------------------------------------------------------------------------
+ |
+ | The following language lines are used by the paginator library to build
+ | the simple pagination links. You are free to change them to anything
+ | you want to customize your views to better match your application.
+ |
+ */
- 'previous' => '« Previous',
- 'next' => 'Next »',
+ 'previous' => '« Previous',
+ 'next' => 'Next »',
];
diff --git a/resources/lang/en/passwords.php b/resources/lang/en/passwords.php
index 1fc0e1ef17..50dfd5d15b 100644
--- a/resources/lang/en/passwords.php
+++ b/resources/lang/en/passwords.php
@@ -2,21 +2,21 @@
return [
- /*
- |--------------------------------------------------------------------------
- | Password Reminder Language Lines
- |--------------------------------------------------------------------------
- |
- | The following language lines are the default lines which match reasons
- | that are given by the password broker for a password update attempt
- | has failed, such as for an invalid token or invalid new password.
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Password Reminder Language Lines
+ |--------------------------------------------------------------------------
+ |
+ | The following language lines are the default lines which match reasons
+ | that are given by the password broker for a password update attempt
+ | has failed, such as for an invalid token or invalid new password.
+ |
+ */
- "password" => "Passwords must be at least six characters and match the confirmation.",
- "user" => "We can't find a user with that e-mail address.",
- "token" => "This password reset token is invalid.",
- "sent" => "We have e-mailed your password reset link!",
- "reset" => "Your password has been reset!",
+ "password" => "Passwords must be at least six characters and match the confirmation.",
+ "user" => "We can't find a user with that e-mail address.",
+ "token" => "This password reset token is invalid.",
+ "sent" => "We have e-mailed your password reset link!",
+ "reset" => "Your password has been reset!",
];
diff --git a/resources/lang/nl/firefly.php b/resources/lang/nl/firefly.php
index d3a9ca0d99..1f8747799b 100644
--- a/resources/lang/nl/firefly.php
+++ b/resources/lang/nl/firefly.php
@@ -9,6 +9,8 @@ return [
'optionalFields' => 'Optionele velden',
'options' => 'Opties',
'something' => 'Iets!',
- 'actions' => 'Acties'
+ 'actions' => 'Acties',
+ 'edit' => 'Wijzig',
+ 'delete' => 'Verwijder',
];
diff --git a/resources/lang/nl/pagination.php b/resources/lang/nl/pagination.php
new file mode 100644
index 0000000000..9a2a9677a4
--- /dev/null
+++ b/resources/lang/nl/pagination.php
@@ -0,0 +1,19 @@
+<?php
+
+return [
+
+ /*
+ |--------------------------------------------------------------------------
+ | Pagination Language Lines
+ |--------------------------------------------------------------------------
+ |
+ | The following language lines are used by the paginator library to build
+ | the simple pagination links. You are free to change them to anything
+ | you want to customize your views to better match your application.
+ |
+ */
+
+ 'previous' => '&laquo; Vorige',
+ 'next' => 'Volgende &raquo;',
+
+];
diff --git a/resources/lang/nl/passwords.php b/resources/lang/nl/passwords.php
new file mode 100644
index 0000000000..82c8be3b28
--- /dev/null
+++ b/resources/lang/nl/passwords.php
@@ -0,0 +1,22 @@
+<?php
+
+return [
+
+ /*
+ |--------------------------------------------------------------------------
+ | Password Reminder Language Lines
+ |--------------------------------------------------------------------------
+ |
+ | The following language lines are the default lines which match reasons
+ | that are given by the password broker for a password update attempt
+ | has failed, such as for an invalid token or invalid new password.
+ |
+ */
+
+ "password" => "Wachtwoorden moeten zes karakters lang zijn, en natuurlijk 2x hetzelfde invoeren.",
+ "user" => "Geen gebruiker met dat e-mailadres.",
+ "token" => "Ongeldig token! Sorry",
+ "sent" => "Je krijgt een mailtje met een linkje om je wachtwoord te herstellen!",
+ "reset" => "Je wachtwoord is hersteld!",
+
+];
diff --git a/resources/twig/accounts/show.twig b/resources/twig/accounts/show.twig
index 5b751239db..0cfe8b1117 100644
--- a/resources/twig/accounts/show.twig
+++ b/resources/twig/accounts/show.twig
@@ -16,8 +16,8 @@
<span class="caret"></span>
</button>
<ul class="dropdown-menu pull-right" role="menu">
- <li><a href="{{route('accounts.edit', account.id)}}"><i class="fa fa-pencil fa-fw"></i> Edit</a></li>
- <li><a href="{{route('accounts.delete', account.id)}}"><i class="fa fa-trash fa-fw"></i> Delete</a></li>
+ <li><a href="{{route('accounts.edit', account.id)}}"><i class="fa fa-pencil fa-fw"></i> {{ 'edit'|_ }}</a></li>
+ <li><a href="{{route('accounts.delete', account.id)}}"><i class="fa fa-trash fa-fw"></i> {{ 'delete'|_ }}</a></li>
</ul>
</div>
</div>
diff --git a/resources/twig/budgets/index.twig b/resources/twig/budgets/index.twig
index e84d19c24b..d18e688de9 100644
--- a/resources/twig/budgets/index.twig
+++ b/resources/twig/budgets/index.twig
@@ -94,8 +94,8 @@
<span class="caret"></span>
</button>
<ul class="dropdown-menu pull-right" role="menu">
- <li><a href="{{ route('budgets.edit',budget.id) }}"><i class="fa fa-pencil fa-fw"></i> Edit</a></li>
- <li><a href="{{ route('budgets.delete',budget.id) }}"><i class="fa fa-trash fa-fw"></i> Delete</a></li>
+ <li><a href="{{ route('budgets.edit',budget.id) }}"><i class="fa fa-pencil fa-fw"></i> {{ 'edit'|_ }}</a></li>
+ <li><a href="{{ route('budgets.delete',budget.id) }}"><i class="fa fa-trash fa-fw"></i> {{ 'delete'|_ }}</a></li>
</ul>
</div>
</div>
diff --git a/resources/twig/budgets/show.twig b/resources/twig/budgets/show.twig
index 7b1706f626..6db13018be 100644
--- a/resources/twig/budgets/show.twig
+++ b/resources/twig/budgets/show.twig
@@ -16,8 +16,8 @@
<span class="caret"></span>
</button>
<ul class="dropdown-menu pull-right" role="menu">
- <li><a href="{{ route('budgets.edit',budget.id) }}"><i class="fa fa-pencil fa-fw"></i> Edit</a></li>
- <li><a href="{{ route('budgets.delete',budget.id) }}"><i class="fa fa-trash fa-fw"></i> Delete</a></li>
+ <li><a href="{{ route('budgets.edit',budget.id) }}"><i class="fa fa-pencil fa-fw"></i> {{ 'edit'|_ }}</a></li>
+ <li><a href="{{ route('budgets.delete',budget.id) }}"><i class="fa fa-trash fa-fw"></i> {{ 'delete'|_ }}</a></li>
</ul>
</div>
</div>
diff --git a/resources/twig/piggy-banks/show.twig b/resources/twig/piggy-banks/show.twig
index 97bdc223d6..f551cc0448 100644
--- a/resources/twig/piggy-banks/show.twig
+++ b/resources/twig/piggy-banks/show.twig
@@ -25,8 +25,8 @@
<span class="caret"></span>
</button>
<ul class="dropdown-menu pull-right" role="menu">
- <li><a href="{{ route('piggy-banks.edit', piggyBank.id) }}"><i class="fa fa-pencil fa-fw"></i> Edit</a></li>
- <li><a href="{{ route('piggy-banks.delete', piggyBank.id) }}"><i class="fa fa-trash fa-fw"></i> Delete</a></li>
+ <li><a href="{{ route('piggy-banks.edit', piggyBank.id) }}"><i class="fa fa-pencil fa-fw"></i> {{ 'edit'|_ }}</a></li>
+ <li><a href="{{ route('piggy-banks.delete', piggyBank.id) }}"><i class="fa fa-trash fa-fw"></i> {{ 'delete'|_ }}</a></li>
</ul>
</div>
</div>
diff --git a/resources/twig/transactions/show.twig b/resources/twig/transactions/show.twig
index 7c58bed910..afd6725b0f 100644
--- a/resources/twig/transactions/show.twig
+++ b/resources/twig/transactions/show.twig
@@ -122,7 +122,7 @@
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12">
<div class="btn-group">
- <a class="btn btn-default" href="{{route('transactions.edit',journal.id)}}"><i class="fa fa-fw fa-pencil"></i> Edit</a> <a href="{{route('transactions.delete',journal.id)}}" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span> Delete</a>
+ <a class="btn btn-default" href="{{route('transactions.edit',journal.id)}}"><i class="fa fa-fw fa-pencil"></i> {{ 'edit'|_ }}</a> <a href="{{route('transactions.delete',journal.id)}}" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span> {{ 'delete'|_ }}</a>
</div>
</div>
</div>