[Libreoffice-commits] .: scaddins/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Dec 18 05:15:17 PST 2012


 scaddins/source/pricing/pricing.src |   38 +++++++++++++++++++++++++++++++++++-
 1 file changed, 37 insertions(+), 1 deletion(-)

New commits:
commit 32e90d832a19ea6a6b642858ee482691a505578d
Author: tino <ttk448 at gmail.com>
Date:   Tue Dec 18 14:12:28 2012 +0100

    added RID_PRICING_DEFFUNCTION_NAMES string resources
    
    Change-Id: I2a4e596724abb82dccbe4a8e9110bbb9b9479ff7

diff --git a/scaddins/source/pricing/pricing.src b/scaddins/source/pricing/pricing.src
index 6aa1675..2c0da88 100644
--- a/scaddins/source/pricing/pricing.src
+++ b/scaddins/source/pricing/pricing.src
@@ -429,8 +429,44 @@ Resource RID_PRICING_FUNCTION_NAMES
 
 };
 
-// for translating function names
+
+// These were originally meant to be able to load Excel documents that for
+// some time were stored with localized function names.
+// This is not relevant to this add-in, so we only supply the same
+// (English) function names again.
+// see also: GetExcelName() or GetCompNames() or getCompatibilityNames()
 Resource RID_PRICING_DEFFUNCTION_NAMES
 {
+    StringArray PRICING_DEFFUNCNAME_OptBarrier
+    {
+        ItemList =
+        {
+            < "OPT_BARRIER"; >;
+        };
+    };
+
+
+    StringArray PRICING_DEFFUNCNAME_OptTouch
+    {
+        ItemList =
+        {
+            < "OPT_TOUCH"; >;
+        };
+    };
+
+    StringArray PRICING_DEFFUNCNAME_OptProbHit
+    {
+        ItemList =
+        {
+            < "OPT_PROB_HIT"; >;
+        };
+    };
 
+    StringArray PRICING_DEFFUNCNAME_OptProbInMoney
+    {
+        ItemList =
+        {
+            < "OPT_PROB_INMONEY"; >;
+        };
+    };
 };


More information about the Libreoffice-commits mailing list