-
Notifications
You must be signed in to change notification settings - Fork 306
/
Copy pathzulip_localizations.dart
1335 lines (1120 loc) · 42.3 KB
/
zulip_localizations.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:intl/intl.dart' as intl;
import 'zulip_localizations_ar.dart';
import 'zulip_localizations_en.dart';
import 'zulip_localizations_ja.dart';
import 'zulip_localizations_nb.dart';
import 'zulip_localizations_pl.dart';
import 'zulip_localizations_ru.dart';
import 'zulip_localizations_sk.dart';
import 'zulip_localizations_uk.dart';
// ignore_for_file: type=lint
/// Callers can lookup localized strings with an instance of ZulipLocalizations
/// returned by `ZulipLocalizations.of(context)`.
///
/// Applications need to include `ZulipLocalizations.delegate()` in their app's
/// `localizationDelegates` list, and the locales they support in the app's
/// `supportedLocales` list. For example:
///
/// ```dart
/// import 'l10n/zulip_localizations.dart';
///
/// return MaterialApp(
/// localizationsDelegates: ZulipLocalizations.localizationsDelegates,
/// supportedLocales: ZulipLocalizations.supportedLocales,
/// home: MyApplicationHome(),
/// );
/// ```
///
/// ## Update pubspec.yaml
///
/// Please make sure to update your pubspec.yaml to include the following
/// packages:
///
/// ```yaml
/// dependencies:
/// # Internationalization support.
/// flutter_localizations:
/// sdk: flutter
/// intl: any # Use the pinned version from flutter_localizations
///
/// # Rest of dependencies
/// ```
///
/// ## iOS Applications
///
/// iOS applications define key application metadata, including supported
/// locales, in an Info.plist file that is built into the application bundle.
/// To configure the locales supported by your app, you’ll need to edit this
/// file.
///
/// First, open your project’s ios/Runner.xcworkspace Xcode workspace file.
/// Then, in the Project Navigator, open the Info.plist file under the Runner
/// project’s Runner folder.
///
/// Next, select the Information Property List item, select Add Item from the
/// Editor menu, then select Localizations from the pop-up menu.
///
/// Select and expand the newly-created Localizations item then, for each
/// locale your application supports, add a new item and select the locale
/// you wish to add from the pop-up menu in the Value field. This list should
/// be consistent with the languages listed in the ZulipLocalizations.supportedLocales
/// property.
abstract class ZulipLocalizations {
ZulipLocalizations(String locale) : localeName = intl.Intl.canonicalizedLocale(locale.toString());
final String localeName;
static ZulipLocalizations of(BuildContext context) {
return Localizations.of<ZulipLocalizations>(context, ZulipLocalizations)!;
}
static const LocalizationsDelegate<ZulipLocalizations> delegate = _ZulipLocalizationsDelegate();
/// A list of this localizations delegate along with the default localizations
/// delegates.
///
/// Returns a list of localizations delegates containing this delegate along with
/// GlobalMaterialLocalizations.delegate, GlobalCupertinoLocalizations.delegate,
/// and GlobalWidgetsLocalizations.delegate.
///
/// Additional delegates can be added by appending to this list in
/// MaterialApp. This list does not have to be used at all if a custom list
/// of delegates is preferred or required.
static const List<LocalizationsDelegate<dynamic>> localizationsDelegates = <LocalizationsDelegate<dynamic>>[
delegate,
GlobalMaterialLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
];
/// A list of this localizations delegate's supported locales.
static const List<Locale> supportedLocales = <Locale>[
Locale('en'),
Locale('ar'),
Locale('ja'),
Locale('nb'),
Locale('pl'),
Locale('ru'),
Locale('sk'),
Locale('uk')
];
/// Title for About Zulip page.
///
/// In en, this message translates to:
/// **'About Zulip'**
String get aboutPageTitle;
/// Label for Zulip app version in About Zulip page
///
/// In en, this message translates to:
/// **'App version'**
String get aboutPageAppVersion;
/// Item title in About Zulip page to navigate to Licenses page
///
/// In en, this message translates to:
/// **'Open-source licenses'**
String get aboutPageOpenSourceLicenses;
/// Item subtitle in About Zulip page to navigate to Licenses page
///
/// In en, this message translates to:
/// **'Tap to view'**
String get aboutPageTapToView;
/// Title for the page to choose between Zulip accounts.
///
/// In en, this message translates to:
/// **'Choose account'**
String get chooseAccountPageTitle;
/// Title for the settings page.
///
/// In en, this message translates to:
/// **'Settings'**
String get settingsPageTitle;
/// Label for main-menu button leading to the choose-account page.
///
/// In en, this message translates to:
/// **'Switch account'**
String get switchAccountButton;
/// Message that appears on the loading screen after waiting for some time.
///
/// In en, this message translates to:
/// **'Your account at {url} is taking a while to load.'**
String tryAnotherAccountMessage(Object url);
/// Label for loading screen button prompting user to try another account.
///
/// In en, this message translates to:
/// **'Try another account'**
String get tryAnotherAccountButton;
/// Label for the 'Log out' button for an account on the choose-account page
///
/// In en, this message translates to:
/// **'Log out'**
String get chooseAccountPageLogOutButton;
/// Title for a confirmation dialog for logging out.
///
/// In en, this message translates to:
/// **'Log out?'**
String get logOutConfirmationDialogTitle;
/// Message for a confirmation dialog for logging out.
///
/// In en, this message translates to:
/// **'To use this account in the future, you will have to re-enter the URL for your organization and your account information.'**
String get logOutConfirmationDialogMessage;
/// Label for the 'Log out' button on a confirmation dialog for logging out.
///
/// In en, this message translates to:
/// **'Log out'**
String get logOutConfirmationDialogConfirmButton;
/// Label for ChooseAccountPage button to add an account
///
/// In en, this message translates to:
/// **'Add an account'**
String get chooseAccountButtonAddAnAccount;
/// Label for button in profile screen to navigate to DMs with the shown user.
///
/// In en, this message translates to:
/// **'Send direct message'**
String get profileButtonSendDirectMessage;
/// Message that appears on the user profile page when the profile cannot be shown.
///
/// In en, this message translates to:
/// **'Could not show user profile.'**
String get errorCouldNotShowUserProfile;
/// Title for dialog asking the user to grant additional permissions.
///
/// In en, this message translates to:
/// **'Permissions needed'**
String get permissionsNeededTitle;
/// Button label for permissions dialog button that opens the system settings screen.
///
/// In en, this message translates to:
/// **'Open settings'**
String get permissionsNeededOpenSettings;
/// Message for dialog asking the user to grant permissions for camera access.
///
/// In en, this message translates to:
/// **'To upload an image, please grant Zulip additional permissions in Settings.'**
String get permissionsDeniedCameraAccess;
/// Message for dialog asking the user to grant permissions for external storage read access.
///
/// In en, this message translates to:
/// **'To upload files, please grant Zulip additional permissions in Settings.'**
String get permissionsDeniedReadExternalStorage;
/// Label for marking a channel as read.
///
/// In en, this message translates to:
/// **'Mark channel as read'**
String get actionSheetOptionMarkChannelAsRead;
/// Label for muting a topic on action sheet.
///
/// In en, this message translates to:
/// **'Mute topic'**
String get actionSheetOptionMuteTopic;
/// Label for unmuting a topic on action sheet.
///
/// In en, this message translates to:
/// **'Unmute topic'**
String get actionSheetOptionUnmuteTopic;
/// Label for following a topic on action sheet.
///
/// In en, this message translates to:
/// **'Follow topic'**
String get actionSheetOptionFollowTopic;
/// Label for unfollowing a topic on action sheet.
///
/// In en, this message translates to:
/// **'Unfollow topic'**
String get actionSheetOptionUnfollowTopic;
/// Label for the 'Mark as resolved' button on the topic action sheet.
///
/// In en, this message translates to:
/// **'Mark as resolved'**
String get actionSheetOptionResolveTopic;
/// Label for the 'Mark as unresolved' button on the topic action sheet.
///
/// In en, this message translates to:
/// **'Mark as unresolved'**
String get actionSheetOptionUnresolveTopic;
/// Error title when marking a topic as resolved failed.
///
/// In en, this message translates to:
/// **'Failed to mark topic as resolved'**
String get errorResolveTopicFailedTitle;
/// Error title when marking a topic as unresolved failed.
///
/// In en, this message translates to:
/// **'Failed to mark topic as unresolved'**
String get errorUnresolveTopicFailedTitle;
/// Label for copy message text button on action sheet.
///
/// In en, this message translates to:
/// **'Copy message text'**
String get actionSheetOptionCopyMessageText;
/// Label for copy message link button on action sheet.
///
/// In en, this message translates to:
/// **'Copy link to message'**
String get actionSheetOptionCopyMessageLink;
/// Label for mark as unread button on action sheet.
///
/// In en, this message translates to:
/// **'Mark as unread from here'**
String get actionSheetOptionMarkAsUnread;
/// Label for share button on action sheet.
///
/// In en, this message translates to:
/// **'Share'**
String get actionSheetOptionShare;
/// Label for Quote and reply button on action sheet.
///
/// In en, this message translates to:
/// **'Quote and reply'**
String get actionSheetOptionQuoteAndReply;
/// Label for star button on action sheet.
///
/// In en, this message translates to:
/// **'Star message'**
String get actionSheetOptionStarMessage;
/// Label for unstar button on action sheet.
///
/// In en, this message translates to:
/// **'Unstar message'**
String get actionSheetOptionUnstarMessage;
/// Option to mark a specific topic as read in the action sheet.
///
/// In en, this message translates to:
/// **'Mark topic as read'**
String get actionSheetOptionMarkTopicAsRead;
/// Error title when third-party authentication has an operational error (not necessarily caused by invalid credentials).
///
/// In en, this message translates to:
/// **'Something went wrong'**
String get errorWebAuthOperationalErrorTitle;
/// Error message when third-party authentication has an operational error (not necessarily caused by invalid credentials).
///
/// In en, this message translates to:
/// **'An unexpected error occurred.'**
String get errorWebAuthOperationalError;
/// Error title on attempting to log into an account that's already logged in.
///
/// In en, this message translates to:
/// **'Account already logged in'**
String get errorAccountLoggedInTitle;
/// Error message on attempting to log into an account that's already logged in.
///
/// In en, this message translates to:
/// **'The account {email} at {server} is already in your list of accounts.'**
String errorAccountLoggedIn(String email, String server);
/// Error message when the source of a message could not be fetched.
///
/// In en, this message translates to:
/// **'Could not fetch message source'**
String get errorCouldNotFetchMessageSource;
/// Error message when copying the text of a message to the user's system clipboard failed.
///
/// In en, this message translates to:
/// **'Copying failed'**
String get errorCopyingFailed;
/// Error title when the specified file failed to upload.
///
/// In en, this message translates to:
/// **'Failed to upload file: {filename}'**
String errorFailedToUploadFileTitle(String filename);
/// The name of a file, and its size in mebibytes.
///
/// In en, this message translates to:
/// **'{filename}: {size} MiB'**
String filenameAndSizeInMiB(String filename, String size);
/// Error message when attached files are too large in size.
///
/// In en, this message translates to:
/// **'{num, plural, =1{File is} other{{num} files are}} larger than the server\'s limit of {maxFileUploadSizeMib} MiB and will not be uploaded:\n\n{listMessage}'**
String errorFilesTooLarge(int num, int maxFileUploadSizeMib, String listMessage);
/// Error title when attached files are too large in size.
///
/// In en, this message translates to:
/// **'{num, plural, =1{File} other{Files}} too large'**
String errorFilesTooLargeTitle(int num);
/// Error title for login when input is invalid.
///
/// In en, this message translates to:
/// **'Invalid input'**
String get errorLoginInvalidInputTitle;
/// Error title for login when signing into a Zulip server fails.
///
/// In en, this message translates to:
/// **'Login failed'**
String get errorLoginFailedTitle;
/// Error message for compose box when a message could not be sent.
///
/// In en, this message translates to:
/// **'Message not sent'**
String get errorMessageNotSent;
/// Error message when the app could not connect to the server.
///
/// In en, this message translates to:
/// **'Failed to connect to server:\n{url}'**
String errorLoginCouldNotConnect(String url);
/// Error title when the app could not connect to the server.
///
/// In en, this message translates to:
/// **'Could not connect'**
String get errorCouldNotConnectTitle;
/// Error message when loading a message that does not exist.
///
/// In en, this message translates to:
/// **'That message does not seem to exist.'**
String get errorMessageDoesNotSeemToExist;
/// Error message when quoting a message failed.
///
/// In en, this message translates to:
/// **'Quotation failed'**
String get errorQuotationFailed;
/// Error message that quotes an error from the server.
///
/// In en, this message translates to:
/// **'The server said:\n\n{message}'**
String errorServerMessage(String message);
/// Short error message for a generic unknown error connecting to the server.
///
/// In en, this message translates to:
/// **'Error connecting to Zulip. Retrying…'**
String get errorConnectingToServerShort;
/// Dialog error message for a generic unknown error connecting to the server with details.
///
/// In en, this message translates to:
/// **'Error connecting to Zulip at {serverUrl}. Will retry:\n\n{error}'**
String errorConnectingToServerDetails(String serverUrl, String error);
/// Error title on failing to handle a Zulip server event.
///
/// In en, this message translates to:
/// **'Error handling a Zulip event. Retrying connection…'**
String get errorHandlingEventTitle;
/// Error details on failing to handle a Zulip server event.
///
/// In en, this message translates to:
/// **'Error handling a Zulip event from {serverUrl}; will retry.\n\nError: {error}\n\nEvent: {event}'**
String errorHandlingEventDetails(String serverUrl, String error, String event);
/// Error title when opening a link failed.
///
/// In en, this message translates to:
/// **'Unable to open link'**
String get errorCouldNotOpenLinkTitle;
/// Error message when opening a link failed.
///
/// In en, this message translates to:
/// **'Link could not be opened: {url}'**
String errorCouldNotOpenLink(String url);
/// Error message when muting a topic failed.
///
/// In en, this message translates to:
/// **'Failed to mute topic'**
String get errorMuteTopicFailed;
/// Error message when unmuting a topic failed.
///
/// In en, this message translates to:
/// **'Failed to unmute topic'**
String get errorUnmuteTopicFailed;
/// Error message when following a topic failed.
///
/// In en, this message translates to:
/// **'Failed to follow topic'**
String get errorFollowTopicFailed;
/// Error message when unfollowing a topic failed.
///
/// In en, this message translates to:
/// **'Failed to unfollow topic'**
String get errorUnfollowTopicFailed;
/// Error message when sharing a message failed.
///
/// In en, this message translates to:
/// **'Sharing failed'**
String get errorSharingFailed;
/// Error title when starring a message failed.
///
/// In en, this message translates to:
/// **'Failed to star message'**
String get errorStarMessageFailedTitle;
/// Error title when unstarring a message failed.
///
/// In en, this message translates to:
/// **'Failed to unstar message'**
String get errorUnstarMessageFailedTitle;
/// Success message after copy link action completed.
///
/// In en, this message translates to:
/// **'Link copied'**
String get successLinkCopied;
/// Message when content of a message was copied to the user's system clipboard.
///
/// In en, this message translates to:
/// **'Message text copied'**
String get successMessageTextCopied;
/// Message when link of a message was copied to the user's system clipboard.
///
/// In en, this message translates to:
/// **'Message link copied'**
String get successMessageLinkCopied;
/// Label text for error banner when sending a message to one or multiple deactivated users.
///
/// In en, this message translates to:
/// **'You cannot send messages to deactivated users.'**
String get errorBannerDeactivatedDmLabel;
/// Error-banner text replacing the compose box when you do not have permission to send a message to the channel.
///
/// In en, this message translates to:
/// **'You do not have permission to post in this channel.'**
String get errorBannerCannotPostInChannelLabel;
/// Tooltip for compose box icon to attach a file to the message.
///
/// In en, this message translates to:
/// **'Attach files'**
String get composeBoxAttachFilesTooltip;
/// Tooltip for compose box icon to attach media to the message.
///
/// In en, this message translates to:
/// **'Attach images or videos'**
String get composeBoxAttachMediaTooltip;
/// Tooltip for compose box icon to attach an image from the camera to the message.
///
/// In en, this message translates to:
/// **'Take a photo'**
String get composeBoxAttachFromCameraTooltip;
/// Hint text for content input when sending a message.
///
/// In en, this message translates to:
/// **'Type a message'**
String get composeBoxGenericContentHint;
/// Hint text for content input when sending a message to one other person.
///
/// In en, this message translates to:
/// **'Message @{user}'**
String composeBoxDmContentHint(String user);
/// Hint text for content input when sending a message to a group.
///
/// In en, this message translates to:
/// **'Message group'**
String get composeBoxGroupDmContentHint;
/// Hint text for content input when sending a message to yourself.
///
/// In en, this message translates to:
/// **'Jot down something'**
String get composeBoxSelfDmContentHint;
/// Hint text for content input when sending a message to a channel.
///
/// In en, this message translates to:
/// **'Message {destination}'**
String composeBoxChannelContentHint(String destination);
/// Tooltip for send button in compose box.
///
/// In en, this message translates to:
/// **'Send'**
String get composeBoxSendTooltip;
/// Replacement name for channel when it cannot be found in the store.
///
/// In en, this message translates to:
/// **'(unknown channel)'**
String get unknownChannelName;
/// Hint text for topic input widget in compose box.
///
/// In en, this message translates to:
/// **'Topic'**
String get composeBoxTopicHintText;
/// Placeholder in compose box showing the specified file is currently uploading.
///
/// In en, this message translates to:
/// **'Uploading {filename}…'**
String composeBoxUploadingFilename(String filename);
/// Placeholder in compose box showing the quoted message is currently loading.
///
/// In en, this message translates to:
/// **'(loading message {messageId})'**
String composeBoxLoadingMessage(int messageId);
/// Name placeholder to use for a user when we don't know their name.
///
/// In en, this message translates to:
/// **'(unknown user)'**
String get unknownUserName;
/// Message list page title for a DM group that only includes yourself.
///
/// In en, this message translates to:
/// **'DMs with yourself'**
String get dmsWithYourselfPageTitle;
/// Message list recipient header for a DM group with others.
///
/// In en, this message translates to:
/// **'You and {others}'**
String messageListGroupYouAndOthers(String others);
/// Message list page title for a DM group with others.
///
/// In en, this message translates to:
/// **'DMs with {others}'**
String dmsWithOthersPageTitle(String others);
/// Message list recipient header for a DM group that only includes yourself.
///
/// In en, this message translates to:
/// **'Messages with yourself'**
String get messageListGroupYouWithYourself;
/// Content validation error message when the message is too long.
///
/// In en, this message translates to:
/// **'Message length shouldn\'t be greater than 10000 characters.'**
String get contentValidationErrorTooLong;
/// Content validation error message when the message is empty.
///
/// In en, this message translates to:
/// **'You have nothing to send!'**
String get contentValidationErrorEmpty;
/// Content validation error message when a quotation has not completed yet.
///
/// In en, this message translates to:
/// **'Please wait for the quotation to complete.'**
String get contentValidationErrorQuoteAndReplyInProgress;
/// Content validation error message when attachments have not finished uploading.
///
/// In en, this message translates to:
/// **'Please wait for the upload to complete.'**
String get contentValidationErrorUploadInProgress;
/// Button label in dialogs to cancel.
///
/// In en, this message translates to:
/// **'Cancel'**
String get dialogCancel;
/// Button label in dialogs to proceed.
///
/// In en, this message translates to:
/// **'Continue'**
String get dialogContinue;
/// Button label in dialogs to close.
///
/// In en, this message translates to:
/// **'Close'**
String get dialogClose;
/// Button label in error dialogs to open a web page with more information.
///
/// In en, this message translates to:
/// **'Learn more'**
String get errorDialogLearnMore;
/// Button label in error dialogs to acknowledge the error and close the dialog.
///
/// In en, this message translates to:
/// **'OK'**
String get errorDialogContinue;
/// Generic title for error dialog.
///
/// In en, this message translates to:
/// **'Error'**
String get errorDialogTitle;
/// Button label for snack bar button that opens a dialog with more details.
///
/// In en, this message translates to:
/// **'Details'**
String get snackBarDetails;
/// Tooltip in lightbox for the copy link action.
///
/// In en, this message translates to:
/// **'Copy link'**
String get lightboxCopyLinkTooltip;
/// The current playback position of the video playing in the lightbox.
///
/// In en, this message translates to:
/// **'Current position'**
String get lightboxVideoCurrentPosition;
/// The total duration of the video playing in the lightbox.
///
/// In en, this message translates to:
/// **'Video duration'**
String get lightboxVideoDuration;
/// Title for login page.
///
/// In en, this message translates to:
/// **'Log in'**
String get loginPageTitle;
/// Button text to submit login credentials.
///
/// In en, this message translates to:
/// **'Log in'**
String get loginFormSubmitLabel;
/// Text on the divider between the username/password form and the third-party login options. Uppercase (for languages with letter case).
///
/// In en, this message translates to:
/// **'OR'**
String get loginMethodDivider;
/// Button to use {method} to sign in to the app.
///
/// In en, this message translates to:
/// **'Sign in with {method}'**
String signInWithFoo(String method);
/// Title for page to add a Zulip account.
///
/// In en, this message translates to:
/// **'Add an account'**
String get loginAddAnAccountPageTitle;
/// Label in login page for Zulip server URL entry.
///
/// In en, this message translates to:
/// **'Your Zulip server URL'**
String get loginServerUrlLabel;
/// Icon label for button to hide password in input form.
///
/// In en, this message translates to:
/// **'Hide password'**
String get loginHidePassword;
/// Label for input when an email is required to log in.
///
/// In en, this message translates to:
/// **'Email address'**
String get loginEmailLabel;
/// Error message when an empty email was provided.
///
/// In en, this message translates to:
/// **'Please enter your email.'**
String get loginErrorMissingEmail;
/// Label for password input field.
///
/// In en, this message translates to:
/// **'Password'**
String get loginPasswordLabel;
/// Error message when an empty password was provided.
///
/// In en, this message translates to:
/// **'Please enter your password.'**
String get loginErrorMissingPassword;
/// Label for input when a username is required to log in.
///
/// In en, this message translates to:
/// **'Username'**
String get loginUsernameLabel;
/// Error message when an empty username was provided.
///
/// In en, this message translates to:
/// **'Please enter your username.'**
String get loginErrorMissingUsername;
/// Topic validation error when topic is too long.
///
/// In en, this message translates to:
/// **'Topic length shouldn\'t be greater than 60 characters.'**
String get topicValidationErrorTooLong;
/// Topic validation error when topic is required but was empty.
///
/// In en, this message translates to:
/// **'Topics are required in this organization.'**
String get topicValidationErrorMandatoryButEmpty;
/// Error message in the dialog for when the Zulip Server version is unsupported.
///
/// In en, this message translates to:
/// **'{url} is running Zulip Server {zulipVersion}, which is unsupported. The minimum supported version is Zulip Server {minSupportedZulipVersion}.'**
String errorServerVersionUnsupportedMessage(String url, String zulipVersion, String minSupportedZulipVersion);
/// Error message in the dialog for invalid API key.
///
/// In en, this message translates to:
/// **'Your account at {url} could not be authenticated. Please try logging in again or use another account.'**
String errorInvalidApiKeyMessage(String url);
/// Error message when an API call returned an invalid response.
///
/// In en, this message translates to:
/// **'The server sent an invalid response'**
String get errorInvalidResponse;
/// Error message when a network request fails.
///
/// In en, this message translates to:
/// **'Network request failed'**
String get errorNetworkRequestFailed;
/// Error message when an API call fails because we could not parse the response.
///
/// In en, this message translates to:
/// **'Server gave malformed response; HTTP status {httpStatus}'**
String errorMalformedResponse(int httpStatus);
/// Error message when an API call fails because we could not parse the response, with details of the failure.
///
/// In en, this message translates to:
/// **'Server gave malformed response; HTTP status {httpStatus}; {details}'**
String errorMalformedResponseWithCause(int httpStatus, String details);
/// Error message when an API call fails.
///
/// In en, this message translates to:
/// **'Network request failed: HTTP status {httpStatus}'**
String errorRequestFailed(int httpStatus);
/// Error message when a video fails to play.
///
/// In en, this message translates to:
/// **'Unable to play the video'**
String get errorVideoPlayerFailed;
/// Error message when URL is empty
///
/// In en, this message translates to:
/// **'Please enter a URL.'**
String get serverUrlValidationErrorEmpty;
/// Error message when URL is not in a valid format.
///
/// In en, this message translates to:
/// **'Please enter a valid URL.'**
String get serverUrlValidationErrorInvalidUrl;
/// Error message when URL looks like an email
///
/// In en, this message translates to:
/// **'Please enter the server URL, not your email.'**
String get serverUrlValidationErrorNoUseEmail;
/// Error message when URL has an unsupported scheme.
///
/// In en, this message translates to:
/// **'The server URL must start with http:// or https://.'**
String get serverUrlValidationErrorUnsupportedScheme;
/// The default header text in a spoiler block ( https://zulip.com/help/spoilers ).
///
/// In en, this message translates to:
/// **'Spoiler'**
String get spoilerDefaultHeaderText;
/// Button text to mark messages as read.
///
/// In en, this message translates to:
/// **'Mark all messages as read'**
String get markAllAsReadLabel;
/// Message when marking messages as read has completed.
///
/// In en, this message translates to:
/// **'Marked {num, plural, =1{1 message} other{{num} messages}} as read.'**
String markAsReadComplete(int num);
/// Progress message when marking messages as read.
///
/// In en, this message translates to:
/// **'Marking messages as read…'**
String get markAsReadInProgress;
/// Error title when mark as read action failed.
///
/// In en, this message translates to:
/// **'Mark as read failed'**
String get errorMarkAsReadFailedTitle;
/// Message when marking messages as unread has completed.
///
/// In en, this message translates to:
/// **'Marked {num, plural, =1{1 message} other{{num} messages}} as unread.'**
String markAsUnreadComplete(int num);
/// Progress message when marking messages as unread.
///
/// In en, this message translates to:
/// **'Marking messages as unread…'**
String get markAsUnreadInProgress;
/// Error title when mark as unread action failed.
///
/// In en, this message translates to:
/// **'Mark as unread failed'**
String get errorMarkAsUnreadFailedTitle;
/// Term to use to reference the current day.
///
/// In en, this message translates to:
/// **'Today'**
String get today;
/// Term to use to reference the previous day.
///
/// In en, this message translates to:
/// **'Yesterday'**
String get yesterday;
/// Label for UserRole.owner
///
/// In en, this message translates to:
/// **'Owner'**
String get userRoleOwner;
/// Label for UserRole.administrator
///
/// In en, this message translates to:
/// **'Administrator'**
String get userRoleAdministrator;
/// Label for UserRole.moderator
///
/// In en, this message translates to:
/// **'Moderator'**
String get userRoleModerator;
/// Label for UserRole.member
///
/// In en, this message translates to:
/// **'Member'**
String get userRoleMember;
/// Label for UserRole.guest
///
/// In en, this message translates to:
/// **'Guest'**
String get userRoleGuest;
/// Label for UserRole.unknown
///
/// In en, this message translates to:
/// **'Unknown'**
String get userRoleUnknown;
/// Title for the page with unreads.
///
/// In en, this message translates to: