Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/docutils/languages/en.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-06-07 06:06 +0000

1# $Id$ 

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 <https://docutils.sourceforge.io/docs/howto/i18n.html>. 

7# Two files must be translated for each language: one in docutils/languages, 

8# the other in docutils/parsers/rst/languages. 

9 

10""" 

11English-language mappings for language-dependent features of Docutils. 

12""" 

13 

14__docformat__ = 'reStructuredText' 

15 

16labels = { 

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 

42bibliographic_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 

58author_separators = [';', ','] 

59"""List of separator strings for the 'Authors' bibliographic field. Tried in 

60order."""