l10n.dart 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. import 'package:flutter/material.dart';
  3. import 'package:intl/intl.dart';
  4. import 'intl/messages_all.dart';
  5. // **************************************************************************
  6. // Generator: Flutter Intl IDE plugin
  7. // Made by Localizely
  8. // **************************************************************************
  9. // ignore_for_file: non_constant_identifier_names, lines_longer_than_80_chars
  10. // ignore_for_file: join_return_with_assignment, prefer_final_in_for_each
  11. // ignore_for_file: avoid_redundant_argument_values, avoid_escaping_inner_quotes
  12. class S {
  13. S();
  14. static S? _current;
  15. static S get current {
  16. assert(_current != null,
  17. 'No instance of S was loaded. Try to initialize the S delegate before accessing S.current.');
  18. return _current!;
  19. }
  20. static const AppLocalizationDelegate delegate = AppLocalizationDelegate();
  21. static Future<S> load(Locale locale) {
  22. final name = (locale.countryCode?.isEmpty ?? false)
  23. ? locale.languageCode
  24. : locale.toString();
  25. final localeName = Intl.canonicalizedLocale(name);
  26. return initializeMessages(localeName).then((_) {
  27. Intl.defaultLocale = localeName;
  28. final instance = S();
  29. S._current = instance;
  30. return instance;
  31. });
  32. }
  33. static S of(BuildContext context) {
  34. final instance = S.maybeOf(context);
  35. assert(instance != null,
  36. 'No instance of S present in the widget tree. Did you add S.delegate in localizationsDelegates?');
  37. return instance!;
  38. }
  39. static S? maybeOf(BuildContext context) {
  40. return Localizations.of<S>(context, S);
  41. }
  42. /// `Enter your email address`
  43. String get enterYourEmailAddress {
  44. return Intl.message(
  45. 'Enter your email address',
  46. name: 'enterYourEmailAddress',
  47. desc: '',
  48. args: [],
  49. );
  50. }
  51. /// `Welcome back!`
  52. String get accountWelcomeBack {
  53. return Intl.message(
  54. 'Welcome back!',
  55. name: 'accountWelcomeBack',
  56. desc: '',
  57. args: [],
  58. );
  59. }
  60. /// `Email`
  61. String get email {
  62. return Intl.message(
  63. 'Email',
  64. name: 'email',
  65. desc: '',
  66. args: [],
  67. );
  68. }
  69. /// `Cancel`
  70. String get cancel {
  71. return Intl.message(
  72. 'Cancel',
  73. name: 'cancel',
  74. desc: '',
  75. args: [],
  76. );
  77. }
  78. /// `Verify`
  79. String get verify {
  80. return Intl.message(
  81. 'Verify',
  82. name: 'verify',
  83. desc: '',
  84. args: [],
  85. );
  86. }
  87. /// `Invalid email address`
  88. String get invalidEmailAddress {
  89. return Intl.message(
  90. 'Invalid email address',
  91. name: 'invalidEmailAddress',
  92. desc: '',
  93. args: [],
  94. );
  95. }
  96. /// `Please enter a valid email address.`
  97. String get enterValidEmail {
  98. return Intl.message(
  99. 'Please enter a valid email address.',
  100. name: 'enterValidEmail',
  101. desc: '',
  102. args: [],
  103. );
  104. }
  105. /// `Delete account`
  106. String get deleteAccount {
  107. return Intl.message(
  108. 'Delete account',
  109. name: 'deleteAccount',
  110. desc: '',
  111. args: [],
  112. );
  113. }
  114. /// `What is the main reason you are deleting your account?`
  115. String get askDeleteReason {
  116. return Intl.message(
  117. 'What is the main reason you are deleting your account?',
  118. name: 'askDeleteReason',
  119. desc: '',
  120. args: [],
  121. );
  122. }
  123. /// `We are sorry to see you go. Please share your feedback to help us improve.`
  124. String get deleteAccountFeedbackPrompt {
  125. return Intl.message(
  126. 'We are sorry to see you go. Please share your feedback to help us improve.',
  127. name: 'deleteAccountFeedbackPrompt',
  128. desc: '',
  129. args: [],
  130. );
  131. }
  132. /// `Feedback`
  133. String get feedback {
  134. return Intl.message(
  135. 'Feedback',
  136. name: 'feedback',
  137. desc: '',
  138. args: [],
  139. );
  140. }
  141. /// `Kindly help us with this information`
  142. String get kindlyHelpUsWithThisInformation {
  143. return Intl.message(
  144. 'Kindly help us with this information',
  145. name: 'kindlyHelpUsWithThisInformation',
  146. desc: '',
  147. args: [],
  148. );
  149. }
  150. /// `Yes, I want to permanently delete this account and all its data.`
  151. String get confirmDeletePrompt {
  152. return Intl.message(
  153. 'Yes, I want to permanently delete this account and all its data.',
  154. name: 'confirmDeletePrompt',
  155. desc: '',
  156. args: [],
  157. );
  158. }
  159. /// `Confirm Account Deletion`
  160. String get confirmAccountDeletion {
  161. return Intl.message(
  162. 'Confirm Account Deletion',
  163. name: 'confirmAccountDeletion',
  164. desc: '',
  165. args: [],
  166. );
  167. }
  168. /// `You are about to permanently delete your account and all its data.\nThis action is irreversible.`
  169. String get deleteConfirmDialogBody {
  170. return Intl.message(
  171. 'You are about to permanently delete your account and all its data.\nThis action is irreversible.',
  172. name: 'deleteConfirmDialogBody',
  173. desc: '',
  174. args: [],
  175. );
  176. }
  177. /// `Delete Account Permanently`
  178. String get deleteAccountPermanentlyButton {
  179. return Intl.message(
  180. 'Delete Account Permanently',
  181. name: 'deleteAccountPermanentlyButton',
  182. desc: '',
  183. args: [],
  184. );
  185. }
  186. /// `Your account has been deleted`
  187. String get yourAccountHasBeenDeleted {
  188. return Intl.message(
  189. 'Your account has been deleted',
  190. name: 'yourAccountHasBeenDeleted',
  191. desc: '',
  192. args: [],
  193. );
  194. }
  195. /// `Select reason`
  196. String get selectReason {
  197. return Intl.message(
  198. 'Select reason',
  199. name: 'selectReason',
  200. desc: '',
  201. args: [],
  202. );
  203. }
  204. /// `It’s missing a key feature that I need`
  205. String get deleteReason1 {
  206. return Intl.message(
  207. 'It’s missing a key feature that I need',
  208. name: 'deleteReason1',
  209. desc: '',
  210. args: [],
  211. );
  212. }
  213. /// `The app or a certain feature does not \nbehave as I think it should`
  214. String get deleteReason2 {
  215. return Intl.message(
  216. 'The app or a certain feature does not \nbehave as I think it should',
  217. name: 'deleteReason2',
  218. desc: '',
  219. args: [],
  220. );
  221. }
  222. /// `I found another service that I like better`
  223. String get deleteReason3 {
  224. return Intl.message(
  225. 'I found another service that I like better',
  226. name: 'deleteReason3',
  227. desc: '',
  228. args: [],
  229. );
  230. }
  231. /// `My reason isn’t listed`
  232. String get deleteReason4 {
  233. return Intl.message(
  234. 'My reason isn’t listed',
  235. name: 'deleteReason4',
  236. desc: '',
  237. args: [],
  238. );
  239. }
  240. /// `Send email`
  241. String get sendEmail {
  242. return Intl.message(
  243. 'Send email',
  244. name: 'sendEmail',
  245. desc: '',
  246. args: [],
  247. );
  248. }
  249. /// `Your request will be processed within 72 hours.`
  250. String get deleteRequestSLAText {
  251. return Intl.message(
  252. 'Your request will be processed within 72 hours.',
  253. name: 'deleteRequestSLAText',
  254. desc: '',
  255. args: [],
  256. );
  257. }
  258. /// `Please send an email to`
  259. String get pleaseSendAnEmailTo {
  260. return Intl.message(
  261. 'Please send an email to',
  262. name: 'pleaseSendAnEmailTo',
  263. desc:
  264. 'This text is part of the sentence \'Please send an email to email@ente.io from your registered email address.\'',
  265. args: [],
  266. );
  267. }
  268. /// `from your registered email address.`
  269. String get fromYourRegisteredEmailAddress {
  270. return Intl.message(
  271. 'from your registered email address.',
  272. name: 'fromYourRegisteredEmailAddress',
  273. desc:
  274. 'This text is part of the sentence \'Please send an email to email@ente.io from your registered email address.\'',
  275. args: [],
  276. );
  277. }
  278. /// `Ok`
  279. String get ok {
  280. return Intl.message(
  281. 'Ok',
  282. name: 'ok',
  283. desc: '',
  284. args: [],
  285. );
  286. }
  287. /// `Create account`
  288. String get createAccount {
  289. return Intl.message(
  290. 'Create account',
  291. name: 'createAccount',
  292. desc: '',
  293. args: [],
  294. );
  295. }
  296. /// `Create new account`
  297. String get createNewAccount {
  298. return Intl.message(
  299. 'Create new account',
  300. name: 'createNewAccount',
  301. desc: '',
  302. args: [],
  303. );
  304. }
  305. /// `Password`
  306. String get password {
  307. return Intl.message(
  308. 'Password',
  309. name: 'password',
  310. desc: '',
  311. args: [],
  312. );
  313. }
  314. /// `Confirm password`
  315. String get confirmPassword {
  316. return Intl.message(
  317. 'Confirm password',
  318. name: 'confirmPassword',
  319. desc: '',
  320. args: [],
  321. );
  322. }
  323. /// `Active sessions`
  324. String get activeSessions {
  325. return Intl.message(
  326. 'Active sessions',
  327. name: 'activeSessions',
  328. desc: '',
  329. args: [],
  330. );
  331. }
  332. /// `Oops`
  333. String get oops {
  334. return Intl.message(
  335. 'Oops',
  336. name: 'oops',
  337. desc: '',
  338. args: [],
  339. );
  340. }
  341. /// `Something went wrong, please try again`
  342. String get somethingWentWrongPleaseTryAgain {
  343. return Intl.message(
  344. 'Something went wrong, please try again',
  345. name: 'somethingWentWrongPleaseTryAgain',
  346. desc: '',
  347. args: [],
  348. );
  349. }
  350. /// `This will log you out of this device!`
  351. String get thisWillLogYouOutOfThisDevice {
  352. return Intl.message(
  353. 'This will log you out of this device!',
  354. name: 'thisWillLogYouOutOfThisDevice',
  355. desc: '',
  356. args: [],
  357. );
  358. }
  359. /// `This will log you out of the following device:`
  360. String get thisWillLogYouOutOfTheFollowingDevice {
  361. return Intl.message(
  362. 'This will log you out of the following device:',
  363. name: 'thisWillLogYouOutOfTheFollowingDevice',
  364. desc: '',
  365. args: [],
  366. );
  367. }
  368. /// `Terminate session?`
  369. String get terminateSession {
  370. return Intl.message(
  371. 'Terminate session?',
  372. name: 'terminateSession',
  373. desc: '',
  374. args: [],
  375. );
  376. }
  377. /// `Terminate`
  378. String get terminate {
  379. return Intl.message(
  380. 'Terminate',
  381. name: 'terminate',
  382. desc: '',
  383. args: [],
  384. );
  385. }
  386. /// `This device`
  387. String get thisDevice {
  388. return Intl.message(
  389. 'This device',
  390. name: 'thisDevice',
  391. desc: '',
  392. args: [],
  393. );
  394. }
  395. /// `Recover`
  396. String get recoverButton {
  397. return Intl.message(
  398. 'Recover',
  399. name: 'recoverButton',
  400. desc: '',
  401. args: [],
  402. );
  403. }
  404. /// `Recovery successful!`
  405. String get recoverySuccessful {
  406. return Intl.message(
  407. 'Recovery successful!',
  408. name: 'recoverySuccessful',
  409. desc: '',
  410. args: [],
  411. );
  412. }
  413. /// `Decrypting...`
  414. String get decrypting {
  415. return Intl.message(
  416. 'Decrypting...',
  417. name: 'decrypting',
  418. desc: '',
  419. args: [],
  420. );
  421. }
  422. /// `Incorrect recovery key`
  423. String get incorrectRecoveryKeyTitle {
  424. return Intl.message(
  425. 'Incorrect recovery key',
  426. name: 'incorrectRecoveryKeyTitle',
  427. desc: '',
  428. args: [],
  429. );
  430. }
  431. /// `The recovery key you entered is incorrect`
  432. String get incorrectRecoveryKeyBody {
  433. return Intl.message(
  434. 'The recovery key you entered is incorrect',
  435. name: 'incorrectRecoveryKeyBody',
  436. desc: '',
  437. args: [],
  438. );
  439. }
  440. /// `Forgot password`
  441. String get forgotPassword {
  442. return Intl.message(
  443. 'Forgot password',
  444. name: 'forgotPassword',
  445. desc: '',
  446. args: [],
  447. );
  448. }
  449. /// `Enter your recovery key`
  450. String get enterYourRecoveryKey {
  451. return Intl.message(
  452. 'Enter your recovery key',
  453. name: 'enterYourRecoveryKey',
  454. desc: '',
  455. args: [],
  456. );
  457. }
  458. /// `No recovery key?`
  459. String get noRecoveryKey {
  460. return Intl.message(
  461. 'No recovery key?',
  462. name: 'noRecoveryKey',
  463. desc: '',
  464. args: [],
  465. );
  466. }
  467. /// `Sorry`
  468. String get sorry {
  469. return Intl.message(
  470. 'Sorry',
  471. name: 'sorry',
  472. desc: '',
  473. args: [],
  474. );
  475. }
  476. /// `Due to the nature of our end-to-end encryption protocol, your data cannot be decrypted without your password or recovery key`
  477. String get noRecoveryKeyNoDecryption {
  478. return Intl.message(
  479. 'Due to the nature of our end-to-end encryption protocol, your data cannot be decrypted without your password or recovery key',
  480. name: 'noRecoveryKeyNoDecryption',
  481. desc: '',
  482. args: [],
  483. );
  484. }
  485. /// `Verify email`
  486. String get verifyEmail {
  487. return Intl.message(
  488. 'Verify email',
  489. name: 'verifyEmail',
  490. desc: '',
  491. args: [],
  492. );
  493. }
  494. /// `Please check your inbox (and spam) to complete verification`
  495. String get checkInboxAndSpamFolder {
  496. return Intl.message(
  497. 'Please check your inbox (and spam) to complete verification',
  498. name: 'checkInboxAndSpamFolder',
  499. desc: '',
  500. args: [],
  501. );
  502. }
  503. /// `Tap to enter code`
  504. String get tapToEnterCode {
  505. return Intl.message(
  506. 'Tap to enter code',
  507. name: 'tapToEnterCode',
  508. desc: '',
  509. args: [],
  510. );
  511. }
  512. /// `Resend email`
  513. String get resendEmail {
  514. return Intl.message(
  515. 'Resend email',
  516. name: 'resendEmail',
  517. desc: '',
  518. args: [],
  519. );
  520. }
  521. /// `We've sent a mail to`
  522. String get weveSentAMailTo {
  523. return Intl.message(
  524. 'We\'ve sent a mail to',
  525. name: 'weveSentAMailTo',
  526. desc: '',
  527. args: [],
  528. );
  529. }
  530. /// `Set password`
  531. String get setPasswordTitle {
  532. return Intl.message(
  533. 'Set password',
  534. name: 'setPasswordTitle',
  535. desc: '',
  536. args: [],
  537. );
  538. }
  539. /// `Change password`
  540. String get changePasswordTitle {
  541. return Intl.message(
  542. 'Change password',
  543. name: 'changePasswordTitle',
  544. desc: '',
  545. args: [],
  546. );
  547. }
  548. /// `Reset password`
  549. String get resetPasswordTitle {
  550. return Intl.message(
  551. 'Reset password',
  552. name: 'resetPasswordTitle',
  553. desc: '',
  554. args: [],
  555. );
  556. }
  557. /// `Encryption keys`
  558. String get encryptionKeys {
  559. return Intl.message(
  560. 'Encryption keys',
  561. name: 'encryptionKeys',
  562. desc: '',
  563. args: [],
  564. );
  565. }
  566. /// `We don't store this password, so if you forget,`
  567. String get noPasswordWarningPart1 {
  568. return Intl.message(
  569. 'We don\'t store this password, so if you forget,',
  570. name: 'noPasswordWarningPart1',
  571. desc:
  572. 'This text is part1 the sentence \'We don\'t store this password, so if you forget, we cannot decrypt your data.\'',
  573. args: [],
  574. );
  575. }
  576. /// `we cannot decrypt your data`
  577. String get noPasswordWarningPart2 {
  578. return Intl.message(
  579. 'we cannot decrypt your data',
  580. name: 'noPasswordWarningPart2',
  581. desc:
  582. 'This text is part2 the sentence \'We don\'t store this password, so if you forget, we cannot decrypt your data.\'',
  583. args: [],
  584. );
  585. }
  586. /// `Enter a password we can use to encrypt your data`
  587. String get enterPasswordToEncrypt {
  588. return Intl.message(
  589. 'Enter a password we can use to encrypt your data',
  590. name: 'enterPasswordToEncrypt',
  591. desc: '',
  592. args: [],
  593. );
  594. }
  595. /// `Enter a new password we can use to encrypt your data`
  596. String get enterNewPasswordToEncrypt {
  597. return Intl.message(
  598. 'Enter a new password we can use to encrypt your data',
  599. name: 'enterNewPasswordToEncrypt',
  600. desc: '',
  601. args: [],
  602. );
  603. }
  604. /// `Weak`
  605. String get weakStrength {
  606. return Intl.message(
  607. 'Weak',
  608. name: 'weakStrength',
  609. desc: '',
  610. args: [],
  611. );
  612. }
  613. /// `Strong`
  614. String get strongStrength {
  615. return Intl.message(
  616. 'Strong',
  617. name: 'strongStrength',
  618. desc: '',
  619. args: [],
  620. );
  621. }
  622. /// `Moderate`
  623. String get moderateStrength {
  624. return Intl.message(
  625. 'Moderate',
  626. name: 'moderateStrength',
  627. desc: '',
  628. args: [],
  629. );
  630. }
  631. /// `Password strength: {passwordStrengthValue}`
  632. String passwordStrength(String passwordStrengthValue) {
  633. return Intl.message(
  634. 'Password strength: $passwordStrengthValue',
  635. name: 'passwordStrength',
  636. desc: 'Text to indicate the password strength',
  637. args: [passwordStrengthValue],
  638. );
  639. }
  640. /// `Password changed successfully`
  641. String get passwordChangedSuccessfully {
  642. return Intl.message(
  643. 'Password changed successfully',
  644. name: 'passwordChangedSuccessfully',
  645. desc: '',
  646. args: [],
  647. );
  648. }
  649. /// `Generating encryption keys...`
  650. String get generatingEncryptionKeys {
  651. return Intl.message(
  652. 'Generating encryption keys...',
  653. name: 'generatingEncryptionKeys',
  654. desc: '',
  655. args: [],
  656. );
  657. }
  658. /// `Please wait...`
  659. String get pleaseWait {
  660. return Intl.message(
  661. 'Please wait...',
  662. name: 'pleaseWait',
  663. desc: '',
  664. args: [],
  665. );
  666. }
  667. /// `Continue`
  668. String get continueLabel {
  669. return Intl.message(
  670. 'Continue',
  671. name: 'continueLabel',
  672. desc: '',
  673. args: [],
  674. );
  675. }
  676. /// `Insecure device`
  677. String get insecureDevice {
  678. return Intl.message(
  679. 'Insecure device',
  680. name: 'insecureDevice',
  681. desc: '',
  682. args: [],
  683. );
  684. }
  685. /// `Sorry, we could not generate secure keys on this device.\n\nplease sign up from a different device.`
  686. String get sorryWeCouldNotGenerateSecureKeysOnThisDevicennplease {
  687. return Intl.message(
  688. 'Sorry, we could not generate secure keys on this device.\n\nplease sign up from a different device.',
  689. name: 'sorryWeCouldNotGenerateSecureKeysOnThisDevicennplease',
  690. desc: '',
  691. args: [],
  692. );
  693. }
  694. /// `How it works`
  695. String get howItWorks {
  696. return Intl.message(
  697. 'How it works',
  698. name: 'howItWorks',
  699. desc: '',
  700. args: [],
  701. );
  702. }
  703. /// `Encryption`
  704. String get encryption {
  705. return Intl.message(
  706. 'Encryption',
  707. name: 'encryption',
  708. desc: '',
  709. args: [],
  710. );
  711. }
  712. /// `I understand that if I lose my password, I may lose my data since my data is `
  713. String get ackPasswordLostWarningPart1 {
  714. return Intl.message(
  715. 'I understand that if I lose my password, I may lose my data since my data is ',
  716. name: 'ackPasswordLostWarningPart1',
  717. desc: '',
  718. args: [],
  719. );
  720. }
  721. /// `end-to-end encrypted`
  722. String get endToEndEncrypted {
  723. return Intl.message(
  724. 'end-to-end encrypted',
  725. name: 'endToEndEncrypted',
  726. desc: '',
  727. args: [],
  728. );
  729. }
  730. /// ` with ente`
  731. String get ackPasswordLostWarningPart2 {
  732. return Intl.message(
  733. ' with ente',
  734. name: 'ackPasswordLostWarningPart2',
  735. desc:
  736. 'This text is part2 the sentence \'I understand that if I lose my password, I may lose my data since my data is end-to-end encrypted with ente.\'',
  737. args: [],
  738. );
  739. }
  740. /// `Privacy Policy`
  741. String get privacyPolicyTitle {
  742. return Intl.message(
  743. 'Privacy Policy',
  744. name: 'privacyPolicyTitle',
  745. desc: '',
  746. args: [],
  747. );
  748. }
  749. /// `Terms`
  750. String get termsOfServicesTitle {
  751. return Intl.message(
  752. 'Terms',
  753. name: 'termsOfServicesTitle',
  754. desc: '',
  755. args: [],
  756. );
  757. }
  758. /// `I agree to the`
  759. String get termsAgreePart1 {
  760. return Intl.message(
  761. 'I agree to the',
  762. name: 'termsAgreePart1',
  763. desc:
  764. 'This text is part the sentence \'I agree to the terms of service and privacy policy.\'',
  765. args: [],
  766. );
  767. }
  768. /// `privacy policy`
  769. String get privacyPolicy {
  770. return Intl.message(
  771. 'privacy policy',
  772. name: 'privacyPolicy',
  773. desc: '',
  774. args: [],
  775. );
  776. }
  777. /// `and`
  778. String get and {
  779. return Intl.message(
  780. 'and',
  781. name: 'and',
  782. desc:
  783. 'Separator used in sentences like \'I agree to the terms of service and privacy policy.\'',
  784. args: [],
  785. );
  786. }
  787. /// `terms of service`
  788. String get termsOfService {
  789. return Intl.message(
  790. 'terms of service',
  791. name: 'termsOfService',
  792. desc: '',
  793. args: [],
  794. );
  795. }
  796. }
  797. class AppLocalizationDelegate extends LocalizationsDelegate<S> {
  798. const AppLocalizationDelegate();
  799. List<Locale> get supportedLocales {
  800. return const <Locale>[
  801. Locale.fromSubtags(languageCode: 'en'),
  802. ];
  803. }
  804. @override
  805. bool isSupported(Locale locale) => _isSupported(locale);
  806. @override
  807. Future<S> load(Locale locale) => S.load(locale);
  808. @override
  809. bool shouldReload(AppLocalizationDelegate old) => false;
  810. bool _isSupported(Locale locale) {
  811. for (var supportedLocale in supportedLocales) {
  812. if (supportedLocale.languageCode == locale.languageCode) {
  813. return true;
  814. }
  815. }
  816. return false;
  817. }
  818. }