diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2019-05-29 22:57:27 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2019-05-29 22:59:45 +0200 |
commit | 3c3e9a12cda1f1d4a28502344bb931832ba9e7be (patch) | |
tree | 1cfefc00bcc60095087b27e0a5cccb5399f28540 /src/Text/Pandoc/Lua/Marshaling | |
parent | e871d65b67e2458c6146debddeaddb3c9773f67c (diff) | |
download | pandoc-3c3e9a12cda1f1d4a28502344bb931832ba9e7be.tar.gz |
Lua Version type: shorten "version too old" message
Diffstat (limited to 'src/Text/Pandoc/Lua/Marshaling')
-rw-r--r-- | src/Text/Pandoc/Lua/Marshaling/Version.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Lua/Marshaling/Version.hs b/src/Text/Pandoc/Lua/Marshaling/Version.hs index 3c667cbc4..f1d4bfd7f 100644 --- a/src/Text/Pandoc/Lua/Marshaling/Version.hs +++ b/src/Text/Pandoc/Lua/Marshaling/Version.hs @@ -134,7 +134,7 @@ __tostring v = return (showVersion v) -- | Default error message when a version is too old. This message is -- formatted in Lua with the expected and actual versions as arguments. versionTooOldMessage :: String -versionTooOldMessage = "version too old: expected version %s or newer, got %s" +versionTooOldMessage = "expected version %s or newer, got %s" -- | Throw an error if this version is older than the given version. -- FIXME: This function currently requires the string library to be |