Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/docutils/parsers/rst/languages/gl.py @ 0:4f3585e2f14b draft default tip
"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author | shellac |
---|---|
date | Mon, 22 Mar 2021 18:12:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4f3585e2f14b |
---|---|
1 # -*- coding: utf-8 -*- | |
2 # Author: David Goodger | |
3 # Contact: goodger@users.sourceforge.net | |
4 # Revision: $Revision: 4229 $ | |
5 # Date: $Date: 2005-12-23 00:46:16 +0100 (Fri, 23 Dec 2005) $ | |
6 # Copyright: This module has been placed in the public domain. | |
7 | |
8 # New language mappings are welcome. Before doing a new translation, please | |
9 # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be | |
10 # translated for each language: one in docutils/languages, the other in | |
11 # docutils/parsers/rst/languages. | |
12 | |
13 """ | |
14 Galician-language mappings for language-dependent features of | |
15 reStructuredText. | |
16 """ | |
17 | |
18 __docformat__ = 'reStructuredText' | |
19 | |
20 | |
21 directives = { | |
22 # language-dependent: fixed | |
23 u'atenci\u00f3n': 'attention', | |
24 u'advertencia': 'caution', | |
25 u'code (translation required)': 'code', | |
26 u'perigo': 'danger', | |
27 u'erro': 'error', | |
28 u'pista': 'hint', | |
29 u'importante': 'important', | |
30 u'nota': 'note', | |
31 u'consello': 'tip', | |
32 u'aviso': 'warning', | |
33 u'admonici\u00f3n': 'admonition', | |
34 u'barra lateral': 'sidebar', | |
35 u't\u00f3pico': 'topic', | |
36 u'bloque-li\u00f1a': 'line-block', | |
37 u'literal-analizado': 'parsed-literal', | |
38 u'r\u00fabrica': 'rubric', | |
39 u'ep\u00edgrafe': 'epigraph', | |
40 u'realzados': 'highlights', | |
41 u'coller-citaci\u00f3n': 'pull-quote', | |
42 u'compor': 'compound', | |
43 u'recipiente': 'container', | |
44 #'questions': 'questions', | |
45 u't\u00e1boa': 'table', | |
46 u't\u00e1boa-csv': 'csv-table', | |
47 u't\u00e1boa-listaxe': 'list-table', | |
48 #'qa': 'questions', | |
49 #'faq': 'questions', | |
50 u'meta': 'meta', | |
51 'math (translation required)': 'math', | |
52 #'imagemap': 'imagemap', | |
53 u'imaxe': 'image', | |
54 u'figura': 'figure', | |
55 u'inclu\u00edr': 'include', | |
56 u'cru': 'raw', | |
57 u'substitu\u00edr': 'replace', | |
58 u'unicode': 'unicode', | |
59 u'data': 'date', | |
60 u'clase': 'class', | |
61 u'regra': 'role', | |
62 u'regra-predeterminada': 'default-role', | |
63 u't\u00edtulo': 'title', | |
64 u'contido': 'contents', | |
65 u'seccnum': 'sectnum', | |
66 u'secci\u00f3n-numerar': 'sectnum', | |
67 u'cabeceira': 'header', | |
68 u'p\u00e9 de p\u00e1xina': 'footer', | |
69 #'footnotes': 'footnotes', | |
70 #'citations': 'citations', | |
71 u'notas-destino': 'target-notes', | |
72 u'texto restruturado-proba-directiva': 'restructuredtext-test-directive'} | |
73 """Galician name to registered (in directives/__init__.py) directive name | |
74 mapping.""" | |
75 | |
76 roles = { | |
77 # language-dependent: fixed | |
78 u'abreviatura': 'abbreviation', | |
79 u'ab': 'abbreviation', | |
80 u'acr\u00f3nimo': 'acronym', | |
81 u'ac': 'acronym', | |
82 u'code (translation required)': 'code', | |
83 u'\u00edndice': 'index', | |
84 u'i': 'index', | |
85 u'sub\u00edndice': 'subscript', | |
86 u'sub': 'subscript', | |
87 u'super\u00edndice': 'superscript', | |
88 u'sup': 'superscript', | |
89 u'referencia t\u00edtulo': 'title-reference', | |
90 u't\u00edtulo': 'title-reference', | |
91 u't': 'title-reference', | |
92 u'referencia-pep': 'pep-reference', | |
93 u'pep': 'pep-reference', | |
94 u'referencia-rfc': 'rfc-reference', | |
95 u'rfc': 'rfc-reference', | |
96 u'\u00e9nfase': 'emphasis', | |
97 u'forte': 'strong', | |
98 u'literal': 'literal', | |
99 'math (translation required)': 'math', | |
100 u'referencia-nome': 'named-reference', | |
101 u'referencia-an\u00f3nimo': 'anonymous-reference', | |
102 u'referencia-nota ao p\u00e9': 'footnote-reference', | |
103 u'referencia-citaci\u00f3n': 'citation-reference', | |
104 u'referencia-substituci\u00f3n': 'substitution-reference', | |
105 u'destino': 'target', | |
106 u'referencia-uri': 'uri-reference', | |
107 u'uri': 'uri-reference', | |
108 u'url': 'uri-reference', | |
109 u'cru': 'raw',} | |
110 """Mapping of Galician role names to canonical role names for interpreted text. | |
111 """ |