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' => 'M月 D日',
/*
/*
* 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' => 'MMMM Do, YYYY, @ HH:mm:ss',
'date_time_fns' => 'YYYY年 M月 D日 dddd 於 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' => 'Password reset:',
'registered_doc_link' => 'Documentation:',
/*
/*
* 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' => 'More information',
/*
/*
* 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' => '搜尋也套用以下條件:',
'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' => '已儲存新分類 “:name”',
'without_category_between' => '自 :start 至 :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' => '更新提款',
@@ -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' => '自 :start 至 :end 的預設財務報表',
'report_audit' => '自 :start 至 :end 的交易歷史概覽',
@@ -2299,7 +2292,7 @@ return [
'sum_in_default_currency' => '總額會總是以您的預設貨幣顯示',
'net_filtered_prefs' => '此圖表永遠不會囊括未勾選 “包含於淨值" 選項的帳戶',
/*
/*
* 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' => '圖表',
'month' => '月',
@@ -2401,7 +2393,7 @@ return [
'total_amount' => '總金額',
'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' => '例外的周末',
'recurrence_deleted' => '週期性交易 ":title" 已刪除',
/*
/*
* 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' => '餘額 (:currency)',
'box_spent_in_currency' => '已花費 (: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' => '標籤模式',
'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' => '目標金額',
'account_role' => '帳戶角色',
'opening_balance_date' => '初始餘額日期',
@@ -180,7 +178,7 @@ return [
'journal_areYouSure' => '你真的要刪除這個描述為 ":description" 的交易嗎?',
'mass_journal_are_you_sure' => '確定刪除這些交易?',
/*
/*
* 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' => '你真的要要刪除標籤 ":tag" 嗎?',
'journal_link_areYouSure' => '您確定您要刪除 <a href=":source_link">:source</a> 與 <a href=":destination_link">:destination</a> 間的連結嗎?',
'linkType_areYouSure' => '您確定您要刪除連結類型 ":name" (":inward" / ":outward")?',
@@ -255,7 +252,7 @@ return [
'fints_account' => 'FinTS 帳戶',
'local_account' => 'Firefly III 帳戶',
/*
/*
* 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' => '開始自',
'to_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 [
@@ -66,7 +65,7 @@ return [
'budgets_index_list_of_budgets' => '在此表上設定每個預算的金額,查看表現如何。',
'budgets_index_outro' => '要瞭解有關預算的詳細資訊,請查看右上角的説明圖示。',
/*
/*
* 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 [
*
*/
// reports (index)
'reports_index_intro' => '從這些報表洞察您的詳細財務狀況。',
'reports_index_inputReportType' => '挑一種報表。查看說明頁面瞭解各報表展示的內容。',
@@ -115,7 +113,7 @@ return [
'piggy-banks_index_button' => '進度橫條旁有兩個按鈕 (+ 和-),可以在每個小豬撲滿中加減金額。',
'piggy-banks_index_accountStatus' => '有小豬撲滿的資產帳戶,會在此表格中列出狀態。',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -126,7 +124,6 @@ return [
*
*/
// create piggy
'piggy-banks_create_name' => '您的目標為何?一張新沙發、一台相機,還是應急備用?',
'piggy-banks_create_date' => '您可以設定小豬撲滿的目標日期或期限。',
@@ -169,7 +166,7 @@ return [
'rules_create_test_rule_triggers' => '使用此按鈕可以查看哪些交易記錄將配對您的規則。',
'rules_create_actions' => '隨您設定多少動作。',
/*
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY.
* YOUR CHANGES WILL BE OVERWRITTEN!
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED!
@@ -180,7 +177,6 @@ return [
*
*/
// preferences
'preferences_index_tabs' => '這些標籤頁尚有更多可用選項。',
@@ -202,4 +198,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' => '下一個預期的配對',
'automatch' => '自動配對?',
/*
/*
* 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' => '重複',
'description' => '描述',
'amount' => '金額',
@@ -147,7 +145,7 @@ return [
'account_at_bunq' => 'bunq 帳戶',
'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_type' => '檔案類型',
'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' => '這個名稱已被使用。',
'unique_account_for_user' => '這個帳戶名稱已被使用。',
/*
/*
* 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' => ':attribute 必須介於 :min 和 :max 之間。',
'between.file' => ':attribute 必須介於 :min kB 到 :max kB 之間。',
'between.string' => ':attribute 必須介於 :min 到 :max 個字元之間。',
@@ -151,10 +149,10 @@ return [
'required' => ':attribute 欄位是必填的。',
'required_if' => '當 :other 為 :value 時,欄位 :attribute 是必填的。',
'required_unless' => '除非 :other 為 :values否則欄位 :attribute 是必填的。',
'required_with' => '當 :values 存在時,欄位 :attribute 是必填的。',
'required_with_all' => '當 :values 存在時,欄位 :attribute 是必填的。',
'required_without' => '當 :values 不存在時,欄位 :attribute 是必填的。',
'required_without_all' => '當沒有任何 :values 存在時,欄位 :attribute 是必填的。',
'required_with' => "當 :values\u{200b}\u{200b} 存在時,欄位 :attribute 是必填的。",
'required_with_all' => "當 :values\u{200b}\u{200b} 存在時,欄位 :attribute 是必填的。",
'required_without' => "當 :values\u{200b}\u{200b} 不存在時,欄位 :attribute 是必填的。",
'required_without_all' => "當沒有任何 :values\u{200b}\u{200b} 存在時,欄位 :attribute 是必填的。",
'same' => ':attribute 和 :other 必須相符。',
'size.numeric' => ':attribute 必須是 :size。',
'amount_min_over_max' => '最小金額不能大於最大金額。',
@@ -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' => '此密碼不安全,請再試一遍。如需更多資訊,請瀏覽 https://bit.ly/FF3-password-security',
'valid_recurrence_rep_type' => '定期重複交易的重複類型無效。',
'valid_recurrence_rep_moment' => '重複時刻在此重複類型無效。',
@@ -254,7 +251,7 @@ return [
'deposit_dest_bad_data' => '搜尋 ID ":id" 或名稱 ":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' => '需要有效的來源帳戶 ID 及/或有效的來源帳戶名稱才能繼續。',
'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
*
*/