summaryrefslogtreecommitdiff
path: root/packages/VpnDialogs/res/values/strings.xml
blob: a85b8e4ff55313812bff7d8789d87edfa4840554 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<?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>

    <!-- TV specific dialog message to warn about the risk of using a VPN application. [CHAR LIMIT=NONE] -->
    <string name="warning" product="tv">
      <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 on 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>

    <!-- Malicious VPN apps may provide very long labels or cunning HTML to trick the system dialogs
         into displaying what they want. The system will attempt to sanitize the label, and if the
         label is deemed dangerous, then this string is used instead. The first argument is the
         first 30 characters of the label, and the second argument is the package name of the app.
         Example : Normally a VPN app may be called "My VPN app" in which case the dialog will read
         "My VPN app wants to set up a VPN connection...". If the label is very long, then, this
         will be used to show "VerylongVPNlabel… (com.my.vpn.app) wants to set up a VPN
         connection...". For this case, the code will refer to sanitized_vpn_label_with_ellipsis.
    -->
    <string name="sanitized_vpn_label_with_ellipsis">
        <xliff:g id="sanitized_vpn_label_with_ellipsis" example="My VPN app">%1$s</xliff:g>… (
        <xliff:g id="sanitized_vpn_label_with_ellipsis" example="com.my.vpn.app">%2$s</xliff:g>)
    </string>

    <!-- Malicious VPN apps may provide very long labels or cunning HTML to trick the system dialogs
         into displaying what they want. The system will attempt to sanitize the label, and if the
         label is deemed dangerous, then this string is used instead. The first argument is the
         label, and the second argument is the package name of the app.
         Example : Normally a VPN app may be called "My VPN app" in which case the dialog will read
         "My VPN app wants to set up a VPN connection...". If the VPN label contains HTML tag but
         the length is not very long, the dialog will show "VpnLabelWith&lt;br&gt;HtmlTag
         (com.my.vpn.app) wants to set up a VPN connection...". For this case, the code will refer
         to sanitized_vpn_label.
    -->
    <string name="sanitized_vpn_label">
        <xliff:g id="sanitized_vpn_label" example="My VPN app">%1$s</xliff:g> (
        <xliff:g id="sanitized_vpn_label" example="com.my.vpn.app">%2$s</xliff:g>)
    </string>
</resources>