As part of the improvement to always-on VPN, we're adding this dialog which is shown when the user taps the "Always-on VPN disconnected" notification. This dialog shows a relatively detailed explanation of the situation and offers two actions: 1) to attempt to reconnect, and 2) to open the VpnSettings page in Settings. As a result, we expect the users to be more aware of the consequences of a disconnected VPN, and offer them more actionable options. Bug: 36650087 Bug: 65439160 Test: manual Change-Id: I5ae3ff5d25740ea52357012b75d7eb1776dfdc5e Merged-In: I5ae3ff5d25740ea52357012b75d7eb1776dfdc5e (cherry picked from commit 7376f6c16873e4c8f7c3f7fa27d4be6ea7894014)
93 lines
5.4 KiB
XML
93 lines
5.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2011 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
|
|
<!-- Dialog title to identify the request from a VPN application. [CHAR LIMIT=60] -->
|
|
<string name="prompt">Connection request</string>
|
|
<!-- Dialog message to warn about the risk of using a VPN application. [CHAR LIMIT=NONE] -->
|
|
<string name="warning"><xliff:g id="app">%s</xliff:g> wants to set up a VPN connection
|
|
that allows it to monitor network traffic. Only accept if you trust the source.
|
|
<![CDATA[
|
|
<br />
|
|
<br />
|
|
<img src="vpn_icon" />
|
|
]]> appears at the top of your screen when VPN is active.
|
|
</string>
|
|
|
|
<!-- Dialog title for built-in VPN. [CHAR LIMIT=40] -->
|
|
<string name="legacy_title">VPN is connected</string>
|
|
<!-- Label for the name of the current VPN session. [CHAR LIMIT=20] -->
|
|
<string name="session">Session:</string>
|
|
<!-- Label for the duration of the current VPN session. [CHAR LIMIT=20] -->
|
|
<string name="duration">Duration:</string>
|
|
<!-- Label for the network usage of data transmitted over VPN. [CHAR LIMIT=20] -->
|
|
<string name="data_transmitted">Sent:</string>
|
|
<!-- Label for the network usage of data received over VPN. [CHAR LIMIT=20] -->
|
|
<string name="data_received">Received:</string>
|
|
<!-- Formatted string for the network usage over VPN. [CHAR LIMIT=40] -->
|
|
<string name="data_value_format">
|
|
<xliff:g id="number">%1$s</xliff:g> bytes /
|
|
<xliff:g id="number">%2$s</xliff:g> packets
|
|
</string>
|
|
|
|
<!-- This string is the title of a dialog. The dialog shows up for Android users when always-on
|
|
VPN, a VPN that's set to always stay connected, loses its connection. [CHAR LIMIT=60] -->
|
|
<string name="always_on_disconnected_title">Can\'t connect to always-on VPN</string>
|
|
<!-- This message is part of a dialog. The dialog shows up for users when always-on VPN, a VPN
|
|
that's set to always stay connected, loses its connection. Until the phone can reconnect to
|
|
the VPN, it'll automatically connect to a public network if possible. This text is followed
|
|
by a clickable link that leads to VPN settings. [CHAR LIMIT=NONE] -->
|
|
<string name="always_on_disconnected_message">
|
|
<xliff:g id="vpn_app" example="Foo VPN App">%1$s</xliff:g> is set up to stay connected all
|
|
the time, but it can\'t connect right now. Your phone will use a public network until it can
|
|
reconnect to <xliff:g id="vpn_app" example="Foo VPN App">%1$s</xliff:g>.
|
|
</string>
|
|
<!-- This message is part of a dialog. The dialog shows up for users when always-on VPN, a VPN
|
|
that's set to always stay connected, loses its connection while in the lockdown mode.
|
|
Until the phone can reconnect to the VPN, it won't be able to connect to the Internet. This
|
|
text is followed by a clickable link that leads to VPN settings. [CHAR LIMIT=NONE] -->
|
|
<string name="always_on_disconnected_message_lockdown">
|
|
<xliff:g id="vpn_app" example="Foo VPN App">%1$s</xliff:g> is set up to stay connected all
|
|
the time, but it can\'t connect right now. You won\'t have a connection until the VPN can
|
|
reconnect.
|
|
</string>
|
|
<!-- This is a space separating the body text and the "Change VPN settings" link that follows
|
|
it. [CHAR LIMIT=5] -->
|
|
<string name="always_on_disconnected_message_separator">" "</string>
|
|
<!-- This is a clickable link appended at the end of the body text of a dialog. The dialog shows
|
|
up for users when always-on VPN, a VPN that's set to always stay connected, loses its
|
|
connection. This link takes the user to the VPN page in Settings. -->
|
|
<string name="always_on_disconnected_message_settings_link">Change VPN settings</string>
|
|
|
|
<!-- This is the label of a button in a dialog. The button takes the user to the VPN settings
|
|
screen. [CHAR LIMIT=20] -->
|
|
<string name="configure">Configure</string>
|
|
<!-- This is the label of a button in a dialog. The button lets the user disconnect from the
|
|
current VPN connection. [CHAR LIMIT=20] -->
|
|
<string name="disconnect">Disconnect</string>
|
|
<!-- This button is part of a dialog, and it opens the user's VPN app. The dialog shows up for
|
|
users when always-on VPN, a VPN that's set to always stay connected, loses its connection.
|
|
Until the phone can reconnect to the VPN, it may automatically connect to a public network.
|
|
If it doesn't, the user won't have a connection until the VPN reconnects. [CHAR LIMIT=20]
|
|
-->
|
|
<string name="open_app">Open app</string>
|
|
<!-- This is the label of a button in a dialog. The button lets the user dismiss the dialog
|
|
without any consequences. [CHAR LIMIT=20] -->
|
|
<string name="dismiss">Dismiss</string>
|
|
|
|
</resources>
|