arrays.xml revision 86693b2f19243b64f5bb7a363bd756453f2b7d6c
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 >REPEAT DAILY</item>
243        <item >REPEAT WEEKLY</item>
244        <item >REPEAT MONTHLY</item>
245        <item >REPEAT YEARLY</item>
246    </string-array>
247
248    <!-- The following sets of strings describe a monthly recurring event, which will repeat
249         on the Nth WEEKDAY of every month. For example, the 3rd Monday of every month, or
250         the last Sunday. These are set up like this to resolve any gender-matching issues
251         that were present in some languages.
252     -->
253    <!-- Repeat a monthly event on the same nth day of every Sunday. [CHAR LIMIT=30] -->
254    <string-array name="repeat_by_nth_sun">
255        <item >on every first Sunday</item>
256        <item >on every second Sunday</item>
257        <item >on every third Sunday</item>
258        <item >on every fourth Sunday</item>
259        <item >on every last Sunday</item>
260    </string-array>
261    <!-- Repeat a monthly event on the same nth day of every Monday. [CHAR LIMIT=30] -->
262    <string-array name="repeat_by_nth_mon">
263        <item >on every first Monday</item>
264        <item >on every second Monday</item>
265        <item >on every third Monday</item>
266        <item >on every fourth Monday</item>
267        <item >on every last Monday</item>
268    </string-array>
269    <!-- Repeat a monthly event on the same nth day of every Tuesday. [CHAR LIMIT=30] -->
270    <string-array name="repeat_by_nth_tues">
271        <item >on every first Tuesday</item>
272        <item >on every second Tuesday</item>
273        <item >on every third Tuesday</item>
274        <item >on every fourth Tuesday</item>
275        <item >on every last Tuesday</item>
276    </string-array>
277    <!-- Repeat a monthly event on the same nth day of every Wednesday. [CHAR LIMIT=30] -->
278    <string-array name="repeat_by_nth_wed">
279        <item >on every first Wednesday</item>
280        <item >on every second Wednesday</item>
281        <item >on every third Wednesday</item>
282        <item >on every fourth Wednesday</item>
283        <item >on every last Wednesday</item>
284    </string-array>
285    <!-- Repeat a monthly event on the same nth day of every Thursday. [CHAR LIMIT=30] -->
286    <string-array name="repeat_by_nth_thurs">
287        <item >on every first Thursday</item>
288        <item >on every second Thursday</item>
289        <item >on every third Thursday</item>
290        <item >on every fourth Thursday</item>
291        <item >on every last Thursday</item>
292    </string-array>
293    <!-- Repeat a monthly event on the same nth day of every Friday. [CHAR LIMIT=30] -->
294    <string-array name="repeat_by_nth_fri">
295        <item >on every first Friday</item>
296        <item >on every second Friday</item>
297        <item >on every third Friday</item>
298        <item >on every fourth Friday</item>
299        <item >on every last Friday</item>
300    </string-array>
301    <!-- Repeat a monthly event on the same nth day of every Saturday. [CHAR LIMIT=30] -->
302    <string-array name="repeat_by_nth_sat">
303        <item >on every first Saturday</item>
304        <item >on every second Saturday</item>
305        <item >on every third Saturday</item>
306        <item >on every fourth Saturday</item>
307        <item >on every last Saturday</item>
308    </string-array>
309</resources>
310