diff --git a/lang/en/texts.php b/lang/en/texts.php index 6b1713622a..480595bcff 100644 --- a/lang/en/texts.php +++ b/lang/en/texts.php @@ -188,7 +188,7 @@ $lang = array( 'clients_will_create' => 'clients will be created', 'email_settings' => 'Email Settings', 'client_view_styling' => 'Client View Styling', - 'pdf_email_attachment' => 'Attach PDF', + 'pdf_email_""ment' => '"" PDF', 'custom_css' => 'Custom CSS', 'import_clients' => 'Import Client Data', 'csv_file' => 'CSV file', @@ -586,7 +586,7 @@ $lang = array( 'pro_plan_feature5' => 'Multi-user Access & Activity Tracking', 'pro_plan_feature6' => 'Create Quotes & Pro-forma Invoices', 'pro_plan_feature7' => 'Customize Invoice Field Titles & Numbering', - 'pro_plan_feature8' => 'Option to Attach PDFs to Client Emails', + 'pro_plan_feature8' => 'Option to "" PDFs to Client Emails', 'resume' => 'Resume', 'break_duration' => 'Break', 'edit_details' => 'Edit Details', @@ -1097,9 +1097,9 @@ $lang = array( 'invoice_documents' => 'Invoice Documents', 'expense_documents' => 'Expense Documents', 'invoice_embed_documents' => 'Embed Documents', - 'invoice_embed_documents_help' => 'Include attached images in the invoice.', - 'document_email_attachment' => 'Attach Documents', - 'ubl_email_attachment' => 'Attach UBL/E-Invoice', + 'invoice_embed_documents_help' => 'Include ""ed images in the invoice.', + 'document_email_""ment' => '"" Documents', + 'ubl_email_""ment' => '"" UBL/E-Invoice', 'download_documents' => 'Download Documents (:size)', 'documents_from_expenses' => 'From Expenses:', 'dropzone_default_message' => 'Drop files or click to upload', @@ -1173,7 +1173,7 @@ $lang = array( 'preview' => 'Preview', 'list_vendors' => 'List Vendors', 'add_users_not_supported' => 'Upgrade to the Enterprise Plan to add additional users to your account.', - 'enterprise_plan_features' => 'The Enterprise Plan adds support for multiple users and file attachments, :link to see the full list of features.', + 'enterprise_plan_features' => 'The Enterprise Plan adds support for multiple users and file ""ments, :link to see the full list of features.', 'return_to_app' => 'Return To App', @@ -1872,7 +1872,7 @@ $lang = array( 'pro_upgrade_feature1' => 'YourBrand.InvoiceNinja.com', 'pro_upgrade_feature2' => 'Customize every aspect of your invoice!', 'enterprise_upgrade_feature1' => 'Set permissions for multiple-users', - 'enterprise_upgrade_feature2' => 'Attach 3rd party files to invoices & expenses', + 'enterprise_upgrade_feature2' => '"" 3rd party files to invoices & expenses', 'much_more' => 'Much More!', 'all_pro_fetaures' => 'Plus all pro features!', @@ -2234,7 +2234,7 @@ $lang = array( 'late_fee_added' => 'Late fee added on :date', 'download_invoice' => 'Download Invoice', 'download_quote' => 'Download Quote', - 'invoices_are_attached' => 'Your invoice PDFs are attached.', + 'invoices_are_""ed' => 'Your invoice PDFs are ""ed.', 'downloaded_invoice' => 'An email will be sent with the invoice PDF', 'downloaded_quote' => 'An email will be sent with the quote PDF', 'downloaded_invoices' => 'An email will be sent with the invoice PDFs', @@ -2520,7 +2520,7 @@ $lang = array( 'scheduled_report_help' => 'Email the :report report as :format to :email', 'created_scheduled_report' => 'Successfully scheduled report', 'deleted_scheduled_report' => 'Successfully canceled scheduled report', - 'scheduled_report_attached' => 'Your scheduled :type report is attached.', + 'scheduled_report_""ed' => 'Your scheduled :type report is ""ed.', 'scheduled_report_error' => 'Failed to create schedule report', 'invalid_one_time_password' => 'Invalid one time password', 'apple_pay' => 'Apple/Google Pay', @@ -2906,9 +2906,9 @@ $lang = array( 'from_name_help' => 'From name is the recognizable sender which is displayed instead of the email address, ie Support Center', 'local_part_placeholder' => 'YOUR_NAME', 'from_name_placeholder' => 'Support Center', - 'attachments' => 'Attachments', + '""ments' => '""ments', 'client_upload' => 'Client uploads', - 'enable_client_upload_help' => 'Allow clients to upload documents/attachments', + 'enable_client_upload_help' => 'Allow clients to upload documents/""ments', 'max_file_size_help' => 'Maximum file size (KB) is limited by your post_max_size and upload_max_filesize variables as set in your PHP.INI', 'max_file_size' => 'Maximum file size', 'mime_types' => 'Mime types', @@ -3044,9 +3044,9 @@ $lang = array( 'number_pattern' => 'Number Pattern', 'custom_javascript' => 'Custom JavaScript', 'portal_mode' => 'Portal Mode', - 'attach_pdf' => 'Attach PDF', - 'attach_documents' => 'Attach Documents', - 'attach_ubl' => 'Attach UBL/E-Invoice', + '""_pdf' => '"" PDF', + '""_documents' => '"" Documents', + '""_ubl' => '"" UBL/E-Invoice', 'email_style' => 'Email Style', 'processed' => 'Processed', 'fee_amount' => 'Fee Amount', @@ -3931,8 +3931,8 @@ $lang = array( 'invoice_not_related_to_payment' => 'Invoice id :invoice is not related to this payment', 'credit_not_related_to_payment' => 'Credit id :credit is not related to this payment', 'max_refundable_invoice' => 'Attempting to refund more than allowed for invoice id :invoice, maximum refundable amount is :amount', - 'refund_without_invoices' => 'Attempting to refund a payment with invoices attached, please specify valid invoice/s to be refunded.', - 'refund_without_credits' => 'Attempting to refund a payment with credits attached, please specify valid credits/s to be refunded.', + 'refund_without_invoices' => 'Attempting to refund a payment with invoices ""ed, please specify valid invoice/s to be refunded.', + 'refund_without_credits' => 'Attempting to refund a payment with credits ""ed, please specify valid credits/s to be refunded.', 'max_refundable_credit' => 'Attempting to refund more than allowed for credit :credit, maximum refundable amount is :amount', 'project_client_do_not_match' => 'Project client does not match entity client', 'quote_number_taken' => 'Quote number already taken', @@ -3944,7 +3944,7 @@ $lang = array( 'one_or_more_invoices_paid' => 'One or more of these invoices have been paid', 'invoice_cannot_be_refunded' => 'Invoice id :number cannot be refunded', 'attempted_refund_failed' => 'Attempting to refund :amount only :refundable_amount available for refund', - 'user_not_associated_with_this_account' => 'This user is unable to be attached to this company. Perhaps they have already registered a user on another account?', + 'user_not_associated_with_this_account' => 'This user is unable to be ""ed to this company. Perhaps they have already registered a user on another account?', 'migration_completed' => 'Migration completed', 'migration_completed_description' => 'Your migration has completed, please review your data after logging in.', 'api_404' => '404 | Nothing to see here!', @@ -4436,7 +4436,7 @@ $lang = array( 'alternate_pdf_viewer' => 'Alternate PDF Viewer', 'alternate_pdf_viewer_help' => 'Improve scrolling over the PDF preview [BETA]', 'currency_cayman_island_dollar' => 'Cayman Island Dollar', - 'download_report_description' => 'Please see attached file to check your report.', + 'download_report_description' => 'Please see ""ed file to check your report.', 'left' => 'Left', 'right' => 'Right', 'center' => 'Center', @@ -4773,7 +4773,7 @@ $lang = array( 'action_add_to_invoice' => 'Add To Invoice', 'danger_zone' => 'Danger Zone', 'import_completed' => 'Import completed', - 'client_statement_body' => 'Your statement from :start_date to :end_date is attached.', + 'client_statement_body' => 'Your statement from :start_date to :end_date is ""ed.', 'email_queued' => 'Email queued', 'clone_to_recurring_invoice' => 'Clone to Recurring Invoice', 'inventory_threshold' => 'Inventory Threshold', @@ -5314,7 +5314,7 @@ $lang = array( 'forever_free' => 'Forever Free', 'comments_only' => 'Comments Only', 'payment_balance_on_file' => 'Payment Balance On File', - 'ubl_email_attachment_help' => 'For more e-invoice settings please navigate :here', + 'ubl_email_""ment_help' => 'For more e-invoice settings please navigate :here', 'stop_task_to_add_task_entry' => 'You need to stop the task before adding a new item.', 'xml_file' => 'XML File', 'one_page_checkout' => 'One-Page Checkout', diff --git a/phpstan.neon b/phpstan.neon index befa53f47f..88abf4d150 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -11,6 +11,7 @@ parameters: analyseAndScan: - 'vendor' - 'resources' + - 'openapi' - 'app/Jobs/Ninja/*' - 'app/Models/Presenters/*' - 'app/Console/Commands/*'