aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Bieg <mb21@users.noreply.github.com>2019-02-27 19:11:50 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2019-02-27 11:11:50 -0700
commitb72b395127ae2a7f45d74840ddeb86158bea8ea0 (patch)
tree1405812b3f434f46c1489a00f1ee57d004711d98
parenta908129d932fa066d9cec575a1065c5e6345a679 (diff)
downloadpandoc-b72b395127ae2a7f45d74840ddeb86158bea8ea0.tar.gz
Translations: reorder alphabetically (#5335)
remove `Author`, closes #5334
-rw-r--r--data/translations/de.yaml1
-rw-r--r--data/translations/en.yaml2
-rw-r--r--data/translations/ru.yaml1
-rw-r--r--data/translations/uk.yaml1
-rw-r--r--src/Text/Pandoc/Translations.hs26
5 files changed, 15 insertions, 16 deletions
diff --git a/data/translations/de.yaml b/data/translations/de.yaml
index df519ef83..cba1dcb64 100644
--- a/data/translations/de.yaml
+++ b/data/translations/de.yaml
@@ -8,6 +8,7 @@ Encl: Anlage(n)
Figure: Abbildung
Glossary: Glossar
Index: Index
+Listing: Auflistung
ListOfFigures: Abbildungsverzeichnis
ListOfTables: Tabellenverzeichnis
Page: Seite
diff --git a/data/translations/en.yaml b/data/translations/en.yaml
index bd2599ec8..22bd2a91a 100644
--- a/data/translations/en.yaml
+++ b/data/translations/en.yaml
@@ -8,6 +8,7 @@ Encl: encl
Figure: Figure
Glossary: Glossary
Index: Index
+Listing: Listing
ListOfFigures: ListOfFigures
ListOfTables: ListOfTables
Page: page
@@ -19,4 +20,3 @@ See: see
SeeAlso: see also
Table: Table
To: To
-Listing: Listing
diff --git a/data/translations/ru.yaml b/data/translations/ru.yaml
index 0bcbea62b..65e460888 100644
--- a/data/translations/ru.yaml
+++ b/data/translations/ru.yaml
@@ -1,6 +1,5 @@
Abstract: Аннотация
Appendix: Приложение
-Author: Именной указатель
Bibliography: Литература
Cc: исх.
Chapter: Глава
diff --git a/data/translations/uk.yaml b/data/translations/uk.yaml
index 69b7b560e..8e9a63e08 100644
--- a/data/translations/uk.yaml
+++ b/data/translations/uk.yaml
@@ -1,6 +1,5 @@
Abstract: Анотація
Appendix: Додаток
-Author: Іменний покажчик}% babel has "Їменний покажчик"
Bibliography: Бібліоґрафія
Cc: копія
Chapter: Розділ
diff --git a/src/Text/Pandoc/Translations.hs b/src/Text/Pandoc/Translations.hs
index db8ee7744..9d9e622fd 100644
--- a/src/Text/Pandoc/Translations.hs
+++ b/src/Text/Pandoc/Translations.hs
@@ -59,28 +59,28 @@ import Text.Pandoc.Shared (safeRead)
import qualified Text.Pandoc.UTF8 as UTF8
data Term =
- Preface
- | References
- | Abstract
+ Abstract
+ | Appendix
| Bibliography
+ | Cc
| Chapter
- | Appendix
| Contents
+ | Encl
+ | Figure
+ | Glossary
+ | Index
+ | Listing
| ListOfFigures
| ListOfTables
- | Index
- | Figure
- | Table
- | Part
| Page
+ | Part
+ | Preface
+ | Proof
+ | References
| See
| SeeAlso
- | Encl
- | Cc
+ | Table
| To
- | Proof
- | Glossary
- | Listing
deriving (Show, Eq, Ord, Generic, Enum, Read)
newtype Translations = Translations (M.Map Term String)