diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb1234092a..f1250cfa96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,15 +58,6 @@ jobs: GITHUB_TOKEN: ${{ github.token }} CROWDIN_PROJECT_NR: ${{ secrets.CROWDIN_PROJECT_NR }} CROWDIN_TOKEN: ${{ secrets.CROWDIN_TOKEN }} - - name: Cleanup translations - id: cleanup-transactions - uses: JC5/firefly-iii-dev@main - with: - action: 'ff3:crowdin-warning' - output: '' - env: - FIREFLY_III_ROOT: /github/workspace - GH_TOKEN: '' - name: Cleanup changelog id: cleanup-changelog uses: JC5/firefly-iii-dev@main diff --git a/resources/lang/en_US/api.php b/resources/lang/en_US/api.php index a16e889f1e..2308384b5b 100644 --- a/resources/lang/en_US/api.php +++ b/resources/lang/en_US/api.php @@ -22,7 +22,7 @@ declare(strict_types=1); -// Ignore this comment + return [ ]; diff --git a/resources/lang/en_US/auth.php b/resources/lang/en_US/auth.php index 9f1063016d..06a70a4acd 100644 --- a/resources/lang/en_US/auth.php +++ b/resources/lang/en_US/auth.php @@ -20,7 +20,7 @@ * along with this program. If not, see . */ -// Ignore this comment + declare(strict_types=1); diff --git a/resources/lang/en_US/breadcrumbs.php b/resources/lang/en_US/breadcrumbs.php index b06bf0f472..6f3fb37f89 100644 --- a/resources/lang/en_US/breadcrumbs.php +++ b/resources/lang/en_US/breadcrumbs.php @@ -20,7 +20,7 @@ * along with this program. If not, see . */ -// Ignore this comment + declare(strict_types=1); @@ -56,7 +56,7 @@ return [ 'transfer_list' => 'Transfers', 'transfers_list' => 'Transfers', - // Ignore this comment + 'reconciliation_list' => 'Reconciliations', 'create_withdrawal' => 'Create new withdrawal', diff --git a/resources/lang/en_US/components.php b/resources/lang/en_US/components.php index 5fe13ffc60..1231220ca7 100644 --- a/resources/lang/en_US/components.php +++ b/resources/lang/en_US/components.php @@ -20,7 +20,7 @@ * along with this program. If not, see . */ -// Ignore this comment + declare(strict_types=1); diff --git a/resources/lang/en_US/config.php b/resources/lang/en_US/config.php index 71ee2f23a0..79825edf83 100644 --- a/resources/lang/en_US/config.php +++ b/resources/lang/en_US/config.php @@ -20,7 +20,7 @@ * along with this program. If not, see . */ -// Ignore this comment + declare(strict_types=1); @@ -41,7 +41,7 @@ return [ // 'month_and_day_no_year' => '%B %e', 'month_and_day_no_year_js' => 'MMMM Do', - // Ignore this comment + // 'date_time' => '%B %e, %Y, @ %T', 'date_time_js' => 'MMMM Do, YYYY, @ HH:mm:ss', @@ -72,4 +72,4 @@ return [ 'dow_7' => 'Sunday', ]; -// Ignore this comment + diff --git a/resources/lang/en_US/demo.php b/resources/lang/en_US/demo.php index 3d721b3d80..29c59164e7 100644 --- a/resources/lang/en_US/demo.php +++ b/resources/lang/en_US/demo.php @@ -20,7 +20,7 @@ * along with this program. If not, see . */ -// Ignore this comment + declare(strict_types=1); @@ -38,4 +38,4 @@ return [ 'profile-index' => 'Keep in mind that the demo site resets every four hours. Your access may be revoked at any time. This happens automatically and is not a bug.', ]; -// Ignore this comment + diff --git a/resources/lang/en_US/email.php b/resources/lang/en_US/email.php index dc892b2079..14a74bcbae 100644 --- a/resources/lang/en_US/email.php +++ b/resources/lang/en_US/email.php @@ -20,7 +20,7 @@ * along with this program. If not, see . */ -// Ignore this comment + declare(strict_types=1); @@ -36,7 +36,7 @@ return [ 'admin_test_body' => 'This is a test message from your Firefly III instance. It was sent to :email.', 'admin_test_message' => 'This is a test message from your Firefly III instance over channel ":channel".', - // Ignore this comment + // invite 'invitation_created_subject' => 'An invitation has been created', @@ -85,7 +85,7 @@ return [ 'registered_pw_reset_link' => 'Password reset:', 'registered_doc_link' => 'Documentation:', - // Ignore this comment + // new version 'new_version_email_subject' => 'A new Firefly III version is available', @@ -132,7 +132,7 @@ return [ 'error_headers' => 'The following headers may also be relevant:', 'error_post' => 'This was submitted by the user:', - // Ignore this comment + // report new journals 'new_journals_subject' => 'Firefly III has created a new transaction|Firefly III has created :count new transactions', @@ -190,4 +190,4 @@ return [ 'mfa_many_failed_attempts_warning' => 'If you did not do this, please contact your administrator immediately or check out the Firefly III documentation.', ]; -// Ignore this comment + diff --git a/resources/lang/en_US/errors.php b/resources/lang/en_US/errors.php index c5f00f862f..3b09952c0d 100644 --- a/resources/lang/en_US/errors.php +++ b/resources/lang/en_US/errors.php @@ -20,7 +20,7 @@ * along with this program. If not, see . */ -// Ignore this comment + declare(strict_types=1); @@ -42,7 +42,7 @@ return [ 'stacktrace' => 'Stack trace', 'more_info' => 'More information', - // Ignore this comment + 'collect_info' => 'Please collect more information in the storage/logs directory where you will find log files. If you\'re running Docker, use docker logs -f [container].', 'collect_info_more' => 'You can read more about collecting error information in the FAQ.', diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php index 7d56ff3837..f0f3fa6168 100644 --- a/resources/lang/en_US/firefly.php +++ b/resources/lang/en_US/firefly.php @@ -22,7 +22,7 @@ declare(strict_types=1); -// Ignore this comment + return [ // general stuff: @@ -336,7 +336,7 @@ return [ // old - // Ignore this comment + 'search_modifier_date_on' => 'Transaction date is ":value"', 'search_modifier_not_date_on' => 'Transaction date is not ":value"', @@ -728,7 +728,7 @@ return [ 'search_modifier_not_source_balance_gt' => 'Source account balance is less than or equal to ":value"', - // Ignore this comment + // END 'general_search_error' => 'An error occurred while searching. Please check the log files for more information.', @@ -1262,7 +1262,7 @@ return [ 'rule_trigger_not_source_balance_lt' => 'Source account balance is more than or equal to :trigger_value', 'rule_trigger_not_source_balance_lte' => 'Source account balance is more than :trigger_value', - // Ignore this comment + // actions // set, clear, add, remove, append/prepend @@ -1653,7 +1653,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.', - // Ignore this comment + // export data: 'export_data_title' => 'Export data from Firefly III', @@ -2067,7 +2067,7 @@ return [ 'stored_category' => 'Stored new category ":name"', 'without_category_between' => 'Without category between :start and :end', - // Ignore this comment + // transactions: 'wait_loading_transaction' => 'Please wait for the form to load', @@ -2311,7 +2311,7 @@ return [ 'classification' => 'Classification', 'store_transaction' => 'Store transaction', - // Ignore this comment + // reports: 'report_default' => 'Default financial report between :start and :end', @@ -2418,7 +2418,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.', - // Ignore this comment + // charts: 'chart' => 'Chart', @@ -2521,7 +2521,7 @@ return [ 'total_amount' => 'Total amount', 'number_of_decimals' => 'Number of decimals', - // Ignore this comment + // administration 'invite_is_already_redeemed' => 'The invite to ":address" has already been redeemed.', @@ -2823,7 +2823,7 @@ return [ 'except_weekends' => 'Except weekends', 'recurrence_deleted' => 'Recurring transaction ":title" deleted', - // Ignore this comment + // new lines for summary controller. 'box_balance_in_currency' => 'Balance (:currency)', @@ -2891,4 +2891,4 @@ return [ 'disable_auto_convert' => 'Disable currency conversion', ]; -// Ignore this comment + diff --git a/resources/lang/en_US/form.php b/resources/lang/en_US/form.php index b4fa88d128..d7603e876a 100644 --- a/resources/lang/en_US/form.php +++ b/resources/lang/en_US/form.php @@ -20,7 +20,7 @@ * along with this program. If not, see . */ -// Ignore this comment + declare(strict_types=1); @@ -66,7 +66,7 @@ return [ 'tagMode' => 'Tag mode', 'virtual_balance' => 'Virtual balance', - // Ignore this comment + 'targetamount' => 'Target amount', 'target_amount' => 'Target amount', @@ -168,7 +168,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?', - // Ignore this comment + '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 :source and :destination?', @@ -233,7 +233,7 @@ return [ 'fints_account' => 'FinTS account', 'local_account' => 'Firefly III account', - // Ignore this comment + 'from_date' => 'Date from', 'to_date' => 'Date to', @@ -278,4 +278,4 @@ return [ 'ntfy_user' => 'Ntfy username', 'ntfy_pass' => 'Ntfy password', ]; -// Ignore this comment + diff --git a/resources/lang/en_US/intro.php b/resources/lang/en_US/intro.php index b4ff618784..0ab142a7f9 100644 --- a/resources/lang/en_US/intro.php +++ b/resources/lang/en_US/intro.php @@ -20,7 +20,7 @@ * along with this program. If not, see . */ -// Ignore this comment + declare(strict_types=1); @@ -54,7 +54,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.', - // Ignore this comment + // reports (index) 'reports_index_intro' => 'Use these reports to get detailed insights in your finances.', @@ -93,7 +93,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.', - // Ignore this comment + // create piggy 'piggy-banks_create_name' => 'What is your goal? A new couch, a camera, money for emergencies?', @@ -144,7 +144,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.', - // Ignore this comment + // preferences 'preferences_index_tabs' => 'More options are available behind these tabs.', @@ -157,4 +157,4 @@ return [ // create currency 'currencies_create_code' => 'This code should be ISO compliant (Google it for your new currency).', ]; -// Ignore this comment + diff --git a/resources/lang/en_US/list.php b/resources/lang/en_US/list.php index 190f9fde91..410ae1d221 100644 --- a/resources/lang/en_US/list.php +++ b/resources/lang/en_US/list.php @@ -20,7 +20,7 @@ * along with this program. If not, see . */ -// Ignore this comment + declare(strict_types=1); @@ -66,7 +66,7 @@ return [ 'balance_difference' => 'Balance difference', 'menu' => 'Menu', - // Ignore this comment + 'repeat_freq' => 'Repeats', 'description' => 'Description', @@ -134,7 +134,7 @@ return [ 'account_at_bunq' => 'Account with bunq', 'file_name' => 'File name', - // Ignore this comment + 'file_size' => 'File size', 'file_type' => 'File type', @@ -163,4 +163,4 @@ return [ 'url' => 'URL', 'secret' => 'Secret', ]; -// Ignore this comment + diff --git a/resources/lang/en_US/pagination.php b/resources/lang/en_US/pagination.php index 6f72ad6b3a..510d353285 100644 --- a/resources/lang/en_US/pagination.php +++ b/resources/lang/en_US/pagination.php @@ -20,7 +20,7 @@ * along with this program. If not, see . */ -// Ignore this comment + declare(strict_types=1); diff --git a/resources/lang/en_US/passwords.php b/resources/lang/en_US/passwords.php index 3a941e12d5..cb17046188 100644 --- a/resources/lang/en_US/passwords.php +++ b/resources/lang/en_US/passwords.php @@ -20,7 +20,7 @@ * along with this program. If not, see . */ -// Ignore this comment + declare(strict_types=1); diff --git a/resources/lang/en_US/validation.php b/resources/lang/en_US/validation.php index 30b7a26a89..5591b43e24 100644 --- a/resources/lang/en_US/validation.php +++ b/resources/lang/en_US/validation.php @@ -20,7 +20,7 @@ * along with this program. If not, see . */ -// Ignore this comment + declare(strict_types=1); @@ -106,7 +106,7 @@ return [ 'unique_object_for_user' => 'This name is already in use.', 'unique_account_for_user' => 'This account name is already in use.', - // Ignore this comment + 'between.numeric' => 'The :attribute must be between :min and :max.', 'between.file' => 'The :attribute must be between :min and :max kilobytes.', @@ -177,7 +177,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', - // Ignore this comment + 'secure_password' => 'This is not a secure password. Please try again. For more information, visit https://bit.ly/FF3-password', 'valid_recurrence_rep_type' => 'Invalid repetition type for recurring transactions.', @@ -240,7 +240,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.', - // Ignore this comment + '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".', @@ -279,4 +279,4 @@ return [ 'existing_mfa_code' => 'Please enter a valid code', ]; -// Ignore this comment +