summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJambunathan K <kjambunathan@gmail.com>2011-07-20 19:07:23 +0530
committerBastien Guerry <bzg@altern.org>2011-07-21 11:18:24 +0200
commit054ab6ceee7da8c8c852380804c30fd3c52f0582 (patch)
tree0d61bf5421cca954ffcba5d5e86c5e83d07734b5
parent48b998cefc3d4e4d09b2754ff2c0019b9e026886 (diff)
downloadorg-mode-054ab6ceee7da8c8c852380804c30fd3c52f0582.tar.gz
org-odt: Use lang specific value for "Table Of Contents"
* contrib/lisp/org-odt.el (org-odt-begin-toc): Use lang specific value for "Table Of Contents".
-rw-r--r--contrib/lisp/org-odt.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/lisp/org-odt.el b/contrib/lisp/org-odt.el
index e0790de..ea4e32b 100644
--- a/contrib/lisp/org-odt.el
+++ b/contrib/lisp/org-odt.el
@@ -691,14 +691,15 @@ PUB-DIR is set, use this as the publishing directory."
</text:table-of-content-entry-template>
" level level)))
- (insert "
+ (insert
+ (format "
</text:table-of-content-source>
<text:index-body>
<text:index-title text:style-name=\"Sect1\" text:name=\"Table of Contents1_Head\">
- <text:p text:style-name=\"Contents_20_Heading\">Table of Contents</text:p>
+ <text:p text:style-name=\"Contents_20_Heading\">%s</text:p>
</text:index-title>
-"))
+" lang-specific-heading)))
(defun org-odt-end-toc ()
(insert "