1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir#include "sc.hrc" // Definition RID_XXX in StarCalc 28*cdf0e10cSrcweir#include "dfa.hrc" 29*cdf0e10cSrcweir 30*cdf0e10cSrcweir/* #i54546# The code belonging to this resource file is sample code for the 31*cdf0e10cSrcweir * legacy AddIn interface. The interface is still supported, but deprecated. 32*cdf0e10cSrcweir * The strings here were displayed in the function wizard. To prevent 33*cdf0e10cSrcweir * duplicated and useless translation effort (functions and strings are also 34*cdf0e10cSrcweir * part of the new scaddin module), the strings here are now layed out as fixed 35*cdf0e10cSrcweir * untranslatable strings. The entire mechanism with the ../util/cl2c.pl perl 36*cdf0e10cSrcweir * script merging the raw .cl and the .src during build time didn't work 37*cdf0e10cSrcweir * anymore anyway, since we switched from MS-LCIDs / telephone area codes to 38*cdf0e10cSrcweir * ISO codes for resources, and introduced localize.sdf files. Returned was 39*cdf0e10cSrcweir * always an empty string. Now at least the fixed English string is returned. 40*cdf0e10cSrcweir * */ 41*cdf0e10cSrcweir 42*cdf0e10cSrcweirResource RID_SC_ADDIN_DFA 43*cdf0e10cSrcweir{ 44*cdf0e10cSrcweir String DFA_PAR_DATE1_NAME // Name of Date1 Parameter 45*cdf0e10cSrcweir { 46*cdf0e10cSrcweir Text = "Date 1"; 47*cdf0e10cSrcweir }; 48*cdf0e10cSrcweir String DFA_PAR_DATE2_NAME // Name of Date2 Parameter 49*cdf0e10cSrcweir { 50*cdf0e10cSrcweir Text = "Date 2"; 51*cdf0e10cSrcweir }; 52*cdf0e10cSrcweir String DFA_PAR_MODE_NAME // Name of Mode Parameter 53*cdf0e10cSrcweir { 54*cdf0e10cSrcweir Text = "Mode"; 55*cdf0e10cSrcweir }; 56*cdf0e10cSrcweir 57*cdf0e10cSrcweir String DFA_PAR_DATE_NAME // Name of Date Parameter 58*cdf0e10cSrcweir { 59*cdf0e10cSrcweir Text = "Date"; 60*cdf0e10cSrcweir }; 61*cdf0e10cSrcweir 62*cdf0e10cSrcweir String DFA_PAR_DATE_DESC // Description of Date Parameter 63*cdf0e10cSrcweir { 64*cdf0e10cSrcweir Text = "Internal number of the date"; 65*cdf0e10cSrcweir }; 66*cdf0e10cSrcweir 67*cdf0e10cSrcweir/*-=======================================================================*/ 68*cdf0e10cSrcweir String DFA_WEEK_NAME // Name 69*cdf0e10cSrcweir { 70*cdf0e10cSrcweir Text = "Weeks"; 71*cdf0e10cSrcweir }; 72*cdf0e10cSrcweir String DFA_WEEK_DESC // Description 73*cdf0e10cSrcweir { 74*cdf0e10cSrcweir Text = "Returns the difference in weeks between two dates"; 75*cdf0e10cSrcweir }; 76*cdf0e10cSrcweir String DFA_WEEK_PAR1_DESC // Description of Parameter 1 77*cdf0e10cSrcweir { 78*cdf0e10cSrcweir Text = "The end date for calculating the difference in weeks"; 79*cdf0e10cSrcweir }; 80*cdf0e10cSrcweir String DFA_WEEK_PAR2_DESC // Description of Parameter 2 81*cdf0e10cSrcweir { 82*cdf0e10cSrcweir Text = "The start date for calculating the difference weeks"; 83*cdf0e10cSrcweir }; 84*cdf0e10cSrcweir String DFA_WEEK_PAR3_DESC // Description of Parameter 3 85*cdf0e10cSrcweir { 86*cdf0e10cSrcweir Text = "Type of difference calculation: mode=0 means the interval, mode=1 means calendar weeks"; 87*cdf0e10cSrcweir }; 88*cdf0e10cSrcweir 89*cdf0e10cSrcweir/*-=======================================================================*/ 90*cdf0e10cSrcweir 91*cdf0e10cSrcweir String DFA_MONTHS_NAME // Name 92*cdf0e10cSrcweir { 93*cdf0e10cSrcweir Text = "Months"; 94*cdf0e10cSrcweir }; 95*cdf0e10cSrcweir String DFA_MONTHS_DESC // Description 96*cdf0e10cSrcweir { 97*cdf0e10cSrcweir Text = "Determines the number of months between two dates"; 98*cdf0e10cSrcweir }; 99*cdf0e10cSrcweir String DFA_MONTHS_PAR1_DESC // Description of Parameter 1 100*cdf0e10cSrcweir { 101*cdf0e10cSrcweir Text = "The end date for calculating the difference in months"; 102*cdf0e10cSrcweir }; 103*cdf0e10cSrcweir String DFA_MONTHS_PAR2_DESC // Description of Parameter 2 104*cdf0e10cSrcweir { 105*cdf0e10cSrcweir Text = "The start date for calculating the difference in months"; 106*cdf0e10cSrcweir }; 107*cdf0e10cSrcweir String DFA_MONTHS_PAR3_DESC // Description of Parameter 2 108*cdf0e10cSrcweir { 109*cdf0e10cSrcweir Text = "Type of difference calculation: Mode = 0 means interval, mode = 1 means in calendar months"; 110*cdf0e10cSrcweir }; 111*cdf0e10cSrcweir 112*cdf0e10cSrcweir/*-=======================================================================*/ 113*cdf0e10cSrcweir 114*cdf0e10cSrcweir String DFA_YEARS_NAME // Name 115*cdf0e10cSrcweir { 116*cdf0e10cSrcweir Text = "Years"; 117*cdf0e10cSrcweir }; 118*cdf0e10cSrcweir String DFA_YEARS_DESC // Description 119*cdf0e10cSrcweir { 120*cdf0e10cSrcweir Text = "Returns the difference in years between two dates"; 121*cdf0e10cSrcweir }; 122*cdf0e10cSrcweir String DFA_YEARS_PAR1_DESC // Description of Parameter 1 123*cdf0e10cSrcweir { 124*cdf0e10cSrcweir Text = "The end date for calculating the difference in years"; 125*cdf0e10cSrcweir }; 126*cdf0e10cSrcweir String DFA_YEARS_PAR2_DESC // Description of Parameter 2 127*cdf0e10cSrcweir { 128*cdf0e10cSrcweir Text = "The start date for calculating the difference in years"; 129*cdf0e10cSrcweir }; 130*cdf0e10cSrcweir String DFA_YEARS_PAR3_DESC // Description of Parameter 2 131*cdf0e10cSrcweir { 132*cdf0e10cSrcweir Text = "Type of difference calculation: Mode=0 means interval, mode=1 means in calendar years."; 133*cdf0e10cSrcweir }; 134*cdf0e10cSrcweir 135*cdf0e10cSrcweir/*-=======================================================================*/ 136*cdf0e10cSrcweir 137*cdf0e10cSrcweir String DFA_ISLEAPYEAR_NAME // Name 138*cdf0e10cSrcweir { 139*cdf0e10cSrcweir Text = "IsLeapYear"; 140*cdf0e10cSrcweir }; 141*cdf0e10cSrcweir String DFA_ISLEAPYEAR_DESC // Description 142*cdf0e10cSrcweir { 143*cdf0e10cSrcweir Text = "Returns 1 (TRUE) if a leap year is used, otherwise 0 (FALSE) is returned"; 144*cdf0e10cSrcweir }; 145*cdf0e10cSrcweir 146*cdf0e10cSrcweir/*-=======================================================================*/ 147*cdf0e10cSrcweir 148*cdf0e10cSrcweir String DFA_DAYSINMONTH_NAME // Name 149*cdf0e10cSrcweir { 150*cdf0e10cSrcweir Text = "DaysInMonth"; 151*cdf0e10cSrcweir }; 152*cdf0e10cSrcweir String DFA_DAYSINMONTH_DESC // Description 153*cdf0e10cSrcweir { 154*cdf0e10cSrcweir Text = "Returns the number of days in the month in relation to the date entered"; 155*cdf0e10cSrcweir }; 156*cdf0e10cSrcweir 157*cdf0e10cSrcweir/*-=======================================================================*/ 158*cdf0e10cSrcweir 159*cdf0e10cSrcweir String DFA_DAYSINYEAR_NAME // Name 160*cdf0e10cSrcweir { 161*cdf0e10cSrcweir Text = "DaysInYear"; 162*cdf0e10cSrcweir }; 163*cdf0e10cSrcweir String DFA_DAYSINYEAR_DESC // Description 164*cdf0e10cSrcweir { 165*cdf0e10cSrcweir Text = "Returns the number of days in a year in relation to the date entered"; 166*cdf0e10cSrcweir }; 167*cdf0e10cSrcweir 168*cdf0e10cSrcweir/*-=======================================================================*/ 169*cdf0e10cSrcweir 170*cdf0e10cSrcweir String DFA_WEEKSINYEAR_NAME // Name 171*cdf0e10cSrcweir { 172*cdf0e10cSrcweir Text = "WeeksInYear"; 173*cdf0e10cSrcweir }; 174*cdf0e10cSrcweir String DFA_WEEKSINYEAR_DESC // Description 175*cdf0e10cSrcweir { 176*cdf0e10cSrcweir Text = "Returns the number of weeks in the year in relation to a date"; 177*cdf0e10cSrcweir }; 178*cdf0e10cSrcweir}; 179