| # $Id: en.py 4564 2006-05-21 20:44:42Z wiemann $ |
| # Author: David Goodger <[email protected]> |
| # Copyright: This module has been placed in the public domain. |
| |
| # New language mappings are welcome. Before doing a new translation, please |
| # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be |
| # translated for each language: one in docutils/languages, the other in |
| # docutils/parsers/rst/languages. |
| |
| """ |
| English-language mappings for language-dependent features of Docutils. |
| """ |
| |
| __docformat__ = 'reStructuredText' |
| |
| labels = { |
| # fixed: language-dependent |
| 'author': 'Author', |
| 'authors': 'Authors', |
| 'organization': 'Organization', |
| 'address': 'Address', |
| 'contact': 'Contact', |
| 'version': 'Version', |
| 'revision': 'Revision', |
| 'status': 'Status', |
| 'date': 'Date', |
| 'copyright': 'Copyright', |
| 'dedication': 'Dedication', |
| 'abstract': 'Abstract', |
| 'attention': 'Attention!', |
| 'caution': 'Caution!', |
| 'danger': '!DANGER!', |
| 'error': 'Error', |
| 'hint': 'Hint', |
| 'important': 'Important', |
| 'note': 'Note', |
| 'tip': 'Tip', |
| 'warning': 'Warning', |
| 'contents': 'Contents'} |
| """Mapping of node class name to label text.""" |
| |
| bibliographic_fields = { |
| # language-dependent: fixed |
| 'author': 'author', |
| 'authors': 'authors', |
| 'organization': 'organization', |
| 'address': 'address', |
| 'contact': 'contact', |
| 'version': 'version', |
| 'revision': 'revision', |
| 'status': 'status', |
| 'date': 'date', |
| 'copyright': 'copyright', |
| 'dedication': 'dedication', |
| 'abstract': 'abstract'} |
| """English (lowcased) to canonical name mapping for bibliographic fields.""" |
| |
| author_separators = [';', ','] |
| """List of separator strings for the 'Authors' bibliographic field. Tried in |
| order.""" |