summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2023-06-07 08:58:21 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2023-06-07 08:58:21 -0700
commitd04838b678c037fbf966504d8f29200e09b21aa5 (patch)
treed97fc0aea1009ac0bb7dd62509d50456e0449de8 /src
parentc9825761338f56209f69782da0087f9e27fa577b (diff)
Fix localization of "Abstract" title in docx writer.
See #8702, which was only partially implemented before.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/Docx.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Docx.hs b/src/Text/Pandoc/Writers/Docx.hs
index d33f2aca6..e39dcb648 100644
--- a/src/Text/Pandoc/Writers/Docx.hs
+++ b/src/Text/Pandoc/Writers/Docx.hs
@@ -124,6 +124,7 @@ writeDocx :: (PandocMonad m)
-> m BL.ByteString
writeDocx opts doc = do
let Pandoc meta blocks = walk fixDisplayMath doc
+ setupTranslations meta
let blocks' = makeSections True Nothing blocks
let doc' = Pandoc meta blocks'