Author: jsc
Date: Tue Feb 26 12:41:21 2013
New Revision: 1450153
URL: http://svn.apache.org/r1450153
Log:
#111413# reintegrate resource strings for translation
Modified:
openoffice/trunk/main/formula/source/core/resource/core_resource.src
openoffice/trunk/main/sc/inc/helpids.h
openoffice/trunk/main/sc/source/ui/src/scfuncs.src
openoffice/trunk/main/sc/util/hidother.src
Modified: openoffice/trunk/main/formula/source/core/resource/core_resource.src
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/formula/source/core/resource/core_resource.src?rev=1450153&r1=1450152&r2=1450153&view=diff
==============================================================================
--- openoffice/trunk/main/formula/source/core/resource/core_resource.src
(original)
+++ openoffice/trunk/main/formula/source/core/resource/core_resource.src Tue
Feb 26 12:41:21 2013
@@ -858,19 +858,19 @@ Resource RID_STRLIST_FUNCTION_NAMES
};
String SC_OPCODE_COSECANT
{
- Text = "CSC" ;
+ Text [ en-US ] = "CSC" ;
};
String SC_OPCODE_SECANT
{
- Text = "SEC" ;
+ Text [ en-US ] = "SEC" ;
};
String SC_OPCODE_COSECANT_HYP
{
- Text = "CSCH" ;
+ Text [ en-US ] = "CSCH" ;
};
String SC_OPCODE_SECANT_HYP
{
- Text = "SECH" ;
+ Text [ en-US ] = "SECH" ;
};
String SC_OPCODE_EXP
{
Modified: openoffice/trunk/main/sc/inc/helpids.h
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/sc/inc/helpids.h?rev=1450153&r1=1450152&r2=1450153&view=diff
==============================================================================
--- openoffice/trunk/main/sc/inc/helpids.h (original)
+++ openoffice/trunk/main/sc/inc/helpids.h Tue Feb 26 12:41:21 2013
@@ -524,6 +524,10 @@
#define HID_FUNC_COTHYP
"SC_HID_FUNC_COTHYP"
#define HID_FUNC_TANHYP
"SC_HID_FUNC_TANHYP"
#define HID_FUNC_ARCTAN2
"SC_HID_FUNC_ARCTAN2"
+#define HID_FUNC_COSECANT
"SC_HID_FUNC_COSECANT"
+#define HID_FUNC_SECANT
"SC_HID_FUNC_SECANT"
+#define HID_FUNC_SECANTHYP
"SC_HID_FUNC_SECANTHYP"
+#define HID_FUNC_COSECANTHYP
"SC_HID_FUNC_COSECANTHYP"
#define HID_FUNC_DEG
"SC_HID_FUNC_DEG"
#define HID_FUNC_RAD
"SC_HID_FUNC_RAD"
#define HID_FUNC_EXP
"SC_HID_FUNC_EXP"
Modified: openoffice/trunk/main/sc/source/ui/src/scfuncs.src
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/src/scfuncs.src?rev=1450153&r1=1450152&r2=1450153&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/src/scfuncs.src (original)
+++ openoffice/trunk/main/sc/source/ui/src/scfuncs.src Tue Feb 26 12:41:21 2013
@@ -3647,8 +3647,103 @@ Resource RID_SC_FUNCTION_DESCRIPTIONS1
Text [ en-US ] = "The value for the y coordinate." ;
};
};
-
- // -=*# Resource for function DEG #*=-
+ // -=*# Resource for function CSC #*=-
+ Resource SC_OPCODE_COSECANT
+ {
+ String 1 // Description
+ {
+ Text [ en-US ] = "Return the cosecant of an angle.
CSC(x)=1/SIN(x)" ;
+ };
+ ExtraData =
+ {
+ 0;
+ ID_FUNCTION_GRP_MATH;
+ U2S( HID_FUNC_COSECANT );
+ 1; 0;
+ 0;
+ };
+ String 2 // Name of Parameter 1
+ {
+ Text [ en-US ] = "Angle" ;
+ };
+ String 3 // Description of Parameter 1
+ {
+ Text [ en-US ] = "The angle in radians for which the cosecant is
to be calculated." ;
+ };
+ };
+ // -=*# Resource for function SEC #*=-
+ Resource SC_OPCODE_SECANT
+ {
+ String 1 // Description
+ {
+ Text [ en-US ] = "Return the secant of an angle. SEC(x)=1/COS(x)" ;
+ };
+ ExtraData =
+ {
+ 0;
+ ID_FUNCTION_GRP_MATH;
+ U2S( HID_FUNC_SECANT );
+ 1; 0;
+ 0;
+ };
+ String 2 // Name of Parameter 1
+ {
+ Text [ en-US ] = "Angle" ;
+ };
+ String 3 // Description of Parameter 1
+ {
+ Text [ en-US ] = "The angle in radians for which the secant is to
be calculated." ;
+ };
+ };
+ // -=*# Resource for function CSCH #*=-
+ Resource SC_OPCODE_COSECANT_HYP
+ {
+ String 1 // Description
+ {
+ Text [ en-US ] = "Return the hyperbolic cosecant of a hyperbolic
angle. CSCH(x)=1/SINH(x)" ;
+ };
+ ExtraData =
+ {
+ 0;
+ ID_FUNCTION_GRP_MATH;
+ U2S( HID_FUNC_COSECANTHYP );
+ 1; 0;
+ 0;
+ };
+ String 2 // Name of Parameter 1
+ {
+ Text [ en-US ] = "Angle" ;
+ };
+ String 3 // Description of Parameter 1
+ {
+ Text [ en-US ] = "The hyperbolic angle in radians for which the
hyperbolic cosecant is to be calculated." ;
+ };
+ };
+ // -=*# Resource for function SECH #*=-
+ Resource SC_OPCODE_SECANT_HYP
+ {
+ String 1 // Description
+ {
+ Text [ en-US ] = "Return the hyperbolic secant of a hyperbolic
angle. SECH(x)=1/COSH(x)" ;
+ };
+ ExtraData =
+ {
+ 0;
+ ID_FUNCTION_GRP_MATH;
+ U2S( HID_FUNC_SECANTHYP );
+ 1; 0;
+ 0;
+ };
+ String 2 // Name of Parameter 1
+ {
+ Text [ en-US ] = "Angle" ;
+ };
+ String 3 // Description of Parameter 1
+ {
+ Text [ en-US ] = "The hyperbolic angle in radians for which the
hyperbolic secant is to be calculated." ;
+ };
+ };
+ // -=*# Resource for function DEG #*=-
Resource SC_OPCODE_DEG
{
String 1 // Description
Modified: openoffice/trunk/main/sc/util/hidother.src
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/sc/util/hidother.src?rev=1450153&r1=1450152&r2=1450153&view=diff
==============================================================================
--- openoffice/trunk/main/sc/util/hidother.src (original)
+++ openoffice/trunk/main/sc/util/hidother.src Tue Feb 26 12:41:21 2013
@@ -191,6 +191,10 @@ hidspecial HID_FUNC_SINHYP { HelpID =
hidspecial HID_FUNC_COTHYP { HelpID = HID_FUNC_COTHYP; };
hidspecial HID_FUNC_TANHYP { HelpID = HID_FUNC_TANHYP; };
hidspecial HID_FUNC_ARCTAN2 { HelpID = HID_FUNC_ARCTAN2; };
+hidspecial HID_FUNC_COSECANT { HelpID = HID_FUNC_COSECANT; };
+hidspecial HID_FUNC_SECANT { HelpID = HID_FUNC_SECANT; };
+hidspecial HID_FUNC_COSECANTHYP { HelpID = HID_FUNC_COSECANTHYP; };
+hidspecial HID_FUNC_SECANTHYP { HelpID = HID_FUNC_SECANTHYP; };
hidspecial HID_FUNC_DEG { HelpID = HID_FUNC_DEG; };
hidspecial HID_FUNC_RAD { HelpID = HID_FUNC_RAD; };
hidspecial HID_FUNC_EXP { HelpID = HID_FUNC_EXP; };