Skip to content

Commit 3759259

Browse files
committed
chore(deps): update
1 parent 3e6d021 commit 3759259

File tree

8 files changed

+315
-227
lines changed

8 files changed

+315
-227
lines changed

lib/l10n/generated/app_localizations.dart

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,17 @@ import 'app_localizations_vi.dart';
6262
/// be consistent with the languages listed in the AppLocalizations.supportedLocales
6363
/// property.
6464
abstract class AppLocalizations {
65-
AppLocalizations(String locale) : localeName = intl.Intl.canonicalizedLocale(locale.toString());
65+
AppLocalizations(String locale)
66+
: localeName = intl.Intl.canonicalizedLocale(locale.toString());
6667

6768
final String localeName;
6869

6970
static AppLocalizations? of(BuildContext context) {
7071
return Localizations.of<AppLocalizations>(context, AppLocalizations);
7172
}
7273

73-
static const LocalizationsDelegate<AppLocalizations> delegate = _AppLocalizationsDelegate();
74+
static const LocalizationsDelegate<AppLocalizations> delegate =
75+
_AppLocalizationsDelegate();
7476

7577
/// A list of this localizations delegate along with the default localizations
7678
/// delegates.
@@ -82,17 +84,18 @@ abstract class AppLocalizations {
8284
/// Additional delegates can be added by appending to this list in
8385
/// MaterialApp. This list does not have to be used at all if a custom list
8486
/// of delegates is preferred or required.
85-
static const List<LocalizationsDelegate<dynamic>> localizationsDelegates = <LocalizationsDelegate<dynamic>>[
86-
delegate,
87-
GlobalMaterialLocalizations.delegate,
88-
GlobalCupertinoLocalizations.delegate,
89-
GlobalWidgetsLocalizations.delegate,
90-
];
87+
static const List<LocalizationsDelegate<dynamic>> localizationsDelegates =
88+
<LocalizationsDelegate<dynamic>>[
89+
delegate,
90+
GlobalMaterialLocalizations.delegate,
91+
GlobalCupertinoLocalizations.delegate,
92+
GlobalWidgetsLocalizations.delegate,
93+
];
9194

9295
/// A list of this localizations delegate's supported locales.
9396
static const List<Locale> supportedLocales = <Locale>[
9497
Locale('en'),
95-
Locale('vi')
98+
Locale('vi'),
9699
];
97100

98101
/// No description provided for @save_changes.
@@ -1668,7 +1671,8 @@ abstract class AppLocalizations {
16681671
String get search_hint;
16691672
}
16701673

1671-
class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> {
1674+
class _AppLocalizationsDelegate
1675+
extends LocalizationsDelegate<AppLocalizations> {
16721676
const _AppLocalizationsDelegate();
16731677

16741678
@override
@@ -1677,25 +1681,26 @@ class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations>
16771681
}
16781682

16791683
@override
1680-
bool isSupported(Locale locale) => <String>['en', 'vi'].contains(locale.languageCode);
1684+
bool isSupported(Locale locale) =>
1685+
<String>['en', 'vi'].contains(locale.languageCode);
16811686

16821687
@override
16831688
bool shouldReload(_AppLocalizationsDelegate old) => false;
16841689
}
16851690

16861691
AppLocalizations lookupAppLocalizations(Locale locale) {
1687-
1688-
16891692
// Lookup logic when only language code is specified.
16901693
switch (locale.languageCode) {
1691-
case 'en': return AppLocalizationsEn();
1692-
case 'vi': return AppLocalizationsVi();
1694+
case 'en':
1695+
return AppLocalizationsEn();
1696+
case 'vi':
1697+
return AppLocalizationsVi();
16931698
}
16941699

16951700
throw FlutterError(
16961701
'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
16971702
'an issue with the localizations generation tool. Please file an issue '
16981703
'on GitHub with a reproducible sample app and the gen-l10n configuration '
1699-
'that was used.'
1704+
'that was used.',
17001705
);
17011706
}

lib/l10n/generated/app_localizations_en.dart

Lines changed: 66 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,16 @@ class AppLocalizationsEn extends AppLocalizations {
107107
}
108108

109109
@override
110-
String get error_fetching => 'There was an error fetching the information, please try again.';
110+
String get error_fetching =>
111+
'There was an error fetching the information, please try again.';
111112

112113
@override
113-
String get error_no_connection => 'You must connect to Wi-fi or a cellular network to get online again.';
114+
String get error_no_connection =>
115+
'You must connect to Wi-fi or a cellular network to get online again.';
114116

115117
@override
116-
String get error_no_accounts => 'You don\'t have access to any chatwoot accounts';
118+
String get error_no_accounts =>
119+
'You don\'t have access to any chatwoot accounts';
117120

118121
@override
119122
String error_message(String reason) {
@@ -141,7 +144,8 @@ class AppLocalizationsEn extends AppLocalizations {
141144
String get conversation_empty_title => 'No conversations yet!';
142145

143146
@override
144-
String get conversation_empty_description => 'Once you start receiving conversations, they\'ll appear here.';
147+
String get conversation_empty_description =>
148+
'Once you start receiving conversations, they\'ll appear here.';
145149

146150
@override
147151
String get conversation_unassign => 'Unassign conversation';
@@ -167,7 +171,8 @@ class AppLocalizationsEn extends AppLocalizations {
167171
String get contacts_empty_title => 'No contacts found in this account';
168172

169173
@override
170-
String get contacts_empty_description => 'Start adding new contacts by clicking on the button below';
174+
String get contacts_empty_description =>
175+
'Start adding new contacts by clicking on the button below';
171176

172177
@override
173178
String get contacts_add => 'Add contact';
@@ -281,7 +286,8 @@ class AppLocalizationsEn extends AppLocalizations {
281286
String get canned_responses => 'Canned Responses';
282287

283288
@override
284-
String get canned_responses_description => 'Canned Responses are pre-written reply templates that help you quickly respond to a conversation. Agents can type the \'/\' character followed by the shortcode to insert a canned response during a conversation.';
289+
String get canned_responses_description =>
290+
'Canned Responses are pre-written reply templates that help you quickly respond to a conversation. Agents can type the \'/\' character followed by the shortcode to insert a canned response during a conversation.';
285291

286292
@override
287293
String get canned_response_add => 'Add canned response';
@@ -307,7 +313,8 @@ class AppLocalizationsEn extends AppLocalizations {
307313
String get inboxes_title => 'Inboxes';
308314

309315
@override
310-
String get inboxes_description => 'A channel is the mode of communication your customer chooses to interact with you. An inbox is where you manage interactions for a specific channel. It can include communications from various sources such as email, live chat, and social media.';
316+
String get inboxes_description =>
317+
'A channel is the mode of communication your customer chooses to interact with you. An inbox is where you manage interactions for a specific channel. It can include communications from various sources such as email, live chat, and social media.';
311318

312319
@override
313320
String get inboxes_add => 'Add inbox';
@@ -322,7 +329,8 @@ class AppLocalizationsEn extends AppLocalizations {
322329
String get agents_title => 'Agents';
323330

324331
@override
325-
String get agents_description => 'An agent is a member of your customer support team who can view and respond to user messages. The list below shows all the agents in your account.';
332+
String get agents_description =>
333+
'An agent is a member of your customer support team who can view and respond to user messages. The list below shows all the agents in your account.';
326334

327335
@override
328336
String get agents_add => 'Add agent';
@@ -340,13 +348,15 @@ class AppLocalizationsEn extends AppLocalizations {
340348
String get change_password => 'Change password';
341349

342350
@override
343-
String get change_password_invalid => 'Please enter a password of length 6 or more';
351+
String get change_password_invalid =>
352+
'Please enter a password of length 6 or more';
344353

345354
@override
346355
String get change_password_current => 'Current password';
347356

348357
@override
349-
String get change_password_current_hint => 'Please enter the current password';
358+
String get change_password_current_hint =>
359+
'Please enter the current password';
350360

351361
@override
352362
String get change_password_new => 'New password';
@@ -358,10 +368,12 @@ class AppLocalizationsEn extends AppLocalizations {
358368
String get change_password_confirm => 'Confirm new password';
359369

360370
@override
361-
String get change_password_confirm_hint => 'Please re-enter your new password';
371+
String get change_password_confirm_hint =>
372+
'Please re-enter your new password';
362373

363374
@override
364-
String get change_password_mismatch => 'Confirm password should match the password';
375+
String get change_password_mismatch =>
376+
'Confirm password should match the password';
365377

366378
@override
367379
String get change_password_successful => 'change_password_successful';
@@ -370,7 +382,8 @@ class AppLocalizationsEn extends AppLocalizations {
370382
String get labels => 'Labels';
371383

372384
@override
373-
String get labels_description => 'Labels help you categorize and prioritize conversations and leads. You can assign a label to a conversation or contact using the side panel.';
385+
String get labels_description =>
386+
'Labels help you categorize and prioritize conversations and leads. You can assign a label to a conversation or contact using the side panel.';
374387

375388
@override
376389
String get labels_add => 'Add label';
@@ -418,7 +431,8 @@ class AppLocalizationsEn extends AppLocalizations {
418431
String get custom_attributes_title => 'Custom Attributes';
419432

420433
@override
421-
String get custom_attributes_description => 'A custom attribute tracks additional details about your contacts or conversations—such as the subscription plan or the date of their first purchase. You can add different types of custom attributes, such as text, lists, or numbers, to capture the specific information you need.';
434+
String get custom_attributes_description =>
435+
'A custom attribute tracks additional details about your contacts or conversations—such as the subscription plan or the date of their first purchase. You can add different types of custom attributes, such as text, lists, or numbers, to capture the specific information you need.';
422436

423437
@override
424438
String get custom_attributes_add => 'Add Custom Attributes';
@@ -430,7 +444,8 @@ class AppLocalizationsEn extends AppLocalizations {
430444
String get audit_logs_title => 'Audit Logs';
431445

432446
@override
433-
String get audit_logs_description => 'Audit Logs maintain a record of activities in your account, allowing you to track and audit your account, team, or services.';
447+
String get audit_logs_description =>
448+
'Audit Logs maintain a record of activities in your account, allowing you to track and audit your account, team, or services.';
434449

435450
@override
436451
String get set_availability => 'Set availability';
@@ -451,7 +466,8 @@ class AppLocalizationsEn extends AppLocalizations {
451466
String get teams_title => 'Teams';
452467

453468
@override
454-
String get teams_description => 'Teams allow you to organize agents into groups based on their responsibilities. An agent can belong to multiple teams. When working collaboratively, you can assign conversations to specific teams.';
469+
String get teams_description =>
470+
'Teams allow you to organize agents into groups based on their responsibilities. An agent can belong to multiple teams. When working collaboratively, you can assign conversations to specific teams.';
455471

456472
@override
457473
String get teams_add => 'Add team';
@@ -497,7 +513,8 @@ class AppLocalizationsEn extends AppLocalizations {
497513
String get attachment_fallback_content => 'has shared a url';
498514

499515
@override
500-
String get attachment_exceeds_limit => 'File exceeds the 5MB attachment limit';
516+
String get attachment_exceeds_limit =>
517+
'File exceeds the 5MB attachment limit';
501518

502519
@override
503520
String get status => 'Status';
@@ -533,7 +550,8 @@ class AppLocalizationsEn extends AppLocalizations {
533550
String get notification_empty_title => 'No notifications yet.';
534551

535552
@override
536-
String get notification_empty_description => 'Once you start receiving notifications, they\'ll appear here.';
553+
String get notification_empty_description =>
554+
'Once you start receiving notifications, they\'ll appear here.';
537555

538556
@override
539557
String get notification_no_more => 'All notifications loaded';
@@ -554,28 +572,36 @@ class AppLocalizationsEn extends AppLocalizations {
554572
String get notification_assignee_push => 'A conversation is assigned to you';
555573

556574
@override
557-
String get notification_new_message_push => 'You are mentioned in a conversation';
575+
String get notification_new_message_push =>
576+
'You are mentioned in a conversation';
558577

559578
@override
560-
String get notification_mention_push => 'A new message is created in an assigned conversation';
579+
String get notification_mention_push =>
580+
'A new message is created in an assigned conversation';
561581

562582
@override
563-
String get notification_participating_new_message_push => 'A new message is created in a participating conversation';
583+
String get notification_participating_new_message_push =>
584+
'A new message is created in a participating conversation';
564585

565586
@override
566-
String get notification_content_conversation_creation => 'New conversation created';
587+
String get notification_content_conversation_creation =>
588+
'New conversation created';
567589

568590
@override
569-
String get notification_content_conversation_assignment => 'A conversation has been assigned to you';
591+
String get notification_content_conversation_assignment =>
592+
'A conversation has been assigned to you';
570593

571594
@override
572-
String get notification_content_assigned_conversation_new_message => 'New message in an assigned conversation';
595+
String get notification_content_assigned_conversation_new_message =>
596+
'New message in an assigned conversation';
573597

574598
@override
575-
String get notification_content_conversation_mention => 'You have been mentioned in a conversation';
599+
String get notification_content_conversation_mention =>
600+
'You have been mentioned in a conversation';
576601

577602
@override
578-
String get notification_content_participating_conversation_new_message => 'New message in a conversation you are participating in';
603+
String get notification_content_participating_conversation_new_message =>
604+
'New message in a conversation you are participating in';
579605

580606
@override
581607
String get cancel => 'Cancel';
@@ -656,22 +682,26 @@ class AppLocalizationsEn extends AppLocalizations {
656682
String get waiting_since_desc => 'Pending Response: Shortest first';
657683

658684
@override
659-
String get campaigns_live_chat_empty_title => 'No live chat campaigns are available';
685+
String get campaigns_live_chat_empty_title =>
686+
'No live chat campaigns are available';
660687

661688
@override
662-
String get campaigns_live_chat_empty_description => 'Connect with your customers using proactive messages. Click \'Create campaign\' to get started.';
689+
String get campaigns_live_chat_empty_description =>
690+
'Connect with your customers using proactive messages. Click \'Create campaign\' to get started.';
663691

664692
@override
665693
String get campaigns_sms_empty_title => 'No SMS campaigns are available';
666694

667695
@override
668-
String get campaigns_sms_empty_description => 'Launch an SMS campaign to reach your customers directly. Send offers or make announcements with ease. Click \'Create campaign\' to get started.';
696+
String get campaigns_sms_empty_description =>
697+
'Launch an SMS campaign to reach your customers directly. Send offers or make announcements with ease. Click \'Create campaign\' to get started.';
669698

670699
@override
671700
String get macros_title => 'Macros';
672701

673702
@override
674-
String get macros_description => 'A macro is a set of saved actions that help customer service agents easily complete tasks. The agents can define a set of actions like tagging a conversation with a label, sending an email transcript, updating a custom attribute, etc., and they can run these actions in a single click.';
703+
String get macros_description =>
704+
'A macro is a set of saved actions that help customer service agents easily complete tasks. The agents can define a set of actions like tagging a conversation with a label, sending an email transcript, updating a custom attribute, etc., and they can run these actions in a single click.';
675705

676706
@override
677707
String get macro_visibility_global => 'Public';
@@ -680,10 +710,12 @@ class AppLocalizationsEn extends AppLocalizations {
680710
String get macro_visibility_global_description => 'Public';
681711

682712
@override
683-
String get macro_visibility_personal => 'This macro is available publicly for all agents in this account.';
713+
String get macro_visibility_personal =>
714+
'This macro is available publicly for all agents in this account.';
684715

685716
@override
686-
String get macro_visibility_personal_description => 'This macro will be private to you and not be available to others.';
717+
String get macro_visibility_personal_description =>
718+
'This macro will be private to you and not be available to others.';
687719

688720
@override
689721
String get understand => 'Understand';
@@ -709,7 +741,8 @@ class AppLocalizationsEn extends AppLocalizations {
709741
String get server_upgrade_required => 'Server upgrade required';
710742

711743
@override
712-
String get server_upgrade_required_agent_message => 'It seems like you are using unsupported Chatwoot server for your mobile app. Please contact your admin to upgrade your Chatwoot server.';
744+
String get server_upgrade_required_agent_message =>
745+
'It seems like you are using unsupported Chatwoot server for your mobile app. Please contact your admin to upgrade your Chatwoot server.';
713746

714747
@override
715748
String server_upgrade_required_admin_message(String minimum_version) {

0 commit comments

Comments
 (0)