1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Merge pull request #7076 from turbo124/v5-develop

AP Translations
This commit is contained in:
David Bomba 2022-01-03 10:35:44 +11:00 committed by GitHub
commit 6f8ecd1f10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 573 additions and 324 deletions

View File

@ -20,6 +20,7 @@ class SubdomainController extends BaseController
'app',
'ninja',
'sentry',
'sentry2',
'staging',
'pdf',
'demo',

View File

@ -158,7 +158,7 @@ class CompanyExport implements ShouldQueue
})->all();
$this->export_data['clients'] = $this->company->clients->map(function ($client){
$this->export_data['clients'] = $this->company->clients()->orderBy('number', 'DESC')->cursor()->map(function ($client){
$client = $this->transformArrayOfKeys($client, ['company_id', 'user_id', 'assigned_user_id', 'group_settings_id']);
@ -202,7 +202,7 @@ class CompanyExport implements ShouldQueue
})->all();
$this->export_data['credits'] = $this->company->credits->map(function ($credit){
$this->export_data['credits'] = $this->company->credits()->orderBy('number', 'DESC')->cursor()->map(function ($credit){
$credit = $this->transformBasicEntities($credit);
$credit = $this->transformArrayOfKeys($credit, ['recurring_id','client_id', 'vendor_id', 'project_id', 'design_id', 'subscription_id','invoice_id']);
@ -240,7 +240,7 @@ class CompanyExport implements ShouldQueue
})->all();
$this->export_data['expenses'] = $this->company->expenses->map(function ($expense){
$this->export_data['expenses'] = $this->company->expenses()->orderBy('number', 'DESC')->cursor()->map(function ($expense){
$expense = $this->transformBasicEntities($expense);
$expense = $this->transformArrayOfKeys($expense, ['vendor_id', 'invoice_id', 'client_id', 'category_id', 'recurring_expense_id','project_id']);
@ -258,7 +258,7 @@ class CompanyExport implements ShouldQueue
})->all();
$this->export_data['invoices'] = $this->company->invoices->map(function ($invoice){
$this->export_data['invoices'] = $this->company->invoices()->orderBy('number', 'DESC')->cursor()->map(function ($invoice){
$invoice = $this->transformBasicEntities($invoice);
$invoice = $this->transformArrayOfKeys($invoice, ['recurring_id','client_id', 'vendor_id', 'project_id', 'design_id', 'subscription_id']);
@ -289,7 +289,7 @@ class CompanyExport implements ShouldQueue
})->makeHidden(['id'])->all();
$this->export_data['payments'] = $this->company->payments->map(function ($payment){
$this->export_data['payments'] = $this->company->payments()->orderBy('number', 'DESC')->cursor()->map(function ($payment){
$payment = $this->transformBasicEntities($payment);
$payment = $this->transformArrayOfKeys($payment, ['client_id','project_id', 'vendor_id', 'client_contact_id', 'invitation_id', 'company_gateway_id']);
@ -309,7 +309,7 @@ class CompanyExport implements ShouldQueue
})->all();
$this->export_data['projects'] = $this->company->projects->map(function ($project){
$this->export_data['projects'] = $this->company->projects()->orderBy('number', 'DESC')->cursor()->map(function ($project){
$project = $this->transformBasicEntities($project);
$project = $this->transformArrayOfKeys($project, ['client_id']);
@ -318,7 +318,7 @@ class CompanyExport implements ShouldQueue
})->all();
$this->export_data['quotes'] = $this->company->quotes->map(function ($quote){
$this->export_data['quotes'] = $this->company->quotes()->orderBy('number', 'DESC')->cursor()->map(function ($quote){
$quote = $this->transformBasicEntities($quote);
$quote = $this->transformArrayOfKeys($quote, ['invoice_id','recurring_id','client_id', 'vendor_id', 'project_id', 'design_id', 'subscription_id']);
@ -336,7 +336,7 @@ class CompanyExport implements ShouldQueue
})->all();
$this->export_data['recurring_expenses'] = $this->company->recurring_expenses->map(function ($expense){
$this->export_data['recurring_expenses'] = $this->company->recurring_expenses()->orderBy('number', 'DESC')->cursor()->map(function ($expense){
$expense = $this->transformBasicEntities($expense);
$expense = $this->transformArrayOfKeys($expense, ['vendor_id', 'invoice_id', 'client_id', 'category_id', 'project_id']);
@ -345,7 +345,7 @@ class CompanyExport implements ShouldQueue
})->all();
$this->export_data['recurring_invoices'] = $this->company->recurring_invoices->makeVisible(['id'])->map(function ($ri){
$this->export_data['recurring_invoices'] = $this->company->recurring_invoices()->orderBy('number', 'DESC')->cursor()->map(function ($ri){
$ri = $this->transformBasicEntities($ri);
$ri = $this->transformArrayOfKeys($ri, ['client_id', 'vendor_id', 'project_id', 'design_id', 'subscription_id']);
@ -388,7 +388,7 @@ class CompanyExport implements ShouldQueue
})->makeHidden(['id'])->all();
$this->export_data['tasks'] = $this->company->tasks->map(function ($task){
$this->export_data['tasks'] = $this->company->tasks()->orderBy('number', 'DESC')->cursor()->map(function ($task){
$task = $this->transformBasicEntities($task);
$task = $this->transformArrayOfKeys($task, ['client_id', 'invoice_id', 'project_id', 'status_id']);
@ -416,7 +416,7 @@ class CompanyExport implements ShouldQueue
})->makeHidden(['id'])->all();
$this->export_data['vendors'] = $this->company->vendors->map(function ($vendor){
$this->export_data['vendors'] = $this->company->vendors()->orderBy('number', 'DESC')->cursor()->map(function ($vendor){
return $this->transformBasicEntities($vendor)->makeVisible(['id']);

698
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -4354,6 +4354,182 @@ $LANG = array(
'payment_type_ACSS' => 'ACSS',
'gross_line_total' => 'Gross line total',
'lang_Slovak' => 'Slovak',
'normal' => 'Normal',
'large' => 'Large',
'extra_large' => 'Extra Large',
'show_pdf_preview' => 'Show PDF Preview',
'show_pdf_preview_help' => 'Display PDF preview while editing invoices',
'print_pdf' => 'Print PDF',
'remind_me' => 'Remind Me',
'instant_bank_pay' => 'Instant Bank Pay',
'click_selected' => 'Click Selected',
'hide_preview' => 'Hide Preview',
'edit_record' => 'Edit Record',
'credit_is_more_than_invoice' => 'The credit amount can not be more than the invoice amount',
'please_set_a_password' => 'Please set an account password',
'recommend_desktop' => 'We recommend using the desktop app for the best performance',
'recommend_mobile' => 'We recommend using the mobile app for the best performance',
'disconnected_gateway' => 'Successfully disconnected gateway',
'disconnect' => 'Disconnect',
'add_to_invoices' => 'Add to Invoices',
'bulk_download' => 'Download',
'persist_data_help' => 'Save data locally to enable the app to start faster, disabling may improve performance in large accounts',
'persist_ui' => 'Persist UI',
'persist_ui_help' => 'Save UI state locally to enable the app to start at the last location, disabling may improve performance',
'client_postal_code' => 'Client Postal Code',
'client_vat_number' => 'Client VAT Number',
'has_tasks' => 'Has Tasks',
'registration' => 'Registration',
'unauthorized_stripe_warning' => 'Please authorize Stripe to accept online payments.',
'fpx' => 'FPX',
'update_all_records' => 'Update all records',
'set_default_company' => 'Set Default Company',
'updated_company' => 'Successfully updated company',
'kbc' => 'KBC',
'why_are_you_leaving' => 'Help us improve by telling us why (optional)',
'webhook_success' => 'Webhook Success',
'error_cross_client_tasks' => 'Tasks must all belong to the same client',
'error_cross_client_expenses' => 'Expenses must all belong to the same client',
'app' => 'App',
'for_best_performance' => 'For the best performance download the :app app',
'bulk_email_invoice' => 'Email Invoice',
'bulk_email_quote' => 'Email Quote',
'bulk_email_credit' => 'Email Credit',
'removed_recurring_expense' => 'Successfully removed recurring expense',
'search_recurring_expense' => 'Search Recurring Expense',
'search_recurring_expenses' => 'Search Recurring Expenses',
'last_sent_date' => 'Last Sent Date',
'include_drafts' => 'Include Drafts',
'include_drafts_help' => 'Include draft records in reports',
'is_invoiced' => 'Is Invoiced',
'change_plan' => 'Change Plan',
'persist_data' => 'Persist Data',
'customer_count' => 'Customer Count',
'verify_customers' => 'Verify Customers',
'google_analytics_tracking_id' => 'Google Analytics Tracking ID',
'decimal_comma' => 'Decimal Comma',
'use_comma_as_decimal_place' => 'Use comma as decimal place in forms',
'select_method' => 'Select Method',
'select_platform' => 'Select Platform',
'use_web_app_to_connect_gmail' => 'Please use the web app to connect to Gmail',
'expense_tax_help' => 'Item tax rates are disabled',
'enable_markdown' => 'Enable Markdown',
'enable_markdown_help' => 'Convert markdown to HTML on the PDF',
'add_second_contact' => 'Add Second Contact',
'previous_page' => 'Previous Page',
'next_page' => 'Next Page',
'export_colors' => 'Export Colors',
'import_colors' => 'Import Colors',
'clear_all' => 'Clear All',
'contrast' => 'Contrast',
'custom_colors' => 'Custom Colors',
'colors' => 'Colors',
'sidebar_active_background_color' => 'Sidebar Active Background Color',
'sidebar_active_font_color' => 'Sidebar Active Font Color',
'sidebar_inactive_background_color' => 'Sidebar Inactive Background Color',
'sidebar_inactive_font_color' => 'Sidebar Inactive Font Color',
'table_alternate_row_background_color' => 'Table Alternate Row Background Color',
'invoice_header_background_color' => 'Invoice Header Background Color',
'invoice_header_font_color' => 'Invoice Header Font Color',
'review_app' => 'Review App',
'check_status' => 'Check Status',
'free_trial' => 'Free Trial',
'free_trial_help' => 'All accounts receive a two week trial of the Pro plan, once the trial ends your account will automatically change to the free plan.',
'free_trial_ends_in_days' => 'The Pro plan trial ends in :count days, click to upgrade.',
'free_trial_ends_today' => 'Today is the last day of the Pro plan trial, click to upgrade.',
'change_email' => 'Change Email',
'client_portal_domain_hint' => 'Optionally configure a separate client portal domain',
'tasks_shown_in_portal' => 'Tasks Shown in Portal',
'uninvoiced' => 'Uninvoiced',
'subdomain_guide' => 'The subdomain is used in the client portal to personalize links to match your brand. ie, https://your-brand.invoicing.co',
'send_time' => 'Send Time',
'import_settings' => 'Import Settings',
'json_file_missing' => 'Please provide the JSON file',
'json_option_missing' => 'Please select to import the settings and/or data',
'json' => 'JSON',
'no_payment_types_enabled' => 'No payment types enabled',
'wait_for_data' => 'Please wait for the data to finish loading',
'net_total' => 'Net Total',
'has_taxes' => 'Has Taxes',
'import_customers' => 'Import Customers',
'imported_customers' => 'Successfully started importing customers',
'login_success' => 'Successful Login',
'login_failure' => 'Failed Login',
'exported_data' => 'Once the file is ready you"ll receive an email with a download link',
'include_deleted_clients' => 'Include Deleted Clients',
'include_deleted_clients_help' => 'Load records belonging to deleted clients',
'step_1_sign_in' => 'Step 1: Sign In',
'step_2_authorize' => 'Step 2: Authorize',
'account_id' => 'Account ID',
'migration_not_yet_completed' => 'The migration has not yet completed',
'show_task_end_date' => 'Show Task End Date',
'show_task_end_date_help' => 'Enable specifying the task end date',
'gateway_setup' => 'Gateway Setup',
'preview_sidebar' => 'Preview Sidebar',
'years_data_shown' => 'Years Data Shown',
'ended_all_sessions' => 'Successfully ended all sessions',
'end_all_sessions' => 'End All Sessions',
'count_session' => '1 Session',
'count_sessions' => ':count Sessions',
'invoice_created' => 'Invoice Created',
'quote_created' => 'Quote Created',
'credit_created' => 'Credit Created',
'enterprise' => 'Enterprise',
'invoice_item' => 'Invoice Item',
'quote_item' => 'Quote Item',
'order' => 'Order',
'search_kanban' => 'Search Kanban',
'search_kanbans' => 'Search Kanban',
'move_top' => 'Move Top',
'move_up' => 'Move Up',
'move_down' => 'Move Down',
'move_bottom' => 'Move Bottom',
'body_variable_missing' => 'Error: the custom email must include a :body variable',
'add_body_variable_message' => 'Make sure to include a :body variable',
'view_date_formats' => 'View Date Formats',
'is_viewed' => 'Is Viewed',
'letter' => 'Letter',
'legal' => 'Legal',
'page_layout' => 'Page Layout',
'portrait' => 'Portrait',
'landscape' => 'Landscape',
'owner_upgrade_to_paid_plan' => 'The account owner can upgrade to a paid plan to enable the advanced advanced settings',
'upgrade_to_paid_plan' => 'Upgrade to a paid plan to enable the advanced settings',
'invoice_payment_terms' => 'Invoice Payment Terms',
'quote_valid_until' => 'Quote Valid Until',
'no_headers' => 'No Headers',
'add_header' => 'Add Header',
'remove_header' => 'Remove Header',
'return_url' => 'Return URL',
'rest_method' => 'REST Method',
'header_key' => 'Header Key',
'header_value' => 'Header Value',
'recurring_products' => 'Recurring Products',
'promo_discount' => 'Promo Discount',
'allow_cancellation' => 'Allow Cancellation',
'per_seat_enabled' => 'Per Seat Enabled',
'max_seats_limit' => 'Max Seats Limit',
'trial_enabled' => 'Trial Enabled',
'trial_duration' => 'Trial Duration',
'allow_query_overrides' => 'Allow Query Overrides',
'allow_plan_changes' => 'Allow Plan Changes',
'plan_map' => 'Plan Map',
'refund_period' => 'Refund Period',
'webhook_configuration' => 'Webhook Configuration',
'purchase_page' => 'Purchase Page',
'email_bounced' => 'Email Bounced',
'email_spam_complaint' => 'Spam Complaint',
'email_delivery' => 'Email Delivery',
'webhook_response' => 'Webhook Response',
'pdf_response' => 'PDF Response',
'authentication_failure' => 'Authentication Failure',
'pdf_failed' => 'PDF Failed',
'pdf_success' => 'PDF Success',
'modified' => 'Modified',
'html_mode' => 'HTML Mode',
'html_mode_help' => 'Preview updates faster but is less accurate',
'status_color_theme' => 'Status Color Theme',
'load_color_theme' => 'Load Color Theme',
);