[gnumeric] do not use macros in _() arguments.
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] do not use macros in _() arguments.
- Date: Mon, 14 Feb 2011 21:34:27 +0000 (UTC)
commit 4b9a3c9c57abd42b4baf794daf8c50480ebd7917
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date: Mon Feb 14 14:33:55 2011 -0700
do not use macros in _() arguments.
2011-02-14 Andreas J. Guelzow <aguelzow pyrshep ca>
* functions.c do not use macros in _() arguments.
plugins/fn-math/ChangeLog | 4 ++++
plugins/fn-math/functions.c | 14 +++++++-------
2 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/plugins/fn-math/ChangeLog b/plugins/fn-math/ChangeLog
index 0131476..f3a04bc 100644
--- a/plugins/fn-math/ChangeLog
+++ b/plugins/fn-math/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-14 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * functions.c do not use macros in _() arguments.
+
2011-02-12 Andreas J. Guelzow <aguelzow pyrshep ca>
* functions.c (help_atan2): Correct result range.
diff --git a/plugins/fn-math/functions.c b/plugins/fn-math/functions.c
index 428868c..cab5727 100644
--- a/plugins/fn-math/functions.c
+++ b/plugins/fn-math/functions.c
@@ -373,8 +373,8 @@ static GnmFuncHelp const help_atan[] = {
"of @{x}; that is the value whose "
"tangent is @{x}.")},
{ GNM_FUNC_HELP_NOTE, F_("The result will be between "
- UNICODE_MINUS UNICODE_PI "/2 and "
- "+" UNICODE_PI "/2.")},
+ "\xe2\x88\x92" "\xcf\x80" "/2 and "
+ "+" "\xcf\x80" "/2.")},
{ GNM_FUNC_HELP_EXCEL, F_("This function is Excel compatible.") },
{ GNM_FUNC_HELP_EXAMPLES, "=ATAN(0.5)" },
{ GNM_FUNC_HELP_EXAMPLES, "=ATAN(1)" },
@@ -425,8 +425,8 @@ static GnmFuncHelp const help_atan2[] = {
"as an angle from the x-axis in "
"radians.")},
{ GNM_FUNC_HELP_NOTE, F_("The result will be between "
- UNICODE_MINUS UNICODE_PI " and "
- "+" UNICODE_PI ".")},
+ "\xe2\x88\x92" "\xcf\x80" " and "
+ "+" "\xcf\x80" ".")},
{ GNM_FUNC_HELP_NOTE, F_("The order of the arguments may be "
"unexpected.")},
{ GNM_FUNC_HELP_EXCEL, F_("This function is Excel compatible.") },
@@ -1613,9 +1613,9 @@ gnumeric_tanh (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
/***************************************************************************/
static GnmFuncHelp const help_pi[] = {
- { GNM_FUNC_HELP_NAME, F_("PI:the constant " UNICODE_PI)},
+ { GNM_FUNC_HELP_NAME, F_("PI:the constant " "\xcf\x80")},
{ GNM_FUNC_HELP_EXCEL, F_("This function is Excel compatible, but it "
- "returns " UNICODE_PI " with a better "
+ "returns " "\xcf\x80" " with a better "
"precision.") },
{ GNM_FUNC_HELP_EXAMPLES, "=PI()" },
{ GNM_FUNC_HELP_SEEALSO, "SQRTPI"},
@@ -1871,7 +1871,7 @@ gnumeric_sign (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
static GnmFuncHelp const help_sqrtpi[] = {
{ GNM_FUNC_HELP_NAME, F_("SQRTPI:the square root of @{x} times "
- UNICODE_PI)},
+ "\xcf\x80")},
{ GNM_FUNC_HELP_ARG, F_("x:non-negative number")},
{ GNM_FUNC_HELP_EXCEL, F_("This function is Excel compatible.") },
{ GNM_FUNC_HELP_EXAMPLES, "=SQRTPI(2)"},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]