Mercurial > repos > guerler > springsuite
comparison planemo/lib/python3.7/site-packages/docutils/parsers/rst/languages/lv.py @ 0:d30785e31577 draft
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
author | guerler |
---|---|
date | Fri, 31 Jul 2020 00:18:57 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d30785e31577 |
---|---|
1 # -*- coding: utf-8 -*- | |
2 # $Id: lv.py 7975 2016-10-20 20:00:19Z milde $ | |
3 # Copyright: This module has been placed in the public domain. | |
4 | |
5 # New language mappings are welcome. Before doing a new translation, please | |
6 # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be | |
7 # translated for each language: one in docutils/languages, the other in | |
8 # docutils/parsers/rst/languages. | |
9 | |
10 """ | |
11 Latvian-language mappings for language-dependent features of | |
12 reStructuredText. | |
13 """ | |
14 | |
15 __docformat__ = 'reStructuredText' | |
16 | |
17 | |
18 directives = { | |
19 # language-dependent: fixed | |
20 'uzmanību': 'attention', | |
21 'piesardzību': 'caution', | |
22 'kods': 'code', | |
23 'koda-bloks': 'code', | |
24 'pirmkods': 'code', | |
25 'bīstami': 'danger', | |
26 'kļūda': 'error', | |
27 'ieteikums': 'hint', | |
28 'svarīgi': 'important', | |
29 'piezīme': 'note', | |
30 'padoms': 'tip', | |
31 'brīdinājums': 'warning', | |
32 'aizrādījums': 'admonition', | |
33 'sānjosla': 'sidebar', | |
34 'tēma': 'topic', | |
35 'rindu-bloks': 'line-block', | |
36 'parsēts-literālis': 'parsed-literal', | |
37 'rubrika': 'rubric', | |
38 'epigrāfs': 'epigraph', | |
39 'apskats': 'highlights', | |
40 'izvilkuma-citāts': 'pull-quote', | |
41 'savienojums': 'compound', | |
42 'konteiners': 'container', | |
43 #'questions': 'questions', | |
44 'tabula': 'table', | |
45 'csv-tabula': 'csv-table', | |
46 'sarakstveida-tabula': 'list-table', | |
47 #'qa': 'questions', | |
48 #'faq': 'questions', | |
49 'meta': 'meta', | |
50 'matemātika': 'math', | |
51 #'imagemap': 'imagemap', | |
52 'attēls': 'image', | |
53 'figūra': 'figure', | |
54 'ietvert': 'include', | |
55 'burtiski': 'raw', | |
56 'aizvieto': 'replace', | |
57 'unicode': 'unicode', | |
58 'datums': 'date', | |
59 'klase': 'class', | |
60 'role': 'role', | |
61 'noklusējuma-role': 'default-role', | |
62 'virsraksts': 'title', | |
63 'saturs': 'contents', | |
64 'numurēt-sekcijas': 'sectnum', | |
65 'galvene': 'header', | |
66 'kājene': 'footer', | |
67 #'footnotes': 'footnotes', | |
68 #'citations': 'citations', | |
69 'atsauces-apakšā': 'target-notes', | |
70 'restructuredtext-testa-direktīva': 'restructuredtext-test-directive'} | |
71 """English name to registered (in directives/__init__.py) directive name | |
72 mapping.""" | |
73 | |
74 roles = { | |
75 # language-dependent: fixed | |
76 'saīsinājums': 'abbreviation', | |
77 'īsi': 'abbreviation', | |
78 'akronīms': 'acronym', | |
79 'kods': 'code', | |
80 'indekss': 'index', | |
81 'i': 'index', | |
82 'apakšraksts': 'subscript', | |
83 'apakšā': 'subscript', | |
84 'augšraksts': 'superscript', | |
85 'augšā': 'superscript', | |
86 'virsraksta-atsauce': 'title-reference', | |
87 'virsraksts': 'title-reference', | |
88 'v': 'title-reference', | |
89 'atsauce-uz-pep': 'pep-reference', | |
90 'pep': 'pep-reference', | |
91 'atsauce-uz-rfc': 'rfc-reference', | |
92 'rfc': 'rfc-reference', | |
93 'izcēlums': 'emphasis', | |
94 'blīvs': 'strong', | |
95 'literālis': 'literal', | |
96 'matemātika': 'math', | |
97 'nosaukta-atsauce': 'named-reference', | |
98 'nenosaukta-atsauce': 'anonymous-reference', | |
99 'kājenes-atsauce': 'footnote-reference', | |
100 'citātā-atsauce': 'citation-reference', | |
101 'aizvietojuma-atsauce': 'substitution-reference', | |
102 'mēr''kis': 'target', | |
103 'atsauce-uz-uri': 'uri-reference', | |
104 'uri': 'uri-reference', | |
105 'url': 'uri-reference', | |
106 'burtiski': 'raw',} | |
107 """Mapping of English role names to canonical role names for interpreted text. | |
108 """ |