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