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

Commit de162e6e authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Add strings for incoming call UX for self-managed calls.

These strings are added in advance of consuming code.
There are a lot of them, but I tried to cover a lot of scenarios for
ongoing calls.

Test: Manual
Bug: 34159263
Change-Id: I5ac06c0861d99799fff2b56ccc2b7871ec128fb7
parent 943ab481
Loading
Loading
Loading
Loading
+72 −0
Original line number Diff line number Diff line
@@ -175,4 +175,76 @@
    <string name="handle_restricted">RESTRICTED</string>

    <string name="toast_personal_call_msg">Using the personal dialer to make the call</string>

    <!-- The "label" of the Notification for an incoming ringing call.
         call_via refers to the name of the app the incoming call is coming from.
         Example: Duo call from John Smith[CHAR LIMIT=60] -->
    <string name="notification_incoming_call"><xliff:g id="call_via">%1$s</xliff:g> call from <xliff:g id="call_from">%2$s</xliff:g></string>

    <!-- The "label" of the Notification for an incoming ringing video call.
         call_via refers to the name of the app the incoming video call is coming from.
         Example: Duo video call from John Smith[CHAR LIMIT=60] -->
    <string name="notification_incoming_video_call"><xliff:g id="call_via">%1$s</xliff:g> video call from <xliff:g id="call_from">%2$s</xliff:g></string>

    <!-- The "details" of a Notification for an incoming call which will cause an ongoing call to be
         disconnected.  This message is the part of the notification that informs the user that
         answering the current ringing call will cause a call from another app to be disconnected.
         Example: Answering will end your Duo call [CHAR LIMIT=60] -->
    <string name="answering_ends_other_call">Answering will end your <xliff:g id="call_via">%1$s</xliff:g> call</string>

    <!-- The "details" of a Notification for an incoming call which will cause other ongoing calls
         to be disconnected.  This message is the part of the notification that informs the user
         answering the current ringing call will cause calls from another app to be disconnected.
         Example: Answering will end your Duo call [CHAR LIMIT=60] -->
    <string name="answering_ends_other_calls">Answering will end your <xliff:g id="call_via">%1$s</xliff:g> calls</string>

    <!-- The "details" of a Notification for an incoming call which will cause an ongoing video call
         to be disconnected.  This message is the part of the notification that informs the user
         that answering the current ringing call will cause a video call from another app to be
         disconnected.
         Example: Answering will end your Duo video call [CHAR LIMIT=60] -->
    <string name="answering_ends_other_video_call">Answering will end your <xliff:g id="call_via">%1$s</xliff:g> video call</string>

    <!-- The "details" of a Notification for an incoming call which will cause an ongoing call
         to be disconnected.  This message is the part of the notification that informs the user
         that answering the current ringing call will cause an ongoing call to be disconnected.
         Similar to answering_ends_other_call, except does not specify which app.
         [CHAR LIMIT=60] -->
    <string name="answering_ends_other_managed_call">Answering will end your ongoing call</string>

    <!-- The "details" of a Notification for an incoming call which will cause an ongoing call
         to be disconnected.  This message is the part of the notification that informs the user
         that answering the current ringing call will cause an ongoing call to be disconnected.
         Similar to answering_ends_other_call, except does not specify which app.
         [CHAR LIMIT=60] -->
    <string name="answering_ends_other_managed_calls">Answering will end your ongoing calls</string>

    <!-- The "details" of a Notification for an incoming call which will cause an ongoing video call
         to be disconnected.  This message is the part of the notification that informs the user
         that answering the current ringing call will cause an ongoing video call to be
         disconnected.
         Similar to answering_ends_other_video_call, except does not specify which app.
         [CHAR LIMIT=60] -->
    <string name="answering_ends_other_managed_video_call">Answering will end your ongoing video call</string>

    <!-- The "answer" button for an incoming call. [CHAR LIMIT=60] -->
    <string name="answer_incoming_call">Answer</string>

    <!-- The "decline" button for an incoming call. [CHAR LIMIT=60] -->
    <string name="decline_incoming_call">Decline</string>

    <!-- Error message shown to the user when an outgoing call cannot be placed due to an ongoing
         phone call in a third-party app.  For example:
         Call cannot be placed due to your Duo call. [CHAR LIMIT=none] -->
    <string name="cant_call_due_to_ongoing_call">Call cannot be placed due to your <xliff:g id="other_call">%1$s</xliff:g> call.</string>

    <!-- Error message shown to the user when an outgoing call cannot be placed due to ongoing
         phone calls in a third-party app.  For example:
         Call cannot be placed due to your Duo calls. [CHAR LIMIT=none] -->
    <string name="cant_call_due_to_ongoing_calls">Call cannot be placed due to your <xliff:g id="other_call">%1$s</xliff:g> calls.</string>

    <!-- Error message shown to the user when an outgoing call cannot be placed due to an ongoing
         phone call in a third-party app.  Unlike cant_call_due_to_ongoing_call, this is used when
         the name of the other app is not known. [CHAR LIMIT=none] -->
    <string name="cant_call_due_to_ongoing_unknown_call">Call cannot be placed due to a call in another app.</string>
</resources>