Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b598e968 authored by Jon Spivack's avatar Jon Spivack Committed by Android (Google) Code Review
Browse files

Merge "NIU Actions: Add strings for assistant error dialogs and feature tooltip" into sc-dev

parents 7d0826f3 9be8d842
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -76,12 +76,12 @@
            <Button
                style="@style/ModalDialogButton"
                android:id="@+id/niu_actions_confirmation_reject"
                android:text="@string/niu_actions_confirmation_no"/>
                android:text="@string/dialog_cancel"/>

            <Button
                style="@style/ModalDialogButton"
                android:id="@+id/niu_actions_confirmation_accept"
                android:text="@string/niu_actions_confirmation_yes"/>
                android:text="@string/dialog_acknowledge"/>
        </LinearLayout>

    </LinearLayout>
+25 −4
Original line number Diff line number Diff line
@@ -11,13 +11,34 @@
    <string name="action_translate">Translate</string>
    <!-- Label for a button that triggers Search on a screenshot of the current app. [CHAR_LIMIT=40] -->
    <string name="action_search">Lens</string>

    <!-- ******* Dialogs ******* -->
    <!-- Label for a button that acknowledges the contents of the dialog. [CHAR_LIMIT=40] -->
    <string name="dialog_acknowledge">GOT IT</string>
    <!-- Label for a button that cancels the dialog. [CHAR_LIMIT=40] -->
    <string name="dialog_cancel">CANCEL</string>
    <!-- Label for a button that redirects the user to Settings. [CHAR_LIMIT=40] -->
    <string name="dialog_settings">SETTINGS</string>

    <!-- ******* NIU Actions First-Run Confirmation Dialog ******* -->
    <!-- Dialog title -->
    <string name="niu_actions_confirmation_title">Translate or listen to text on screen</string>
    <!-- Dialog content -->
    <string name="niu_actions_confirmation_text">Information such as text on your screen, web addresses, and screenshots may be shared with Google.\n\nTo change what information you share, go to <b>Settings > Apps > Default apps > Digital assistant app</b>.</string>
    <!-- Label for a button that rejects the feature. [CHAR_LIMIT=40] -->
    <string name="niu_actions_confirmation_no">CANCEL</string>
    <!-- Label for a button that accepts the feature. [CHAR_LIMIT=40] -->
    <string name="niu_actions_confirmation_yes">GOT IT</string>

    <!-- ******* NIU Actions Default Assistant Error Dialogs ******* -->
    <!-- Assistant not selected: Dialog title -->
    <string name="assistant_not_selected_title">Choose an assistant to use this feature</string>
    <!-- Assistant not selected: Dialog content -->
    <string name="assistant_not_selected_text">To listen to or translate text on your screen, choose a digital assistant app in Settings</string>
    <!-- Assistant not supported: Dialog title -->
    <string name="assistant_not_supported_title">Change your assistant to use this feature</string>
    <!-- Assistant not supported: Dialog content -->
    <string name="assistant_not_supported_text">To listen to or translate text on your screen, change your digital assistant app in Settings</string>

    <!-- ******* NIU Actions Tooltip ******* -->
    <!-- Tooltip to highlight and explain the Listen button -->
    <string name="tooltip_listen">Tap here to listen to text on this screen</string>
    <!-- Tooltip to highlight and explain the Translate button -->
    <string name="tooltip_translate">Tap here to translate text on this screen</string>
</resources>