From 7ee7146d00bdc440d1f04402a554376ae741564b Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 2 Apr 2020 08:49:24 +0300 Subject: [PATCH] Update lang files --- app/Console/Commands/MobileLocalization.php | 2 +- resources/lang/en/texts.php | 57 +++++++++++++++++++++ 2 files changed, 58 insertions(+), 1 deletion(-) diff --git a/app/Console/Commands/MobileLocalization.php b/app/Console/Commands/MobileLocalization.php index a738b453567a..c0d58fe5ef0d 100644 --- a/app/Console/Commands/MobileLocalization.php +++ b/app/Console/Commands/MobileLocalization.php @@ -95,7 +95,7 @@ class MobileLocalization extends Command $url = 'https://raw.githubusercontent.com/invoiceninja/flutter-mobile/develop/lib/utils/i18n.dart'; $data = CurlUtils::get($url); - $start = strpos($data, '\'en\': {') + 8; + $start = strpos($data, 'do not remove comment') + 25; $end = strpos($data, '},', $start); $data = substr($data, $start, $end - $start - 5); diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 6cb1db21ad4d..ab24eb9be295 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -3478,6 +3478,63 @@ $LANG = array( 'untitled_company' => 'Untitled Company', 'added_company' => 'Successfully added company', 'supported_events' => 'Supported Events', + 'custom3' => 'Third Custom', + 'custom4' => 'Fourth Custom', + 'optional' => 'Optional', + 'license' => 'License', + 'invoice_balance' => 'Invoice Balance', + 'saved_design' => 'Successfully saved design', + 'client_details' => 'Client Details', + 'company_address' => 'Company Address', + 'quote_details' => 'Quote Details', + 'credit_details' => 'Credit Details', + 'product_columns' => 'Product Columns', + 'task_columns' => 'Task Columns', + 'add_field' => 'Add Field', + 'all_events' => 'All Events', + 'owned' => 'Owned', + 'payment_success' => 'Payment Success', + 'payment_failure' => 'Payment Failure', + 'quote_sent' => 'Quote Sent', + 'credit_sent' => 'Credit Sent', + 'invoice_viewed' => 'Invoice Viewed', + 'quote_viewed' => 'Quote Viewed', + 'credit_viewed' => 'Credit Viewed', + 'quote_approved' => 'Quote Approved', + 'receive_all_notifications' => 'Receive All Notifications', + 'purchase_license' => 'Purchase License', + 'enable_modules' => 'Enable Modules', + 'converted_quote' => 'Successfully converted quote', + 'credit_design' => 'Credit Design', + 'includes' => 'Includes', + 'css_framework' => 'CSS Framework', + 'custom_designs' => 'Custom Designs', + 'designs' => 'Designs', + 'new_design' => 'New Design', + 'edit_design' => 'Edit Design', + 'created_design' => 'Successfully created design', + 'updated_design' => 'Successfully updated design', + 'archived_design' => 'Successfully archived design', + 'deleted_design' => 'Successfully deleted design', + 'removed_design' => 'Successfully removed design', + 'restored_design' => 'Successfully restored design', + 'recurring_tasks' => 'Recurring Tasks', + 'removed_credit' => 'Successfully removed credit', + 'latest_version' => 'Latest Version', + 'update_now' => 'Update Now', + 'a_new_version_is_available' => 'A new version of the web app is available', + 'update_available' => 'Update Available', + 'app_updated' => 'Update successfully completed', + 'integrations' => 'Integrations', + 'tracking_id' => 'Tracking Id', + 'slack_webhook_url' => 'Slack Webhook URL', + 'partial_payment' => 'Partial Payment', + 'partial_payment_email' => 'Partial Payment Email', + 'clone_to_credit' => 'Clone to Credit', + 'emailed_credit' => 'Successfully emailed credit', + 'marked_credit_as_sent' => 'Successfully marked credit as sent', + 'email_subject_payment_partial' => 'Email Partial Payment Subject', + 'is_approved' => 'Is Approved', ); return $LANG;