arrays.xml revision 974343a44435bedc104d89fa98fdeb1ccf362501
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<resources>
17    <!-- Choices for the "Reminder method" spinner.
18         These must be kept in sync with the reminder_methods_values array.
19         [CHAR LIMIT=10]
20    -->
21    <string-array name="reminder_methods_labels">
22        <item>Notification</item>
23        <item>Email</item>
24        <item>SMS</item>
25        <item>Alarm</item>
26    </string-array>
27
28    <!-- This maps reminder_methods_labels to internal constants. -->
29    <integer-array name="reminder_methods_values" translatable="false">
30        <item>1</item>  <!-- METHOD_ALERT -->
31        <item>2</item>  <!-- METHOD_EMAIL -->
32        <item>3</item>  <!-- METHOD_SMS -->
33        <item>4</item>  <!-- METHOD_ALARM -->
34    </integer-array>
35
36    <!-- Choices for the "Reminder minutes" spinner.
37         These must be kept in sync with the reminder_minutes_values array.
38         For consistency, the format should match what
39         EventViewUtils.constructReminderLabel() generates.  (TODO: eliminate
40         this and just generate the list from reminder_minutes_values?)
41         [CHAR LIMIT=15]
42    -->
43    <string-array name="reminder_minutes_labels">
44        <item>0 minutes</item>
45        <item>1 minute</item>
46        <item>5 minutes</item>
47        <item>10 minutes</item>
48        <item>15 minutes</item>
49        <item>20 minutes</item>
50        <item>25 minutes</item>
51        <item>30 minutes</item>
52        <item>45 minutes</item>
53        <item>1 hour</item>
54        <item>2 hours</item>
55        <item>3 hours</item>
56        <item>12 hours</item>
57        <item>24 hours</item>
58        <item>2 days</item>
59        <item>1 week</item>
60    </string-array>
61
62    <integer-array name="reminder_minutes_values" translatable="false">
63        <item>0</item>
64        <item>1</item>
65        <item>5</item>
66        <item>10</item>
67        <item>15</item>
68        <item>20</item>
69        <item>25</item>
70        <item>30</item>
71        <item>45</item>
72        <item>60</item>
73        <item>120</item>
74        <item>180</item>
75        <item>720</item>
76        <item>1440</item>
77        <item>2880</item>
78        <item>10080</item>
79    </integer-array>
80
81  <!-- Choices for the "Reminder minutes" spinner in the settings.
82         These must be kept in sync with the preferences_default_reminder_values array.
83         [CHAR LIMIT=12]
84    -->
85       <string-array name="preferences_default_reminder_labels">
86        <item>None</item>
87        <item>0 minutes</item>
88        <item>1 minute</item>
89        <item>5 minutes</item>
90        <item>10 minutes</item>
91        <item>15 minutes</item>
92        <item>20 minutes</item>
93        <item>25 minutes</item>
94        <item>30 minutes</item>
95        <item>45 minutes</item>
96        <item>1 hour</item>
97        <item>2 hours</item>
98        <item>3 hours</item>
99        <item>12 hours</item>
100        <item>24 hours</item>
101        <item>2 days</item>
102        <item>1 week</item>
103    </string-array>
104
105    <string-array name="preferences_default_reminder_values" translatable="false">
106        <item>"-1"</item>
107        <item>"0"</item>
108        <item>"1"</item>
109        <item>"5"</item>
110        <item>"10"</item>
111        <item>"15"</item>
112        <item>"20"</item>
113        <item>"25"</item>
114        <item>"30"</item>
115        <item>"45"</item>
116        <item>"60"</item>
117        <item>"120"</item>
118        <item>"180"</item>
119        <item>"720"</item>
120        <item>"1440"</item>
121        <item>"2880"</item>
122        <item>"10080"</item>
123    </string-array>
124
125    <string-array name="preferences_week_start_day_labels">
126        <item>Locale default</item>
127        <item>Saturday</item>
128        <item>Sunday</item>
129        <item>Monday</item>
130    </string-array>
131
132    <string-array name="preferences_week_start_day_values" translatable="false">
133        <item>"-1"</item>
134        <item>"7"</item>
135        <item>"1"</item>
136        <item>"2"</item>
137    </string-array>
138
139
140
141    <string-array name="availability">
142        <item>Busy</item>
143        <item>Available</item>
144        <item>Tentative</item>
145    </string-array>
146
147    <!-- This maps reminder_methods_labels to internal constants. -->
148    <integer-array name="availability_values" translatable="false">
149        <item>0</item>  <!-- Busy -->
150        <item>1</item>  <!-- Available -->
151        <item>2</item>  <!-- Tentative -->
152    </integer-array>
153
154    <string-array name="visibility">
155        <item>Default</item>
156        <item>Private</item>
157        <item>Public</item>
158    </string-array>
159
160    <string-array name="ordinal_labels">
161        <item>first</item>
162        <item>second</item>
163        <item>third</item>
164        <item>fourth</item>
165        <item>last</item>
166    </string-array>
167
168    <!-- Invitation responses -->
169    <string-array name="response_labels1">
170        <item>No response</item>
171        <item>Yes</item>
172        <item>Maybe</item>
173        <item>No</item>
174    </string-array>
175
176    <!-- The corresponding indices are defined in DeleteEventHelper.java -->
177    <!-- This is a list of choices displayed when the user deletes an event.
178         It only is shown when deleting a recurring event.
179    -->
180    <skip/>
181    <string-array name="delete_repeating_labels">
182        <item>Only this event</item>
183        <item>This and future events</item>
184        <item>All events</item>
185    </string-array>
186
187    <!-- DO NOT TRANSLATE These values need to correspond to the indices
188         defined in DeleteEventHelper.java-->
189    <integer-array name="delete_repeating_values">
190        <item>0</item>
191        <item>1</item>
192        <item>2</item>
193    </integer-array>
194
195    <!-- The corresponding indices are defined in DeleteEventHelper.java -->
196    <!-- This is the same array as above (the "delete_repeating_labels" array,
197         except that the first element "Only this event" is removed.  This
198         array exists to work-around a bug in the CalendarProvider and sync
199         code where you can't delete one instance of a repeating event that
200         was created on the phone until that event has been synced to the server.
201     -->
202    <skip/>
203    <string-array name="delete_repeating_labels_no_selected">
204        <item>This &amp; future events</item>
205        <item>All events</item>
206    </string-array>
207
208    <!-- The corresponding array indices are defined in EventInfoActivity.java -->
209    <skip/>
210    <!-- The list of choices displayed in a dialog box when the user wants to
211    respond to an invitation that repeats. -->
212    <string-array name="change_response_labels">
213        <!-- The choice for responding to only one instance of a repeating event -->
214        <item>Only this event</item>
215        <!-- The choice for responding to all instances of a repeating event -->
216        <item>All events in the series</item>
217    </string-array>
218
219    <!-- Strings for buttons in drop down menu -->
220    <string-array name="buttons_list">
221        <item>Day</item>
222        <item>Week</item>
223        <item>Month</item>
224        <item>Agenda</item>
225    </string-array>
226
227    <!-- Experimental options for skipping reminders. [CHAR LIMIT = 37] -->
228    <string-array name="preferences_skip_reminders_labels">
229        <!-- Default choice -->
230        <item>Only if declined</item>
231        <!-- Second option, for skipping reminders to events not yet responded to. -->
232        <item>If declined or not responded</item>
233    </string-array>
234
235    <string-array name="preferences_skip_reminders_values" translatable="false">
236        <item>declined</item>
237        <item>not_responded</item>
238    </string-array>
239
240    <!-- Recurrence picker: How events are to be repeated.  [CHAR LIMIT = 20] -->
241    <string-array name="recurrence_freq">
242        <item >One-time event</item>
243        <item >Daily</item>
244        <item >Weekly</item>
245        <item >Monthly</item>
246        <item >Yearly</item>
247    </string-array>
248</resources>
249