diff --git a/packages/flutter/lib/services.dart b/packages/flutter/lib/services.dart index 9bca453674..9cfde5e909 100644 --- a/packages/flutter/lib/services.dart +++ b/packages/flutter/lib/services.dart @@ -25,6 +25,7 @@ export 'src/services/hardware_keyboard.dart'; export 'src/services/keyboard_inserted_content.dart'; export 'src/services/keyboard_key.g.dart'; export 'src/services/keyboard_maps.g.dart'; +export 'src/services/live_text.dart'; export 'src/services/message_codec.dart'; export 'src/services/message_codecs.dart'; export 'src/services/mouse_cursor.dart'; diff --git a/packages/flutter/lib/src/cupertino/adaptive_text_selection_toolbar.dart b/packages/flutter/lib/src/cupertino/adaptive_text_selection_toolbar.dart index 19302c2fea..33f5e502ea 100644 --- a/packages/flutter/lib/src/cupertino/adaptive_text_selection_toolbar.dart +++ b/packages/flutter/lib/src/cupertino/adaptive_text_selection_toolbar.dart @@ -94,6 +94,7 @@ class CupertinoAdaptiveTextSelectionToolbar extends StatelessWidget { required VoidCallback? onCut, required VoidCallback? onPaste, required VoidCallback? onSelectAll, + required VoidCallback? onLiveTextInput, required this.anchors, }) : children = null, buttonItems = EditableText.getEditableButtonItems( @@ -102,6 +103,7 @@ class CupertinoAdaptiveTextSelectionToolbar extends StatelessWidget { onCut: onCut, onPaste: onPaste, onSelectAll: onSelectAll, + onLiveTextInput: onLiveTextInput ); /// Create an instance of [CupertinoAdaptiveTextSelectionToolbar] with the diff --git a/packages/flutter/lib/src/cupertino/text_selection_toolbar_button.dart b/packages/flutter/lib/src/cupertino/text_selection_toolbar_button.dart index e31946ccb5..f07d88e4b5 100644 --- a/packages/flutter/lib/src/cupertino/text_selection_toolbar_button.dart +++ b/packages/flutter/lib/src/cupertino/text_selection_toolbar_button.dart @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +import 'dart:math'; + import 'package:flutter/widgets.dart'; import 'button.dart'; @@ -103,6 +105,7 @@ class CupertinoTextSelectionToolbarButton extends StatefulWidget { return localizations.pasteButtonLabel; case ContextMenuButtonType.selectAll: return localizations.selectAllButtonLabel; + case ContextMenuButtonType.liveTextInput: case ContextMenuButtonType.delete: case ContextMenuButtonType.custom: return ''; @@ -131,6 +134,7 @@ class _CupertinoTextSelectionToolbarButtonState extends State 'Cut'; + @override + String get scanTextButtonLabel => 'Scan text'; + @override String get okButtonLabel => 'OK'; diff --git a/packages/flutter/lib/src/services/live_text.dart b/packages/flutter/lib/src/services/live_text.dart new file mode 100644 index 0000000000..413f7f0698 --- /dev/null +++ b/packages/flutter/lib/src/services/live_text.dart @@ -0,0 +1,35 @@ +// Copyright 2014 The Flutter Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'system_channels.dart'; + +/// Utility methods for interacting with the system's Live Text. +/// +/// For example, the Live Text input feature of iOS turns the keyboard into a camera view for +/// directly inserting text obtained through OCR into the active field. +/// +/// See also: +/// * +/// * +class LiveText { + // This class is not meant to be instantiated or extended; this constructor + // prevents instantiation and extension. + LiveText._(); + + /// Returns true if the Live Text input feature is available on the current device. + static Future isLiveTextInputAvailable() async { + final bool supportLiveTextInput = + await SystemChannels.platform.invokeMethod('LiveText.isLiveTextInputAvailable') ?? false; + return supportLiveTextInput; + } + + /// Start Live Text input. + /// + /// If any [TextInputConnection] is currently active, calling this method will tell the text field + /// to start Live Text input. If the current device doesn't support Live Text input, + /// nothing will happen. + static void startLiveTextInput() { + SystemChannels.textInput.invokeMethod('TextInput.startLiveTextInput'); + } +} diff --git a/packages/flutter/lib/src/services/text_input.dart b/packages/flutter/lib/src/services/text_input.dart index efb4afcde3..f9f475fa1d 100644 --- a/packages/flutter/lib/src/services/text_input.dart +++ b/packages/flutter/lib/src/services/text_input.dart @@ -1050,6 +1050,13 @@ mixin TextSelectionDelegate { /// Whether select all is enabled, must not be null. bool get selectAllEnabled => true; + /// Whether Live Text input is enabled. + /// + /// See also: + /// * [LiveText], where the availability of Live Text input can be obtained. + /// * [LiveTextInputStatusNotifier], where the status of Live Text can be listened to. + bool get liveTextInputEnabled => false; + /// Cut current selection to [Clipboard]. /// /// If and only if [cause] is [SelectionChangedCause.toolbar], the toolbar diff --git a/packages/flutter/lib/src/widgets/context_menu_button_item.dart b/packages/flutter/lib/src/widgets/context_menu_button_item.dart index 8240d9b468..e355ab41e3 100644 --- a/packages/flutter/lib/src/widgets/context_menu_button_item.dart +++ b/packages/flutter/lib/src/widgets/context_menu_button_item.dart @@ -26,6 +26,13 @@ enum ContextMenuButtonType { /// A button that deletes the current text selection. delete, + /// A button for starting Live Text input. + /// + /// See also: + /// * [LiveText], where the availability of Live Text input can be obtained. + /// * [LiveTextInputStatusNotifier], where the status of Live Text can be listened to. + liveTextInput, + /// Anything other than the default button types. custom, } diff --git a/packages/flutter/lib/src/widgets/editable_text.dart b/packages/flutter/lib/src/widgets/editable_text.dart index 4f7d7379d9..859dfa89bd 100644 --- a/packages/flutter/lib/src/widgets/editable_text.dart +++ b/packages/flutter/lib/src/widgets/editable_text.dart @@ -1835,36 +1835,48 @@ class EditableText extends StatefulWidget { required final VoidCallback? onCut, required final VoidCallback? onPaste, required final VoidCallback? onSelectAll, + required final VoidCallback? onLiveTextInput, }) { - // If the paste button is enabled, don't render anything until the state - // of the clipboard is known, since it's used to determine if paste is - // shown. - if (onPaste != null && clipboardStatus == ClipboardStatus.unknown) { - return []; + final List resultButtonItem = []; + + // Configure button items with clipboard. + if (onPaste == null || clipboardStatus != ClipboardStatus.unknown) { + // If the paste button is enabled, don't render anything until the state + // of the clipboard is known, since it's used to determine if paste is + // shown. + resultButtonItem.addAll([ + if (onCut != null) + ContextMenuButtonItem( + onPressed: onCut, + type: ContextMenuButtonType.cut, + ), + if (onCopy != null) + ContextMenuButtonItem( + onPressed: onCopy, + type: ContextMenuButtonType.copy, + ), + if (onPaste != null) + ContextMenuButtonItem( + onPressed: onPaste, + type: ContextMenuButtonType.paste, + ), + if (onSelectAll != null) + ContextMenuButtonItem( + onPressed: onSelectAll, + type: ContextMenuButtonType.selectAll, + ), + ]); } - return [ - if (onCut != null) - ContextMenuButtonItem( - onPressed: onCut, - type: ContextMenuButtonType.cut, - ), - if (onCopy != null) - ContextMenuButtonItem( - onPressed: onCopy, - type: ContextMenuButtonType.copy, - ), - if (onPaste != null) - ContextMenuButtonItem( - onPressed: onPaste, - type: ContextMenuButtonType.paste, - ), - if (onSelectAll != null) - ContextMenuButtonItem( - onPressed: onSelectAll, - type: ContextMenuButtonType.selectAll, - ), - ]; + // Config button items with Live Text. + if (onLiveTextInput != null) { + resultButtonItem.add(ContextMenuButtonItem( + onPressed: onLiveTextInput, + type: ContextMenuButtonType.liveTextInput, + )); + } + + return resultButtonItem; } // Infer the keyboard type of an `EditableText` if it's not specified. @@ -2063,6 +2075,13 @@ class EditableTextState extends State with AutomaticKeepAliveClien /// Detects whether the clipboard can paste. final ClipboardStatusNotifier clipboardStatus = ClipboardStatusNotifier(); + /// Detects whether the Live Text input is enabled. + /// + /// See also: + /// * [LiveText], where the availability of Live Text input can be obtained. + final LiveTextInputStatusNotifier? _liveTextInputStatus = + kIsWeb ? null : LiveTextInputStatusNotifier(); + TextInputConnection? _textInputConnection; bool get _hasInputConnection => _textInputConnection?.attached ?? false; @@ -2196,12 +2215,26 @@ class EditableTextState extends State with AutomaticKeepAliveClien } } + @override + bool get liveTextInputEnabled { + return _liveTextInputStatus?.value == LiveTextInputStatus.enabled && + !widget.obscureText && + !widget.readOnly && + textEditingValue.selection.isCollapsed; + } + void _onChangedClipboardStatus() { setState(() { // Inform the widget that the value of clipboardStatus has changed. }); } + void _onChangedLiveTextInputStatus() { + setState(() { + // Inform the widget that the value of liveTextInputStatus has changed. + }); + } + TextEditingValue get _textEditingValueforTextLayoutMetrics { final Widget? editableWidget =_editableKey.currentContext?.widget; if (editableWidget is! _Editable) { @@ -2347,6 +2380,18 @@ class EditableTextState extends State with AutomaticKeepAliveClien } } + void _startLiveTextInput(SelectionChangedCause cause) { + if (!liveTextInputEnabled) { + return; + } + if (_hasInputConnection) { + LiveText.startLiveTextInput(); + } + if (cause == SelectionChangedCause.toolbar) { + hideToolbar(); + } + } + /// Finds specified [SuggestionSpan] that matches the provided index using /// binary search. /// @@ -2561,6 +2606,9 @@ class EditableTextState extends State with AutomaticKeepAliveClien onSelectAll: selectAllEnabled ? () => selectAll(SelectionChangedCause.toolbar) : null, + onLiveTextInput: liveTextInputEnabled + ? () => _startLiveTextInput(SelectionChangedCause.toolbar) + : null, ); } @@ -2569,6 +2617,7 @@ class EditableTextState extends State with AutomaticKeepAliveClien @override void initState() { super.initState(); + _liveTextInputStatus?.addListener(_onChangedLiveTextInputStatus); clipboardStatus.addListener(_onChangedClipboardStatus); widget.controller.addListener(_didChangeTextEditingValue); widget.focusNode.addListener(_handleFocusChanged); @@ -2734,6 +2783,8 @@ class EditableTextState extends State with AutomaticKeepAliveClien _selectionOverlay = null; widget.focusNode.removeListener(_handleFocusChanged); WidgetsBinding.instance.removeObserver(this); + _liveTextInputStatus?.removeListener(_onChangedLiveTextInputStatus); + _liveTextInputStatus?.dispose(); clipboardStatus.removeListener(_onChangedClipboardStatus); clipboardStatus.dispose(); _cursorVisibilityNotifier.dispose(); @@ -3986,6 +4037,7 @@ class EditableTextState extends State with AutomaticKeepAliveClien if (_selectionOverlay == null) { return false; } + _liveTextInputStatus?.update(); clipboardStatus.update(); _selectionOverlay!.showToolbar(); return true; diff --git a/packages/flutter/lib/src/widgets/text_selection.dart b/packages/flutter/lib/src/widgets/text_selection.dart index ff5a717310..34e3279551 100644 --- a/packages/flutter/lib/src/widgets/text_selection.dart +++ b/packages/flutter/lib/src/widgets/text_selection.dart @@ -3383,6 +3383,115 @@ enum ClipboardStatus { notPasteable, } +/// A [ValueNotifier] whose [value] indicates whether the current device supports the Live Text +/// (OCR) function. +/// +/// See also: +/// * [LiveText], where the availability of Live Text input can be obtained. +/// * [LiveTextInputStatus], an enumeration that indicates whether the current device is available +/// for Live Text input. +/// +/// Call [update] to asynchronously update [value] if needed. +class LiveTextInputStatusNotifier extends ValueNotifier with WidgetsBindingObserver { + /// Create a new LiveTextStatusNotifier. + LiveTextInputStatusNotifier({ + LiveTextInputStatus value = LiveTextInputStatus.unknown, + }) : super(value); + + bool _disposed = false; + + /// Check the [LiveTextInputStatus] and update [value] if needed. + Future update() async { + if (_disposed) { + return; + } + + final bool isLiveTextInputEnabled; + try { + isLiveTextInputEnabled = await LiveText.isLiveTextInputAvailable(); + } catch (exception, stack) { + FlutterError.reportError(FlutterErrorDetails( + exception: exception, + stack: stack, + library: 'widget library', + context: ErrorDescription('while checking the availability of Live Text input'), + )); + // In the case of an error from the Live Text API, set the value to + // unknown so that it will try to update again later. + if (_disposed || value == LiveTextInputStatus.unknown) { + return; + } + value = LiveTextInputStatus.unknown; + return; + } + + final LiveTextInputStatus nextStatus = isLiveTextInputEnabled + ? LiveTextInputStatus.enabled + : LiveTextInputStatus.disabled; + + if (_disposed || nextStatus == value) { + return; + } + value = nextStatus; + } + + @override + void addListener(VoidCallback listener) { + if (!hasListeners) { + WidgetsBinding.instance.addObserver(this); + } + if (value == LiveTextInputStatus.unknown) { + update(); + } + super.addListener(listener); + } + + @override + void removeListener(VoidCallback listener) { + super.removeListener(listener); + if (!_disposed && !hasListeners) { + WidgetsBinding.instance.removeObserver(this); + } + } + + @override + void didChangeAppLifecycleState(AppLifecycleState state) { + switch (state) { + case AppLifecycleState.resumed: + update(); + case AppLifecycleState.detached: + case AppLifecycleState.inactive: + case AppLifecycleState.paused: + case AppLifecycleState.hidden: + // Nothing to do. + } + } + + @override + void dispose() { + WidgetsBinding.instance.removeObserver(this); + _disposed = true; + super.dispose(); + } +} + +/// An enumeration that indicates whether the current device is available for Live Text input. +/// +/// See also: +/// * [LiveText], where the availability of Live Text input can be obtained. +enum LiveTextInputStatus { + /// This device supports Live Text input currently. + enabled, + + /// The status of the Live Text input is unknown. Since getting the Live Text input availability + /// is asynchronous (see [LiveText.isLiveTextInputAvailable]), this status often exists while + /// waiting to receive the status value for the first time. + unknown, + + /// The current device doesn't support Live Text input. + disabled, +} + // TODO(justinmc): Deprecate this after TextSelectionControls.buildToolbar is // deleted, when users should migrate back to TextSelectionControls.buildHandle. // See https://github.com/flutter/flutter/pull/124262 diff --git a/packages/flutter/test/cupertino/adaptive_text_selection_toolbar_test.dart b/packages/flutter/test/cupertino/adaptive_text_selection_toolbar_test.dart index 0813e90811..d0c6c1a578 100644 --- a/packages/flutter/test/cupertino/adaptive_text_selection_toolbar_test.dart +++ b/packages/flutter/test/cupertino/adaptive_text_selection_toolbar_test.dart @@ -8,6 +8,7 @@ import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; import '../widgets/clipboard_utils.dart'; +import '../widgets/live_text_utils.dart'; void main() { final MockClipboard mockClipboard = MockClipboard(); @@ -166,6 +167,7 @@ void main() { onCut: () {}, onPaste: () {}, onSelectAll: () {}, + onLiveTextInput: () {}, ), ), )); @@ -178,13 +180,16 @@ void main() { switch (defaultTargetPlatform) { case TargetPlatform.android: + expect(find.byType(CupertinoTextSelectionToolbarButton), findsNWidgets(5)); case TargetPlatform.fuchsia: + expect(find.byType(CupertinoTextSelectionToolbarButton), findsNWidgets(5)); case TargetPlatform.iOS: - expect(find.byType(CupertinoTextSelectionToolbarButton), findsNWidgets(4)); + expect(find.byType(CupertinoTextSelectionToolbarButton), findsNWidgets(5)); + expect(findLiveTextButton(), findsOneWidget); case TargetPlatform.macOS: case TargetPlatform.linux: case TargetPlatform.windows: - expect(find.byType(CupertinoDesktopTextSelectionToolbarButton), findsNWidgets(4)); + expect(find.byType(CupertinoDesktopTextSelectionToolbarButton), findsNWidgets(5)); } }, skip: kIsWeb, // [intended] on web the browser handles the context menu. diff --git a/packages/flutter/test/cupertino/text_field_test.dart b/packages/flutter/test/cupertino/text_field_test.dart index 7a802fcf20..ab0b3fbf86 100644 --- a/packages/flutter/test/cupertino/text_field_test.dart +++ b/packages/flutter/test/cupertino/text_field_test.dart @@ -21,6 +21,7 @@ import 'package:flutter_test/flutter_test.dart'; import '../rendering/mock_canvas.dart'; import '../widgets/clipboard_utils.dart'; import '../widgets/editable_text_utils.dart' show OverflowWidgetTextEditingController; +import '../widgets/live_text_utils.dart'; import '../widgets/semantics_tester.dart'; // On web, the context menu (aka toolbar) is provided by the browser. @@ -199,12 +200,56 @@ void main() { Offset textOffsetToPosition(WidgetTester tester, int offset) => textOffsetToBottomLeftPosition(tester, offset) + const Offset(kIsWeb ? 1 : 0, -2); setUp(() async { + TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler(SystemChannels.platform, mockClipboard.handleMethodCall); EditableText.debugDeterministicCursor = false; // Fill the clipboard so that the Paste option is available in the text // selection menu. await Clipboard.setData(const ClipboardData(text: 'Clipboard data')); }); + + testWidgets( + 'Live Text button shows and hides correctly when LiveTextStatus changes', + (WidgetTester tester) async { + final LiveTextInputTester liveTextInputTester = LiveTextInputTester(); + addTearDown(liveTextInputTester.dispose); + + final TextEditingController controller = TextEditingController(text: ''); + const Key key = ValueKey('TextField'); + final FocusNode focusNode = FocusNode(); + final Widget app = MaterialApp( + theme: ThemeData(platform: TargetPlatform.iOS), + home: Scaffold( + body: Center( + child: CupertinoTextField( + key: key, + controller: controller, + focusNode: focusNode, + ), + ), + ), + ); + + liveTextInputTester.mockLiveTextInputEnabled = true; + await tester.pumpWidget(app); + focusNode.requestFocus(); + await tester.pumpAndSettle(); + + final Finder textFinder = find.byType(EditableText); + await tester.longPress(textFinder); + await tester.pumpAndSettle(); + expect( + findLiveTextButton(), + kIsWeb ? findsNothing : findsOneWidget, + ); + + liveTextInputTester.mockLiveTextInputEnabled = false; + await tester.longPress(textFinder); + await tester.pumpAndSettle(); + expect(findLiveTextButton(), findsNothing); + }, + ); + testWidgets('can use the desktop cut/copy/paste buttons on Mac', (WidgetTester tester) async { final TextEditingController controller = TextEditingController( text: 'blah1 blah2', diff --git a/packages/flutter/test/material/adaptive_text_selection_toolbar_test.dart b/packages/flutter/test/material/adaptive_text_selection_toolbar_test.dart index 8238e057cc..3d85f3ea76 100644 --- a/packages/flutter/test/material/adaptive_text_selection_toolbar_test.dart +++ b/packages/flutter/test/material/adaptive_text_selection_toolbar_test.dart @@ -11,6 +11,7 @@ import 'package:flutter_test/flutter_test.dart'; import '../foundation/leak_tracking.dart'; import '../widgets/clipboard_utils.dart'; import '../widgets/editable_text_utils.dart'; +import '../widgets/live_text_utils.dart'; void main() { final MockClipboard mockClipboard = MockClipboard(); @@ -184,6 +185,7 @@ void main() { onCut: () {}, onPaste: () {}, onSelectAll: () {}, + onLiveTextInput: () {}, ), ), ), @@ -199,17 +201,18 @@ void main() { case TargetPlatform.android: case TargetPlatform.fuchsia: expect(find.text('Select all'), findsOneWidget); - expect(find.byType(TextSelectionToolbarTextButton), findsNWidgets(4)); + expect(find.byType(TextSelectionToolbarTextButton), findsNWidgets(5)); case TargetPlatform.iOS: expect(find.text('Select All'), findsOneWidget); - expect(find.byType(CupertinoTextSelectionToolbarButton), findsNWidgets(4)); + expect(findLiveTextButton(), findsOneWidget); + expect(find.byType(CupertinoTextSelectionToolbarButton), findsNWidgets(5)); case TargetPlatform.linux: case TargetPlatform.windows: expect(find.text('Select all'), findsOneWidget); - expect(find.byType(DesktopTextSelectionToolbarButton), findsNWidgets(4)); + expect(find.byType(DesktopTextSelectionToolbarButton), findsNWidgets(5)); case TargetPlatform.macOS: expect(find.text('Select All'), findsOneWidget); - expect(find.byType(CupertinoDesktopTextSelectionToolbarButton), findsNWidgets(4)); + expect(find.byType(CupertinoDesktopTextSelectionToolbarButton), findsNWidgets(5)); } }, skip: kIsWeb, // [intended] on web the browser handles the context menu. diff --git a/packages/flutter/test/material/localizations_test.dart b/packages/flutter/test/material/localizations_test.dart index d528cc73da..67df019b00 100644 --- a/packages/flutter/test/material/localizations_test.dart +++ b/packages/flutter/test/material/localizations_test.dart @@ -28,6 +28,7 @@ void main() { expect(localizations.continueButtonLabel, isNotNull); expect(localizations.copyButtonLabel, isNotNull); expect(localizations.cutButtonLabel, isNotNull); + expect(localizations.scanTextButtonLabel, isNotNull); expect(localizations.okButtonLabel, isNotNull); expect(localizations.pasteButtonLabel, isNotNull); expect(localizations.selectAllButtonLabel, isNotNull); diff --git a/packages/flutter/test/material/text_field_test.dart b/packages/flutter/test/material/text_field_test.dart index 9c108dda1a..b7a226e989 100644 --- a/packages/flutter/test/material/text_field_test.dart +++ b/packages/flutter/test/material/text_field_test.dart @@ -26,6 +26,7 @@ import 'package:flutter_test/flutter_test.dart'; import '../widgets/clipboard_utils.dart'; import '../widgets/editable_text_utils.dart'; +import '../widgets/live_text_utils.dart'; import '../widgets/semantics_tester.dart'; import 'feedback_tester.dart'; @@ -203,6 +204,47 @@ void main() { ); } + testWidgets( + 'Live Text button shows and hides correctly when LiveTextStatus changes', + (WidgetTester tester) async { + final LiveTextInputTester liveTextInputTester = LiveTextInputTester(); + addTearDown(liveTextInputTester.dispose); + final TextEditingController controller = TextEditingController(text: ''); + const Key key = ValueKey('TextField'); + final FocusNode focusNode = FocusNode(); + final Widget app = MaterialApp( + theme: ThemeData(platform: TargetPlatform.iOS), + home: Scaffold( + body: Center( + child: TextField( + key: key, + controller: controller, + focusNode: focusNode, + ), + ), + ), + ); + + liveTextInputTester.mockLiveTextInputEnabled = true; + await tester.pumpWidget(app); + focusNode.requestFocus(); + await tester.pumpAndSettle(); + + final Finder textFinder = find.byType(EditableText); + await tester.longPress(textFinder); + await tester.pumpAndSettle(); + expect( + findLiveTextButton(), + kIsWeb ? findsNothing : findsOneWidget, + ); + + liveTextInputTester.mockLiveTextInputEnabled = false; + await tester.longPress(textFinder); + await tester.pumpAndSettle(); + expect(findLiveTextButton(), findsNothing); + }, + ); + testWidgets('text field selection toolbar should hide when the user starts typing', (WidgetTester tester) async { await tester.pumpWidget( const MaterialApp( diff --git a/packages/flutter/test/widgets/editable_text_test.dart b/packages/flutter/test/widgets/editable_text_test.dart index e9a0ef726e..4cc86a032a 100644 --- a/packages/flutter/test/widgets/editable_text_test.dart +++ b/packages/flutter/test/widgets/editable_text_test.dart @@ -15,6 +15,7 @@ import 'package:flutter_test/flutter_test.dart'; import '../rendering/mock_canvas.dart'; import '../widgets/clipboard_utils.dart'; import 'editable_text_utils.dart'; +import 'live_text_utils.dart'; import 'semantics_tester.dart'; Matcher matchesMethodCall(String method, { dynamic args }) => _MatchesMethodCall(method, arguments: args == null ? null : wrapMatcher(args)); @@ -118,6 +119,72 @@ void main() { expect(tester.testTextInput.setClientArgs!['inputAction'], equals(serializedActionName)); } + testWidgets( + 'Tapping the Live Text button calls onLiveTextInput', + (WidgetTester tester) async { + bool invokedLiveTextInputSuccessfully = false; + final GlobalKey key = GlobalKey(); + final TextEditingController controller = TextEditingController(text: ''); + await tester.pumpWidget( + MaterialApp( + home: Align( + alignment: Alignment.topLeft, + child: SizedBox( + width: 400, + child: EditableText( + maxLines: 10, + controller: controller, + showSelectionHandles: true, + autofocus: true, + focusNode: FocusNode(), + style: Typography.material2018().black.subtitle1!, + cursorColor: Colors.blue, + backgroundCursorColor: Colors.grey, + keyboardType: TextInputType.text, + textAlign: TextAlign.right, + selectionControls: materialTextSelectionHandleControls, + contextMenuBuilder: ( + BuildContext context, + EditableTextState editableTextState, + ) { + return CupertinoAdaptiveTextSelectionToolbar.editable( + key: key, + clipboardStatus: ClipboardStatus.pasteable, + onCopy: null, + onCut: null, + onPaste: null, + onSelectAll: null, + onLiveTextInput: () { + invokedLiveTextInputSuccessfully = true; + }, + anchors: const TextSelectionToolbarAnchors(primaryAnchor: Offset.zero), + ); + }, + ), + ), + ), + ), + ); + + await tester.pump(); // Wait for autofocus to take effect. + + expect(find.byKey(key), findsNothing); + + // Long-press to bring up the context menu. + final Finder textFinder = find.byType(EditableText); + await tester.longPress(textFinder); + tester.state(textFinder).showToolbar(); + await tester.pumpAndSettle(); + + expect(find.byKey(key), findsOneWidget); + expect(findLiveTextButton(), findsOneWidget); + await tester.tap(findLiveTextButton()); + await tester.pump(); + expect(invokedLiveTextInputSuccessfully, isTrue); + }, + skip: kIsWeb, // [intended] + ); + // Regression test for https://github.com/flutter/flutter/issues/126312. testWidgets('when open input connection in didUpdateWidget, should not throw', (WidgetTester tester) async { final Key key = GlobalKey(); diff --git a/packages/flutter/test/widgets/live_text_utils.dart b/packages/flutter/test/widgets/live_text_utils.dart new file mode 100644 index 0000000000..5e7b3c0ffc --- /dev/null +++ b/packages/flutter/test/widgets/live_text_utils.dart @@ -0,0 +1,40 @@ +// Copyright 2014 The Flutter Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'package:flutter/services.dart'; +import 'package:flutter/widgets.dart'; +import 'package:flutter_test/flutter_test.dart'; + +/// A mock class to control the return result of Live Text input functions. +class LiveTextInputTester { + LiveTextInputTester() { + TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler(SystemChannels.platform, _handler); + } + + bool mockLiveTextInputEnabled = false; + + Future _handler(MethodCall methodCall) async { + // Need to set Clipboard.hasStrings method handler because when showing the tool bar, + // the Clipboard.hasStrings will also be invoked. If this isn't handled, + // an exception will be thrown. + if (methodCall.method == 'Clipboard.hasStrings') { + return {'value': true}; + } + if (methodCall.method == 'LiveText.isLiveTextInputAvailable') { + return mockLiveTextInputEnabled; + } + return false; + } + + void dispose() { + assert(TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.checkMockMessageHandler(SystemChannels.platform.name, _handler)); + TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.setMockMethodCallHandler(SystemChannels.platform, null); + } +} + +/// A function to find the live text button. +Finder findLiveTextButton() => find.byWidgetPredicate((Widget widget) => + widget is CustomPaint && + '${widget.painter?.runtimeType}' == '_LiveTextIconPainter', +); diff --git a/packages/flutter_localizations/lib/src/l10n/generated_material_localizations.dart b/packages/flutter_localizations/lib/src/l10n/generated_material_localizations.dart index d575829598..d936427c16 100644 --- a/packages/flutter_localizations/lib/src/l10n/generated_material_localizations.dart +++ b/packages/flutter_localizations/lib/src/l10n/generated_material_localizations.dart @@ -416,6 +416,9 @@ class MaterialLocalizationAf extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Stoor'; + @override + String get scanTextButtonLabel => 'Skena umbhalo'; + @override String get scrimLabel => 'Skerm'; @@ -891,6 +894,9 @@ class MaterialLocalizationAm extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'አስቀምጥ'; + @override + String get scanTextButtonLabel => 'ጽሑፍ ይቃኙ'; + @override String get scrimLabel => 'ገዳቢ'; @@ -1366,6 +1372,9 @@ class MaterialLocalizationAr extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'الحفظ'; + @override + String get scanTextButtonLabel => 'مسح النص'; + @override String get scrimLabel => 'تمويه'; @@ -1841,6 +1850,9 @@ class MaterialLocalizationAs extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'ছেভ কৰক'; + @override + String get scanTextButtonLabel => 'স্কেন টেক্সট'; + @override String get scrimLabel => 'স্ক্ৰিম'; @@ -2316,6 +2328,9 @@ class MaterialLocalizationAz extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Yadda saxlayın'; + @override + String get scanTextButtonLabel => 'Mətni skan edin'; + @override String get scrimLabel => 'Kətan'; @@ -2791,6 +2806,9 @@ class MaterialLocalizationBe extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Захаваць'; + @override + String get scanTextButtonLabel => 'Сканаваць тэкст'; + @override String get scrimLabel => 'Палатно'; @@ -3266,6 +3284,9 @@ class MaterialLocalizationBg extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Запазване'; + @override + String get scanTextButtonLabel => 'Сканиране на текст'; + @override String get scrimLabel => 'Скрим'; @@ -3741,6 +3762,9 @@ class MaterialLocalizationBn extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'সেভ করুন'; + @override + String get scanTextButtonLabel => 'পাঠ্য স্ক্যান করুন'; + @override String get scrimLabel => 'স্ক্রিম'; @@ -4216,6 +4240,9 @@ class MaterialLocalizationBs extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Sačuvaj'; + @override + String get scanTextButtonLabel => 'Skeniraj tekst'; + @override String get scrimLabel => 'Rubno'; @@ -4691,6 +4718,9 @@ class MaterialLocalizationCa extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Desa'; + @override + String get scanTextButtonLabel => 'Escaneja el text'; + @override String get scrimLabel => 'Fons atenuat'; @@ -5166,6 +5196,9 @@ class MaterialLocalizationCs extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Uložit'; + @override + String get scanTextButtonLabel => 'Naskenujte text'; + @override String get scrimLabel => 'Scrim'; @@ -5641,6 +5674,9 @@ class MaterialLocalizationCy extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Cadw'; + @override + String get scanTextButtonLabel => 'Scan text'; + @override String get scrimLabel => 'Scrim'; @@ -6116,6 +6152,9 @@ class MaterialLocalizationDa extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Gem'; + @override + String get scanTextButtonLabel => 'Scan tekst'; + @override String get scrimLabel => 'Dæmpeskærm'; @@ -6591,6 +6630,9 @@ class MaterialLocalizationDe extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Speichern'; + @override + String get scanTextButtonLabel => 'Text scannen'; + @override String get scrimLabel => 'Gitter'; @@ -7130,6 +7172,9 @@ class MaterialLocalizationEl extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Αποθήκευση'; + @override + String get scanTextButtonLabel => 'Σάρωση κειμένου'; + @override String get scrimLabel => 'Επικάλυψη'; @@ -7605,6 +7650,9 @@ class MaterialLocalizationEn extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Save'; + @override + String get scanTextButtonLabel => 'Scan text'; + @override String get scrimLabel => 'Scrim'; @@ -8814,6 +8862,9 @@ class MaterialLocalizationEs extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Guardar'; + @override + String get scanTextButtonLabel => 'Escanear texto'; + @override String get scrimLabel => 'Sombreado'; @@ -12672,6 +12723,9 @@ class MaterialLocalizationEt extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Salvesta'; + @override + String get scanTextButtonLabel => 'Skanni teksti'; + @override String get scrimLabel => 'Sirm'; @@ -13147,6 +13201,9 @@ class MaterialLocalizationEu extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Gorde'; + @override + String get scanTextButtonLabel => 'Eskaneatu testua'; + @override String get scrimLabel => 'Barrera'; @@ -13622,6 +13679,9 @@ class MaterialLocalizationFa extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'ذخیره'; + @override + String get scanTextButtonLabel => 'اسکن متن'; + @override String get scrimLabel => 'رویه'; @@ -14097,6 +14157,9 @@ class MaterialLocalizationFi extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Tallenna'; + @override + String get scanTextButtonLabel => 'Skannaa tekstiä'; + @override String get scrimLabel => 'Sermi'; @@ -14572,6 +14635,9 @@ class MaterialLocalizationFil extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'I-save'; + @override + String get scanTextButtonLabel => 'I-scan ang text'; + @override String get scrimLabel => 'Scrim'; @@ -15047,6 +15113,9 @@ class MaterialLocalizationFr extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Enregistrer'; + @override + String get scanTextButtonLabel => 'Numériser du texte'; + @override String get scrimLabel => 'Fond'; @@ -15664,6 +15733,9 @@ class MaterialLocalizationGl extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Gardar'; + @override + String get scanTextButtonLabel => 'Escanear texto'; + @override String get scrimLabel => 'Sombreado'; @@ -16139,6 +16211,9 @@ class MaterialLocalizationGsw extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Speichern'; + @override + String get scanTextButtonLabel => 'Text scannen'; + @override String get scrimLabel => 'Gitter'; @@ -16614,6 +16689,9 @@ class MaterialLocalizationGu extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'સાચવો'; + @override + String get scanTextButtonLabel => 'ટેક્સ્ટ સ્કેન કરો'; + @override String get scrimLabel => 'સ્ક્રિમ'; @@ -17089,6 +17167,9 @@ class MaterialLocalizationHe extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'שמירה'; + @override + String get scanTextButtonLabel => 'סרוק טקסט'; + @override String get scrimLabel => 'מיסוך'; @@ -17564,6 +17645,9 @@ class MaterialLocalizationHi extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'सेव करें'; + @override + String get scanTextButtonLabel => 'पाठ स्कैन करें'; + @override String get scrimLabel => 'स्क्रिम'; @@ -18039,6 +18123,9 @@ class MaterialLocalizationHr extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Spremi'; + @override + String get scanTextButtonLabel => 'Skeniraj tekst'; + @override String get scrimLabel => 'Rubno'; @@ -18514,6 +18601,9 @@ class MaterialLocalizationHu extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Mentés'; + @override + String get scanTextButtonLabel => 'Szöveg beolvasása'; + @override String get scrimLabel => 'Borítás'; @@ -18989,6 +19079,9 @@ class MaterialLocalizationHy extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Պահել'; + @override + String get scanTextButtonLabel => 'Սկանավորեք տեքստը'; + @override String get scrimLabel => 'Դիմակ'; @@ -19464,6 +19557,9 @@ class MaterialLocalizationId extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Simpan'; + @override + String get scanTextButtonLabel => 'Pindai teks'; + @override String get scrimLabel => 'Scrim'; @@ -19939,6 +20035,9 @@ class MaterialLocalizationIs extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Vista'; + @override + String get scanTextButtonLabel => 'Skannaðu texta'; + @override String get scrimLabel => 'Möskvi'; @@ -20414,6 +20513,9 @@ class MaterialLocalizationIt extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Salva'; + @override + String get scanTextButtonLabel => 'Scansiona il testo'; + @override String get scrimLabel => 'Rete'; @@ -20889,6 +20991,9 @@ class MaterialLocalizationJa extends GlobalMaterialLocalizations { @override String get saveButtonLabel => '保存'; + @override + String get scanTextButtonLabel => 'テキストをスキャン'; + @override String get scrimLabel => 'スクリム'; @@ -21364,6 +21469,9 @@ class MaterialLocalizationKa extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'შენახვა'; + @override + String get scanTextButtonLabel => 'ტექსტის სკანირება'; + @override String get scrimLabel => 'სკრიმი'; @@ -21839,6 +21947,9 @@ class MaterialLocalizationKk extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Сақтау'; + @override + String get scanTextButtonLabel => 'Мәтінді сканерлеу'; + @override String get scrimLabel => 'Кенеп'; @@ -22314,6 +22425,9 @@ class MaterialLocalizationKm extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'រក្សាទុក'; + @override + String get scanTextButtonLabel => 'ស្កេនអត្ថបទ'; + @override String get scrimLabel => 'ផ្ទាំងស្រអាប់'; @@ -22789,6 +22903,9 @@ class MaterialLocalizationKn extends GlobalMaterialLocalizations { @override String get saveButtonLabel => '\u{c89}\u{cb3}\u{cbf}\u{cb8}\u{cbf}'; + @override + String get scanTextButtonLabel => '\u{caa}\u{ca0}\u{ccd}\u{caf}\u{cb5}\u{ca8}\u{ccd}\u{ca8}\u{cc1}\u{20}\u{cb8}\u{ccd}\u{c95}\u{ccd}\u{caf}\u{cbe}\u{ca8}\u{ccd}\u{20}\u{cae}\u{cbe}\u{ca1}\u{cbf}'; + @override String get scrimLabel => '\u{cb8}\u{ccd}\u{c95}\u{ccd}\u{cb0}\u{cbf}\u{cae}\u{ccd}'; @@ -23264,6 +23381,9 @@ class MaterialLocalizationKo extends GlobalMaterialLocalizations { @override String get saveButtonLabel => '저장'; + @override + String get scanTextButtonLabel => '스캔 텍스트'; + @override String get scrimLabel => '스크림'; @@ -23739,6 +23859,9 @@ class MaterialLocalizationKy extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Сактоо'; + @override + String get scanTextButtonLabel => 'Текстти скандоо'; + @override String get scrimLabel => 'Кенеп'; @@ -24214,6 +24337,9 @@ class MaterialLocalizationLo extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'ບັນທຶກ'; + @override + String get scanTextButtonLabel => 'ສະແກນຂໍ້ຄວາມ'; + @override String get scrimLabel => 'Scrim'; @@ -24689,6 +24815,9 @@ class MaterialLocalizationLt extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Išsaugoti'; + @override + String get scanTextButtonLabel => 'Nuskaityti tekstą'; + @override String get scrimLabel => 'Užsklanda'; @@ -25164,6 +25293,9 @@ class MaterialLocalizationLv extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Saglabāt'; + @override + String get scanTextButtonLabel => 'Skenēt tekstu'; + @override String get scrimLabel => 'Pārklājums'; @@ -25639,6 +25771,9 @@ class MaterialLocalizationMk extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Зачувај'; + @override + String get scanTextButtonLabel => 'Скенирајте текст'; + @override String get scrimLabel => 'Скрим'; @@ -26114,6 +26249,9 @@ class MaterialLocalizationMl extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'സംരക്ഷിക്കുക'; + @override + String get scanTextButtonLabel => 'ടെക്സ്റ്റ് സ്കാൻ ചെയ്യുക'; + @override String get scrimLabel => 'സ്ക്രിം'; @@ -26589,6 +26727,9 @@ class MaterialLocalizationMn extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Хадгалах'; + @override + String get scanTextButtonLabel => 'Текст сканнердах'; + @override String get scrimLabel => 'Скрим'; @@ -27064,6 +27205,9 @@ class MaterialLocalizationMr extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'सेव्ह करा'; + @override + String get scanTextButtonLabel => 'मजकूर स्कॅन करा'; + @override String get scrimLabel => 'स्क्रिम'; @@ -27539,6 +27683,9 @@ class MaterialLocalizationMs extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Simpan'; + @override + String get scanTextButtonLabel => 'Pindai teks'; + @override String get scrimLabel => 'Scrim'; @@ -28014,6 +28161,9 @@ class MaterialLocalizationMy extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'သိမ်းရန်'; + @override + String get scanTextButtonLabel => 'စာသားကို စကင်ဖတ်ပါ။'; + @override String get scrimLabel => 'Scrim'; @@ -28489,6 +28639,9 @@ class MaterialLocalizationNb extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Lagre'; + @override + String get scanTextButtonLabel => 'Scan tekst'; + @override String get scrimLabel => 'Vev'; @@ -28964,6 +29117,9 @@ class MaterialLocalizationNe extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'सेभ गर्नुहोस्'; + @override + String get scanTextButtonLabel => 'पाठ स्क्यान गर्नुहोस्'; + @override String get scrimLabel => 'स्क्रिम'; @@ -29439,6 +29595,9 @@ class MaterialLocalizationNl extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Opslaan'; + @override + String get scanTextButtonLabel => 'Tekst scannen'; + @override String get scrimLabel => 'Scrim'; @@ -29914,6 +30073,9 @@ class MaterialLocalizationNo extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Lagre'; + @override + String get scanTextButtonLabel => 'Skann tekst'; + @override String get scrimLabel => 'Vev'; @@ -30389,6 +30551,9 @@ class MaterialLocalizationOr extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'ସେଭ କରନ୍ତୁ'; + @override + String get scanTextButtonLabel => 'ପାଠ୍ୟ ସ୍କାନ୍ କରନ୍ତୁ'; + @override String get scrimLabel => 'ସ୍କ୍ରିମ'; @@ -30864,6 +31029,9 @@ class MaterialLocalizationPa extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'ਰੱਖਿਅਤ ਕਰੋ'; + @override + String get scanTextButtonLabel => 'ਟੈਕਸਟ ਸਕੈਨ ਕਰੋ'; + @override String get scrimLabel => 'ਸਕ੍ਰਿਮ'; @@ -31339,6 +31507,9 @@ class MaterialLocalizationPl extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Zapisz'; + @override + String get scanTextButtonLabel => 'Zeskanuj tekst'; + @override String get scrimLabel => 'Siatka'; @@ -31814,6 +31985,9 @@ class MaterialLocalizationPs extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'SAVE'; + @override + String get scanTextButtonLabel => 'متن سکین کړئ'; + @override String get scrimLabel => 'Scrim'; @@ -32289,6 +32463,9 @@ class MaterialLocalizationPt extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Salvar'; + @override + String get scanTextButtonLabel => 'Digitalizar texto'; + @override String get scrimLabel => 'Scrim'; @@ -32915,6 +33092,9 @@ class MaterialLocalizationRo extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Salvați'; + @override + String get scanTextButtonLabel => 'Scanați textul'; + @override String get scrimLabel => 'Material'; @@ -33390,6 +33570,9 @@ class MaterialLocalizationRu extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Сохранить'; + @override + String get scanTextButtonLabel => 'Сканировать текст'; + @override String get scrimLabel => 'Маска'; @@ -33865,6 +34048,9 @@ class MaterialLocalizationSi extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'සුරකින්න'; + @override + String get scanTextButtonLabel => 'පෙළ පරිලෝකනය කරන්න'; + @override String get scrimLabel => 'ස්ක්‍රිම්'; @@ -34340,6 +34526,9 @@ class MaterialLocalizationSk extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Uložiť'; + @override + String get scanTextButtonLabel => 'Naskenujte text'; + @override String get scrimLabel => 'Scrim'; @@ -34815,6 +35004,9 @@ class MaterialLocalizationSl extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Shrani'; + @override + String get scanTextButtonLabel => 'Skeniraj besedilo'; + @override String get scrimLabel => 'Scrim'; @@ -35290,6 +35482,9 @@ class MaterialLocalizationSq extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Ruaj'; + @override + String get scanTextButtonLabel => 'Skanoni tekstin'; + @override String get scrimLabel => 'Kanavacë'; @@ -35765,6 +35960,9 @@ class MaterialLocalizationSr extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Сачувај'; + @override + String get scanTextButtonLabel => 'Скенирајте текст'; + @override String get scrimLabel => 'Скрим'; @@ -36554,6 +36752,9 @@ class MaterialLocalizationSv extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Spara'; + @override + String get scanTextButtonLabel => 'Skanna text'; + @override String get scrimLabel => 'Scrim'; @@ -37029,6 +37230,9 @@ class MaterialLocalizationSw extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Hifadhi'; + @override + String get scanTextButtonLabel => 'Changanua maandishi'; + @override String get scrimLabel => 'Scrim'; @@ -37504,6 +37708,9 @@ class MaterialLocalizationTa extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'சேமி'; + @override + String get scanTextButtonLabel => 'உரையை ஸ்கேன் செய்யவும்'; + @override String get scrimLabel => 'ஸ்க்ரிம்'; @@ -37979,6 +38186,9 @@ class MaterialLocalizationTe extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'సేవ్ చేయండి'; + @override + String get scanTextButtonLabel => 'వచనాన్ని స్కాన్ చేయండి'; + @override String get scrimLabel => 'స్క్రిమ్'; @@ -38454,6 +38664,9 @@ class MaterialLocalizationTh extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'บันทึก'; + @override + String get scanTextButtonLabel => 'สแกนข้อความ'; + @override String get scrimLabel => 'Scrim'; @@ -38929,6 +39142,9 @@ class MaterialLocalizationTl extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'I-save'; + @override + String get scanTextButtonLabel => 'I-scan ang text'; + @override String get scrimLabel => 'Scrim'; @@ -39404,6 +39620,9 @@ class MaterialLocalizationTr extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Kaydet'; + @override + String get scanTextButtonLabel => 'Metni tara'; + @override String get scrimLabel => 'opaklık katmanı'; @@ -39879,6 +40098,9 @@ class MaterialLocalizationUk extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Зберегти'; + @override + String get scanTextButtonLabel => 'Сканувати текст'; + @override String get scrimLabel => 'Маскувальний фон'; @@ -40354,6 +40576,9 @@ class MaterialLocalizationUr extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'محفوظ کریں'; + @override + String get scanTextButtonLabel => 'متن کو اسکین کریں'; + @override String get scrimLabel => 'اسکریم'; @@ -40829,6 +41054,9 @@ class MaterialLocalizationUz extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Saqlash'; + @override + String get scanTextButtonLabel => 'Matnni skanerlash'; + @override String get scrimLabel => 'Kanop'; @@ -41304,6 +41532,9 @@ class MaterialLocalizationVi extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Lưu'; + @override + String get scanTextButtonLabel => 'Quét văn bản'; + @override String get scrimLabel => 'Scrim'; @@ -41779,6 +42010,9 @@ class MaterialLocalizationZh extends GlobalMaterialLocalizations { @override String get saveButtonLabel => '保存'; + @override + String get scanTextButtonLabel => '扫描文本'; + @override String get scrimLabel => '纱罩'; @@ -42747,6 +42981,9 @@ class MaterialLocalizationZu extends GlobalMaterialLocalizations { @override String get saveButtonLabel => 'Londoloza'; + @override + String get scanTextButtonLabel => 'Skena umbhalo'; + @override String get scrimLabel => 'I-Scrim'; diff --git a/packages/flutter_localizations/lib/src/l10n/material_af.arb b/packages/flutter_localizations/lib/src/l10n/material_af.arb index 9305eaff8e..c593ac8c82 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_af.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_af.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Gaan voort", "copyButtonLabel": "Kopieer", "cutButtonLabel": "Knip", + "scanTextButtonLabel": "Skena umbhalo", "okButtonLabel": "OK", "pasteButtonLabel": "Plak", "selectAllButtonLabel": "Kies alles", diff --git a/packages/flutter_localizations/lib/src/l10n/material_am.arb b/packages/flutter_localizations/lib/src/l10n/material_am.arb index 9252e27227..3538c87c0f 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_am.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_am.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "ቀጥል", "copyButtonLabel": "ቅዳ", "cutButtonLabel": "ቁረጥ", + "scanTextButtonLabel": "ጽሑፍ ይቃኙ", "okButtonLabel": "እሺ", "pasteButtonLabel": "ለጥፍ", "selectAllButtonLabel": "ሁሉንም ምረጥ", diff --git a/packages/flutter_localizations/lib/src/l10n/material_ar.arb b/packages/flutter_localizations/lib/src/l10n/material_ar.arb index 09e0deb146..73f9d2b118 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_ar.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_ar.arb @@ -35,6 +35,7 @@ "continueButtonLabel": "المتابعة", "copyButtonLabel": "نسخ", "cutButtonLabel": "قص", + "scanTextButtonLabel": "مسح النص", "okButtonLabel": "حسنًا", "pasteButtonLabel": "لصق", "selectAllButtonLabel": "اختيار الكل", diff --git a/packages/flutter_localizations/lib/src/l10n/material_as.arb b/packages/flutter_localizations/lib/src/l10n/material_as.arb index 947cb777e7..f358a74411 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_as.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_as.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "অব্যাহত ৰাখক", "copyButtonLabel": "প্ৰতিলিপি কৰক", "cutButtonLabel": "কাট কৰক", + "scanTextButtonLabel": "স্কেন টেক্সট", "okButtonLabel": "ঠিক আছে", "pasteButtonLabel": "পে'ষ্ট কৰক", "selectAllButtonLabel": "সকলো বাছনি কৰক", diff --git a/packages/flutter_localizations/lib/src/l10n/material_az.arb b/packages/flutter_localizations/lib/src/l10n/material_az.arb index ecda4f6a12..ea0736f368 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_az.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_az.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Davam edin", "copyButtonLabel": "Kopyalayın", "cutButtonLabel": "Kəsin", + "scanTextButtonLabel": "Mətni skan edin", "okButtonLabel": "OK", "pasteButtonLabel": "Yerləşdirin", "selectAllButtonLabel": "Hamısını seçin", diff --git a/packages/flutter_localizations/lib/src/l10n/material_be.arb b/packages/flutter_localizations/lib/src/l10n/material_be.arb index d370cfaf26..d58cb14570 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_be.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_be.arb @@ -31,6 +31,7 @@ "continueButtonLabel": "Працягнуць", "copyButtonLabel": "Капіраваць", "cutButtonLabel": "Выразаць", + "scanTextButtonLabel": "Сканаваць тэкст", "okButtonLabel": "ОК", "pasteButtonLabel": "Уставіць", "selectAllButtonLabel": "Выбраць усе", diff --git a/packages/flutter_localizations/lib/src/l10n/material_bg.arb b/packages/flutter_localizations/lib/src/l10n/material_bg.arb index bc18ea7dac..fb6074c48d 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_bg.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_bg.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Напред", "copyButtonLabel": "Копиране", "cutButtonLabel": "Изрязване", + "scanTextButtonLabel": "Сканиране на текст", "okButtonLabel": "OK", "pasteButtonLabel": "Поставяне", "selectAllButtonLabel": "Избиране на всички", diff --git a/packages/flutter_localizations/lib/src/l10n/material_bn.arb b/packages/flutter_localizations/lib/src/l10n/material_bn.arb index cb6809b260..03587bc348 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_bn.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_bn.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "চালিয়ে যান", "copyButtonLabel": "কপি করুন", "cutButtonLabel": "কাট করুন", + "scanTextButtonLabel": "পাঠ্য স্ক্যান করুন", "okButtonLabel": "ঠিক আছে", "pasteButtonLabel": "পেস্ট করুন", "selectAllButtonLabel": "সব বেছে নিন", diff --git a/packages/flutter_localizations/lib/src/l10n/material_bs.arb b/packages/flutter_localizations/lib/src/l10n/material_bs.arb index 8915688b00..bbe68a1daf 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_bs.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_bs.arb @@ -28,6 +28,7 @@ "continueButtonLabel": "Nastavi", "copyButtonLabel": "Kopiraj", "cutButtonLabel": "Izreži", + "scanTextButtonLabel": "Skeniraj tekst", "okButtonLabel": "Uredu", "pasteButtonLabel": "Zalijepi", "selectAllButtonLabel": "Odaberi sve", diff --git a/packages/flutter_localizations/lib/src/l10n/material_ca.arb b/packages/flutter_localizations/lib/src/l10n/material_ca.arb index 031a078b72..aecdb08277 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_ca.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_ca.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Continua", "copyButtonLabel": "Copia", "cutButtonLabel": "Retalla", + "scanTextButtonLabel": "Escaneja el text", "okButtonLabel": "D'ACORD", "pasteButtonLabel": "Enganxa", "selectAllButtonLabel": "Selecciona-ho tot", diff --git a/packages/flutter_localizations/lib/src/l10n/material_cs.arb b/packages/flutter_localizations/lib/src/l10n/material_cs.arb index 4dcd0628fb..1e17c2e1c9 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_cs.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_cs.arb @@ -31,6 +31,7 @@ "continueButtonLabel": "Pokračovat", "copyButtonLabel": "Kopírovat", "cutButtonLabel": "Vyjmout", + "scanTextButtonLabel": "Naskenujte text", "okButtonLabel": "OK", "pasteButtonLabel": "Vložit", "selectAllButtonLabel": "Vybrat vše", diff --git a/packages/flutter_localizations/lib/src/l10n/material_cy.arb b/packages/flutter_localizations/lib/src/l10n/material_cy.arb index 35831c845e..1cf88afa69 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_cy.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_cy.arb @@ -150,5 +150,6 @@ "expansionTileExpandedTapHint": "Collapse", "expansionTileCollapsedTapHint": "Expand for more details", "expandedHint": "Collapsed", - "collapsedHint": "Expanded" + "collapsedHint": "Expanded", + "scanTextButtonLabel": "Scan text" } diff --git a/packages/flutter_localizations/lib/src/l10n/material_da.arb b/packages/flutter_localizations/lib/src/l10n/material_da.arb index 98d147e92e..52c309eda3 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_da.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_da.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Fortsæt", "copyButtonLabel": "Kopiér", "cutButtonLabel": "Klip", + "scanTextButtonLabel": "Scan tekst", "okButtonLabel": "OK", "pasteButtonLabel": "Indsæt", "selectAllButtonLabel": "Markér alt", diff --git a/packages/flutter_localizations/lib/src/l10n/material_de.arb b/packages/flutter_localizations/lib/src/l10n/material_de.arb index f72cfe3c19..9a5fbefb09 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_de.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_de.arb @@ -26,6 +26,7 @@ "continueButtonLabel": "Weiter", "copyButtonLabel": "Kopieren", "cutButtonLabel": "Ausschneiden", + "scanTextButtonLabel": "Text scannen", "okButtonLabel": "OK", "pasteButtonLabel": "Einsetzen", "selectAllButtonLabel": "Alle auswählen", diff --git a/packages/flutter_localizations/lib/src/l10n/material_el.arb b/packages/flutter_localizations/lib/src/l10n/material_el.arb index c0727743dc..e9f3408a99 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_el.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_el.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Συνέχεια", "copyButtonLabel": "Αντιγραφή", "cutButtonLabel": "Αποκοπή", + "scanTextButtonLabel": "Σάρωση κειμένου", "okButtonLabel": "ΟΚ", "pasteButtonLabel": "Επικόλληση", "selectAllButtonLabel": "Επιλογή όλων", diff --git a/packages/flutter_localizations/lib/src/l10n/material_en.arb b/packages/flutter_localizations/lib/src/l10n/material_en.arb index dc2e11e49b..dd9746dcd5 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_en.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_en.arb @@ -192,6 +192,11 @@ "description": "The label for cut buttons and menu items." }, + "scanTextButtonLabel": "Scan text", + "@scanTextButtonLabel": { + "description": "The label for scan text buttons and menu items for starting the insertion of text via OCR." + }, + "okButtonLabel": "OK", "@okButtonLabel": { "description": "The label for OK buttons and menu items." diff --git a/packages/flutter_localizations/lib/src/l10n/material_es.arb b/packages/flutter_localizations/lib/src/l10n/material_es.arb index 4ceef3a18c..59eed0c432 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_es.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_es.arb @@ -26,6 +26,7 @@ "continueButtonLabel": "Continuar", "copyButtonLabel": "Copiar", "cutButtonLabel": "Cortar", + "scanTextButtonLabel": "Escanear texto", "okButtonLabel": "ACEPTAR", "pasteButtonLabel": "Pegar", "selectAllButtonLabel": "Seleccionar todo", diff --git a/packages/flutter_localizations/lib/src/l10n/material_et.arb b/packages/flutter_localizations/lib/src/l10n/material_et.arb index 90f8c507a3..97fb40a2a7 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_et.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_et.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Jätka", "copyButtonLabel": "Kopeeri", "cutButtonLabel": "Lõika", + "scanTextButtonLabel": "Skanni teksti", "okButtonLabel": "OK", "pasteButtonLabel": "Kleebi", "selectAllButtonLabel": "Vali kõik", diff --git a/packages/flutter_localizations/lib/src/l10n/material_eu.arb b/packages/flutter_localizations/lib/src/l10n/material_eu.arb index 3d0b043d93..8e299211b2 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_eu.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_eu.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Egin aurrera", "copyButtonLabel": "Kopiatu", "cutButtonLabel": "Ebaki", + "scanTextButtonLabel": "Eskaneatu testua", "okButtonLabel": "Ados", "pasteButtonLabel": "Itsatsi", "selectAllButtonLabel": "Hautatu guztiak", diff --git a/packages/flutter_localizations/lib/src/l10n/material_fa.arb b/packages/flutter_localizations/lib/src/l10n/material_fa.arb index 7dc1bcde30..20c7fbcfd9 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_fa.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_fa.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "ادامه", "copyButtonLabel": "کپی", "cutButtonLabel": "برش", + "scanTextButtonLabel": "اسکن متن", "okButtonLabel": "تأیید", "pasteButtonLabel": "جای‌گذاری", "selectAllButtonLabel": "انتخاب همه", diff --git a/packages/flutter_localizations/lib/src/l10n/material_fi.arb b/packages/flutter_localizations/lib/src/l10n/material_fi.arb index ba4ce53ed1..8db1a1af41 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_fi.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_fi.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Jatka", "copyButtonLabel": "Kopioi", "cutButtonLabel": "Leikkaa", + "scanTextButtonLabel": "Skannaa tekstiä", "okButtonLabel": "OK", "pasteButtonLabel": "Liitä", "selectAllButtonLabel": "Valitse kaikki", diff --git a/packages/flutter_localizations/lib/src/l10n/material_fil.arb b/packages/flutter_localizations/lib/src/l10n/material_fil.arb index c1541844e6..fbf38a18b9 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_fil.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_fil.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Magpatuloy", "copyButtonLabel": "Kopyahin", "cutButtonLabel": "I-cut", + "scanTextButtonLabel": "I-scan ang text", "okButtonLabel": "OK", "pasteButtonLabel": "I-paste", "selectAllButtonLabel": "Piliin lahat", diff --git a/packages/flutter_localizations/lib/src/l10n/material_fr.arb b/packages/flutter_localizations/lib/src/l10n/material_fr.arb index 39f5122f0b..accbb33f23 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_fr.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_fr.arb @@ -26,6 +26,7 @@ "continueButtonLabel": "Continuer", "copyButtonLabel": "Copier", "cutButtonLabel": "Couper", + "scanTextButtonLabel": "Numériser du texte", "okButtonLabel": "OK", "pasteButtonLabel": "Coller", "selectAllButtonLabel": "Tout sélectionner", diff --git a/packages/flutter_localizations/lib/src/l10n/material_gl.arb b/packages/flutter_localizations/lib/src/l10n/material_gl.arb index 0e8a200638..2557795963 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_gl.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_gl.arb @@ -26,6 +26,7 @@ "continueButtonLabel": "Continuar", "copyButtonLabel": "Copiar", "cutButtonLabel": "Cortar", + "scanTextButtonLabel": "Escanear texto", "okButtonLabel": "Aceptar", "pasteButtonLabel": "Pegar", "selectAllButtonLabel": "Seleccionar todo", diff --git a/packages/flutter_localizations/lib/src/l10n/material_gsw.arb b/packages/flutter_localizations/lib/src/l10n/material_gsw.arb index f8a66c88c2..1d803e7b2f 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_gsw.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_gsw.arb @@ -30,6 +30,7 @@ "continueButtonLabel": "Weiter", "copyButtonLabel": "Kopieren", "cutButtonLabel": "Ausschneiden", + "scanTextButtonLabel": "Text scannen", "okButtonLabel": "OK", "pasteButtonLabel": "Einsetzen", "selectAllButtonLabel": "Alle auswählen", diff --git a/packages/flutter_localizations/lib/src/l10n/material_gu.arb b/packages/flutter_localizations/lib/src/l10n/material_gu.arb index 053afe5f3c..371690c084 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_gu.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_gu.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "ચાલુ રાખો", "copyButtonLabel": "કૉપિ કરો", "cutButtonLabel": "કાપો", + "scanTextButtonLabel": "ટેક્સ્ટ સ્કેન કરો", "okButtonLabel": "ઓકે", "pasteButtonLabel": "પેસ્ટ કરો", "selectAllButtonLabel": "બધા પસંદ કરો", diff --git a/packages/flutter_localizations/lib/src/l10n/material_he.arb b/packages/flutter_localizations/lib/src/l10n/material_he.arb index 73991d6c8e..c1f33f5bb6 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_he.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_he.arb @@ -31,6 +31,7 @@ "continueButtonLabel": "המשך", "copyButtonLabel": "העתקה", "cutButtonLabel": "גזירה", + "scanTextButtonLabel": "סרוק טקסט", "okButtonLabel": "אישור", "pasteButtonLabel": "הדבקה", "selectAllButtonLabel": "בחירת הכול", diff --git a/packages/flutter_localizations/lib/src/l10n/material_hi.arb b/packages/flutter_localizations/lib/src/l10n/material_hi.arb index 4ccdf90019..78fe9a1d30 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_hi.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_hi.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "जारी रखें", "copyButtonLabel": "कॉपी करें", "cutButtonLabel": "काटें", + "scanTextButtonLabel": "पाठ स्कैन करें", "okButtonLabel": "ठीक है", "pasteButtonLabel": "चिपकाएं", "selectAllButtonLabel": "सभी को चुनें", diff --git a/packages/flutter_localizations/lib/src/l10n/material_hr.arb b/packages/flutter_localizations/lib/src/l10n/material_hr.arb index 1a199173f4..7535eb9e70 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_hr.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_hr.arb @@ -28,6 +28,7 @@ "continueButtonLabel": "Nastavi", "copyButtonLabel": "Kopiraj", "cutButtonLabel": "Izreži", + "scanTextButtonLabel": "Skeniraj tekst", "okButtonLabel": "U REDU", "pasteButtonLabel": "Zalijepi", "selectAllButtonLabel": "Odaberi sve", diff --git a/packages/flutter_localizations/lib/src/l10n/material_hu.arb b/packages/flutter_localizations/lib/src/l10n/material_hu.arb index 654be05879..88c57ae8b3 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_hu.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_hu.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Folytatás", "copyButtonLabel": "Másolás", "cutButtonLabel": "Kivágás", + "scanTextButtonLabel": "Szöveg beolvasása", "okButtonLabel": "OK", "pasteButtonLabel": "Beillesztés", "selectAllButtonLabel": "Összes kijelölése", diff --git a/packages/flutter_localizations/lib/src/l10n/material_hy.arb b/packages/flutter_localizations/lib/src/l10n/material_hy.arb index 4e1d29cc28..02d1ab87b9 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_hy.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_hy.arb @@ -30,6 +30,7 @@ "continueButtonLabel": "Շարունակել", "copyButtonLabel": "Պատճենել", "cutButtonLabel": "Կտրել", + "scanTextButtonLabel": "Սկանավորեք տեքստը", "okButtonLabel": "Եղավ", "pasteButtonLabel": "Տեղադրել", "selectAllButtonLabel": "Նշել բոլորը", diff --git a/packages/flutter_localizations/lib/src/l10n/material_id.arb b/packages/flutter_localizations/lib/src/l10n/material_id.arb index e48f988c20..131bface74 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_id.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_id.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Lanjutkan", "copyButtonLabel": "Salin", "cutButtonLabel": "Potong", + "scanTextButtonLabel": "Pindai teks", "okButtonLabel": "OKE", "pasteButtonLabel": "Tempel", "selectAllButtonLabel": "Pilih semua", diff --git a/packages/flutter_localizations/lib/src/l10n/material_is.arb b/packages/flutter_localizations/lib/src/l10n/material_is.arb index 2dfd4ed24f..30078d757f 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_is.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_is.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Áfram", "copyButtonLabel": "Afrita", "cutButtonLabel": "Klippa", + "scanTextButtonLabel": "Skannaðu texta", "okButtonLabel": "Í lagi", "pasteButtonLabel": "Líma", "selectAllButtonLabel": "Velja allt", diff --git a/packages/flutter_localizations/lib/src/l10n/material_it.arb b/packages/flutter_localizations/lib/src/l10n/material_it.arb index 9f7f4a8303..1f35104a9d 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_it.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_it.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Continua", "copyButtonLabel": "Copia", "cutButtonLabel": "Taglia", + "scanTextButtonLabel": "Scansiona il testo", "okButtonLabel": "OK", "pasteButtonLabel": "Incolla", "selectAllButtonLabel": "Seleziona tutto", diff --git a/packages/flutter_localizations/lib/src/l10n/material_ja.arb b/packages/flutter_localizations/lib/src/l10n/material_ja.arb index 59f145fe45..58e3c810ba 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_ja.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_ja.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "続行", "copyButtonLabel": "コピー", "cutButtonLabel": "切り取り", + "scanTextButtonLabel": "テキストをスキャン", "okButtonLabel": "OK", "pasteButtonLabel": "貼り付け", "selectAllButtonLabel": "すべて選択", diff --git a/packages/flutter_localizations/lib/src/l10n/material_ka.arb b/packages/flutter_localizations/lib/src/l10n/material_ka.arb index 36ff3fe761..b221c94792 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_ka.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_ka.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "გაგრძელება", "copyButtonLabel": "კოპირება", "cutButtonLabel": "ამოჭრა", + "scanTextButtonLabel": "ტექსტის სკანირება", "okButtonLabel": "კარგი", "pasteButtonLabel": "ჩასმა", "selectAllButtonLabel": "ყველას არჩევა", diff --git a/packages/flutter_localizations/lib/src/l10n/material_kk.arb b/packages/flutter_localizations/lib/src/l10n/material_kk.arb index b35d5989d8..a318f00a48 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_kk.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_kk.arb @@ -27,6 +27,7 @@ "continueButtonLabel": "Жалғастыру", "copyButtonLabel": "Көшіру", "cutButtonLabel": "Қию", + "scanTextButtonLabel": "Мәтінді сканерлеу", "okButtonLabel": "Иә", "pasteButtonLabel": "Қою", "selectAllButtonLabel": "Барлығын таңдау", diff --git a/packages/flutter_localizations/lib/src/l10n/material_km.arb b/packages/flutter_localizations/lib/src/l10n/material_km.arb index 7d61ff71db..9c2a624991 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_km.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_km.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "បន្ត", "copyButtonLabel": "ចម្លង", "cutButtonLabel": "កាត់", + "scanTextButtonLabel": "ស្កេនអត្ថបទ", "okButtonLabel": "យល់ព្រម", "pasteButtonLabel": "ដាក់​ចូល", "selectAllButtonLabel": "ជ្រើសរើស​ទាំងអស់", diff --git a/packages/flutter_localizations/lib/src/l10n/material_kn.arb b/packages/flutter_localizations/lib/src/l10n/material_kn.arb index 7beddc5670..624941d984 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_kn.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_kn.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "\u0cae\u0cc1\u0c82\u0ca6\u0cc1\u0cb5\u0cb0\u0cbf\u0cb8\u0cbf", "copyButtonLabel": "\u0ca8\u0c95\u0cb2\u0cbf\u0cb8\u0cbf", "cutButtonLabel": "\u0c95\u0ca4\u0ccd\u0ca4\u0cb0\u0cbf\u0cb8\u0cbf", + "scanTextButtonLabel": "\u0caa\u0ca0\u0ccd\u0caf\u0cb5\u0ca8\u0ccd\u0ca8\u0cc1\u0020\u0cb8\u0ccd\u0c95\u0ccd\u0caf\u0cbe\u0ca8\u0ccd\u0020\u0cae\u0cbe\u0ca1\u0cbf", "okButtonLabel": "\u0cb8\u0cb0\u0cbf", "pasteButtonLabel": "\u0c85\u0c82\u0c9f\u0cbf\u0cb8\u0cbf", "selectAllButtonLabel": "\u0c8e\u0cb2\u0ccd\u0cb2\u0cb5\u0ca8\u0ccd\u0ca8\u0cc2\u0020\u0c86\u0caf\u0ccd\u0c95\u0cc6\u0020\u0cae\u0cbe\u0ca1\u0cbf", diff --git a/packages/flutter_localizations/lib/src/l10n/material_ko.arb b/packages/flutter_localizations/lib/src/l10n/material_ko.arb index b0d7fc88f3..4b2eeee024 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_ko.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_ko.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "계속", "copyButtonLabel": "복사", "cutButtonLabel": "잘라냄", + "scanTextButtonLabel": "스캔 텍스트", "okButtonLabel": "확인", "pasteButtonLabel": "붙여넣기", "selectAllButtonLabel": "전체 선택", diff --git a/packages/flutter_localizations/lib/src/l10n/material_ky.arb b/packages/flutter_localizations/lib/src/l10n/material_ky.arb index e751ea37e8..568e08e294 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_ky.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_ky.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Улантуу", "copyButtonLabel": "Көчүрүү", "cutButtonLabel": "Кесүү", + "scanTextButtonLabel": "Текстти скандоо", "okButtonLabel": "Макул", "pasteButtonLabel": "Чаптоо", "selectAllButtonLabel": "Баарын тандоо", diff --git a/packages/flutter_localizations/lib/src/l10n/material_lo.arb b/packages/flutter_localizations/lib/src/l10n/material_lo.arb index c28b7be49d..2b02046d14 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_lo.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_lo.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "ສືບຕໍ່", "copyButtonLabel": "ສຳເນົາ", "cutButtonLabel": "ຕັດ", + "scanTextButtonLabel": "ສະແກນຂໍ້ຄວາມ", "okButtonLabel": "ຕົກລົງ", "pasteButtonLabel": "ວາງ", "selectAllButtonLabel": "ເລືອກທັງໝົດ", diff --git a/packages/flutter_localizations/lib/src/l10n/material_lt.arb b/packages/flutter_localizations/lib/src/l10n/material_lt.arb index 82bf6e24c4..62d77cb56a 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_lt.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_lt.arb @@ -31,6 +31,7 @@ "continueButtonLabel": "Tęsti", "copyButtonLabel": "Kopijuoti", "cutButtonLabel": "Iškirpti", + "scanTextButtonLabel": "Nuskaityti tekstą", "okButtonLabel": "GERAI", "pasteButtonLabel": "Įklijuoti", "selectAllButtonLabel": "Pasirinkti viską", diff --git a/packages/flutter_localizations/lib/src/l10n/material_lv.arb b/packages/flutter_localizations/lib/src/l10n/material_lv.arb index 62bdf7edf9..3c84e58cea 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_lv.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_lv.arb @@ -26,6 +26,7 @@ "continueButtonLabel": "Turpināt", "copyButtonLabel": "Kopēt", "cutButtonLabel": "Izgriezt", + "scanTextButtonLabel": "Skenēt tekstu", "okButtonLabel": "LABI", "pasteButtonLabel": "Ielīmēt", "selectAllButtonLabel": "Atlasīt visu", diff --git a/packages/flutter_localizations/lib/src/l10n/material_mk.arb b/packages/flutter_localizations/lib/src/l10n/material_mk.arb index 8f479b8883..99586cbc33 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_mk.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_mk.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Продолжи", "copyButtonLabel": "Копирај", "cutButtonLabel": "Исечи", + "scanTextButtonLabel": "Скенирајте текст", "okButtonLabel": "Во ред", "pasteButtonLabel": "Залепи", "selectAllButtonLabel": "Избери ги сите", diff --git a/packages/flutter_localizations/lib/src/l10n/material_ml.arb b/packages/flutter_localizations/lib/src/l10n/material_ml.arb index bda009d4b3..28896359cc 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_ml.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_ml.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "തുടരുക", "copyButtonLabel": "പകർത്തുക", "cutButtonLabel": "മുറിക്കുക", + "scanTextButtonLabel": "ടെക്സ്റ്റ് സ്കാൻ ചെയ്യുക", "okButtonLabel": "ശരി", "pasteButtonLabel": "ഒട്ടിക്കുക", "selectAllButtonLabel": "എല്ലാം തിരഞ്ഞെടുക്കുക", diff --git a/packages/flutter_localizations/lib/src/l10n/material_mn.arb b/packages/flutter_localizations/lib/src/l10n/material_mn.arb index 9d2cd46341..a960b7b141 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_mn.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_mn.arb @@ -26,6 +26,7 @@ "continueButtonLabel": "Үргэлжлүүлэх", "copyButtonLabel": "Хуулах", "cutButtonLabel": "Таслах", + "scanTextButtonLabel": "Текст сканнердах", "okButtonLabel": "OK", "pasteButtonLabel": "Буулгах", "selectAllButtonLabel": "Бүгдийг сонгох", diff --git a/packages/flutter_localizations/lib/src/l10n/material_mr.arb b/packages/flutter_localizations/lib/src/l10n/material_mr.arb index 35b68b5503..ccc1ab9019 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_mr.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_mr.arb @@ -26,6 +26,7 @@ "continueButtonLabel": "पुढे सुरू ठेवा", "copyButtonLabel": "कॉपी करा", "cutButtonLabel": "कट करा", + "scanTextButtonLabel": "मजकूर स्कॅन करा", "okButtonLabel": "ओके", "pasteButtonLabel": "पेस्ट करा", "selectAllButtonLabel": "सर्व निवडा", diff --git a/packages/flutter_localizations/lib/src/l10n/material_ms.arb b/packages/flutter_localizations/lib/src/l10n/material_ms.arb index fed2636a7f..2efd94a47b 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_ms.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_ms.arb @@ -26,6 +26,7 @@ "continueButtonLabel": "Teruskan", "copyButtonLabel": "Salin", "cutButtonLabel": "Potong", + "scanTextButtonLabel": "Pindai teks", "okButtonLabel": "OK", "pasteButtonLabel": "Tampal", "selectAllButtonLabel": "Pilih semua", diff --git a/packages/flutter_localizations/lib/src/l10n/material_my.arb b/packages/flutter_localizations/lib/src/l10n/material_my.arb index b29091ee06..06cde1220d 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_my.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_my.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "ရှေ့ဆက်ရန်", "copyButtonLabel": "မိတ္တူကူးရန်", "cutButtonLabel": "ဖြတ်ယူရန်", + "scanTextButtonLabel": "စာသားကို စကင်ဖတ်ပါ။", "okButtonLabel": "OK", "pasteButtonLabel": "ကူးထည့်ရန်", "selectAllButtonLabel": "အားလုံး ရွေးရန်", diff --git a/packages/flutter_localizations/lib/src/l10n/material_nb.arb b/packages/flutter_localizations/lib/src/l10n/material_nb.arb index f8e53f425d..0a4810524f 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_nb.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_nb.arb @@ -28,6 +28,7 @@ "continueButtonLabel": "Fortsett", "copyButtonLabel": "Kopiér", "cutButtonLabel": "Klipp ut", + "scanTextButtonLabel": "Scan tekst", "okButtonLabel": "OK", "pasteButtonLabel": "Lim inn", "selectAllButtonLabel": "Velg alle", diff --git a/packages/flutter_localizations/lib/src/l10n/material_ne.arb b/packages/flutter_localizations/lib/src/l10n/material_ne.arb index 55c65de2de..7c53636103 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_ne.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_ne.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "जारी राख्नुहोस्", "copyButtonLabel": "प्रतिलिपि गर्नुहोस्", "cutButtonLabel": "काट्नुहोस्", + "scanTextButtonLabel": "पाठ स्क्यान गर्नुहोस्", "okButtonLabel": "ठिक छ", "pasteButtonLabel": "टाँस्नुहोस्", "selectAllButtonLabel": "सबै बटनहरू चयन गर्नुहोस्", diff --git a/packages/flutter_localizations/lib/src/l10n/material_nl.arb b/packages/flutter_localizations/lib/src/l10n/material_nl.arb index 090aa051e3..16d0bceebf 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_nl.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_nl.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Doorgaan", "copyButtonLabel": "Kopiëren", "cutButtonLabel": "Knippen", + "scanTextButtonLabel": "Tekst scannen", "okButtonLabel": "OK", "pasteButtonLabel": "Plakken", "selectAllButtonLabel": "Alles selecteren", diff --git a/packages/flutter_localizations/lib/src/l10n/material_no.arb b/packages/flutter_localizations/lib/src/l10n/material_no.arb index f8e53f425d..a311a70b25 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_no.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_no.arb @@ -28,6 +28,7 @@ "continueButtonLabel": "Fortsett", "copyButtonLabel": "Kopiér", "cutButtonLabel": "Klipp ut", + "scanTextButtonLabel": "Skann tekst", "okButtonLabel": "OK", "pasteButtonLabel": "Lim inn", "selectAllButtonLabel": "Velg alle", diff --git a/packages/flutter_localizations/lib/src/l10n/material_or.arb b/packages/flutter_localizations/lib/src/l10n/material_or.arb index 834be306eb..299d57c067 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_or.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_or.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "ଜାରି ରଖନ୍ତୁ", "copyButtonLabel": "କପି କରନ୍ତୁ", "cutButtonLabel": "କଟ୍ କରନ୍ତୁ", + "scanTextButtonLabel": "ପାଠ୍ୟ ସ୍କାନ୍ କରନ୍ତୁ", "okButtonLabel": "ଠିକ୍ ଅଛି", "pasteButtonLabel": "ପେଷ୍ଟ କରନ୍ତୁ", "selectAllButtonLabel": "ସବୁ ଚୟନ କରନ୍ତୁ", diff --git a/packages/flutter_localizations/lib/src/l10n/material_pa.arb b/packages/flutter_localizations/lib/src/l10n/material_pa.arb index c0d9ba71e3..d48c4611a6 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_pa.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_pa.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "ਜਾਰੀ ਰੱਖੋ", "copyButtonLabel": "ਕਾਪੀ ਕਰੋ", "cutButtonLabel": "ਕੱਟ ਕਰੋ", + "scanTextButtonLabel": "ਟੈਕਸਟ ਸਕੈਨ ਕਰੋ", "okButtonLabel": "ਠੀਕ ਹੈ", "pasteButtonLabel": "ਪੇਸਟ ਕਰੋ", "selectAllButtonLabel": "ਸਭ ਚੁਣੋ", diff --git a/packages/flutter_localizations/lib/src/l10n/material_pl.arb b/packages/flutter_localizations/lib/src/l10n/material_pl.arb index 3385571c58..47695b170d 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_pl.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_pl.arb @@ -31,6 +31,7 @@ "continueButtonLabel": "Dalej", "copyButtonLabel": "Kopiuj", "cutButtonLabel": "Wytnij", + "scanTextButtonLabel": "Zeskanuj tekst", "okButtonLabel": "OK", "pasteButtonLabel": "Wklej", "selectAllButtonLabel": "Zaznacz wszystko", diff --git a/packages/flutter_localizations/lib/src/l10n/material_ps.arb b/packages/flutter_localizations/lib/src/l10n/material_ps.arb index 524bb28c8f..042b8055db 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_ps.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_ps.arb @@ -28,6 +28,7 @@ "continueButtonLabel": "منځپانګې", "copyButtonLabel": "کاپی", "cutButtonLabel": "کم کړئ", + "scanTextButtonLabel": "متن سکین کړئ", "okButtonLabel": "سمه ده", "pasteButtonLabel": "پیټ کړئ", "selectAllButtonLabel": "غوره کړئ", diff --git a/packages/flutter_localizations/lib/src/l10n/material_pt.arb b/packages/flutter_localizations/lib/src/l10n/material_pt.arb index e34cb8d551..c671af7dab 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_pt.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_pt.arb @@ -29,6 +29,7 @@ "continueButtonLabel": "Continuar", "copyButtonLabel": "Copiar", "cutButtonLabel": "Cortar", + "scanTextButtonLabel": "Digitalizar texto", "okButtonLabel": "OK", "pasteButtonLabel": "Colar", "selectAllButtonLabel": "Selecionar tudo", diff --git a/packages/flutter_localizations/lib/src/l10n/material_ro.arb b/packages/flutter_localizations/lib/src/l10n/material_ro.arb index 2c909c41cd..fcd7130a5d 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_ro.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_ro.arb @@ -29,6 +29,7 @@ "continueButtonLabel": "Continuați", "copyButtonLabel": "Copiați", "cutButtonLabel": "Decupați", + "scanTextButtonLabel": "Scanați textul", "okButtonLabel": "OK", "pasteButtonLabel": "Inserați", "selectAllButtonLabel": "Selectați tot", diff --git a/packages/flutter_localizations/lib/src/l10n/material_ru.arb b/packages/flutter_localizations/lib/src/l10n/material_ru.arb index 3027f585c2..9b81a9cc66 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_ru.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_ru.arb @@ -32,6 +32,7 @@ "continueButtonLabel": "Продолжить", "copyButtonLabel": "Копировать", "cutButtonLabel": "Вырезать", + "scanTextButtonLabel": "Сканировать текст", "okButtonLabel": "ОК", "pasteButtonLabel": "Вставить", "selectAllButtonLabel": "Выбрать все", diff --git a/packages/flutter_localizations/lib/src/l10n/material_si.arb b/packages/flutter_localizations/lib/src/l10n/material_si.arb index f4acf36a7f..4ac3ecfe99 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_si.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_si.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "ඉදිරියට යන්න", "copyButtonLabel": "පිටපත් කරන්න", "cutButtonLabel": "කපන්න", + "scanTextButtonLabel": "පෙළ පරිලෝකනය කරන්න", "okButtonLabel": "හරි", "pasteButtonLabel": "අලවන්න", "selectAllButtonLabel": "සියල්ල තෝරන්න", diff --git a/packages/flutter_localizations/lib/src/l10n/material_sk.arb b/packages/flutter_localizations/lib/src/l10n/material_sk.arb index deb8c5e773..a85cfaf3b0 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_sk.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_sk.arb @@ -31,6 +31,7 @@ "continueButtonLabel": "Pokračovať", "copyButtonLabel": "Kopírovať", "cutButtonLabel": "Vystrihnúť", + "scanTextButtonLabel": "Naskenujte text", "okButtonLabel": "OK", "pasteButtonLabel": "Prilepiť", "selectAllButtonLabel": "Vybrať všetko", diff --git a/packages/flutter_localizations/lib/src/l10n/material_sl.arb b/packages/flutter_localizations/lib/src/l10n/material_sl.arb index dd6941d070..7fe2795860 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_sl.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_sl.arb @@ -31,6 +31,7 @@ "continueButtonLabel": "Naprej", "copyButtonLabel": "Kopiraj", "cutButtonLabel": "Izreži", + "scanTextButtonLabel": "Skeniraj besedilo", "okButtonLabel": "V REDU", "pasteButtonLabel": "Prilepi", "selectAllButtonLabel": "Izberi vse", diff --git a/packages/flutter_localizations/lib/src/l10n/material_sq.arb b/packages/flutter_localizations/lib/src/l10n/material_sq.arb index 123b5e490d..9db947b7c5 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_sq.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_sq.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Vazhdo", "copyButtonLabel": "Kopjo", "cutButtonLabel": "Prit", + "scanTextButtonLabel": "Skanoni tekstin", "okButtonLabel": "Në rregull", "pasteButtonLabel": "Ngjit", "selectAllButtonLabel": "Zgjidh të gjitha", diff --git a/packages/flutter_localizations/lib/src/l10n/material_sr.arb b/packages/flutter_localizations/lib/src/l10n/material_sr.arb index c041c7c1ef..05865175bd 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_sr.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_sr.arb @@ -28,6 +28,7 @@ "continueButtonLabel": "Настави", "copyButtonLabel": "Копирај", "cutButtonLabel": "Исеци", + "scanTextButtonLabel": "Скенирајте текст", "okButtonLabel": "Потврди", "pasteButtonLabel": "Налепи", "selectAllButtonLabel": "Изабери све", diff --git a/packages/flutter_localizations/lib/src/l10n/material_sv.arb b/packages/flutter_localizations/lib/src/l10n/material_sv.arb index e73b740fdf..5e4573804a 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_sv.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_sv.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Fortsätt", "copyButtonLabel": "Kopiera", "cutButtonLabel": "Klipp ut", + "scanTextButtonLabel": "Skanna text", "okButtonLabel": "OK", "pasteButtonLabel": "Klistra in", "selectAllButtonLabel": "Markera allt", diff --git a/packages/flutter_localizations/lib/src/l10n/material_sw.arb b/packages/flutter_localizations/lib/src/l10n/material_sw.arb index 518629e6eb..b31a119b59 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_sw.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_sw.arb @@ -26,6 +26,7 @@ "continueButtonLabel": "Endelea", "copyButtonLabel": "Nakili", "cutButtonLabel": "Kata", + "scanTextButtonLabel": "Changanua maandishi", "okButtonLabel": "Sawa", "pasteButtonLabel": "Bandika", "selectAllButtonLabel": "Chagua vyote", diff --git a/packages/flutter_localizations/lib/src/l10n/material_ta.arb b/packages/flutter_localizations/lib/src/l10n/material_ta.arb index 0fbc0d4947..f6fd8c3b3b 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_ta.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_ta.arb @@ -17,6 +17,7 @@ "reorderItemLeft": "இடப்புறம் நகர்த்தவும்", "reorderItemRight": "வலப்புறம் நகர்த்தவும்", "cutButtonLabel": "வெட்டு", + "scanTextButtonLabel": "உரையை ஸ்கேன் செய்யவும்", "pasteButtonLabel": "ஒட்டு", "previousMonthTooltip": "முந்தைய மாதம்", "nextMonthTooltip": "அடுத்த மாதம்", diff --git a/packages/flutter_localizations/lib/src/l10n/material_te.arb b/packages/flutter_localizations/lib/src/l10n/material_te.arb index 39223608f1..4220e89b98 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_te.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_te.arb @@ -24,6 +24,7 @@ "closeButtonLabel": "మూసివేయండి", "continueButtonLabel": "కొనసాగించండి", "copyButtonLabel": "కాపీ చేయి", + "scanTextButtonLabel": "వచనాన్ని స్కాన్ చేయండి", "cutButtonLabel": "కత్తిరించండి", "okButtonLabel": "సరే", "pasteButtonLabel": "పేస్ట్ చేయండి", diff --git a/packages/flutter_localizations/lib/src/l10n/material_th.arb b/packages/flutter_localizations/lib/src/l10n/material_th.arb index 9ee0ceedaa..a0180b3b9b 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_th.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_th.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "ต่อไป", "copyButtonLabel": "คัดลอก", "cutButtonLabel": "ตัด", + "scanTextButtonLabel": "สแกนข้อความ", "okButtonLabel": "ตกลง", "pasteButtonLabel": "วาง", "selectAllButtonLabel": "เลือกทั้งหมด", diff --git a/packages/flutter_localizations/lib/src/l10n/material_tl.arb b/packages/flutter_localizations/lib/src/l10n/material_tl.arb index c1541844e6..fbf38a18b9 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_tl.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_tl.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Magpatuloy", "copyButtonLabel": "Kopyahin", "cutButtonLabel": "I-cut", + "scanTextButtonLabel": "I-scan ang text", "okButtonLabel": "OK", "pasteButtonLabel": "I-paste", "selectAllButtonLabel": "Piliin lahat", diff --git a/packages/flutter_localizations/lib/src/l10n/material_tr.arb b/packages/flutter_localizations/lib/src/l10n/material_tr.arb index 87566e4ae9..b91d74d616 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_tr.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_tr.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Devam", "copyButtonLabel": "Kopyala", "cutButtonLabel": "Kes", + "scanTextButtonLabel": "Metni tara", "okButtonLabel": "Tamam", "pasteButtonLabel": "Yapıştır", "selectAllButtonLabel": "Tümünü seç", diff --git a/packages/flutter_localizations/lib/src/l10n/material_uk.arb b/packages/flutter_localizations/lib/src/l10n/material_uk.arb index f1edc1028e..fe9dcddaae 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_uk.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_uk.arb @@ -31,6 +31,7 @@ "continueButtonLabel": "Продовжити", "copyButtonLabel": "Копіювати", "cutButtonLabel": "Вирізати", + "scanTextButtonLabel": "Сканувати текст", "okButtonLabel": "OK", "pasteButtonLabel": "Вставити", "selectAllButtonLabel": "Вибрати всі", diff --git a/packages/flutter_localizations/lib/src/l10n/material_ur.arb b/packages/flutter_localizations/lib/src/l10n/material_ur.arb index 32b7f08e28..c11abd3d38 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_ur.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_ur.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "جاری رکھیں", "copyButtonLabel": "کاپی کریں", "cutButtonLabel": "کٹ کریں", + "scanTextButtonLabel": "متن کو اسکین کریں", "okButtonLabel": "ٹھیک ہے", "pasteButtonLabel": "پیسٹ کریں", "selectAllButtonLabel": "سبھی کو منتخب کریں", diff --git a/packages/flutter_localizations/lib/src/l10n/material_uz.arb b/packages/flutter_localizations/lib/src/l10n/material_uz.arb index 8ddf03cd2c..f773009cc9 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_uz.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_uz.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Davom etish", "copyButtonLabel": "Nusxa olish", "cutButtonLabel": "Kesib olish", + "scanTextButtonLabel": "Matnni skanerlash", "okButtonLabel": "OK", "pasteButtonLabel": "Joylash", "selectAllButtonLabel": "Hammasi", diff --git a/packages/flutter_localizations/lib/src/l10n/material_vi.arb b/packages/flutter_localizations/lib/src/l10n/material_vi.arb index d4bd90f6d3..8f57237cc0 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_vi.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_vi.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Tiếp tục", "copyButtonLabel": "Sao chép", "cutButtonLabel": "Cắt", + "scanTextButtonLabel": "Quét văn bản", "okButtonLabel": "OK", "pasteButtonLabel": "Dán", "selectAllButtonLabel": "Chọn tất cả", diff --git a/packages/flutter_localizations/lib/src/l10n/material_zh.arb b/packages/flutter_localizations/lib/src/l10n/material_zh.arb index 4e6cd306ca..66a28a60bc 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_zh.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_zh.arb @@ -21,6 +21,7 @@ "closeButtonLabel": "关闭", "copyButtonLabel": "复制", "cutButtonLabel": "剪切", + "scanTextButtonLabel": "扫描文本", "okButtonLabel": "确定", "pasteButtonLabel": "粘贴", "selectAllButtonLabel": "全选", diff --git a/packages/flutter_localizations/lib/src/l10n/material_zu.arb b/packages/flutter_localizations/lib/src/l10n/material_zu.arb index 76dd7b1e5b..aae990ba20 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_zu.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_zu.arb @@ -25,6 +25,7 @@ "continueButtonLabel": "Qhubeka", "copyButtonLabel": "Kopisha", "cutButtonLabel": "Sika", + "scanTextButtonLabel": "Skena umbhalo", "okButtonLabel": "KULUNGILE", "pasteButtonLabel": "Namathisela", "selectAllButtonLabel": "Khetha konke",