|
1 /* |
|
2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: This file contains iCal's x-parameters mapping to |
|
15 * Agenda entry types and the localizable strings for this |
|
16 * x-paramenters. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 #ifndef AGNVERSIT2STRINGS_HRH |
|
23 #define AGNVERSIT2STRINGS_HRH |
|
24 |
|
25 enum TStringId |
|
26 { |
|
27 EICalProdIdValue = 0, |
|
28 EICalTzidUtc, |
|
29 EICalTzidPlus, |
|
30 EICalTzidMinus, |
|
31 EICalTzidSlash, |
|
32 EICalTzidStandard, |
|
33 EICalTzidDaylight, |
|
34 EICalErrRruleNumRules, |
|
35 EICalErrRruleNoFreq, |
|
36 EICalErrRruleNotYearly, |
|
37 EICalErrValarmNotAllowed, |
|
38 EICalErrValarmNoTrigger, |
|
39 EICalErrValarmNoStart, |
|
40 EICalErrAlarmAfterEvent, |
|
41 EICalXParamType, |
|
42 EICalXParamAppointment, |
|
43 EICalXParamTodo, |
|
44 EICalXParamEvent, |
|
45 EICalXParamReminder, |
|
46 EICalXParamAnniversary, |
|
47 EICalAppointment, |
|
48 EICalBusiness, |
|
49 EICalEducation, |
|
50 EICalHoliday, |
|
51 EICalMeeting, |
|
52 EICalMisc, |
|
53 EICalPersonal, |
|
54 EICalPhoneCall, |
|
55 EICalSick, |
|
56 EICalSpecial, |
|
57 EICalTravel, |
|
58 EICalVacation, |
|
59 EICalNumberOfStrings // Make sure this is last in the list |
|
60 }; |
|
61 |
|
62 //Non - localisable product identifier |
|
63 #define PROD_ID_VALUE "-//S60//NONSGML Agenda S60 R3.2//EN" |
|
64 |
|
65 // The following are X-Parameters mapping to Agenda entry types. |
|
66 // These should be shared through all languages as we need to be able |
|
67 // to port calendars from one language to another. |
|
68 // X_PARAM_TYPE is the property, and the value can be any one of the following strings. |
|
69 // The generated property (in the .ics file) will take the form: |
|
70 // X-EPOC-AGENDA-TYPE:Appointment |
|
71 |
|
72 #define X_PARAM_TYPE "X-EPOC-AGENDA-TYPE" |
|
73 #define X_PARAM_APPT "Appointment" |
|
74 #define X_PARAM_TODO "Todo" |
|
75 #define X_PARAM_EVENT "Event" |
|
76 #define X_PARAM_REMINDER "Reminder" |
|
77 #define X_PARAM_ANNIVERSARY "Anniversary" |
|
78 |
|
79 // The following are used in generaing timezone names |
|
80 #define TZID_TEXT_UTC "UTC " |
|
81 #define TZID_TEXT_PLUS "+" |
|
82 #define TZID_TEXT_MINUS "-" |
|
83 #define TZID_TEXT_SLASH " / " |
|
84 |
|
85 #define ELanguage ELangEnglish // Caption language |
|
86 |
|
87 // LOCALISATION STRINGS |
|
88 |
|
89 // The following are output as a timezone id when exporting a timezone, |
|
90 // i.e. UTC +HHMM (Standard) / UTC +HHMM (Daylight) |
|
91 |
|
92 #define TZID_TEXT_STANDARD " (Standard)" |
|
93 #define TZID_TEXT_DAYLIGHT " (Daylight)" |
|
94 |
|
95 // Categories used by agenda |
|
96 |
|
97 #define CAT_APPOINTMENT "Appointment" |
|
98 #define CAT_BUSINESS "Business" |
|
99 #define CAT_EDUCATION "Education" |
|
100 #define CAT_HOLIDAY "Holiday" |
|
101 #define CAT_MEETING "Meeting" |
|
102 #define CAT_MISC "Miscellaneous" |
|
103 #define CAT_PERSONAL "Personal" |
|
104 #define CAT_PHONECALL "PhoneCall" |
|
105 #define CAT_SICK "SickDay" |
|
106 #define CAT_SPECIAL "SpecialOccasion" |
|
107 #define CAT_TRAVEL "Travel" |
|
108 #define CAT_VACATION "Vacation" |
|
109 |
|
110 |
|
111 #endif // AGNVERSIT2STRINGS_HRH |