[gnumeric] functions: more preliminary work for translation.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] functions: more preliminary work for translation.
- Date: Sat, 16 Apr 2011 00:05:28 +0000 (UTC)
commit 65e13f6497ce59de61b85fa490c2593eb5f7dd1e
Author: Morten Welinder <terra gnome org>
Date: Fri Apr 15 20:05:00 2011 -0400
functions: more preliminary work for translation.
src/func.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/func.c b/src/func.c
index 7978a98..e9db396 100644
--- a/src/func.c
+++ b/src/func.c
@@ -1229,6 +1229,9 @@ gnm_func_get_name (GnmFunc const *func, gboolean localized_function_names)
g_free (U);
}
+ if (!func->localized_name)
+ ((GnmFunc *)func)->localized_name = g_strdup (func->name);
+
return func->localized_name;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]