Code cleanup

This commit is contained in:
James Cole
2024-01-01 15:51:23 +01:00
parent 2ede3b420b
commit fd7a2181a4
482 changed files with 950 additions and 2518 deletions

View File

@@ -32,6 +32,5 @@ declare(strict_types=1);
*
*/
return [
];

View File

@@ -31,7 +31,6 @@
*
*/
declare(strict_types=1);
return [

View File

@@ -31,7 +31,6 @@
*
*/
declare(strict_types=1);
return [
@@ -66,7 +65,7 @@ return [
'transfer_list' => 'โอน',
'transfers_list' => 'โอน',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -77,7 +76,6 @@ return [
*
*/
'reconciliation_list' => 'การกระทบยอดหนี้',
'create_withdrawal' => 'สร้างรายการถอนเงิน',
'create_deposit' => 'สร้างรายการฝากเงิน',

View File

@@ -31,7 +31,6 @@
*
*/
declare(strict_types=1);
return [

View File

@@ -31,7 +31,6 @@
*
*/
declare(strict_types=1);
return [
@@ -51,7 +50,7 @@ return [
// 'month_and_day_no_year' => '%B %e',
'month_and_day_no_year_js' => 'MMMM Do',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -62,7 +61,6 @@ return [
*
*/
// 'date_time' => '%B %e, %Y, @ %T',
'date_time_js' => 'Do MMMM YYYY @ HH:mm:ss',
'date_time_fns' => 'MMMM do, yyyy @ HH:mm:ss',
@@ -101,4 +99,3 @@ return [
* https://crowdin.com/project/firefly-iii
*
*/

View File

@@ -31,7 +31,6 @@
*
*/
declare(strict_types=1);
return [
@@ -58,4 +57,3 @@ return [
* https://crowdin.com/project/firefly-iii
*
*/

View File

@@ -31,7 +31,6 @@
*
*/
declare(strict_types=1);
return [
@@ -45,7 +44,7 @@ return [
'admin_test_subject' => 'ข้อความจากการติดตั้ง Firefly III ของคุณ',
'admin_test_body' => 'นี่คือข้อความทดสอบจากระบบของ Firefly III ซึ่งส่งจากอีเมลของ :email',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -56,7 +55,6 @@ return [
*
*/
// invite
'invitation_created_subject' => 'An invitation has been created',
'invitation_created_body' => 'Admin user ":email" created a user invitation which can be used by whoever is behind email address ":invitee". The invite will be valid for 48hrs.',
@@ -92,7 +90,7 @@ return [
'registered_pw_reset_link' => 'ตั้งรหัสผ่านใหม่',
'registered_doc_link' => 'เอกสาร',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -103,7 +101,6 @@ return [
*
*/
// new version
'new_version_email_subject' => 'A new Firefly III version is available',
@@ -147,7 +144,7 @@ return [
'error_stacktrace_below' => 'The full stacktrace is below:',
'error_headers' => 'The following headers may also be relevant:',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -158,7 +155,6 @@ return [
*
*/
// report new journals
'new_journals_subject' => 'Firefly III has created a new transaction|Firefly III has created :count new transactions',
'new_journals_header' => 'Firefly III has created a transaction for you. You can find it in your Firefly III installation:|Firefly III has created :count transactions for you. You can find them in your Firefly III installation:',
@@ -184,4 +180,3 @@ return [
* https://crowdin.com/project/firefly-iii
*
*/

View File

@@ -31,7 +31,6 @@
*
*/
declare(strict_types=1);
return [
@@ -52,7 +51,7 @@ return [
'stacktrace' => 'Stack trace',
'more_info' => 'ข้อมูลเพิ่มเติม',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -63,7 +62,6 @@ return [
*
*/
'collect_info' => 'Please collect more information in the <code>storage/logs</code> directory where you will find log files. If you\'re running Docker, use <code>docker logs -f [container]</code>.',
'collect_info_more' => 'You can read more about collecting error information in <a href="https://docs.firefly-iii.org/how-to/general/debug/">the FAQ</a>.',
'github_help' => 'Get help on GitHub',

View File

@@ -33,7 +33,6 @@ declare(strict_types=1);
*
*/
return [
// general stuff:
'close' => 'ปิด',
@@ -340,7 +339,7 @@ return [
// old
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -351,7 +350,6 @@ return [
*
*/
'search_modifier_date_on' => 'Transaction date is ":value"',
'search_modifier_not_date_on' => 'Transaction date is not ":value"',
'search_modifier_reconciled' => 'Transaction is reconciled',
@@ -715,7 +713,7 @@ return [
'create_rule_from_query' => 'Create new rule from search query',
'rule_from_search_words' => 'The rule engine has a hard time handling ":string". The suggested rule that fits your search query may give different results. Please verify the rule triggers carefully.',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -726,7 +724,6 @@ return [
*
*/
// END
'modifiers_applies_are' => 'The following modifiers are applied to the search as well:',
'general_search_error' => 'An error occurred while searching. Please check the log files for more information.',
@@ -1215,7 +1212,7 @@ return [
'rule_trigger_not_destination_is_cash' => 'Destination account is not a cash account',
'rule_trigger_not_account_is_cash' => 'Neither account is a cash account',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -1226,7 +1223,6 @@ return [
*
*/
// actions
// set, clear, add, remove, append/prepend
'rule_action_delete_transaction_choice' => 'DELETE transaction(!)',
@@ -1538,7 +1534,7 @@ return [
'multi_account_warning_deposit' => 'Keep in mind that the destination account of subsequent splits will be overruled by whatever is defined in the first split of the deposit.',
'multi_account_warning_transfer' => 'Keep in mind that the source + destination account of subsequent splits will be overruled by whatever is defined in the first split of the transfer.',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -1549,7 +1545,6 @@ return [
*
*/
// export data:
'export_data_title' => 'Export data from Firefly III',
'export_data_menu' => 'Export data',
@@ -1942,7 +1937,7 @@ return [
'stored_category' => 'Stored new category ":name"',
'without_category_between' => 'Without category between :start and :end',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -1953,7 +1948,6 @@ return [
*
*/
// transactions:
'unreconcile' => 'Undo reconciliation',
'update_withdrawal' => 'Update withdrawal',
@@ -2183,7 +2177,7 @@ return [
'classification' => 'Classification',
'store_transaction' => 'Store transaction',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -2194,7 +2188,6 @@ return [
*
*/
// reports:
'report_default' => 'Default financial report between :start and :end',
'report_audit' => 'Transaction history overview between :start and :end',
@@ -2299,7 +2292,7 @@ return [
'sum_in_default_currency' => 'The sum will always be in your default currency.',
'net_filtered_prefs' => 'This chart will never include accounts that have the "Include in net worth"-option unchecked.',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -2310,7 +2303,6 @@ return [
*
*/
// charts:
'chart' => 'Chart',
'month' => 'Month',
@@ -2401,7 +2393,7 @@ return [
'total_amount' => 'Total amount',
'number_of_decimals' => 'Number of decimals',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -2412,7 +2404,6 @@ return [
*
*/
// administration
'invite_is_already_redeemed' => 'The invite to ":address" has already been redeemed.',
'invite_is_deleted' => 'The invite to ":address" has been deleted.',
@@ -2685,7 +2676,7 @@ return [
'except_weekends' => 'Except weekends',
'recurrence_deleted' => 'Recurring transaction ":title" deleted',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -2696,7 +2687,6 @@ return [
*
*/
// new lines for summary controller.
'box_balance_in_currency' => 'Balance (:currency)',
'box_spent_in_currency' => 'Spent (:currency)',
@@ -2772,4 +2762,3 @@ return [
* https://crowdin.com/project/firefly-iii
*
*/

View File

@@ -31,7 +31,6 @@
*
*/
declare(strict_types=1);
return [
@@ -75,7 +74,7 @@ return [
'tagMode' => 'Tag mode',
'virtual_balance' => 'Virtual balance',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -86,7 +85,6 @@ return [
*
*/
'targetamount' => 'Target amount',
'account_role' => 'Account role',
'opening_balance_date' => 'Opening balance date',
@@ -180,7 +178,7 @@ return [
'journal_areYouSure' => 'Are you sure you want to delete the transaction described ":description"?',
'mass_journal_are_you_sure' => 'Are you sure you want to delete these transactions?',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -191,7 +189,6 @@ return [
*
*/
'tag_areYouSure' => 'Are you sure you want to delete the tag ":tag"?',
'journal_link_areYouSure' => 'Are you sure you want to delete the link between <a href=":source_link">:source</a> and <a href=":destination_link">:destination</a>?',
'linkType_areYouSure' => 'Are you sure you want to delete the link type ":name" (":inward" / ":outward")?',
@@ -255,7 +252,7 @@ return [
'fints_account' => 'FinTS account',
'local_account' => 'Firefly III account',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -266,7 +263,6 @@ return [
*
*/
'from_date' => 'Date from',
'to_date' => 'Date to',
'due_date' => 'Due date',
@@ -313,4 +309,3 @@ return [
* https://crowdin.com/project/firefly-iii
*
*/

View File

@@ -31,7 +31,6 @@
*
*/
declare(strict_types=1);
return [
@@ -65,7 +64,7 @@ return [
'budgets_index_list_of_budgets' => 'Use this table to set the amounts for each budget and see how you are doing.',
'budgets_index_outro' => 'To learn more about budgeting, checkout the help icon in the top right corner.',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -76,7 +75,6 @@ return [
*
*/
// reports (index)
'reports_index_intro' => 'Use these reports to get detailed insights in your finances.',
'reports_index_inputReportType' => 'Pick a report type. Check out the help pages to see what each report shows you.',
@@ -114,7 +112,7 @@ return [
'piggy-banks_index_button' => 'Next to this progress bar are two buttons (+ and -) to add or remove money from each piggy bank.',
'piggy-banks_index_accountStatus' => 'For each asset account with at least one piggy bank the status is listed in this table.',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -125,7 +123,6 @@ return [
*
*/
// create piggy
'piggy-banks_create_name' => 'What is your goal? A new couch, a camera, money for emergencies?',
'piggy-banks_create_date' => 'You can set a target date or a deadline for your piggy bank.',
@@ -168,7 +165,7 @@ return [
'rules_create_test_rule_triggers' => 'Use this button to see which transactions would match your rule.',
'rules_create_actions' => 'Set as many actions as you like.',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -179,7 +176,6 @@ return [
*
*/
// preferences
'preferences_index_tabs' => 'More options are available behind these tabs.',
@@ -201,4 +197,3 @@ return [
* https://crowdin.com/project/firefly-iii
*
*/

View File

@@ -31,7 +31,6 @@
*
*/
declare(strict_types=1);
return [
@@ -69,7 +68,7 @@ return [
'next_expected_match' => 'Next expected match',
'automatch' => 'Auto match?',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -80,7 +79,6 @@ return [
*
*/
'repeat_freq' => 'Repeats',
'description' => 'รายละเอียด',
'amount' => 'จำนวน',
@@ -147,7 +145,7 @@ return [
'account_at_bunq' => 'Account with bunq',
'file_name' => 'File name',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -158,7 +156,6 @@ return [
*
*/
'file_size' => 'File size',
'file_type' => 'File type',
'attached_to' => 'Attached to',
@@ -196,4 +193,3 @@ return [
* https://crowdin.com/project/firefly-iii
*
*/

View File

@@ -31,7 +31,6 @@
*
*/
declare(strict_types=1);
return [

View File

@@ -31,7 +31,6 @@
*
*/
declare(strict_types=1);
return [

View File

@@ -31,7 +31,6 @@
*
*/
declare(strict_types=1);
return [
@@ -101,7 +100,7 @@ return [
'unique_object_for_user' => 'This name is already in use.',
'unique_account_for_user' => 'This account name is already in use.',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -112,7 +111,6 @@ return [
*
*/
'between.numeric' => 'The :attribute must be between :min and :max.',
'between.file' => 'The :attribute must be between :min and :max kilobytes.',
'between.string' => 'The :attribute must be between :min and :max characters.',
@@ -181,7 +179,7 @@ return [
'same_account_type' => 'Both accounts must be of the same account type',
'same_account_currency' => 'Both accounts must have the same currency setting',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -192,7 +190,6 @@ return [
*
*/
'secure_password' => 'This is not a secure password. Please try again. For more information, visit https://bit.ly/FF3-password-security',
'valid_recurrence_rep_type' => 'Invalid repetition type for recurring transactions.',
'valid_recurrence_rep_moment' => 'Invalid repetition moment for this type of repetition.',
@@ -254,7 +251,7 @@ return [
'deposit_dest_bad_data' => 'Could not find a valid destination account when searching for ID ":id" or name ":name".',
'deposit_dest_wrong_type' => 'The submitted destination account is not of the right type.',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -265,7 +262,6 @@ return [
*
*/
'transfer_source_need_data' => 'Need to get a valid source account ID and/or valid source account name to continue.',
'transfer_source_bad_data' => '[c] Could not find a valid source account when searching for ID ":id" or name ":name".',
'transfer_dest_need_data' => '[c] Need to get a valid destination account ID and/or valid destination account name to continue.',
@@ -308,4 +304,3 @@ return [
* https://crowdin.com/project/firefly-iii
*
*/