diff --git a/app/Console/Commands/MobileLocalization.php b/app/Console/Commands/MobileLocalization.php index 6a479e7605a9..2f65b9725939 100644 --- a/app/Console/Commands/MobileLocalization.php +++ b/app/Console/Commands/MobileLocalization.php @@ -97,7 +97,7 @@ class MobileLocalization extends Command private function getResources() { - $url = 'https://raw.githubusercontent.com/invoiceninja/flutter-mobile/develop/lib/utils/i18n.dart'; + $url = 'https://raw.githubusercontent.com/invoiceninja/flutter-client/develop/lib/utils/i18n.dart'; $data = CurlUtils::get($url); $start = strpos($data, 'do not remove comment') + 25; diff --git a/database/seeds/LanguageSeeder.php b/database/seeds/LanguageSeeder.php index 6e9e9d2e2224..ca113360a659 100644 --- a/database/seeds/LanguageSeeder.php +++ b/database/seeds/LanguageSeeder.php @@ -43,6 +43,7 @@ class LanguageSeeder extends Seeder ['name' => 'English - Australia', 'locale' => 'en_AU'], ['name' => 'Serbian', 'locale' => 'sr_RS'], ['name' => 'Bulgarian', 'locale' => 'bg'], + ['name' => 'Russian', 'locale' => 'ru_RU'], ]; foreach ($languages as $language) { diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 50a01702034d..a211f1054657 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -1775,6 +1775,7 @@ $LANG = array( 'lang_Chinese - Taiwan' => 'Chinese - Taiwan', 'lang_Serbian' => 'Serbian', 'lang_Bulgarian' => 'Bulgarian', + 'lang_Russian' => 'Russian', // Industries 'industry_Accounting & Legal' => 'Accounting & Legal', @@ -4202,8 +4203,69 @@ $LANG = array( 'invoice_task_datelog_help' => 'Add date details to the invoice line items', 'promo_code' => 'Promo code', 'recurring_invoice_issued_to' => 'Recurring invoice issued to', - 'amount_greater_than_balance_v5' => 'The amount is greater than the invoice balance. You cannot overpay an invoice.', - + 'amount_greater_than_balance_v5' => 'The amount is greater than the invoice balance. You cannot overpay an invoice.', + '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', + 'upgrade_to_paid_plan' => 'Upgrade to a paid plan to enable the advanded 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', + 'subscription' => 'Subscription', + 'new_subscription' => 'New Subscription', + 'deleted_subscription' => 'Successfully deleted subscription', + 'removed_subscription' => 'Successfully removed subscription', + 'restored_subscription' => 'Successfully restored subscription', + 'search_subscription' => 'Search 1 Subscription', + 'search_subscriptions' => 'Search :count Subscriptions', + 'subdomain_is_not_available' => 'Subdomain is not available', + 'connect_gmail' => 'Connect Gmail', + 'disconnect_gmail' => 'Disconnect Gmail', + 'connected_gmail' => 'Successfully connected Gmail', + 'disconnected_gmail' => 'Successfully disconnected Gmail', + 'update_fail_help' => 'Changes to the codebase may be blocking the update, you can run this command to discard the changes:', + 'client_id_number' => 'Client ID Number', + 'count_minutes' => ':count Minutes', + 'password_timeout' => 'Password Timeout', + 'shared_invoice_credit_counter' => 'Shared Invoice/Credit Counter', ); return $LANG;