An open-source cross-platform alternative to AirDrop
style: reformat
Tien Do Nam962b87c6c24d
diff --git a/app/lib/gen/strings_en.g.dart b/app/lib/gen/strings_en.g.dartindex 65975f1c..46f657ff 100644--- a/app/lib/gen/strings_en.g.dart+++ b/app/lib/gen/strings_en.g.dart@@ -8,1130 +8,1037 @@ part of 'strings.g.dart';// Path: <root>class Translations implements BaseTranslations<AppLocale, Translations> {- /// Returns the current translations of the given [context].- ///- /// Usage:- /// final t = Translations.of(context);- static Translations of(BuildContext context) =>- InheritedLocaleData.of<AppLocale, Translations>(context).translations;-- /// You can call this constructor and build your own translation instance of this locale.- /// Constructing via the enum [AppLocale.build] is preferred.- Translations.build(- {Map<String, Node>? overrides,- PluralResolver? cardinalResolver,- PluralResolver? ordinalResolver})- : assert(overrides == null,- 'Set "translation_overrides: true" in order to enable this feature.'),- $meta = TranslationMetadata(- locale: AppLocale.en,- overrides: overrides ?? {},- cardinalResolver: cardinalResolver,- ordinalResolver: ordinalResolver,- );-- /// Metadata for the translations of <en>.- @override- final TranslationMetadata<AppLocale, Translations> $meta;-- late final Translations _root = this; // ignore: unused_field-- // Translations- String get locale => 'English';- String get appName => 'LocalSend';- late final _StringsGeneralEn general = _StringsGeneralEn._(_root);- late final _StringsReceiveTabEn receiveTab = _StringsReceiveTabEn._(_root);- late final _StringsSendTabEn sendTab = _StringsSendTabEn._(_root);- late final _StringsSettingsTabEn settingsTab = _StringsSettingsTabEn._(_root);- late final _StringsTroubleshootPageEn troubleshootPage =- _StringsTroubleshootPageEn._(_root);- late final _StringsReceiveHistoryPageEn receiveHistoryPage =- _StringsReceiveHistoryPageEn._(_root);- late final _StringsApkPickerPageEn apkPickerPage =- _StringsApkPickerPageEn._(_root);- late final _StringsSelectedFilesPageEn selectedFilesPage =- _StringsSelectedFilesPageEn._(_root);- late final _StringsReceivePageEn receivePage = _StringsReceivePageEn._(_root);- late final _StringsReceiveOptionsPageEn receiveOptionsPage =- _StringsReceiveOptionsPageEn._(_root);- late final _StringsSendPageEn sendPage = _StringsSendPageEn._(_root);- late final _StringsProgressPageEn progressPage =- _StringsProgressPageEn._(_root);- late final _StringsWebSharePageEn webSharePage =- _StringsWebSharePageEn._(_root);- late final _StringsAboutPageEn aboutPage = _StringsAboutPageEn._(_root);- late final _StringsDonationPageEn donationPage =- _StringsDonationPageEn._(_root);- late final _StringsChangelogPageEn changelogPage =- _StringsChangelogPageEn._(_root);- late final _StringsAliasGeneratorEn aliasGenerator =- _StringsAliasGeneratorEn._(_root);- late final _StringsDialogsEn dialogs = _StringsDialogsEn._(_root);- late final _StringsSanitizationEn sanitization =- _StringsSanitizationEn._(_root);- late final _StringsTrayEn tray = _StringsTrayEn._(_root);- late final _StringsWebEn web = _StringsWebEn._(_root);- late final _StringsAssetPickerEn assetPicker = _StringsAssetPickerEn._(_root);+ /// Returns the current translations of the given [context].+ ///+ /// Usage:+ /// final t = Translations.of(context);+ static Translations of(BuildContext context) => InheritedLocaleData.of<AppLocale, Translations>(context).translations;++ /// You can call this constructor and build your own translation instance of this locale.+ /// Constructing via the enum [AppLocale.build] is preferred.+ Translations.build({Map<String, Node>? overrides, PluralResolver? cardinalResolver, PluralResolver? ordinalResolver})+ : assert(overrides == null, 'Set "translation_overrides: true" in order to enable this feature.'),+ $meta = TranslationMetadata(+ locale: AppLocale.en,+ overrides: overrides ?? {},+ cardinalResolver: cardinalResolver,+ ordinalResolver: ordinalResolver,+ );++ /// Metadata for the translations of <en>.+ @override final TranslationMetadata<AppLocale, Translations> $meta;++ late final Translations _root = this; // ignore: unused_field++ // Translations+ String get locale => 'English';+ String get appName => 'LocalSend';+ late final _StringsGeneralEn general = _StringsGeneralEn._(_root);+ late final _StringsReceiveTabEn receiveTab = _StringsReceiveTabEn._(_root);+ late final _StringsSendTabEn sendTab = _StringsSendTabEn._(_root);+ late final _StringsSettingsTabEn settingsTab = _StringsSettingsTabEn._(_root);+ late final _StringsTroubleshootPageEn troubleshootPage = _StringsTroubleshootPageEn._(_root);+ late final _StringsReceiveHistoryPageEn receiveHistoryPage = _StringsReceiveHistoryPageEn._(_root);+ late final _StringsApkPickerPageEn apkPickerPage = _StringsApkPickerPageEn._(_root);+ late final _StringsSelectedFilesPageEn selectedFilesPage = _StringsSelectedFilesPageEn._(_root);+ late final _StringsReceivePageEn receivePage = _StringsReceivePageEn._(_root);+ late final _StringsReceiveOptionsPageEn receiveOptionsPage = _StringsReceiveOptionsPageEn._(_root);+ late final _StringsSendPageEn sendPage = _StringsSendPageEn._(_root);+ late final _StringsProgressPageEn progressPage = _StringsProgressPageEn._(_root);+ late final _StringsWebSharePageEn webSharePage = _StringsWebSharePageEn._(_root);+ late final _StringsAboutPageEn aboutPage = _StringsAboutPageEn._(_root);+ late final _StringsDonationPageEn donationPage = _StringsDonationPageEn._(_root);+ late final _StringsChangelogPageEn changelogPage = _StringsChangelogPageEn._(_root);+ late final _StringsAliasGeneratorEn aliasGenerator = _StringsAliasGeneratorEn._(_root);+ late final _StringsDialogsEn dialogs = _StringsDialogsEn._(_root);+ late final _StringsSanitizationEn sanitization = _StringsSanitizationEn._(_root);+ late final _StringsTrayEn tray = _StringsTrayEn._(_root);+ late final _StringsWebEn web = _StringsWebEn._(_root);+ late final _StringsAssetPickerEn assetPicker = _StringsAssetPickerEn._(_root);}// Path: generalclass _StringsGeneralEn {- _StringsGeneralEn._(this._root);-- final Translations _root; // ignore: unused_field-- // Translations- String get accept => 'Accept';- String get accepted => 'Accepted';- String get add => 'Add';- String get advanced => 'Advanced';- String get cancel => 'Cancel';- String get close => 'Close';- String get confirm => 'Confirm';- String get continueStr => 'Continue';- String get copy => 'Copy';- String get copiedToClipboard => 'Copied to Clipboard';- String get decline => 'Decline';- String get done => 'Done';- String get delete => 'Delete';- String get edit => 'Edit';- String get error => 'Error';- String get example => 'Example';- String get files => 'Files';- String get finished => 'Finished';- String get hide => 'Hide';- String get off => 'Off';- String get offline => 'Offline';- String get on => 'On';- String get online => 'Online';- String get open => 'Open';- String get queue => 'Queue';- String get quickSave => 'Quick Save';- String get quickSaveFromFavorites => 'Quick Save for "Favorites"';- String get renamed => 'Renamed';- String get reset => 'Undo changes';- String get restart => 'Restart';- String get settings => 'Settings';- String get skipped => 'Skipped';- String get start => 'Start';- String get stop => 'Stop';- String get save => 'Save';- String get unchanged => 'Unchanged';- String get unknown => 'Unknown';- String get noItemInClipboard => 'No items in Clipboard.';+ _StringsGeneralEn._(this._root);++ final Translations _root; // ignore: unused_field++ // Translations+ String get accept => 'Accept';+ String get accepted => 'Accepted';+ String get add => 'Add';+ String get advanced => 'Advanced';+ String get cancel => 'Cancel';+ String get close => 'Close';+ String get confirm => 'Confirm';+ String get continueStr => 'Continue';+ String get copy => 'Copy';+ String get copiedToClipboard => 'Copied to Clipboard';+ String get decline => 'Decline';+ String get done => 'Done';+ String get delete => 'Delete';+ String get edit => 'Edit';+ String get error => 'Error';+ String get example => 'Example';+ String get files => 'Files';+ String get finished => 'Finished';+ String get hide => 'Hide';+ String get off => 'Off';+ String get offline => 'Offline';+ String get on => 'On';+ String get online => 'Online';+ String get open => 'Open';+ String get queue => 'Queue';+ String get quickSave => 'Quick Save';+ String get quickSaveFromFavorites => 'Quick Save for "Favorites"';+ String get renamed => 'Renamed';+ String get reset => 'Undo changes';+ String get restart => 'Restart';+ String get settings => 'Settings';+ String get skipped => 'Skipped';+ String get start => 'Start';+ String get stop => 'Stop';+ String get save => 'Save';+ String get unchanged => 'Unchanged';+ String get unknown => 'Unknown';+ String get noItemInClipboard => 'No items in Clipboard.';}// Path: receiveTabclass _StringsReceiveTabEn {- _StringsReceiveTabEn._(this._root);+ _StringsReceiveTabEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Receive';- late final _StringsReceiveTabInfoBoxEn infoBox =- _StringsReceiveTabInfoBoxEn._(_root);+ // Translations+ String get title => 'Receive';+ late final _StringsReceiveTabInfoBoxEn infoBox = _StringsReceiveTabInfoBoxEn._(_root);}// Path: sendTabclass _StringsSendTabEn {- _StringsSendTabEn._(this._root);-- final Translations _root; // ignore: unused_field-- // Translations- String get title => 'Send';- late final _StringsSendTabSelectionEn selection =- _StringsSendTabSelectionEn._(_root);- late final _StringsSendTabPickerEn picker = _StringsSendTabPickerEn._(_root);- String get shareIntentInfo =>- 'You can also use the "Share" feature of your mobile device to select files more easily.';- String get nearbyDevices => 'Nearby devices';- String get thisDevice => 'This Device';- String get scan => 'Search devices';- String get manualSending => 'Manual sending';- String get sendMode => 'Send mode';- late final _StringsSendTabSendModesEn sendModes =- _StringsSendTabSendModesEn._(_root);- String get sendModeHelp => 'Explanation';- String get help =>- 'Please ensure that the desired target is also on the same Wi-Fi network.';- String get placeItems => 'Place items to share.';+ _StringsSendTabEn._(this._root);++ final Translations _root; // ignore: unused_field++ // Translations+ String get title => 'Send';+ late final _StringsSendTabSelectionEn selection = _StringsSendTabSelectionEn._(_root);+ late final _StringsSendTabPickerEn picker = _StringsSendTabPickerEn._(_root);+ String get shareIntentInfo => 'You can also use the "Share" feature of your mobile device to select files more easily.';+ String get nearbyDevices => 'Nearby devices';+ String get thisDevice => 'This Device';+ String get scan => 'Search devices';+ String get manualSending => 'Manual sending';+ String get sendMode => 'Send mode';+ late final _StringsSendTabSendModesEn sendModes = _StringsSendTabSendModesEn._(_root);+ String get sendModeHelp => 'Explanation';+ String get help => 'Please ensure that the desired target is also on the same Wi-Fi network.';+ String get placeItems => 'Place items to share.';}// Path: settingsTabclass _StringsSettingsTabEn {- _StringsSettingsTabEn._(this._root);+ _StringsSettingsTabEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Settings';- late final _StringsSettingsTabGeneralEn general =- _StringsSettingsTabGeneralEn._(_root);- late final _StringsSettingsTabReceiveEn receive =- _StringsSettingsTabReceiveEn._(_root);- late final _StringsSettingsTabSendEn send =- _StringsSettingsTabSendEn._(_root);- late final _StringsSettingsTabNetworkEn network =- _StringsSettingsTabNetworkEn._(_root);- late final _StringsSettingsTabOtherEn other =- _StringsSettingsTabOtherEn._(_root);- String get advancedSettings => 'Advanced settings';+ // Translations+ String get title => 'Settings';+ late final _StringsSettingsTabGeneralEn general = _StringsSettingsTabGeneralEn._(_root);+ late final _StringsSettingsTabReceiveEn receive = _StringsSettingsTabReceiveEn._(_root);+ late final _StringsSettingsTabSendEn send = _StringsSettingsTabSendEn._(_root);+ late final _StringsSettingsTabNetworkEn network = _StringsSettingsTabNetworkEn._(_root);+ late final _StringsSettingsTabOtherEn other = _StringsSettingsTabOtherEn._(_root);+ String get advancedSettings => 'Advanced settings';}// Path: troubleshootPageclass _StringsTroubleshootPageEn {- _StringsTroubleshootPageEn._(this._root);+ _StringsTroubleshootPageEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Troubleshoot';- String get subTitle =>- 'Does the app not work as expected? Here you can find some common solutions to problems.';- String get solution => 'Solution:';- String get fixButton => 'Fix automatically';- late final _StringsTroubleshootPageFirewallEn firewall =- _StringsTroubleshootPageFirewallEn._(_root);- late final _StringsTroubleshootPageNoDiscoveryEn noDiscovery =- _StringsTroubleshootPageNoDiscoveryEn._(_root);- late final _StringsTroubleshootPageNoConnectionEn noConnection =- _StringsTroubleshootPageNoConnectionEn._(_root);+ // Translations+ String get title => 'Troubleshoot';+ String get subTitle => 'Does the app not work as expected? Here you can find some common solutions to problems.';+ String get solution => 'Solution:';+ String get fixButton => 'Fix automatically';+ late final _StringsTroubleshootPageFirewallEn firewall = _StringsTroubleshootPageFirewallEn._(_root);+ late final _StringsTroubleshootPageNoDiscoveryEn noDiscovery = _StringsTroubleshootPageNoDiscoveryEn._(_root);+ late final _StringsTroubleshootPageNoConnectionEn noConnection = _StringsTroubleshootPageNoConnectionEn._(_root);}// Path: receiveHistoryPageclass _StringsReceiveHistoryPageEn {- _StringsReceiveHistoryPageEn._(this._root);+ _StringsReceiveHistoryPageEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'History';- String get openFolder => 'Open folder';- String get deleteHistory => 'Delete history';- String get empty => 'The history is empty.';- late final _StringsReceiveHistoryPageEntryActionsEn entryActions =- _StringsReceiveHistoryPageEntryActionsEn._(_root);+ // Translations+ String get title => 'History';+ String get openFolder => 'Open folder';+ String get deleteHistory => 'Delete history';+ String get empty => 'The history is empty.';+ late final _StringsReceiveHistoryPageEntryActionsEn entryActions = _StringsReceiveHistoryPageEntryActionsEn._(_root);}// Path: apkPickerPageclass _StringsApkPickerPageEn {- _StringsApkPickerPageEn._(this._root);+ _StringsApkPickerPageEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Apps (APK)';- String get excludeSystemApps => 'Exclude system apps';- String get excludeAppsWithoutLaunchIntent => 'Exclude non-launchable apps';- String apps({required Object n}) => '${n} Apps';+ // Translations+ String get title => 'Apps (APK)';+ String get excludeSystemApps => 'Exclude system apps';+ String get excludeAppsWithoutLaunchIntent => 'Exclude non-launchable apps';+ String apps({required Object n}) => '${n} Apps';}// Path: selectedFilesPageclass _StringsSelectedFilesPageEn {- _StringsSelectedFilesPageEn._(this._root);+ _StringsSelectedFilesPageEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get deleteAll => 'Delete all';+ // Translations+ String get deleteAll => 'Delete all';}// Path: receivePageclass _StringsReceivePageEn {- _StringsReceivePageEn._(this._root);+ _StringsReceivePageEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String subTitle({required num n}) =>- (_root.$meta.cardinalResolver ?? PluralResolvers.cardinal('en'))(- n,- one: 'wants to send you a file',- other: 'wants to send you ${n} files',- );- String get subTitleMessage => 'sent you a message:';- String get subTitleLink => 'sent you a link:';- String get canceled => 'The sender has canceled the request.';+ // Translations+ String subTitle({required num n}) => (_root.$meta.cardinalResolver ?? PluralResolvers.cardinal('en'))(n,+ one: 'wants to send you a file',+ other: 'wants to send you ${n} files',+ );+ String get subTitleMessage => 'sent you a message:';+ String get subTitleLink => 'sent you a link:';+ String get canceled => 'The sender has canceled the request.';}// Path: receiveOptionsPageclass _StringsReceiveOptionsPageEn {- _StringsReceiveOptionsPageEn._(this._root);+ _StringsReceiveOptionsPageEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Options';- String get destination => _root.settingsTab.receive.destination;- String get appDirectory => '(LocalSend folder)';- String get saveToGallery => _root.settingsTab.receive.saveToGallery;- String get saveToGalleryOff =>- 'Turned off automatically because there are folders.';+ // Translations+ String get title => 'Options';+ String get destination => _root.settingsTab.receive.destination;+ String get appDirectory => '(LocalSend folder)';+ String get saveToGallery => _root.settingsTab.receive.saveToGallery;+ String get saveToGalleryOff => 'Turned off automatically because there are folders.';}// Path: sendPageclass _StringsSendPageEn {- _StringsSendPageEn._(this._root);+ _StringsSendPageEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get waiting => 'Waiting for response...';- String get rejected => 'The recipient has rejected the request.';- String get tooManyAttempts => _root.web.tooManyAttempts;- String get busy => 'The recipient is busy with another request.';+ // Translations+ String get waiting => 'Waiting for response...';+ String get rejected => 'The recipient has rejected the request.';+ String get tooManyAttempts => _root.web.tooManyAttempts;+ String get busy => 'The recipient is busy with another request.';}// Path: progressPageclass _StringsProgressPageEn {- _StringsProgressPageEn._(this._root);+ _StringsProgressPageEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get titleSending => 'Sending files';- String get titleReceiving => 'Receiving files';- String get savedToGallery => 'Saved in Photos';- late final _StringsProgressPageTotalEn total =- _StringsProgressPageTotalEn._(_root);+ // Translations+ String get titleSending => 'Sending files';+ String get titleReceiving => 'Receiving files';+ String get savedToGallery => 'Saved in Photos';+ late final _StringsProgressPageTotalEn total = _StringsProgressPageTotalEn._(_root);}// Path: webSharePageclass _StringsWebSharePageEn {- _StringsWebSharePageEn._(this._root);-- final Translations _root; // ignore: unused_field-- // Translations- String get title => 'Share via link';- String get loading => 'Starting server...';- String get stopping => 'Stopping server...';- String get error => 'An error occurred while starting the server.';- String openLink({required num n}) =>- (_root.$meta.cardinalResolver ?? PluralResolvers.cardinal('en'))(- n,- one: 'Open this link in your browser:',- other: 'Open one of these links in your browser:',- );- String get requests => 'Requests';- String get noRequests => 'No requests yet.';- String get encryption => _root.settingsTab.network.encryption;- String get autoAccept => 'Automatically accept requests';- String get requirePin => 'Require PIN';- String pinHint({required Object pin}) => 'The PIN is "${pin}"';- String get encryptionHint =>- 'LocalSend uses a self-signed certificate. You need to accept it in your browser.';- String pendingRequests({required Object n}) => 'Pending requests: ${n}';+ _StringsWebSharePageEn._(this._root);++ final Translations _root; // ignore: unused_field++ // Translations+ String get title => 'Share via link';+ String get loading => 'Starting server...';+ String get stopping => 'Stopping server...';+ String get error => 'An error occurred while starting the server.';+ String openLink({required num n}) => (_root.$meta.cardinalResolver ?? PluralResolvers.cardinal('en'))(n,+ one: 'Open this link in your browser:',+ other: 'Open one of these links in your browser:',+ );+ String get requests => 'Requests';+ String get noRequests => 'No requests yet.';+ String get encryption => _root.settingsTab.network.encryption;+ String get autoAccept => 'Automatically accept requests';+ String get requirePin => 'Require PIN';+ String pinHint({required Object pin}) => 'The PIN is "${pin}"';+ String get encryptionHint => 'LocalSend uses a self-signed certificate. You need to accept it in your browser.';+ String pendingRequests({required Object n}) => 'Pending requests: ${n}';}// Path: aboutPageclass _StringsAboutPageEn {- _StringsAboutPageEn._(this._root);+ _StringsAboutPageEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'About LocalSend';- List<String> get description => [- 'LocalSend is a free, open-source app that allows you to securely share files and messages with nearby devices over your local network without needing an internet connection.',- 'This app is available on Android, iOS, macOS, Windows and Linux. You can find all download options on the official homepage.',- ];- String get author => 'Author';- String get contributors => 'Contributors';- String get packagers => 'Packagers';- String get translators => 'Translators';+ // Translations+ String get title => 'About LocalSend';+ List<String> get description => [+ 'LocalSend is a free, open-source app that allows you to securely share files and messages with nearby devices over your local network without needing an internet connection.',+ 'This app is available on Android, iOS, macOS, Windows and Linux. You can find all download options on the official homepage.',+ ];+ String get author => 'Author';+ String get contributors => 'Contributors';+ String get packagers => 'Packagers';+ String get translators => 'Translators';}// Path: donationPageclass _StringsDonationPageEn {- _StringsDonationPageEn._(this._root);+ _StringsDonationPageEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Donate';- String get info =>- 'LocalSend is free, open-source and without any ads. If you like the app, you can support the development with a donation.';- String donate({required Object amount}) => 'Donate ${amount}';- String get thanks => 'Thank you very much!';- String get restore => 'Restore purchase';+ // Translations+ String get title => 'Donate';+ String get info => 'LocalSend is free, open-source and without any ads. If you like the app, you can support the development with a donation.';+ String donate({required Object amount}) => 'Donate ${amount}';+ String get thanks => 'Thank you very much!';+ String get restore => 'Restore purchase';}// Path: changelogPageclass _StringsChangelogPageEn {- _StringsChangelogPageEn._(this._root);+ _StringsChangelogPageEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Changelog';+ // Translations+ String get title => 'Changelog';}// Path: aliasGeneratorclass _StringsAliasGeneratorEn {- _StringsAliasGeneratorEn._(this._root);-- final Translations _root; // ignore: unused_field-- // Translations- List<String> get adjectives => [- 'Adorable',- 'Beautiful',- 'Big',- 'Bright',- 'Clean',- 'Clever',- 'Cool',- 'Cute',- 'Cunning',- 'Determined',- 'Energetic',- 'Efficient',- 'Fantastic',- 'Fast',- 'Fine',- 'Fresh',- 'Good',- 'Gorgeous',- 'Great',- 'Handsome',- 'Hot',- 'Kind',- 'Lovely',- 'Mystic',- 'Neat',- 'Nice',- 'Patient',- 'Pretty',- 'Powerful',- 'Rich',- 'Secret',- 'Smart',- 'Solid',- 'Special',- 'Strategic',- 'Strong',- 'Tidy',- 'Wise',- ];- List<String> get fruits => [- 'Apple',- 'Avocado',- 'Banana',- 'Blackberry',- 'Blueberry',- 'Broccoli',- 'Carrot',- 'Cherry',- 'Coconut',- 'Grape',- 'Lemon',- 'Lettuce',- 'Mango',- 'Melon',- 'Mushroom',- 'Onion',- 'Orange',- 'Papaya',- 'Peach',- 'Pear',- 'Pineapple',- 'Potato',- 'Pumpkin',- 'Raspberry',- 'Strawberry',- 'Tomato',- ];-- /// In some languages, the adjective must be last.- String combination({required Object adjective, required Object fruit}) =>- '${adjective} ${fruit}';+ _StringsAliasGeneratorEn._(this._root);++ final Translations _root; // ignore: unused_field++ // Translations+ List<String> get adjectives => [+ 'Adorable',+ 'Beautiful',+ 'Big',+ 'Bright',+ 'Clean',+ 'Clever',+ 'Cool',+ 'Cute',+ 'Cunning',+ 'Determined',+ 'Energetic',+ 'Efficient',+ 'Fantastic',+ 'Fast',+ 'Fine',+ 'Fresh',+ 'Good',+ 'Gorgeous',+ 'Great',+ 'Handsome',+ 'Hot',+ 'Kind',+ 'Lovely',+ 'Mystic',+ 'Neat',+ 'Nice',+ 'Patient',+ 'Pretty',+ 'Powerful',+ 'Rich',+ 'Secret',+ 'Smart',+ 'Solid',+ 'Special',+ 'Strategic',+ 'Strong',+ 'Tidy',+ 'Wise',+ ];+ List<String> get fruits => [+ 'Apple',+ 'Avocado',+ 'Banana',+ 'Blackberry',+ 'Blueberry',+ 'Broccoli',+ 'Carrot',+ 'Cherry',+ 'Coconut',+ 'Grape',+ 'Lemon',+ 'Lettuce',+ 'Mango',+ 'Melon',+ 'Mushroom',+ 'Onion',+ 'Orange',+ 'Papaya',+ 'Peach',+ 'Pear',+ 'Pineapple',+ 'Potato',+ 'Pumpkin',+ 'Raspberry',+ 'Strawberry',+ 'Tomato',+ ];++ /// In some languages, the adjective must be last.+ String combination({required Object adjective, required Object fruit}) => '${adjective} ${fruit}';}// Path: dialogsclass _StringsDialogsEn {- _StringsDialogsEn._(this._root);-- final Translations _root; // ignore: unused_field-- // Translations- late final _StringsDialogsAddFileEn addFile =- _StringsDialogsAddFileEn._(_root);- late final _StringsDialogsAddressInputEn addressInput =- _StringsDialogsAddressInputEn._(_root);- late final _StringsDialogsCancelSessionEn cancelSession =- _StringsDialogsCancelSessionEn._(_root);- late final _StringsDialogsCannotOpenFileEn cannotOpenFile =- _StringsDialogsCannotOpenFileEn._(_root);- late final _StringsDialogsEncryptionDisabledNoticeEn- encryptionDisabledNotice =- _StringsDialogsEncryptionDisabledNoticeEn._(_root);- late final _StringsDialogsErrorDialogEn errorDialog =- _StringsDialogsErrorDialogEn._(_root);- late final _StringsDialogsFavoriteDialogEn favoriteDialog =- _StringsDialogsFavoriteDialogEn._(_root);- late final _StringsDialogsFavoriteDeleteDialogEn favoriteDeleteDialog =- _StringsDialogsFavoriteDeleteDialogEn._(_root);- late final _StringsDialogsFavoriteEditDialogEn favoriteEditDialog =- _StringsDialogsFavoriteEditDialogEn._(_root);- late final _StringsDialogsFileInfoEn fileInfo =- _StringsDialogsFileInfoEn._(_root);- late final _StringsDialogsFileNameInputEn fileNameInput =- _StringsDialogsFileNameInputEn._(_root);- late final _StringsDialogsHistoryClearDialogEn historyClearDialog =- _StringsDialogsHistoryClearDialogEn._(_root);- late final _StringsDialogsLocalNetworkUnauthorizedEn- localNetworkUnauthorized =- _StringsDialogsLocalNetworkUnauthorizedEn._(_root);- late final _StringsDialogsMessageInputEn messageInput =- _StringsDialogsMessageInputEn._(_root);- late final _StringsDialogsNoFilesEn noFiles =- _StringsDialogsNoFilesEn._(_root);- late final _StringsDialogsNoPermissionEn noPermission =- _StringsDialogsNoPermissionEn._(_root);- late final _StringsDialogsNotAvailableOnPlatformEn notAvailableOnPlatform =- _StringsDialogsNotAvailableOnPlatformEn._(_root);- late final _StringsDialogsQrEn qr = _StringsDialogsQrEn._(_root);- late final _StringsDialogsQuickActionsEn quickActions =- _StringsDialogsQuickActionsEn._(_root);- late final _StringsDialogsQuickSaveNoticeEn quickSaveNotice =- _StringsDialogsQuickSaveNoticeEn._(_root);- late final _StringsDialogsQuickSaveFromFavoritesNoticeEn- quickSaveFromFavoritesNotice =- _StringsDialogsQuickSaveFromFavoritesNoticeEn._(_root);- late final _StringsDialogsPinEn pin = _StringsDialogsPinEn._(_root);- late final _StringsDialogsSendModeHelpEn sendModeHelp =- _StringsDialogsSendModeHelpEn._(_root);- late final _StringsDialogsZoomEn zoom = _StringsDialogsZoomEn._(_root);+ _StringsDialogsEn._(this._root);++ final Translations _root; // ignore: unused_field++ // Translations+ late final _StringsDialogsAddFileEn addFile = _StringsDialogsAddFileEn._(_root);+ late final _StringsDialogsAddressInputEn addressInput = _StringsDialogsAddressInputEn._(_root);+ late final _StringsDialogsCancelSessionEn cancelSession = _StringsDialogsCancelSessionEn._(_root);+ late final _StringsDialogsCannotOpenFileEn cannotOpenFile = _StringsDialogsCannotOpenFileEn._(_root);+ late final _StringsDialogsEncryptionDisabledNoticeEn encryptionDisabledNotice = _StringsDialogsEncryptionDisabledNoticeEn._(_root);+ late final _StringsDialogsErrorDialogEn errorDialog = _StringsDialogsErrorDialogEn._(_root);+ late final _StringsDialogsFavoriteDialogEn favoriteDialog = _StringsDialogsFavoriteDialogEn._(_root);+ late final _StringsDialogsFavoriteDeleteDialogEn favoriteDeleteDialog = _StringsDialogsFavoriteDeleteDialogEn._(_root);+ late final _StringsDialogsFavoriteEditDialogEn favoriteEditDialog = _StringsDialogsFavoriteEditDialogEn._(_root);+ late final _StringsDialogsFileInfoEn fileInfo = _StringsDialogsFileInfoEn._(_root);+ late final _StringsDialogsFileNameInputEn fileNameInput = _StringsDialogsFileNameInputEn._(_root);+ late final _StringsDialogsHistoryClearDialogEn historyClearDialog = _StringsDialogsHistoryClearDialogEn._(_root);+ late final _StringsDialogsLocalNetworkUnauthorizedEn localNetworkUnauthorized = _StringsDialogsLocalNetworkUnauthorizedEn._(_root);+ late final _StringsDialogsMessageInputEn messageInput = _StringsDialogsMessageInputEn._(_root);+ late final _StringsDialogsNoFilesEn noFiles = _StringsDialogsNoFilesEn._(_root);+ late final _StringsDialogsNoPermissionEn noPermission = _StringsDialogsNoPermissionEn._(_root);+ late final _StringsDialogsNotAvailableOnPlatformEn notAvailableOnPlatform = _StringsDialogsNotAvailableOnPlatformEn._(_root);+ late final _StringsDialogsQrEn qr = _StringsDialogsQrEn._(_root);+ late final _StringsDialogsQuickActionsEn quickActions = _StringsDialogsQuickActionsEn._(_root);+ late final _StringsDialogsQuickSaveNoticeEn quickSaveNotice = _StringsDialogsQuickSaveNoticeEn._(_root);+ late final _StringsDialogsQuickSaveFromFavoritesNoticeEn quickSaveFromFavoritesNotice = _StringsDialogsQuickSaveFromFavoritesNoticeEn._(_root);+ late final _StringsDialogsPinEn pin = _StringsDialogsPinEn._(_root);+ late final _StringsDialogsSendModeHelpEn sendModeHelp = _StringsDialogsSendModeHelpEn._(_root);+ late final _StringsDialogsZoomEn zoom = _StringsDialogsZoomEn._(_root);}// Path: sanitizationclass _StringsSanitizationEn {- _StringsSanitizationEn._(this._root);+ _StringsSanitizationEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get empty => 'Filename cannot be empty';- String get invalid => 'Filename contains invalid characters';+ // Translations+ String get empty => 'Filename cannot be empty';+ String get invalid => 'Filename contains invalid characters';}// Path: trayclass _StringsTrayEn {- _StringsTrayEn._(this._root);+ _StringsTrayEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get open => _root.general.open;- String get close => 'Quit LocalSend';- String get closeWindows => 'Exit';+ // Translations+ String get open => _root.general.open;+ String get close => 'Quit LocalSend';+ String get closeWindows => 'Exit';}// Path: webclass _StringsWebEn {- _StringsWebEn._(this._root);+ _StringsWebEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get waiting => _root.sendPage.waiting;- String get enterPin => 'Enter PIN';- String get invalidPin => 'Invalid PIN';- String get tooManyAttempts => 'Too many attempts';- String get rejected => 'Rejected';- String get files => 'Files';- String get fileName => 'File name';- String get size => 'Size';+ // Translations+ String get waiting => _root.sendPage.waiting;+ String get enterPin => 'Enter PIN';+ String get invalidPin => 'Invalid PIN';+ String get tooManyAttempts => 'Too many attempts';+ String get rejected => 'Rejected';+ String get files => 'Files';+ String get fileName => 'File name';+ String get size => 'Size';}// Path: assetPickerclass _StringsAssetPickerEn {- _StringsAssetPickerEn._(this._root);-- final Translations _root; // ignore: unused_field-- // Translations- String get confirm => 'Confirm';- String get cancel => 'Cancel';- String get edit => 'Edit';- String get gifIndicator => 'GIF';- String get loadFailed => 'Load failed';- String get original => 'Origin';- String get preview => 'Preview';- String get select => 'Select';- String get emptyList => 'Empty list';- String get unSupportedAssetType => 'Unsupported file type.';- String get unableToAccessAll => 'Unable to access all files on the device';- String get viewingLimitedAssetsTip =>- 'Only view files and albums accessible to the app.';- String get changeAccessibleLimitedAssets =>- 'Click to update accessible files';- String get accessAllTip =>- 'App can only access some files on the device. Go to system settings and allow the app to access all media on the device.';- String get goToSystemSettings => 'Go to system settings';- String get accessLimitedAssets => 'Continue with limited access';- String get accessiblePathName => 'Accessible files';- String get sTypeAudioLabel => 'Audio';- String get sTypeImageLabel => 'Image';- String get sTypeVideoLabel => 'Video';- String get sTypeOtherLabel => 'Other media';- String get sActionPlayHint => 'play';- String get sActionPreviewHint => 'preview';- String get sActionSelectHint => 'select';- String get sActionSwitchPathLabel => 'change path';- String get sActionUseCameraHint => 'use camera';- String get sNameDurationLabel => 'duration';- String get sUnitAssetCountLabel => 'count';+ _StringsAssetPickerEn._(this._root);++ final Translations _root; // ignore: unused_field++ // Translations+ String get confirm => 'Confirm';+ String get cancel => 'Cancel';+ String get edit => 'Edit';+ String get gifIndicator => 'GIF';+ String get loadFailed => 'Load failed';+ String get original => 'Origin';+ String get preview => 'Preview';+ String get select => 'Select';+ String get emptyList => 'Empty list';+ String get unSupportedAssetType => 'Unsupported file type.';+ String get unableToAccessAll => 'Unable to access all files on the device';+ String get viewingLimitedAssetsTip => 'Only view files and albums accessible to the app.';+ String get changeAccessibleLimitedAssets => 'Click to update accessible files';+ String get accessAllTip => 'App can only access some files on the device. Go to system settings and allow the app to access all media on the device.';+ String get goToSystemSettings => 'Go to system settings';+ String get accessLimitedAssets => 'Continue with limited access';+ String get accessiblePathName => 'Accessible files';+ String get sTypeAudioLabel => 'Audio';+ String get sTypeImageLabel => 'Image';+ String get sTypeVideoLabel => 'Video';+ String get sTypeOtherLabel => 'Other media';+ String get sActionPlayHint => 'play';+ String get sActionPreviewHint => 'preview';+ String get sActionSelectHint => 'select';+ String get sActionSwitchPathLabel => 'change path';+ String get sActionUseCameraHint => 'use camera';+ String get sNameDurationLabel => 'duration';+ String get sUnitAssetCountLabel => 'count';}// Path: receiveTab.infoBoxclass _StringsReceiveTabInfoBoxEn {- _StringsReceiveTabInfoBoxEn._(this._root);+ _StringsReceiveTabInfoBoxEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get ip => 'IP:';- String get port => 'Port:';- String get alias => 'Device name:';+ // Translations+ String get ip => 'IP:';+ String get port => 'Port:';+ String get alias => 'Device name:';}// Path: sendTab.selectionclass _StringsSendTabSelectionEn {- _StringsSendTabSelectionEn._(this._root);+ _StringsSendTabSelectionEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Selection';- String files({required Object files}) => 'Files: ${files}';- String size({required Object size}) => 'Size: ${size}';+ // Translations+ String get title => 'Selection';+ String files({required Object files}) => 'Files: ${files}';+ String size({required Object size}) => 'Size: ${size}';}// Path: sendTab.pickerclass _StringsSendTabPickerEn {- _StringsSendTabPickerEn._(this._root);+ _StringsSendTabPickerEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get file => 'File';- String get folder => 'Folder';- String get media => 'Media';- String get text => 'Text';- String get app => 'App';- String get clipboard => 'Paste';+ // Translations+ String get file => 'File';+ String get folder => 'Folder';+ String get media => 'Media';+ String get text => 'Text';+ String get app => 'App';+ String get clipboard => 'Paste';}// Path: sendTab.sendModesclass _StringsSendTabSendModesEn {- _StringsSendTabSendModesEn._(this._root);+ _StringsSendTabSendModesEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get single => 'Single recipient';- String get multiple => 'Multiple recipients';- String get link => 'Share via link';+ // Translations+ String get single => 'Single recipient';+ String get multiple => 'Multiple recipients';+ String get link => 'Share via link';}// Path: settingsTab.generalclass _StringsSettingsTabGeneralEn {- _StringsSettingsTabGeneralEn._(this._root);-- final Translations _root; // ignore: unused_field-- // Translations- String get title => 'General';- String get brightness => 'Theme';- late final _StringsSettingsTabGeneralBrightnessOptionsEn brightnessOptions =- _StringsSettingsTabGeneralBrightnessOptionsEn._(_root);- String get color => 'Color';- late final _StringsSettingsTabGeneralColorOptionsEn colorOptions =- _StringsSettingsTabGeneralColorOptionsEn._(_root);- String get language => 'Language';- late final _StringsSettingsTabGeneralLanguageOptionsEn languageOptions =- _StringsSettingsTabGeneralLanguageOptionsEn._(_root);- String get saveWindowPlacement => 'Save window position after quit';- String get saveWindowPlacementWindows => 'Save window position after exit';- String get minimizeToTray =>- 'Minimize to the System Tray/Menu Bar when closing';- String get launchAtStartup => 'Autostart after login';- String get launchMinimized => 'Autostart: Start hidden';- String get showInContextMenu => 'Show LocalSend in context menu';- String get animations => 'Animations';+ _StringsSettingsTabGeneralEn._(this._root);++ final Translations _root; // ignore: unused_field++ // Translations+ String get title => 'General';+ String get brightness => 'Theme';+ late final _StringsSettingsTabGeneralBrightnessOptionsEn brightnessOptions = _StringsSettingsTabGeneralBrightnessOptionsEn._(_root);+ String get color => 'Color';+ late final _StringsSettingsTabGeneralColorOptionsEn colorOptions = _StringsSettingsTabGeneralColorOptionsEn._(_root);+ String get language => 'Language';+ late final _StringsSettingsTabGeneralLanguageOptionsEn languageOptions = _StringsSettingsTabGeneralLanguageOptionsEn._(_root);+ String get saveWindowPlacement => 'Save window position after quit';+ String get saveWindowPlacementWindows => 'Save window position after exit';+ String get minimizeToTray => 'Minimize to the System Tray/Menu Bar when closing';+ String get launchAtStartup => 'Autostart after login';+ String get launchMinimized => 'Autostart: Start hidden';+ String get showInContextMenu => 'Show LocalSend in context menu';+ String get animations => 'Animations';}// Path: settingsTab.receiveclass _StringsSettingsTabReceiveEn {- _StringsSettingsTabReceiveEn._(this._root);+ _StringsSettingsTabReceiveEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Receive';- String get quickSave => _root.general.quickSave;- String get quickSaveFromFavorites => _root.general.quickSaveFromFavorites;- String get requirePin => _root.webSharePage.requirePin;- String get autoFinish => 'Auto Finish';- String get destination => 'Save to folder';- String get downloads => '(Downloads)';- String get saveToGallery => 'Save media to gallery';- String get saveToHistory => 'Save to history';+ // Translations+ String get title => 'Receive';+ String get quickSave => _root.general.quickSave;+ String get quickSaveFromFavorites => _root.general.quickSaveFromFavorites;+ String get requirePin => _root.webSharePage.requirePin;+ String get autoFinish => 'Auto Finish';+ String get destination => 'Save to folder';+ String get downloads => '(Downloads)';+ String get saveToGallery => 'Save media to gallery';+ String get saveToHistory => 'Save to history';}// Path: settingsTab.sendclass _StringsSettingsTabSendEn {- _StringsSettingsTabSendEn._(this._root);+ _StringsSettingsTabSendEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Send';- String get shareViaLinkAutoAccept =>- 'Automatically accept requests in "Share via link" mode';+ // Translations+ String get title => 'Send';+ String get shareViaLinkAutoAccept => 'Automatically accept requests in "Share via link" mode';}// Path: settingsTab.networkclass _StringsSettingsTabNetworkEn {- _StringsSettingsTabNetworkEn._(this._root);-- final Translations _root; // ignore: unused_field-- // Translations- String get title => 'Network';- String get needRestart => 'Restart the server to apply the settings!';- String get server => 'Server';- String get alias => 'Device name';- String get deviceType => 'Device type';- String get deviceModel => 'Device model';- String get port => 'Port';- String get discoveryTimeout => 'Discovery Timeout';- String get useSystemName => 'Use system name';- String get generateRandomAlias => 'Generate random alias';- String portWarning({required Object defaultPort}) =>- 'You might not be detected by other devices because you are using a custom port. (default: ${defaultPort})';- String get encryption => 'Encryption';- String get multicastGroup => 'Multicast address';- String multicastGroupWarning({required Object defaultMulticast}) =>- 'You might not be detected by other devices because you are using a custom multicast address. (default: ${defaultMulticast})';+ _StringsSettingsTabNetworkEn._(this._root);++ final Translations _root; // ignore: unused_field++ // Translations+ String get title => 'Network';+ String get needRestart => 'Restart the server to apply the settings!';+ String get server => 'Server';+ String get alias => 'Device name';+ String get deviceType => 'Device type';+ String get deviceModel => 'Device model';+ String get port => 'Port';+ String get discoveryTimeout => 'Discovery Timeout';+ String get useSystemName => 'Use system name';+ String get generateRandomAlias => 'Generate random alias';+ String portWarning({required Object defaultPort}) => 'You might not be detected by other devices because you are using a custom port. (default: ${defaultPort})';+ String get encryption => 'Encryption';+ String get multicastGroup => 'Multicast address';+ String multicastGroupWarning({required Object defaultMulticast}) => 'You might not be detected by other devices because you are using a custom multicast address. (default: ${defaultMulticast})';}// Path: settingsTab.otherclass _StringsSettingsTabOtherEn {- _StringsSettingsTabOtherEn._(this._root);+ _StringsSettingsTabOtherEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Other';- String get support => 'Support LocalSend';- String get donate => 'Donate';- String get privacyPolicy => 'Privacy Policy';- String get termsOfUse => 'Terms of Use';+ // Translations+ String get title => 'Other';+ String get support => 'Support LocalSend';+ String get donate => 'Donate';+ String get privacyPolicy => 'Privacy Policy';+ String get termsOfUse => 'Terms of Use';}// Path: troubleshootPage.firewallclass _StringsTroubleshootPageFirewallEn {- _StringsTroubleshootPageFirewallEn._(this._root);+ _StringsTroubleshootPageFirewallEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get symptom =>- 'This device can send files to other devices but other devices cannot send files to this device.';- String solution({required Object port}) =>- 'This is most likely a firewall issue. You can solve this by allowing incoming connections (UDP and TCP) on port ${port}.';- String get openFirewall => 'Open Firewall';+ // Translations+ String get symptom => 'This device can send files to other devices but other devices cannot send files to this device.';+ String solution({required Object port}) => 'This is most likely a firewall issue. You can solve this by allowing incoming connections (UDP and TCP) on port ${port}.';+ String get openFirewall => 'Open Firewall';}// Path: troubleshootPage.noDiscoveryclass _StringsTroubleshootPageNoDiscoveryEn {- _StringsTroubleshootPageNoDiscoveryEn._(this._root);+ _StringsTroubleshootPageNoDiscoveryEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get symptom => 'This device cannot discover other devices.';- String get solution =>- 'Please make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future.';+ // Translations+ String get symptom => 'This device cannot discover other devices.';+ String get solution => 'Please make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future.';}// Path: troubleshootPage.noConnectionclass _StringsTroubleshootPageNoConnectionEn {- _StringsTroubleshootPageNoConnectionEn._(this._root);+ _StringsTroubleshootPageNoConnectionEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get symptom =>- 'Both devices cannot discover each other nor can they share files.';- String get solution =>- 'Does the problem exist on both sides? If so, you need to make sure that both devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). The Wi-Fi network may not allow communication between participants (AP isolation). In this case, this option must be enabled on the router.';+ // Translations+ String get symptom => 'Both devices cannot discover each other nor can they share files.';+ String get solution => 'Does the problem exist on both sides? If so, you need to make sure that both devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). The Wi-Fi network may not allow communication between participants (AP isolation). In this case, this option must be enabled on the router.';}// Path: receiveHistoryPage.entryActionsclass _StringsReceiveHistoryPageEntryActionsEn {- _StringsReceiveHistoryPageEntryActionsEn._(this._root);+ _StringsReceiveHistoryPageEntryActionsEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get open => 'Open file';- String get showInFolder => 'Show in folder';- String get info => 'Information';- String get deleteFromHistory => 'Delete from history';+ // Translations+ String get open => 'Open file';+ String get showInFolder => 'Show in folder';+ String get info => 'Information';+ String get deleteFromHistory => 'Delete from history';}// Path: progressPage.totalclass _StringsProgressPageTotalEn {- _StringsProgressPageTotalEn._(this._root);+ _StringsProgressPageTotalEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- late final _StringsProgressPageTotalTitleEn title =- _StringsProgressPageTotalTitleEn._(_root);- String count({required Object curr, required Object n}) =>- 'Files: ${curr} / ${n}';- String size({required Object curr, required Object n}) =>- 'Size: ${curr} / ${n}';- String speed({required Object speed}) => 'Speed: ${speed}/s';+ // Translations+ late final _StringsProgressPageTotalTitleEn title = _StringsProgressPageTotalTitleEn._(_root);+ String count({required Object curr, required Object n}) => 'Files: ${curr} / ${n}';+ String size({required Object curr, required Object n}) => 'Size: ${curr} / ${n}';+ String speed({required Object speed}) => 'Speed: ${speed}/s';}// Path: dialogs.addFileclass _StringsDialogsAddFileEn {- _StringsDialogsAddFileEn._(this._root);+ _StringsDialogsAddFileEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Add to selection';- String get content => 'What do you want to add?';+ // Translations+ String get title => 'Add to selection';+ String get content => 'What do you want to add?';}// Path: dialogs.addressInputclass _StringsDialogsAddressInputEn {- _StringsDialogsAddressInputEn._(this._root);+ _StringsDialogsAddressInputEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Enter address';- String get hashtag => 'Hashtag';- String get ip => 'IP Address';- String get recentlyUsed => 'Recently used: ';+ // Translations+ String get title => 'Enter address';+ String get hashtag => 'Hashtag';+ String get ip => 'IP Address';+ String get recentlyUsed => 'Recently used: ';}// Path: dialogs.cancelSessionclass _StringsDialogsCancelSessionEn {- _StringsDialogsCancelSessionEn._(this._root);+ _StringsDialogsCancelSessionEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Cancel files transfer';- String get content => 'Do you really want to cancel the files transfer?';+ // Translations+ String get title => 'Cancel files transfer';+ String get content => 'Do you really want to cancel the files transfer?';}// Path: dialogs.cannotOpenFileclass _StringsDialogsCannotOpenFileEn {- _StringsDialogsCannotOpenFileEn._(this._root);+ _StringsDialogsCannotOpenFileEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Cannot open file';- String content({required Object file}) =>- 'Could not open "${file}". Has this file been moved, renamed or deleted?';+ // Translations+ String get title => 'Cannot open file';+ String content({required Object file}) => 'Could not open "${file}". Has this file been moved, renamed or deleted?';}// Path: dialogs.encryptionDisabledNoticeclass _StringsDialogsEncryptionDisabledNoticeEn {- _StringsDialogsEncryptionDisabledNoticeEn._(this._root);+ _StringsDialogsEncryptionDisabledNoticeEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Encryption disabled';- String get content =>- 'Communication now takes place via the unencrypted HTTP protocol. To use HTTPS protocol, enable encryption again.';+ // Translations+ String get title => 'Encryption disabled';+ String get content => 'Communication now takes place via the unencrypted HTTP protocol. To use HTTPS protocol, enable encryption again.';}// Path: dialogs.errorDialogclass _StringsDialogsErrorDialogEn {- _StringsDialogsErrorDialogEn._(this._root);+ _StringsDialogsErrorDialogEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => _root.general.error;+ // Translations+ String get title => _root.general.error;}// Path: dialogs.favoriteDialogclass _StringsDialogsFavoriteDialogEn {- _StringsDialogsFavoriteDialogEn._(this._root);+ _StringsDialogsFavoriteDialogEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Favorites';- String get noFavorites => 'No favorite devices yet.';- String get addFavorite => 'Add';+ // Translations+ String get title => 'Favorites';+ String get noFavorites => 'No favorite devices yet.';+ String get addFavorite => 'Add';}// Path: dialogs.favoriteDeleteDialogclass _StringsDialogsFavoriteDeleteDialogEn {- _StringsDialogsFavoriteDeleteDialogEn._(this._root);+ _StringsDialogsFavoriteDeleteDialogEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Delete from favorites';- String content({required Object name}) =>- 'Do you really want to delete from favorites "${name}"?';+ // Translations+ String get title => 'Delete from favorites';+ String content({required Object name}) => 'Do you really want to delete from favorites "${name}"?';}// Path: dialogs.favoriteEditDialogclass _StringsDialogsFavoriteEditDialogEn {- _StringsDialogsFavoriteEditDialogEn._(this._root);+ _StringsDialogsFavoriteEditDialogEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get titleAdd => 'Add to favorites';- String get titleEdit => 'Settings';- String get name => 'Device name';- String get auto => '(auto)';- String get ip => 'IP Address';- String get port => 'Port';+ // Translations+ String get titleAdd => 'Add to favorites';+ String get titleEdit => 'Settings';+ String get name => 'Device name';+ String get auto => '(auto)';+ String get ip => 'IP Address';+ String get port => 'Port';}// Path: dialogs.fileInfoclass _StringsDialogsFileInfoEn {- _StringsDialogsFileInfoEn._(this._root);+ _StringsDialogsFileInfoEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'File information';- String get fileName => 'File name:';- String get path => 'Path:';- String get size => 'Size:';- String get sender => 'Sender:';- String get time => 'Time:';+ // Translations+ String get title => 'File information';+ String get fileName => 'File name:';+ String get path => 'Path:';+ String get size => 'Size:';+ String get sender => 'Sender:';+ String get time => 'Time:';}// Path: dialogs.fileNameInputclass _StringsDialogsFileNameInputEn {- _StringsDialogsFileNameInputEn._(this._root);+ _StringsDialogsFileNameInputEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Enter file name';- String original({required Object original}) => 'Original: ${original}';+ // Translations+ String get title => 'Enter file name';+ String original({required Object original}) => 'Original: ${original}';}// Path: dialogs.historyClearDialogclass _StringsDialogsHistoryClearDialogEn {- _StringsDialogsHistoryClearDialogEn._(this._root);+ _StringsDialogsHistoryClearDialogEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Clear history';- String get content => 'Do you really want to delete the entire history?';+ // Translations+ String get title => 'Clear history';+ String get content => 'Do you really want to delete the entire history?';}// Path: dialogs.localNetworkUnauthorizedclass _StringsDialogsLocalNetworkUnauthorizedEn {- _StringsDialogsLocalNetworkUnauthorizedEn._(this._root);+ _StringsDialogsLocalNetworkUnauthorizedEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => _root.dialogs.noPermission.title;- String get description =>- 'LocalSend can\'t find other devices without having the permission to scan the local network. Please grant this permission in the settings.';- String get gotoSettings => 'Settings';+ // Translations+ String get title => _root.dialogs.noPermission.title;+ String get description => 'LocalSend can\'t find other devices without having the permission to scan the local network. Please grant this permission in the settings.';+ String get gotoSettings => 'Settings';}// Path: dialogs.messageInputclass _StringsDialogsMessageInputEn {- _StringsDialogsMessageInputEn._(this._root);+ _StringsDialogsMessageInputEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Type message';- String get multiline => 'Multiline';+ // Translations+ String get title => 'Type message';+ String get multiline => 'Multiline';}// Path: dialogs.noFilesclass _StringsDialogsNoFilesEn {- _StringsDialogsNoFilesEn._(this._root);+ _StringsDialogsNoFilesEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'No files selected';- String get content => 'Please select at least one file.';+ // Translations+ String get title => 'No files selected';+ String get content => 'Please select at least one file.';}// Path: dialogs.noPermissionclass _StringsDialogsNoPermissionEn {- _StringsDialogsNoPermissionEn._(this._root);+ _StringsDialogsNoPermissionEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'No permission';- String get content =>- 'You have not granted the necessary permissions. Please grant them in the settings.';+ // Translations+ String get title => 'No permission';+ String get content => 'You have not granted the necessary permissions. Please grant them in the settings.';}// Path: dialogs.notAvailableOnPlatformclass _StringsDialogsNotAvailableOnPlatformEn {- _StringsDialogsNotAvailableOnPlatformEn._(this._root);+ _StringsDialogsNotAvailableOnPlatformEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Not available';- String get content => 'This feature is only available on:';+ // Translations+ String get title => 'Not available';+ String get content => 'This feature is only available on:';}// Path: dialogs.qrclass _StringsDialogsQrEn {- _StringsDialogsQrEn._(this._root);+ _StringsDialogsQrEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'QR Code';+ // Translations+ String get title => 'QR Code';}// Path: dialogs.quickActionsclass _StringsDialogsQuickActionsEn {- _StringsDialogsQuickActionsEn._(this._root);+ _StringsDialogsQuickActionsEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Quick Actions';- String get counter => 'Counter';- String get prefix => 'Prefix';- String get padZero => 'Pad with zeros';- String get sortBeforeCount => 'Sort alphabetically beforehand (A-Z)';- String get random => 'Random';+ // Translations+ String get title => 'Quick Actions';+ String get counter => 'Counter';+ String get prefix => 'Prefix';+ String get padZero => 'Pad with zeros';+ String get sortBeforeCount => 'Sort alphabetically beforehand (A-Z)';+ String get random => 'Random';}// Path: dialogs.quickSaveNoticeclass _StringsDialogsQuickSaveNoticeEn {- _StringsDialogsQuickSaveNoticeEn._(this._root);+ _StringsDialogsQuickSaveNoticeEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => _root.general.quickSave;- String get content =>- 'File requests are now accepted automatically. Be aware that everyone on the local network can send you files.';+ // Translations+ String get title => _root.general.quickSave;+ String get content => 'File requests are now accepted automatically. Be aware that everyone on the local network can send you files.';}// Path: dialogs.quickSaveFromFavoritesNoticeclass _StringsDialogsQuickSaveFromFavoritesNoticeEn {- _StringsDialogsQuickSaveFromFavoritesNoticeEn._(this._root);+ _StringsDialogsQuickSaveFromFavoritesNoticeEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => _root.general.quickSaveFromFavorites;- String get content =>- 'File requests are now accepted automatically from devices in your favorites list.';+ // Translations+ String get title => _root.general.quickSaveFromFavorites;+ String get content => 'File requests are now accepted automatically from devices in your favorites list.';}// Path: dialogs.pinclass _StringsDialogsPinEn {- _StringsDialogsPinEn._(this._root);+ _StringsDialogsPinEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Enter PIN';+ // Translations+ String get title => 'Enter PIN';}// Path: dialogs.sendModeHelpclass _StringsDialogsSendModeHelpEn {- _StringsDialogsSendModeHelpEn._(this._root);+ _StringsDialogsSendModeHelpEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'Send modes';- String get single =>- 'Sends files to one recipient. Selection will be cleared after finished files transfer.';- String get multiple =>- 'Sends files to multiple recipients. Selection will not be cleared after finished files transfer.';- String get link =>- 'Recipients who do not have LocalSend installed can download the selected files by opening the link in their browser.';+ // Translations+ String get title => 'Send modes';+ String get single => 'Sends files to one recipient. Selection will be cleared after finished files transfer.';+ String get multiple => 'Sends files to multiple recipients. Selection will not be cleared after finished files transfer.';+ String get link => 'Recipients who do not have LocalSend installed can download the selected files by opening the link in their browser.';}// Path: dialogs.zoomclass _StringsDialogsZoomEn {- _StringsDialogsZoomEn._(this._root);+ _StringsDialogsZoomEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get title => 'URL';+ // Translations+ String get title => 'URL';}// Path: settingsTab.general.brightnessOptionsclass _StringsSettingsTabGeneralBrightnessOptionsEn {- _StringsSettingsTabGeneralBrightnessOptionsEn._(this._root);+ _StringsSettingsTabGeneralBrightnessOptionsEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get system => 'System';- String get dark => 'Dark';- String get light => 'Light';+ // Translations+ String get system => 'System';+ String get dark => 'Dark';+ String get light => 'Light';}// Path: settingsTab.general.colorOptionsclass _StringsSettingsTabGeneralColorOptionsEn {- _StringsSettingsTabGeneralColorOptionsEn._(this._root);+ _StringsSettingsTabGeneralColorOptionsEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get system => 'System';- String get oled => 'OLED';+ // Translations+ String get system => 'System';+ String get oled => 'OLED';}// Path: settingsTab.general.languageOptionsclass _StringsSettingsTabGeneralLanguageOptionsEn {- _StringsSettingsTabGeneralLanguageOptionsEn._(this._root);+ _StringsSettingsTabGeneralLanguageOptionsEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String get system => 'System';+ // Translations+ String get system => 'System';}// Path: progressPage.total.titleclass _StringsProgressPageTotalTitleEn {- _StringsProgressPageTotalTitleEn._(this._root);+ _StringsProgressPageTotalTitleEn._(this._root);- final Translations _root; // ignore: unused_field+ final Translations _root; // ignore: unused_field- // Translations- String sending({required Object time}) => 'Total progress (${time})';- String get finishedError => 'Finished with error';- String get canceledSender => 'Canceled by sender';- String get canceledReceiver => 'Canceled by receiver';+ // Translations+ String sending({required Object time}) => 'Total progress (${time})';+ String get finishedError => 'Finished with error';+ String get canceledSender => 'Canceled by sender';+ String get canceledReceiver => 'Canceled by receiver';}diff --git a/app/lib/gen/strings_id.g.dart b/app/lib/gen/strings_id.g.dartindex 71dacb16..95c31e02 100644--- a/app/lib/gen/strings_id.g.dart+++ b/app/lib/gen/strings_id.g.dart@@ -77,11 +77,11 @@ class _StringsGeneralId extends _StringsGeneralEn {@override String get example => 'Contoh';@override String get files => 'File';@override String get finished => 'Selesai';- @override String get hide => 'sembunyi';+ @override String get hide => 'Sembunyikan';@override String get off => 'Mati';- @override String get offline => 'Luring';+ @override String get offline => 'Offline';@override String get on => 'Hidup';- @override String get online => 'Daring';+ @override String get online => 'Online';@override String get open => 'Buka';@override String get queue => 'Antrean';@override String get quickSave => 'Penyimpanan Cepat';@@ -120,10 +120,10 @@ class _StringsSendTabId extends _StringsSendTabEn {@override late final _StringsSendTabSelectionId selection = _StringsSendTabSelectionId._(_root);@override late final _StringsSendTabPickerId picker = _StringsSendTabPickerId._(_root);@override String get shareIntentInfo => 'Anda juga dapat menggunakan fitur "Berbagi" untuk memilih berkas dengan lebih mudah.';- @override String get nearbyDevices => 'Perangkat terdekat';+ @override String get nearbyDevices => 'Perangkat Terdekat';@override String get thisDevice => 'Perangkat ini';@override String get scan => 'Cari perangkat';- @override String get sendMode => 'Mode pengiriman';+ @override String get sendMode => 'Mode Pengiriman';@override late final _StringsSendTabSendModesId sendModes = _StringsSendTabSendModesId._(_root);@override String get sendModeHelp => 'Penjelasan';@override String get help => 'Pastikan perangkat terkoneksi pada jaringan yang sama.';@@ -153,7 +153,7 @@ class _StringsTroubleshootPageId extends _StringsTroubleshootPageEn {@override final _StringsId _root; // ignore: unused_field// Translations- @override String get title => 'Perbaikan masalah';+ @override String get title => 'Perbaikan Masalah';@override String get subTitle => 'Aplikasi ini tidak berfungsi seperti yang diharapkan? Di sini Anda dapat menemukan solusi umum.';@override String get solution => 'Solusi:';@override String get fixButton => 'Perbaiki secara otomatis';@@ -235,7 +235,7 @@ class _StringsSendPageId extends _StringsSendPageEn {@override final _StringsId _root; // ignore: unused_field// Translations- @override String get waiting => 'Menunggu respon...';+ @override String get waiting => 'Menunggu respons...';@override String get rejected => 'Penerima menolak permintaan.';@override String get busy => 'Penerima sedang sibuk dengan permintaan lain.';}@@ -247,8 +247,8 @@ class _StringsProgressPageId extends _StringsProgressPageEn {@override final _StringsId _root; // ignore: unused_field// Translations- @override String get titleSending => 'Mengirim berkas';- @override String get titleReceiving => 'Menerima berkas';+ @override String get titleSending => 'Mengirim Berkas';+ @override String get titleReceiving => 'Menerima Berkas';@override String get savedToGallery => 'Simpan ke galeri';@override late final _StringsProgressPageTotalId total = _StringsProgressPageTotalId._(_root);}@@ -260,13 +260,13 @@ class _StringsWebSharePageId extends _StringsWebSharePageEn {@override final _StringsId _root; // ignore: unused_field// Translations- @override String get title => 'Bagikan melalui tautan';+ @override String get title => 'Bagikan melalui Tautan';@override String get loading => 'Memulai server...';@override String get stopping => 'Menghentikan server...';@override String get error => 'Terjadi kesalahan saat memulai server.';@override String openLink({required num n}) => (_root.$meta.cardinalResolver ?? PluralResolvers.cardinal('id'))(n,- one: 'Buka tautan ini di browser:',- other: 'Buka salah satu tautan ini di browser:',+ one: 'Buka tautan ini di peramban:',+ other: 'Buka salah satu tautan ini di peramban:',);@override String get requests => 'Permintaan';@override String get noRequests => 'Belum ada permintaan.';@@ -285,12 +285,12 @@ class _StringsAboutPageId extends _StringsAboutPageEn {// Translations@override String get title => 'Tentang LocalSend';@override List<String> get description => [- 'LocalSend merupakan aplikasi gratis, open-source (terbuka) yang dapat membantu anda untuk membagikan berkas dan pesan secara aman dengan perangkat terdekat lain melalui jaringan lokal tanpa perlu koneksi internet atau paket data.',- 'Aplikasi ini tersedia untuk Android, iOS, macOS, Windows dan Linux. Anda dapat menemukan semua pilihan unduhan pada halaman resmi kami.',+ 'LocalSend adalah aplikasi gratis, open-source yang memungkinkan Anda untuk membagikan berkas dan pesan secara aman dengan perangkat lain yang terhubung pada jaringan lokal tanpa memerlukan koneksi internet atau paket data.',+ 'Aplikasi ini tersedia untuk Android, iOS, macOS, Windows, dan Linux. Semua opsi unduhan dapat ditemukan di situs resmi kami.',];@override String get author => 'Pencipta';@override String get contributors => 'Daftar Kontributor';- @override String get translators => 'Daftar Terjemahan';+ @override String get translators => 'Daftar Penerjemah';}// Path: donationPage@@ -301,7 +301,7 @@ class _StringsDonationPageId extends _StringsDonationPageEn {// Translations@override String get title => 'Donasi';- @override String get info => 'LocalSend merupakan aplikasi gratis, terbuka dan bebas iklan. Jika anda menyukai aplikasi ini, anda dapat membantu dengan cara memberikan donasi.';+ @override String get info => 'LocalSend adalah aplikasi gratis, terbuka, dan bebas iklan. Jika Anda menyukai aplikasi ini, Anda bisa mendukung kami dengan memberikan donasi.';@override String donate({required Object amount}) => 'Donasi ${amount}';@override String get thanks => 'Terima kasih banyak!';@override String get restore => 'Kembalikan dana';@@ -367,7 +367,7 @@ class _StringsAliasGeneratorId extends _StringsAliasGeneratorEn {@override List<String> get fruits => ['Apel','Alpukat',- 'Pisan',+ 'Pisang','Blackberry','Blueberry','Brokoli',@@ -388,7 +388,7 @@ class _StringsAliasGeneratorId extends _StringsAliasGeneratorEn {'Nanas','Kentang','Labu',- 'Rasberi',+ 'Raspberi','Stroberi','Tomat',];@@ -473,7 +473,7 @@ class _StringsAssetPickerId extends _StringsAssetPickerEn {// Translations@override String get confirm => 'Konfirmasi';@override String get cancel => 'Batal';- @override String get edit => 'Edit';+ @override String get edit => 'Ubah';@override String get gifIndicator => 'GIF';@override String get loadFailed => 'Gagal memuat';@override String get original => 'Asli';@@ -492,12 +492,12 @@ class _StringsAssetPickerId extends _StringsAssetPickerEn {@override String get sTypeImageLabel => 'Gambar';@override String get sTypeVideoLabel => 'Video';@override String get sTypeOtherLabel => 'Media lainnya';- @override String get sActionPlayHint => 'mainkan';- @override String get sActionPreviewHint => 'pratinjau';- @override String get sActionSelectHint => 'pilih';- @override String get sActionSwitchPathLabel => 'ubah jalur';- @override String get sActionUseCameraHint => 'gunakan kamera';- @override String get sNameDurationLabel => 'durasi';+ @override String get sActionPlayHint => 'Putar';+ @override String get sActionPreviewHint => 'Pratinjau';+ @override String get sActionSelectHint => 'Pilih';+ @override String get sActionSwitchPathLabel => 'Ubah jalur';+ @override String get sActionUseCameraHint => 'Gunakan kamera';+ @override String get sNameDurationLabel => 'Durasi';@override String get sUnitAssetCountLabel => 'jumlah';}@@ -549,7 +549,7 @@ class _StringsSendTabSendModesId extends _StringsSendTabSendModesEn {// Translations@override String get single => 'Penerima tunggal';@override String get multiple => 'Penerima ganda';- @override String get link => 'Bagikan melalui tautan';+ @override String get link => 'Bagikan melalui Tautan';}// Path: settingsTab.general@@ -569,7 +569,7 @@ class _StringsSettingsTabGeneralId extends _StringsSettingsTabGeneralEn {@override String get saveWindowPlacement => 'Keluar: Simpan posisi jendela';@override String get minimizeToTray => 'Keluar: Perkecil ke pojok bawah';@override String get launchAtStartup => 'Mulai otomatis setelah masuk';- @override String get launchMinimized => 'Mulai otomatis: Berjalan di belakang';+ @override String get launchMinimized => 'Mulai otomatis: Berjalan di latar belakang';@override String get animations => 'Animasi';}@@ -596,8 +596,8 @@ class _StringsSettingsTabSendId extends _StringsSettingsTabSendEn {@override final _StringsId _root; // ignore: unused_field// Translations- @override String get title => 'Send';- @override String get shareViaLinkAutoAccept => 'Share via link: Auto accept';+ @override String get title => 'Kirim';+ @override String get shareViaLinkAutoAccept => 'Bagikan melalui tautan: Terima otomatis';}// Path: settingsTab.network@@ -615,10 +615,10 @@ class _StringsSettingsTabNetworkId extends _StringsSettingsTabNetworkEn {@override String get deviceModel => 'Model Perangkat';@override String get port => 'Port';@override String get discoveryTimeout => 'Waktu penemuan habis';- @override String portWarning({required Object defaultPort}) => 'Anda mungkin tidak terdeteksi oleh perangkat lain dikarenakan anda menggunakan port kustom. (bawaan: ${defaultPort})';+ @override String portWarning({required Object defaultPort}) => 'Anda mungkin tidak terdeteksi oleh perangkat lain karena menggunakan port kustom. (bawaan: ${defaultPort})';@override String get encryption => 'Enkripsi';@override String get multicastGroup => 'Multicast';- @override String multicastGroupWarning({required Object defaultMulticast}) => 'Anda mungkin tidak terdeteksi oleh perangkat lain karena Anda menggunakan alamat multicast khusus. (bawaan: ${defaultMulticast})';+ @override String multicastGroupWarning({required Object defaultMulticast}) => 'Anda mungkin tidak terdeteksi oleh perangkat lain karena menggunakan alamat multicast khusus. (bawaan: ${defaultMulticast})';}// Path: settingsTab.other@@ -630,7 +630,7 @@ class _StringsSettingsTabOtherId extends _StringsSettingsTabOtherEn {// Translations@override String get title => 'Lainnya';@override String get support => 'Dukung LocalSend';- @override String get donate => 'Berikan Donasi';+ @override String get donate => 'Donasi';@override String get privacyPolicy => 'Kebijakan Privasi';@override String get termsOfUse => 'Syarat dan Ketentuan Penggunaan';}@@ -655,7 +655,7 @@ class _StringsTroubleshootPageNoConnectionId extends _StringsTroubleshootPageNoC// Translations@override String get symptom => 'Kedua perangkat tidak dapat saling menemukan atau berbagi berkas.';- @override String get solution => 'Masalah ada di kedua sisi? Maka Anda perlu memastikan bahwa kedua perangkat berada dalam jaringan wifi yang sama dan berbagi konfigurasi yang sama (port, alamat multicast, enkripsi). Wifi mungkin tidak memperbolehkan komunikasi antara peserta. Dalam hal ini, opsi ini harus diaktifkan pada router.';+ @override String get solution => 'Pastikan kedua perangkat berada dalam jaringan wifi yang sama dan berbagi konfigurasi yang sama (port, alamat multicast, enkripsi). Jika wifi tidak memperbolehkan komunikasi, aktifkan opsi ini pada router.';}// Path: receiveHistoryPage.entryActions@@ -690,7 +690,7 @@ class _StringsDialogsAddFileId extends _StringsDialogsAddFileEn {@override final _StringsId _root; // ignore: unused_field// Translations- @override String get title => 'Tambah dalam pilihan';+ @override String get title => 'Tambahkan dalam pilihan';@override String get content => 'Apa yang ingin ditambahkan?';}@@ -701,10 +701,10 @@ class _StringsDialogsAddressInputId extends _StringsDialogsAddressInputEn {@override final _StringsId _root; // ignore: unused_field// Translations- @override String get title => 'Masukan Alamat';+ @override String get title => 'Masukkan Alamat';@override String get hashtag => 'Tagar';@override String get ip => 'Alamat IP';- @override String get recentlyUsed => 'Baru saja digunakan: ';+ @override String get recentlyUsed => 'Baru saja digunakan:';}// Path: dialogs.cancelSession@@ -758,7 +758,7 @@ class _StringsDialogsFavoriteDialogId extends _StringsDialogsFavoriteDialogEn {// Translations@override String get title => 'Favorit';- @override String get noFavorites => 'Tidak adan perangkat difavoritkan.';+ @override String get noFavorites => 'Tidak ada perangkat difavoritkan.';@override String get addFavorite => 'Tambah';}@@ -795,8 +795,8 @@ class _StringsDialogsFileInfoId extends _StringsDialogsFileInfoEn {@override final _StringsId _root; // ignore: unused_field// Translations- @override String get title => 'Informasi berkas';- @override String get fileName => 'Nama berkas:';+ @override String get title => 'Informasi Berkas';+ @override String get fileName => 'Nama Berkas:';@override String get path => 'Jalur:';@override String get size => 'Ukuran:';@override String get sender => 'Pengirim:';@@ -810,7 +810,7 @@ class _StringsDialogsFileNameInputId extends _StringsDialogsFileNameInputEn {@override final _StringsId _root; // ignore: unused_field// Translations- @override String get title => 'Masukan nama berkas';+ @override String get title => 'Masukkan nama berkas';@override String original({required Object original}) => 'Asli: ${original}';}@@ -821,7 +821,7 @@ class _StringsDialogsHistoryClearDialogId extends _StringsDialogsHistoryClearDia@override final _StringsId _root; // ignore: unused_field// Translations- @override String get title => 'Hapus riwayat';+ @override String get title => 'Hapus Riwayat';@override String get content => 'Anda yakin ingin menghapus seluruh riwayat?';}@@ -845,7 +845,7 @@ class _StringsDialogsMessageInputId extends _StringsDialogsMessageInputEn {// Translations@override String get title => 'Ketik pesan';- @override String get multiline => 'Baris ganda';+ @override String get multiline => 'Baris Ganda';}// Path: dialogs.noFiles@@ -898,10 +898,10 @@ class _StringsDialogsQuickActionsId extends _StringsDialogsQuickActionsEn {@override final _StringsId _root; // ignore: unused_field// Translations- @override String get title => 'Tindakan Cepat';+ @override String get title => 'Aksi Cepat';@override String get counter => 'Penghitung';@override String get prefix => 'Awalan';- @override String get padZero => 'Pad dengan nol';+ @override String get padZero => 'Isi dengan nol';@override String get sortBeforeCount => 'Urutkan berdasarkan abjad sebelumnya';@override String get random => 'Acak';}@@ -924,10 +924,10 @@ class _StringsDialogsSendModeHelpId extends _StringsDialogsSendModeHelpEn {@override final _StringsId _root; // ignore: unused_field// Translations- @override String get title => 'Mode pengiriman';+ @override String get title => 'Mode Pengiriman';@override String get single => 'Mengirim berkas ke satu penerima. Pilihan akan dihapus setelah selesai membagikan berkas.';@override String get multiple => 'Mengirim berkas ke beberapa penerima. Pilihan tidak akan dihapus.';- @override String get link => 'Penerima yang tidak memiliki LocalSend dapat mengunduh berkas yang dipilih dengan membuka tautan di browser mereka.';+ @override String get link => 'Penerima yang tidak memiliki LocalSend dapat mengunduh berkas yang dipilih dengan membuka tautan di peramban mereka.';}// Path: dialogs.zoomdiff --git a/app/lib/gen/strings_pt_BR.g.dart b/app/lib/gen/strings_pt_BR.g.dartindex 86788008..65d28511 100644--- a/app/lib/gen/strings_pt_BR.g.dart+++ b/app/lib/gen/strings_pt_BR.g.dart@@ -85,7 +85,7 @@ class _StringsGeneralPtBr extends _StringsGeneralEn {@override String get open => 'Abrir';@override String get queue => 'Fila';@override String get quickSave => 'Salvamento Rápido';- @override String get quickSaveFromFavorites => 'Salvamento rápido para "Favoritos"';+ @override String get quickSaveFromFavorites => 'salvar rapidamente dos "Favoritos"';@override String get renamed => 'Renomeado';@override String get reset => 'Redefinir';@override String get restart => 'Reiniciar';@@ -591,7 +591,7 @@ class _StringsSettingsTabReceivePtBr extends _StringsSettingsTabReceiveEn {@override String get autoFinish => 'Concluir Automaticamente';@override String get destination => 'Destino';@override String get downloads => '(Downloads)';- @override String get quickSaveFromFavorites => _root.general.quickSaveFromFavorites;+ @override String get quickSaveFromFavorites => 'Salvar rapidamente dos "Favoritos"';@override String get saveToGallery => 'Salvar mídia na Galeria';@override String get saveToHistory => 'Salvar no histórico';}@@ -932,7 +932,7 @@ class _StringsDialogsQuickSaveFromFavoritesNoticePtBr extends _StringsDialogsQui@override final _StringsPtBr _root; // ignore: unused_field// Translations- @override String get title => _root.general.quickSaveFromFavorites;+ @override String get title => 'Salvar rapidamento dos "Favoritos"';@override String get content => 'As solicitações de arquivos agora são aceitas automaticamente nos dispositivos da sua lista de favoritos.';}diff --git a/app/lib/pages/apk_picker_page.dart b/app/lib/pages/apk_picker_page.dartindex 3fa519fd..e7de71d3 100644--- a/app/lib/pages/apk_picker_page.dart+++ b/app/lib/pages/apk_picker_page.dart@@ -39,9 +39,7 @@ class _ApkPickerPageState extends State<ApkPickerPage> with Refena {// ignore: discarded_futuresfor (Application app in apps) {- await ref- .redux(selectedSendingFilesProvider)- .dispatchAsync(AddFilesAction(+ await ref.redux(selectedSendingFilesProvider).dispatchAsync(AddFilesAction(files: [app],converter: CrossFileConverters.convertApplication,));@@ -94,14 +92,10 @@ class _ApkPickerPageState extends State<ApkPickerPage> with Refena {}, onSelected: (value) {switch (value) {case 0:- ref.notifier(apkSearchParamProvider).setState((old) =>- old.copyWith(includeSystemApps: !old.includeSystemApps));+ ref.notifier(apkSearchParamProvider).setState((old) => old.copyWith(includeSystemApps: !old.includeSystemApps));break;case 1:- ref.notifier(apkSearchParamProvider).setState((old) =>- old.copyWith(- onlyAppsWithLaunchIntent:- !old.onlyAppsWithLaunchIntent));+ ref.notifier(apkSearchParamProvider).setState((old) => old.copyWith(onlyAppsWithLaunchIntent: !old.onlyAppsWithLaunchIntent));break;}}),@@ -115,8 +109,7 @@ class _ApkPickerPageState extends State<ApkPickerPage> with Refena {children: [const Icon(Icons.add),const SizedBox(width: 5),- Text(- 'Add ${_selectedApps.length} ${(_selectedApps.length == 1) ? "App" : "Apps"}'),+ Text('Add ${_selectedApps.length} ${(_selectedApps.length == 1) ? "App" : "Apps"}'),],),),@@ -136,9 +129,7 @@ class _ApkPickerPageState extends State<ApkPickerPage> with Refena {controller: _textController,autofocus: true,onChanged: (s) {- ref- .notifier(apkSearchParamProvider)- .setState((old) => old.copyWith(query: s));+ ref.notifier(apkSearchParamProvider).setState((old) => old.copyWith(query: s));setState(() {});},decoration: InputDecoration(@@ -151,9 +142,7 @@ class _ApkPickerPageState extends State<ApkPickerPage> with Refena {suffixIcon: apkParams.query.isNotEmpty? IconButton(onPressed: () {- ref- .notifier(apkSearchParamProvider)- .setState((old) => old.copyWith(query: ''));+ ref.notifier(apkSearchParamProvider).setState((old) => old.copyWith(query: ''));_textController.clear();},icon: const Icon(Icons.clear),@@ -176,16 +165,13 @@ class _ApkPickerPageState extends State<ApkPickerPage> with Refena {value: apkParams.selectMultipleApps,onChanged: (bool newValue) {setState(() {- apkParams.selectMultipleApps =- !apkParams.selectMultipleApps;+ apkParams.selectMultipleApps = !apkParams.selectMultipleApps;});},activeTrackColor: Theme.of(context).colorScheme.primary,activeColor: Theme.of(context).colorScheme.onPrimary,- inactiveThumbColor:- Theme.of(context).colorScheme.outline,- inactiveTrackColor:- Theme.of(context).colorScheme.surface,+ inactiveThumbColor: Theme.of(context).colorScheme.outline,+ inactiveTrackColor: Theme.of(context).colorScheme.surface,),],),@@ -207,9 +193,7 @@ class _ApkPickerPageState extends State<ApkPickerPage> with Refena {return Padding(padding: const EdgeInsets.only(bottom: 10),child: InkWell(- onTap: () async => (apkParams.selectMultipleApps)- ? _appSelection(app)- : _pickApp(app),+ onTap: () async => (apkParams.selectMultipleApps) ? _appSelection(app) : _pickApp(app),customBorder: RoundedRectangleBorder(borderRadius: BorderRadius.circular(10),),@@ -233,28 +217,21 @@ class _ApkPickerPageState extends State<ApkPickerPage> with Refena {),Consumer(builder: (context, ref) {- final appSize = ref.watch(- apkSizeProvider(app.apkFilePath));+ final appSize = ref.watch(apkSizeProvider(app.apkFilePath));final appSizeString = appSize.maybeWhen(- data: (size) =>- '${size.asReadableFileSize} • ',+ data: (size) => '${size.asReadableFileSize} • ',orElse: () => '',);return Column(- crossAxisAlignment:- CrossAxisAlignment.start,+ crossAxisAlignment: CrossAxisAlignment.start,children: [Text('$appSizeString${app.versionName != null ? 'v${app.versionName}' : ''}',- style: Theme.of(context)- .textTheme- .bodySmall,+ style: Theme.of(context).textTheme.bodySmall,),Text(app.packageName,- style: Theme.of(context)- .textTheme- .bodySmall,+ style: Theme.of(context).textTheme.bodySmall,),],);@@ -265,12 +242,8 @@ class _ApkPickerPageState extends State<ApkPickerPage> with Refena {),if (apkParams.selectMultipleApps)Icon(- _selectedApps.contains(app)- ? Icons.check_circle- : Icons.radio_button_unchecked,- color: _selectedApps.contains(app)- ? Theme.of(context).iconTheme.color- : Colors.grey,+ _selectedApps.contains(app) ? Icons.check_circle : Icons.radio_button_unchecked,+ color: _selectedApps.contains(app) ? Theme.of(context).iconTheme.color : Colors.grey,)],),diff --git a/app/lib/pages/home_page.dart b/app/lib/pages/home_page.dartindex 482d9ba4..b08554a1 100644--- a/app/lib/pages/home_page.dart+++ b/app/lib/pages/home_page.dart@@ -60,9 +60,7 @@ class _HomePageState extends State<HomePage> with Refena {super.initState();ensureRef((ref) async {- ref- .redux(homePageControllerProvider)- .dispatch(ChangeTabAction(widget.initialTab));+ ref.redux(homePageControllerProvider).dispatch(ChangeTabAction(widget.initialTab));await postInit(context, ref, widget.appStart);});}@@ -84,17 +82,12 @@ class _HomePageState extends State<HomePage> with Refena {});},onDragDone: (event) async {- if (event.files.length == 1 &&- Directory(event.files.first.path).existsSync()) {+ if (event.files.length == 1 && Directory(event.files.first.path).existsSync()) {// user dropped a directory- await ref- .redux(selectedSendingFilesProvider)- .dispatchAsync(AddDirectoryAction(event.files.first.path));+ await ref.redux(selectedSendingFilesProvider).dispatchAsync(AddDirectoryAction(event.files.first.path));} else {// user dropped one or more files- await ref- .redux(selectedSendingFilesProvider)- .dispatchAsync(AddFilesAction(+ await ref.redux(selectedSendingFilesProvider).dispatchAsync(AddFilesAction(files: event.files,converter: CrossFileConverters.convertXFile,));@@ -110,8 +103,7 @@ class _HomePageState extends State<HomePage> with Refena {NavigationRail(selectedIndex: vm.currentTab.index,groupAlignment: 0,- onDestinationSelected: (index) =>- vm.changeTab(HomeTab.values[index]),+ onDestinationSelected: (index) => vm.changeTab(HomeTab.values[index]),extended: sizingInformation.isDesktop,backgroundColor: Theme.of(context).cardColorWithElevation,leading: sizingInformation.isDesktop@@ -120,8 +112,7 @@ class _HomePageState extends State<HomePage> with Refena {SizedBox(height: 20),Text('LocalSend',- style: TextStyle(- fontSize: 32, fontWeight: FontWeight.bold),+ style: TextStyle(fontSize: 32, fontWeight: FontWeight.bold),textAlign: TextAlign.center,),SizedBox(height: 20),@@ -160,9 +151,7 @@ class _HomePageState extends State<HomePage> with Refena {children: [const Icon(Icons.file_download, size: 128),const SizedBox(height: 30),- Text(t.sendTab.placeItems,- style:- Theme.of(context).textTheme.titleLarge),+ Text(t.sendTab.placeItems, style: Theme.of(context).textTheme.titleLarge),],),),@@ -175,11 +164,9 @@ class _HomePageState extends State<HomePage> with Refena {bottomNavigationBar: sizingInformation.isMobile? NavigationBar(selectedIndex: vm.currentTab.index,- onDestinationSelected: (index) =>- vm.changeTab(HomeTab.values[index]),+ onDestinationSelected: (index) => vm.changeTab(HomeTab.values[index]),destinations: HomeTab.values.map((tab) {- return NavigationDestination(- icon: Icon(tab.icon), label: tab.label);+ return NavigationDestination(icon: Icon(tab.icon), label: tab.label);}).toList(),): null,diff --git a/app/lib/pages/tabs/send_tab.dart b/app/lib/pages/tabs/send_tab.dartindex 22b66078..43ce7933 100644--- a/app/lib/pages/tabs/send_tab.dart+++ b/app/lib/pages/tabs/send_tab.dart@@ -44,14 +44,10 @@ class SendTab extends StatelessWidget {Widget build(BuildContext context) {return ViewModelBuilder(provider: sendTabVmProvider,- init: (context) async => context.global.dispatchAsync(- SendTabInitAction(context)), // ignore: discarded_futures+ init: (context) async => context.global.dispatchAsync(SendTabInitAction(context)), // ignore: discarded_futuresbuilder: (context, vm) {- final sizingInformation =- SizingInformation(MediaQuery.sizeOf(context).width);- final buttonWidth = sizingInformation.isDesktop- ? BigButton.desktopWidth- : BigButton.mobileWidth;+ final sizingInformation = SizingInformation(MediaQuery.sizeOf(context).width);+ final buttonWidth = sizingInformation.isDesktop ? BigButton.desktopWidth : BigButton.mobileWidth;final ref = context.ref;return ResponsiveListView(padding: EdgeInsets.zero,@@ -59,8 +55,7 @@ class SendTab extends StatelessWidget {const SizedBox(height: 20),if (vm.selectedFiles.isEmpty) ...[Padding(- padding:- const EdgeInsets.symmetric(horizontal: _horizontalPadding),+ padding: const EdgeInsets.symmetric(horizontal: _horizontalPadding),child: Text(t.sendTab.selection.title,style: Theme.of(context).textTheme.titleMedium,@@ -85,13 +80,9 @@ class SendTab extends StatelessWidget {),] else ...[Card(- margin: const EdgeInsets.only(- bottom: 10,- left: _horizontalPadding,- right: _horizontalPadding),+ margin: const EdgeInsets.only(bottom: 10, left: _horizontalPadding, right: _horizontalPadding),child: Padding(- padding: const EdgeInsetsDirectional.only(- start: 15, top: 5, bottom: 15),+ padding: const EdgeInsetsDirectional.only(start: 15, top: 5, bottom: 15),child: Column(crossAxisAlignment: CrossAxisAlignment.start,children: [@@ -103,22 +94,15 @@ class SendTab extends StatelessWidget {),const Spacer(),CustomIconButton(- onPressed: () => ref- .redux(selectedSendingFilesProvider)- .dispatch(ClearSelectionAction()),- child: Icon(Icons.close,- color: Theme.of(context).colorScheme.secondary),+ onPressed: () => ref.redux(selectedSendingFilesProvider).dispatch(ClearSelectionAction()),+ child: Icon(Icons.close, color: Theme.of(context).colorScheme.secondary),),const SizedBox(width: 5),],),const SizedBox(height: 5),- Text(t.sendTab.selection- .files(files: vm.selectedFiles.length)),- Text(t.sendTab.selection.size(- size: vm.selectedFiles- .fold(0, (prev, curr) => prev + curr.size)- .asReadableFileSize)),+ Text(t.sendTab.selection.files(files: vm.selectedFiles.length)),+ Text(t.sendTab.selection.size(size: vm.selectedFiles.fold(0, (prev, curr) => prev + curr.size).asReadableFileSize)),const SizedBox(height: 10),SizedBox(height: defaultThumbnailSize,@@ -140,22 +124,18 @@ class SendTab extends StatelessWidget {children: [TextButton(style: TextButton.styleFrom(- foregroundColor:- Theme.of(context).colorScheme.onSurface,+ foregroundColor: Theme.of(context).colorScheme.onSurface,),onPressed: () async {- await context- .push(() => const SelectedFilesPage());+ await context.push(() => const SelectedFilesPage());},child: Text(t.general.edit),),const SizedBox(width: 15),ElevatedButton.icon(style: ElevatedButton.styleFrom(- backgroundColor:- Theme.of(context).colorScheme.primary,- foregroundColor:- Theme.of(context).colorScheme.onPrimary,+ backgroundColor: Theme.of(context).colorScheme.primary,+ foregroundColor: Theme.of(context).colorScheme.onPrimary,),onPressed: () async {if (_options.length == 1) {@@ -188,8 +168,7 @@ class SendTab extends StatelessWidget {Flexible(child: Padding(padding: const EdgeInsets.symmetric(vertical: 10),- child: Text(t.sendTab.nearbyDevices,- style: Theme.of(context).textTheme.titleMedium),+ child: Text(t.sendTab.nearbyDevices, style: Theme.of(context).textTheme.titleMedium),),),const SizedBox(width: 10),@@ -217,10 +196,7 @@ class SendTab extends StatelessWidget {),if (vm.nearbyDevices.isEmpty)const Padding(- padding: EdgeInsets.only(- bottom: 10,- left: _horizontalPadding,- right: _horizontalPadding),+ padding: EdgeInsets.only(bottom: 10, left: _horizontalPadding, right: _horizontalPadding),child: Opacity(opacity: 0.3,child: DevicePlaceholderListTile(),@@ -229,10 +205,7 @@ class SendTab extends StatelessWidget {...vm.nearbyDevices.map((device) {final favoriteEntry = vm.favoriteDevices.findDevice(device);return Padding(- padding: const EdgeInsets.only(- bottom: 10,- left: _horizontalPadding,- right: _horizontalPadding),+ padding: const EdgeInsets.only(bottom: 10, left: _horizontalPadding, right: _horizontalPadding),child: Hero(tag: 'device-${device.ip}',child: vm.sendMode == SendMode.multiple@@ -246,10 +219,8 @@ class SendTab extends StatelessWidget {device: device,isFavorite: favoriteEntry != null,nameOverride: favoriteEntry?.alias,- onFavoriteTap: () async =>- await vm.onToggleFavorite(context, device),- onTap: () async =>- await vm.onTapDevice(context, device),+ onFavoriteTap: () async => await vm.onToggleFavorite(context, device),+ onTap: () async => await vm.onTapDevice(context, device),),),);@@ -265,8 +236,7 @@ class SendTab extends StatelessWidget {),const SizedBox(height: 20),Padding(- padding:- const EdgeInsets.symmetric(horizontal: _horizontalPadding),+ padding: const EdgeInsets.symmetric(horizontal: _horizontalPadding),child: Consumer(builder: (context, ref) {final animations = ref.watch(animationProvider);@@ -274,13 +244,9 @@ class SendTab extends StatelessWidget {durationMillis: 6000,running: animations,children: [- Text(t.sendTab.help,- style: const TextStyle(color: Colors.grey),- textAlign: TextAlign.center),+ Text(t.sendTab.help, style: const TextStyle(color: Colors.grey), textAlign: TextAlign.center),if (checkPlatformCanReceiveShareIntent())- Text(t.sendTab.shareIntentInfo,- style: const TextStyle(color: Colors.grey),- textAlign: TextAlign.center),+ Text(t.sendTab.shareIntentInfo, style: const TextStyle(color: Colors.grey), textAlign: TextAlign.center),],);},@@ -318,9 +284,7 @@ class _CircularPopupButton<T> extends StatelessWidget {type: MaterialType.transparency,child: DividerTheme(data: DividerThemeData(- color: Theme.of(context).brightness == Brightness.light- ? Colors.teal.shade100- : Colors.grey.shade700,+ color: Theme.of(context).brightness == Brightness.light ? Colors.teal.shade100 : Colors.grey.shade700,),child: PopupMenuButton(offset: const Offset(0, 40),@@ -345,16 +309,11 @@ class _ScanButton extends StatelessWidget {@overrideWidget build(BuildContext context) {- final (scanningFavorites, scanningIps) = context.ref.watch(- nearbyDevicesProvider- .select((s) => (s.runningFavoriteScan, s.runningIps)));+ final (scanningFavorites, scanningIps) = context.ref.watch(nearbyDevicesProvider.select((s) => (s.runningFavoriteScan, s.runningIps)));final animations = context.ref.watch(animationProvider);- final spinning =- (scanningFavorites || scanningIps.isNotEmpty) && animations;- final iconColor = !animations && scanningIps.isNotEmpty- ? Theme.of(context).colorScheme.warning- : null;+ final spinning = (scanningFavorites || scanningIps.isNotEmpty) && animations;+ final iconColor = !animations && scanningIps.isNotEmpty ? Theme.of(context).colorScheme.warning : null;if (ips.length <= StartSmartScan.maxInterfaces) {return Tooltip(@@ -365,11 +324,8 @@ class _ScanButton extends StatelessWidget {reverse: true,child: CustomIconButton(onPressed: () async {- context- .redux(nearbyDevicesProvider)- .dispatch(ClearFoundDevicesAction());- await context.global- .dispatchAsync(StartSmartScan(forceLegacy: true));+ context.redux(nearbyDevicesProvider).dispatch(ClearFoundDevicesAction());+ await context.global.dispatchAsync(StartSmartScan(forceLegacy: true));},child: Icon(Icons.sync, color: iconColor),),@@ -380,11 +336,8 @@ class _ScanButton extends StatelessWidget {return _CircularPopupButton(tooltip: t.sendTab.scan,onSelected: (ip) async {- context- .redux(nearbyDevicesProvider)- .dispatch(ClearFoundDevicesAction());- await context.global- .dispatchAsync(StartLegacySubnetScan(subnets: [ip]));+ context.redux(nearbyDevicesProvider).dispatch(ClearFoundDevicesAction());+ await context.global.dispatchAsync(StartLegacySubnetScan(subnets: [ip]));},itemBuilder: (_) {return [@@ -425,8 +378,7 @@ class _RotatingSyncIcon extends StatelessWidget {@overrideWidget build(BuildContext context) {- final scanningIps =- context.ref.watch(nearbyDevicesProvider.select((s) => s.runningIps));+ final scanningIps = context.ref.watch(nearbyDevicesProvider.select((s) => s.runningIps));return RotatingWidget(duration: const Duration(seconds: 2),spinning: scanningIps.contains(ip),@@ -457,8 +409,7 @@ class _SendModeButton extends StatelessWidget {onSelect(SendMode.link);break;case -1:- await showDialog(- context: context, builder: (_) => const SendModeHelpDialog());+ await showDialog(context: context, builder: (_) => const SendModeHelpDialog());break;}},@@ -470,8 +421,7 @@ class _SendModeButton extends StatelessWidget {children: [Consumer(builder: (context, ref) {- final sendMode =- ref.watch(settingsProvider.select((s) => s.sendMode));+ final sendMode = ref.watch(settingsProvider.select((s) => s.sendMode));return Visibility(visible: sendMode == SendMode.single,maintainSize: true,@@ -493,8 +443,7 @@ class _SendModeButton extends StatelessWidget {children: [Consumer(builder: (context, ref) {- final sendMode =- ref.watch(settingsProvider.select((s) => s.sendMode));+ final sendMode = ref.watch(settingsProvider.select((s) => s.sendMode));return Visibility(visible: sendMode == SendMode.multiple,maintainSize: true,@@ -567,24 +516,14 @@ class _MultiSendDeviceListTile extends StatelessWidget {@overrideWidget build(BuildContext context) {final ref = context.ref;- final session = ref- .watch(sendProvider)- .values- .firstWhereOrNull((s) => s.target.ip == device.ip);+ final session = ref.watch(sendProvider).values.firstWhereOrNull((s) => s.target.ip == device.ip);final double? progress;if (session != null) {final files = session.files.values.where((f) => f.token != null);final progressNotifier = ref.watch(progressProvider);final currBytes = files.fold<int>(- 0,- (prev, curr) =>- prev +- ((progressNotifier.getProgress(- sessionId: session.sessionId, fileId: curr.file.id) *- curr.file.size)- .round()));- final totalBytes =- files.fold<int>(0, (prev, curr) => prev + curr.file.size);+ 0, (prev, curr) => prev + ((progressNotifier.getProgress(sessionId: session.sessionId, fileId: curr.file.id) * curr.file.size).round()));+ final totalBytes = files.fold<int>(0, (prev, curr) => prev + curr.file.size);progress = totalBytes == 0 ? 0 : currBytes / totalBytes;} else {progress = null;diff --git a/app/lib/provider/apk_provider.dart b/app/lib/provider/apk_provider.dartindex c9dc0d12..9cad2f8c 100644--- a/app/lib/provider/apk_provider.dart+++ b/app/lib/provider/apk_provider.dart@@ -27,11 +27,7 @@ final apkProvider = ViewProvider<AsyncValue<List<Application>>>((ref) {data: (apps) {final query = param.query.trim().toLowerCase();if (query.isNotEmpty) {- apps = apps- .where((a) =>- a.appName.toLowerCase().contains(query) ||- a.packageName.contains(query))- .toList();+ apps = apps.where((a) => a.appName.toLowerCase().contains(query) || a.packageName.contains(query)).toList();}apps.sort((a, b) => a.appName.compareTo(b.appName));@@ -46,8 +42,7 @@ final apkSizeProvider = FutureFamilyProvider<int, String>((_, path) {});/// Provides a list of APKs which is cached-final _apkProvider =- FutureFamilyProvider<List<Application>, CachedApkProviderParam>((_, param) {+final _apkProvider = FutureFamilyProvider<List<Application>, CachedApkProviderParam>((_, param) {return DeviceApps.getInstalledApplications(includeSystemApps: param.includeSystemApps,onlyAppsWithLaunchIntent: param.onlyAppsWithLaunchIntent,diff --git a/app/lib/provider/param/apk_provider_param.mapper.dart b/app/lib/provider/param/apk_provider_param.mapper.dartindex 8f68af5c..97d58fe7 100644--- a/app/lib/provider/param/apk_provider_param.mapper.dart+++ b/app/lib/provider/param/apk_provider_param.mapper.dart@@ -21,15 +21,11 @@ class ApkProviderParamMapper extends ClassMapperBase<ApkProviderParam> {final String id = 'ApkProviderParam';static String _$query(ApkProviderParam v) => v.query;- static const Field<ApkProviderParam, String> _f$query =- Field('query', _$query);+ static const Field<ApkProviderParam, String> _f$query = Field('query', _$query);static bool _$includeSystemApps(ApkProviderParam v) => v.includeSystemApps;- static const Field<ApkProviderParam, bool> _f$includeSystemApps =- Field('includeSystemApps', _$includeSystemApps);- static bool _$onlyAppsWithLaunchIntent(ApkProviderParam v) =>- v.onlyAppsWithLaunchIntent;- static const Field<ApkProviderParam, bool> _f$onlyAppsWithLaunchIntent =- Field('onlyAppsWithLaunchIntent', _$onlyAppsWithLaunchIntent);+ static const Field<ApkProviderParam, bool> _f$includeSystemApps = Field('includeSystemApps', _$includeSystemApps);+ static bool _$onlyAppsWithLaunchIntent(ApkProviderParam v) => v.onlyAppsWithLaunchIntent;+ static const Field<ApkProviderParam, bool> _f$onlyAppsWithLaunchIntent = Field('onlyAppsWithLaunchIntent', _$onlyAppsWithLaunchIntent);@overridefinal MappableFields<ApkProviderParam> fields = const {@@ -60,81 +56,58 @@ class ApkProviderParamMapper extends ClassMapperBase<ApkProviderParam> {mixin ApkProviderParamMappable {String serialize() {- return ApkProviderParamMapper.ensureInitialized()- .encodeJson<ApkProviderParam>(this as ApkProviderParam);+ return ApkProviderParamMapper.ensureInitialized().encodeJson<ApkProviderParam>(this as ApkProviderParam);}Map<String, dynamic> toJson() {- return ApkProviderParamMapper.ensureInitialized()- .encodeMap<ApkProviderParam>(this as ApkProviderParam);+ return ApkProviderParamMapper.ensureInitialized().encodeMap<ApkProviderParam>(this as ApkProviderParam);}- ApkProviderParamCopyWith<ApkProviderParam, ApkProviderParam, ApkProviderParam>- get copyWith => _ApkProviderParamCopyWithImpl(- this as ApkProviderParam, $identity, $identity);+ ApkProviderParamCopyWith<ApkProviderParam, ApkProviderParam, ApkProviderParam> get copyWith =>+ _ApkProviderParamCopyWithImpl(this as ApkProviderParam, $identity, $identity);@overrideString toString() {- return ApkProviderParamMapper.ensureInitialized()- .stringifyValue(this as ApkProviderParam);+ return ApkProviderParamMapper.ensureInitialized().stringifyValue(this as ApkProviderParam);}@overridebool operator ==(Object other) {- return ApkProviderParamMapper.ensureInitialized()- .equalsValue(this as ApkProviderParam, other);+ return ApkProviderParamMapper.ensureInitialized().equalsValue(this as ApkProviderParam, other);}@overrideint get hashCode {- return ApkProviderParamMapper.ensureInitialized()- .hashValue(this as ApkProviderParam);+ return ApkProviderParamMapper.ensureInitialized().hashValue(this as ApkProviderParam);}}-extension ApkProviderParamValueCopy<$R, $Out>- on ObjectCopyWith<$R, ApkProviderParam, $Out> {- ApkProviderParamCopyWith<$R, ApkProviderParam, $Out>- get $asApkProviderParam =>- $base.as((v, t, t2) => _ApkProviderParamCopyWithImpl(v, t, t2));+extension ApkProviderParamValueCopy<$R, $Out> on ObjectCopyWith<$R, ApkProviderParam, $Out> {+ ApkProviderParamCopyWith<$R, ApkProviderParam, $Out> get $asApkProviderParam => $base.as((v, t, t2) => _ApkProviderParamCopyWithImpl(v, t, t2));}-abstract class ApkProviderParamCopyWith<$R, $In extends ApkProviderParam, $Out>- implements ClassCopyWith<$R, $In, $Out> {- $R call(- {String? query, bool? includeSystemApps, bool? onlyAppsWithLaunchIntent});- ApkProviderParamCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(- Then<$Out2, $R2> t);+abstract class ApkProviderParamCopyWith<$R, $In extends ApkProviderParam, $Out> implements ClassCopyWith<$R, $In, $Out> {+ $R call({String? query, bool? includeSystemApps, bool? onlyAppsWithLaunchIntent});+ ApkProviderParamCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);}-class _ApkProviderParamCopyWithImpl<$R, $Out>- extends ClassCopyWithBase<$R, ApkProviderParam, $Out>+class _ApkProviderParamCopyWithImpl<$R, $Out> extends ClassCopyWithBase<$R, ApkProviderParam, $Out>implements ApkProviderParamCopyWith<$R, ApkProviderParam, $Out> {_ApkProviderParamCopyWithImpl(super.value, super.then, super.then2);@override- late final ClassMapperBase<ApkProviderParam> $mapper =- ApkProviderParamMapper.ensureInitialized();+ late final ClassMapperBase<ApkProviderParam> $mapper = ApkProviderParamMapper.ensureInitialized();@override- $R call(- {String? query,- bool? includeSystemApps,- bool? onlyAppsWithLaunchIntent}) =>- $apply(FieldCopyWithData({+ $R call({String? query, bool? includeSystemApps, bool? onlyAppsWithLaunchIntent}) => $apply(FieldCopyWithData({if (query != null) #query: query,if (includeSystemApps != null) #includeSystemApps: includeSystemApps,- if (onlyAppsWithLaunchIntent != null)- #onlyAppsWithLaunchIntent: onlyAppsWithLaunchIntent+ if (onlyAppsWithLaunchIntent != null) #onlyAppsWithLaunchIntent: onlyAppsWithLaunchIntent}));@overrideApkProviderParam $make(CopyWithData data) => ApkProviderParam(query: data.get(#query, or: $value.query),- includeSystemApps:- data.get(#includeSystemApps, or: $value.includeSystemApps),- onlyAppsWithLaunchIntent: data.get(#onlyAppsWithLaunchIntent,- or: $value.onlyAppsWithLaunchIntent));+ includeSystemApps: data.get(#includeSystemApps, or: $value.includeSystemApps),+ onlyAppsWithLaunchIntent: data.get(#onlyAppsWithLaunchIntent, or: $value.onlyAppsWithLaunchIntent));@override- ApkProviderParamCopyWith<$R2, ApkProviderParam, $Out2> $chain<$R2, $Out2>(- Then<$Out2, $R2> t) =>- _ApkProviderParamCopyWithImpl($value, $cast, t);+ ApkProviderParamCopyWith<$R2, ApkProviderParam, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t) => _ApkProviderParamCopyWithImpl($value, $cast, t);}