Various code cleanup.

This commit is contained in:
James Cole
2017-12-22 18:32:43 +01:00
parent f13a93348f
commit 8bd76d1ff0
188 changed files with 383 additions and 396 deletions

View File

@@ -18,11 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
@@ -36,5 +34,4 @@ return [
'failed' => 'These credentials do not match our records.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
];

View File

@@ -18,10 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
return [
];

View File

@@ -18,7 +18,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
return [

View File

@@ -18,7 +18,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
return [
@@ -31,5 +30,4 @@ return [
'quarter_of_year' => '%B %Y',
'year' => '%Y',
'half_year' => '%B %Y',
];

View File

@@ -18,9 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
return [
];

View File

@@ -18,7 +18,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
return [

View File

@@ -18,7 +18,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
return [
@@ -353,7 +352,6 @@ return [
'rule_action_set_notes_choice' => 'Set notes to..',
'rule_action_set_notes' => 'Set notes to ":action_value"',
'rules_have_read_warning' => 'Have you read the warning?',
'apply_rule_warning' => 'Warning: running a rule(group) on a large selection of transactions could take ages, and it could time-out. If it does, the rule(group) will only be applied to an unknown subset of your transactions. This might leave your financial administration in tatters. Please be careful.',
@@ -430,7 +428,6 @@ return [
'optional_field_attachments' => 'Attachments',
'optional_field_meta_data' => 'Optional meta data',
// profile:
'change_your_password' => 'Change your password',
'delete_account' => 'Delete account',
@@ -467,7 +464,6 @@ return [
'login_with_new_email' => 'You can now login with your new email address.',
'login_with_old_email' => 'You can now login with your old email address again.',
// attachments
'nr_of_attachments' => 'One attachment|:count attachments',
'attachments' => 'Attachments',
@@ -573,7 +569,6 @@ return [
'suggested' => 'Suggested',
'average_between' => 'Average between :start and :end',
// bills:
'matching_on' => 'Matching on',
'between_amounts' => 'between :low and :high.',
@@ -729,7 +724,6 @@ return [
'opt_group_sharedAsset' => 'Shared asset accounts',
'opt_group_ccAsset' => 'Credit cards',
// new user:
'welcome' => 'Welcome to Firefly!',
'submit' => 'Submit',
@@ -1053,7 +1047,6 @@ return [
'(partially) pays for_outward' => '(partially) pays for',
'(partially) reimburses_outward' => '(partially) reimburses',
// split a transaction:
'splits' => 'Splits',
'add_another_split' => 'Add another split',
@@ -1131,6 +1124,4 @@ return [
'no_bills_intro_default' => 'You have no bills yet. You can create bills to keep track of regular expenses, like your rent or insurance.',
'no_bills_imperative_default' => 'Do you have such regular bills? Create a bill and keep track of your payments:',
'no_bills_create_default' => 'Create a bill',
];

View File

@@ -18,11 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
return [
// new user:
'bank_name' => 'Bank name',
'bank_balance' => 'Balance',
@@ -90,7 +88,6 @@ return [
'convert_Deposit' => 'Convert deposit',
'convert_Transfer' => 'Convert transfer',
'amount' => 'Amount',
'date' => 'Date',
'interest_date' => 'Interest date',
@@ -179,13 +176,11 @@ return [
'blocked' => 'Is blocked?',
'blocked_code' => 'Reason for block',
// admin
'domain' => 'Domain',
'single_user_mode' => 'Disable user registration',
'is_demo_site' => 'Is demo site',
// import
'import_file' => 'Import file',
'configuration_file' => 'Configuration file',
@@ -203,7 +198,6 @@ return [
'country_code' => 'Country code',
'provider_code' => 'Bank or data-provider',
'due_date' => 'Due date',
'payment_date' => 'Payment date',
'invoice_date' => 'Invoice date',

View File

@@ -18,10 +18,8 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
return [
// status of import:
'status_wait_title' => 'Please hold...',
@@ -92,7 +90,6 @@ return [
'csv_roles_submit' => 'Continue with step 4/4',
'csv_roles_warning' => 'At the very least, mark one column as the amount-column. It is advisable to also select a column for the description, date and the opposing account.',
// file: map data
'file_map_title' => 'Import setup (4/4) - Connect import data to Firefly III data',
'file_map_text' => 'In the following tables, the left value shows you information found in your uploaded file. It is your task to map this value, if possible, to a value already present in your database. Firefly will stick to this mapping. If there is no value to map to, or you do not wish to map the specific value, select nothing.',
@@ -156,4 +153,4 @@ return [
'spectre_input_fields_title' => 'Input mandatory fields',
'spectre_input_fields_text' => 'The following fields are mandated by ":provider" (from :country).',
'spectre_instructions_english' => 'These instructions are provided by Spectre for your convencience. They are in English:',
];
];

View File

@@ -18,7 +18,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
return [

View File

@@ -18,7 +18,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
return [

View File

@@ -18,12 +18,9 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
return [
'previous' => '&laquo; Previous',
'next' => 'Next &raquo;',
];

View File

@@ -18,7 +18,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
return [

View File

@@ -18,7 +18,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
return [

View File

@@ -68,4 +68,4 @@
</table>
<div style="padding-left:8px;">
{{ accounts.render|raw }}
</div>
</div>