update credits
[LibreOffice.git] / scaddins / source / datefunc / datefunc.src
blobb2e842752a55b90fedcaa90be7ab025082e218d4
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  *   Licensed to the Apache Software Foundation (ASF) under one or more
12  *   contributor license agreements. See the NOTICE file distributed
13  *   with this work for additional information regarding copyright
14  *   ownership. The ASF licenses this file to you under the Apache
15  *   License, Version 2.0 (the "License"); you may not use this file
16  *   except in compliance with the License. You may obtain a copy of
17  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
21 #include "datefunc.hrc"
24 Resource RID_DATE_FUNCTION_DESCRIPTIONS
26     Resource DATE_FUNCDESC_DiffWeeks
27     {
28         String 1    // description              DiffWeeks
29         {
30             Text [ en-US ] = "Calculates the number of weeks in a specific period";
31         };
32         String 2 // name of parameter 1         DiffWeeks
33         {
34             Text [ en-US ] = "Start date";
35         };
36         String 3 // description of parameter 1  DiffWeeks
37         {
38             Text [ en-US ] = "First day of the period";
39         };
40         String 4 // name of parameter 2         DiffWeeks
41         {
42             Text [ en-US ] = "End date";
43         };
44         String 5 // description of parameter 2  DiffWeeks
45         {
46             Text [ en-US ] = "Last day of the period";
47         };
48         String 6 // name of parameter 3         DiffWeeks
49         {
50             Text [ en-US ] = "Type";
51         };
52         String 7 // description of parameter 3  DiffWeeks
53         {
54             Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar weeks.";
55         };
56     };
58     Resource DATE_FUNCDESC_DiffMonths
59     {
60         String 1    // description              DiffMonths
61         {
62             Text [ en-US ] = "Determines the number of months in a specific period.";
63         };
64         String 2 // name of parameter 1         DiffMonths
65         {
66             Text [ en-US ] = "Start date";
67         };
68         String 3 // description of parameter 1  DiffMonths
69         {
70             Text [ en-US ] = "First day of the period.";
71         };
72         String 4 // name of parameter 2         DiffMonths
73         {
74             Text [ en-US ] = "End date";
75         };
76         String 5 // description of parameter 2  DiffMonths
77         {
78             Text [ en-US ] = "Last day of the period.";
79         };
80         String 6 // name of parameter 3         DiffMonths
81         {
82             Text [ en-US ] = "Type";
83         };
84         String 7 // description of parameter 3  DiffMonths
85         {
86             Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar months.";
87         };
88     };
90     Resource DATE_FUNCDESC_DiffYears
91     {
92         String 1    // description              DiffYears
93         {
94             Text [ en-US ] = "Calculates the number of years in a specific period.";
95         };
96         String 2 // name of parameter 1         DiffYears
97         {
98             Text [ en-US ] = "Start date";
99         };
100         String 3 // description of parameter 1  DiffYears
101         {
102             Text [ en-US ] = "First day of the period";
103         };
104         String 4 // name of parameter 2         DiffYears
105         {
106             Text [ en-US ] = "End date";
107         };
108         String 5 // description of parameter 2  DiffYears
109         {
110             Text [ en-US ] = "Last day of the period";
111         };
112         String 6 // name of parameter 3         DiffYears
113         {
114             Text [ en-US ] = "Type";
115         };
116         String 7 // description of parameter 3  DiffYears
117         {
118             Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar years.";
119         };
120     };
122     Resource DATE_FUNCDESC_IsLeapYear
123     {
124         String 1    // description              IsLeapYear
125         {
126             Text [ en-US ] = "Returns 1 (TRUE) if the date is a day of a leap year, otherwise 0 (FALSE).";
127         };
128         String 2 // name of parameter 1         IsLeapYear
129         {
130             Text [ en-US ] = "Date";
131         };
132         String 3 // description of parameter 1  IsLeapYear
133         {
134             Text [ en-US ] = "Any day in the desired year";
135         };
136     };
138     Resource DATE_FUNCDESC_DaysInMonth
139     {
140         String 1    // description              DaysInMonth
141         {
142             Text [ en-US ] = "Returns the number of days of the month in which the date entered occurs";
143         };
144         String 2 // name of parameter 1         DaysInMonth
145         {
146             Text [ en-US ] = "Date";
147         };
148         String 3 // description of parameter 1  DaysInMonth
149         {
150             Text [ en-US ] = "Any day in the desired month";
151         };
152     };
154     Resource DATE_FUNCDESC_DaysInYear
155     {
156         String 1    // description              DaysInYear
157         {
158             Text [ en-US ] = "Returns the number of days of the year in which the date entered occurs.";
159         };
160         String 2 // name of parameter 1         DaysInYear
161         {
162             Text [ en-US ] = "Date";
163         };
164         String 3 // description of parameter 1  DaysInYear
165         {
166             Text [ en-US ] = "Any day in the desired year";
167         };
168     };
170     Resource DATE_FUNCDESC_WeeksInYear
171     {
172         String 1    // description              WeeksInYear
173         {
174             Text [ en-US ] = "Returns the number of weeks of the year in which the date entered occurs";
175         };
176         String 2 // name of parameter 1         WeeksInYear
177         {
178             Text [ en-US ] = "Date";
179         };
180         String 3 // description of parameter 1  WeeksInYear
181         {
182             Text [ en-US ] = "Any day in the desired year";
183         };
184     };
186     Resource DATE_FUNCDESC_Rot13
187     {
188         String 1    // description              Rot13
189         {
190             Text [ en-US ] = "Encrypts or decrypts a text using the ROT13 algorithm";
191         };
192         String 2 // name of parameter 1         Rot13
193         {
194             Text [ en-US ] = "Text";
195         };
196         String 3 // description of parameter 1  Rot13
197         {
198             Text [ en-US ] = "Text to be encrypted or text already encrypted";
199         };
200     };
204 Resource RID_DATE_FUNCTION_NAMES
206     String DATE_FUNCNAME_DiffWeeks
207     {
208         Text [ en-US ] = "WEEKS";
209     };
210     String DATE_FUNCNAME_DiffMonths
211     {
212         Text [ en-US ] = "MONTHS";
213     };
214     String DATE_FUNCNAME_DiffYears
215     {
216         Text [ en-US ] = "YEARS";
217     };
218     String DATE_FUNCNAME_IsLeapYear
219     {
220         Text [ en-US ] = "ISLEAPYEAR";
221     };
222     String DATE_FUNCNAME_DaysInMonth
223     {
224         Text [ en-US ] = "DAYSINMONTH";
225     };
226     String DATE_FUNCNAME_DaysInYear
227     {
228         Text [ en-US ] = "DAYSINYEAR";
229     };
230     String DATE_FUNCNAME_WeeksInYear
231     {
232         Text [ en-US ] = "WEEKSINYEAR";
233     };
234     String DATE_FUNCNAME_Rot13
235     {
236         Text [ en-US ] = "ROT13";
237     };
241 Resource RID_DATE_DEFFUNCTION_NAMES
244     StringArray DATE_DEFFUNCNAME_DiffWeeks
245     {
246         ItemList =
247         {
248             < "WOCHEN"; >;
249             < "WEEKS"; >;
250         };
251     };
252     StringArray DATE_DEFFUNCNAME_DiffMonths
253     {
254         ItemList =
255         {
256             < "MONATE"; >;
257             < "MONTHS"; >;
258         };
259     };
260     StringArray DATE_DEFFUNCNAME_DiffYears
261     {
262         ItemList =
263         {
264             < "JAHRE"; >;
265             < "YEARS"; >;
266         };
267     };
268     StringArray DATE_DEFFUNCNAME_IsLeapYear
269     {
270         ItemList =
271         {
272             < "ISTSCHALTJAHR"; >;
273             < "ISLEAPYEAR"; >;
274         };
275     };
276     StringArray DATE_DEFFUNCNAME_DaysInMonth
277     {
278         ItemList =
279         {
280             < "TAGEIMMONAT"; >;
281             < "DAYSINMONTH"; >;
282         };
283     };
284     StringArray DATE_DEFFUNCNAME_DaysInYear
285     {
286         ItemList =
287         {
288             < "TAGEIMJAHR"; >;
289             < "DAYSINYEAR"; >;
290         };
291     };
292     StringArray DATE_DEFFUNCNAME_WeeksInYear
293     {
294         ItemList =
295         {
296             < "WOCHENIMJAHR"; >;
297             < "WEEKSINYEAR"; >;
298         };
299     };
300     StringArray DATE_DEFFUNCNAME_Rot13
301     {
302         ItemList =
303         {
304             < "ROT13"; >;
305             < "ROT13"; >;
306         };
307     };
310 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */