buildframework/helium/external/python/lib/common/docutils-0.5-py2.5.egg/docutils/languages/en.py
changeset 179 d8ac696cc51f
equal deleted inserted replaced
1:be27ed110b50 179:d8ac696cc51f
       
     1 # $Id: en.py 4564 2006-05-21 20:44:42Z wiemann $
       
     2 # Author: David Goodger <goodger@python.org>
       
     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 English-language mappings for language-dependent features of Docutils.
       
    12 """
       
    13 
       
    14 __docformat__ = 'reStructuredText'
       
    15 
       
    16 labels = {
       
    17       # fixed: language-dependent
       
    18       'author': 'Author',
       
    19       'authors': 'Authors',
       
    20       'organization': 'Organization',
       
    21       'address': 'Address',
       
    22       'contact': 'Contact',
       
    23       'version': 'Version',
       
    24       'revision': 'Revision',
       
    25       'status': 'Status',
       
    26       'date': 'Date',
       
    27       'copyright': 'Copyright',
       
    28       'dedication': 'Dedication',
       
    29       'abstract': 'Abstract',
       
    30       'attention': 'Attention!',
       
    31       'caution': 'Caution!',
       
    32       'danger': '!DANGER!',
       
    33       'error': 'Error',
       
    34       'hint': 'Hint',
       
    35       'important': 'Important',
       
    36       'note': 'Note',
       
    37       'tip': 'Tip',
       
    38       'warning': 'Warning',
       
    39       'contents': 'Contents'}
       
    40 """Mapping of node class name to label text."""
       
    41 
       
    42 bibliographic_fields = {
       
    43       # language-dependent: fixed
       
    44       'author': 'author',
       
    45       'authors': 'authors',
       
    46       'organization': 'organization',
       
    47       'address': 'address',
       
    48       'contact': 'contact',
       
    49       'version': 'version',
       
    50       'revision': 'revision',
       
    51       'status': 'status',
       
    52       'date': 'date',
       
    53       'copyright': 'copyright',
       
    54       'dedication': 'dedication',
       
    55       'abstract': 'abstract'}
       
    56 """English (lowcased) to canonical name mapping for bibliographic fields."""
       
    57 
       
    58 author_separators = [';', ',']
       
    59 """List of separator strings for the 'Authors' bibliographic field. Tried in
       
    60 order."""