Mercurial > repos > guerler > springsuite
comparison planemo/lib/python3.7/site-packages/docutils/parsers/rst/languages/ca.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 # $Id: ca.py 7119 2011-09-02 13:00:23Z milde $ | |
2 # Author: Ivan Vilata i Balaguer <ivan@selidor.net> | |
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 Catalan-language mappings for language-dependent features of | |
12 reStructuredText. | |
13 """ | |
14 | |
15 __docformat__ = 'reStructuredText' | |
16 | |
17 | |
18 directives = { | |
19 # language-dependent: fixed | |
20 u'atenci\u00F3': 'attention', | |
21 u'compte': 'caution', | |
22 u'code (translation required)': 'code', | |
23 u'perill': 'danger', | |
24 u'error': 'error', | |
25 u'suggeriment': 'hint', | |
26 u'important': 'important', | |
27 u'nota': 'note', | |
28 u'consell': 'tip', | |
29 u'av\u00EDs': 'warning', | |
30 u'advertiment': 'admonition', | |
31 u'nota-al-marge': 'sidebar', | |
32 u'nota-marge': 'sidebar', | |
33 u'tema': 'topic', | |
34 u'bloc-de-l\u00EDnies': 'line-block', | |
35 u'bloc-l\u00EDnies': 'line-block', | |
36 u'literal-analitzat': 'parsed-literal', | |
37 u'r\u00FAbrica': 'rubric', | |
38 u'ep\u00EDgraf': 'epigraph', | |
39 u'sumari': 'highlights', | |
40 u'cita-destacada': 'pull-quote', | |
41 u'compost': 'compound', | |
42 u'container (translation required)': 'container', | |
43 #'questions': 'questions', | |
44 u'taula': 'table', | |
45 u'taula-csv': 'csv-table', | |
46 u'taula-llista': 'list-table', | |
47 #'qa': 'questions', | |
48 #'faq': 'questions', | |
49 u'math (translation required)': 'math', | |
50 u'meta': 'meta', | |
51 #'imagemap': 'imagemap', | |
52 u'imatge': 'image', | |
53 u'figura': 'figure', | |
54 u'inclou': 'include', | |
55 u'incloure': 'include', | |
56 u'cru': 'raw', | |
57 u'reempla\u00E7a': 'replace', | |
58 u'reempla\u00E7ar': 'replace', | |
59 u'unicode': 'unicode', | |
60 u'data': 'date', | |
61 u'classe': 'class', | |
62 u'rol': 'role', | |
63 u'default-role (translation required)': 'default-role', | |
64 u'title (translation required)': 'title', | |
65 u'contingut': 'contents', | |
66 u'numsec': 'sectnum', | |
67 u'numeraci\u00F3-de-seccions': 'sectnum', | |
68 u'numeraci\u00F3-seccions': 'sectnum', | |
69 u'cap\u00E7alera': 'header', | |
70 u'peu-de-p\u00E0gina': 'footer', | |
71 u'peu-p\u00E0gina': 'footer', | |
72 #'footnotes': 'footnotes', | |
73 #'citations': 'citations', | |
74 u'notes-amb-destinacions': 'target-notes', | |
75 u'notes-destinacions': 'target-notes', | |
76 u'directiva-de-prova-de-restructuredtext': 'restructuredtext-test-directive'} | |
77 """Catalan name to registered (in directives/__init__.py) directive name | |
78 mapping.""" | |
79 | |
80 roles = { | |
81 # language-dependent: fixed | |
82 u'abreviatura': 'abbreviation', | |
83 u'abreviaci\u00F3': 'abbreviation', | |
84 u'abrev': 'abbreviation', | |
85 u'ab': 'abbreviation', | |
86 u'acr\u00F2nim': 'acronym', | |
87 u'ac': 'acronym', | |
88 u'code (translation required)': 'code', | |
89 u'\u00EDndex': 'index', | |
90 u'i': 'index', | |
91 u'sub\u00EDndex': 'subscript', | |
92 u'sub': 'subscript', | |
93 u'super\u00EDndex': 'superscript', | |
94 u'sup': 'superscript', | |
95 u'refer\u00E8ncia-a-t\u00EDtol': 'title-reference', | |
96 u'refer\u00E8ncia-t\u00EDtol': 'title-reference', | |
97 u't\u00EDtol': 'title-reference', | |
98 u't': 'title-reference', | |
99 u'refer\u00E8ncia-a-pep': 'pep-reference', | |
100 u'refer\u00E8ncia-pep': 'pep-reference', | |
101 u'pep': 'pep-reference', | |
102 u'refer\u00E8ncia-a-rfc': 'rfc-reference', | |
103 u'refer\u00E8ncia-rfc': 'rfc-reference', | |
104 u'rfc': 'rfc-reference', | |
105 u'\u00E8mfasi': 'emphasis', | |
106 u'destacat': 'strong', | |
107 u'literal': 'literal', | |
108 u'math (translation required)': 'math', | |
109 u'refer\u00E8ncia-amb-nom': 'named-reference', | |
110 u'refer\u00E8ncia-nom': 'named-reference', | |
111 u'refer\u00E8ncia-an\u00F2nima': 'anonymous-reference', | |
112 u'refer\u00E8ncia-a-nota-al-peu': 'footnote-reference', | |
113 u'refer\u00E8ncia-nota-al-peu': 'footnote-reference', | |
114 u'refer\u00E8ncia-a-cita': 'citation-reference', | |
115 u'refer\u00E8ncia-cita': 'citation-reference', | |
116 u'refer\u00E8ncia-a-substituci\u00F3': 'substitution-reference', | |
117 u'refer\u00E8ncia-substituci\u00F3': 'substitution-reference', | |
118 u'destinaci\u00F3': 'target', | |
119 u'refer\u00E8ncia-a-uri': 'uri-reference', | |
120 u'refer\u00E8ncia-uri': 'uri-reference', | |
121 u'uri': 'uri-reference', | |
122 u'url': 'uri-reference', | |
123 u'cru': 'raw',} | |
124 """Mapping of Catalan role names to canonical role names for interpreted text. | |
125 """ |