瀏覽代碼

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".
Jambunathan K 13 年之前
父節點
當前提交
054ab6ceee
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      contrib/lisp/org-odt.el

+ 4 - 3
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 "