Skip to content

Commit

Permalink
Update lang files
Browse files Browse the repository at this point in the history
  • Loading branch information
hillelcoren committed Apr 12, 2021
1 parent 4e1eb75 commit 1909878
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/MobileLocalization.php
Expand Up @@ -97,7 +97,7 @@ private function flutterResources()

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;
Expand Down
1 change: 1 addition & 0 deletions database/seeds/LanguageSeeder.php
Expand Up @@ -43,6 +43,7 @@ public function run()
['name' => 'English - Australia', 'locale' => 'en_AU'],
['name' => 'Serbian', 'locale' => 'sr_RS'],
['name' => 'Bulgarian', 'locale' => 'bg'],
['name' => 'Russian', 'locale' => 'ru_RU'],
];

foreach ($languages as $language) {
Expand Down
63 changes: 63 additions & 0 deletions resources/lang/en/texts.php
Expand Up @@ -1775,6 +1775,7 @@
'lang_Chinese - Taiwan' => 'Chinese - Taiwan',
'lang_Serbian' => 'Serbian',
'lang_Bulgarian' => 'Bulgarian',
'lang_Russian' => 'Russian',

// Industries
'industry_Accounting & Legal' => 'Accounting & Legal',
Expand Down Expand Up @@ -4202,6 +4203,68 @@
'invoice_task_datelog_help' => 'Add date details to the invoice line items',
'promo_code' => 'Promo code',
'recurring_invoice_issued_to' => 'Recurring invoice issued to',
'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;
Expand Down

0 comments on commit 1909878

Please sign in to comment.