~ubuntu-branches/ubuntu/trusty/python-docutils/trusty-proposed

« back to all changes in this revision

Viewing changes to docutils/languages/da.py

  • Committer: Package Import Robot
  • Author(s): Michael Schutte, Jakub Wilk, Michael Schutte, Dmitry Shachnev
  • Date: 2013-08-05 16:47:43 UTC
  • mfrom: (11.1.9 experimental)
  • Revision ID: package-import@ubuntu.com-20130805164743-00lyz2imgs85ttwz
Tags: 0.11-1
[ Jakub Wilk ]
* Remove martin f. krafft and Ben Finney from Uploaders at their requests.

[ Michael Schutte ]
* New upstream release 0.11, closes: #712284, #714880.
  - Drop patch math-output-html.diff: Fixed upstream.
  - Drop patch fix-buildhtml-progress.diff: Applied upstream.
  - Drop patch strict-csv-parser.diff: Fixed upstream.
  - Drop patch unknown-url-exc-use-repr.diff: Applied upstream.
  - Update patch move-data-to-usr-share.diff: Default stylesheet paths for
    writers/html4css1 have changed.
  - Refresh the remaining patches.
  - New patch no-local-roman.diff: Use the roman module from python-roman
    instead of the copy shipped with docutils.
  - Update information about upstream version control in debian/copyright.
* Change my e-mail host in Uploaders and debian/copyright to @debian.org.
* New patch rst2odt_prepstyles-elementtree.diff: Port the rst2odt_prepstyles
  utility to ElementTree.  Drop Recommends: python-lxml.  Closes: #714319.
* New patch odt-writer-ascii-filenames.diff: Only use ASCII for filenames of
  images embedded in ODT files, closes: #714317.

[ Dmitry Shachnev ]
* Use dh_python2 instead of deprecated dh_pysupport.
* Add XS-Testsuite header, and replace XS-Python-Version with preferred
  X-Python-Version (closes: #685509).
* Add myself to Uploaders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
# $Id: da.py 7678 2013-07-03 09:57:36Z milde $
 
3
# Author: E D
 
4
# Copyright: This module has been placed in the public domain.
 
5
 
 
6
# New language mappings are welcome.  Before doing a new translation, please
 
7
# read <http://docutils.sf.net/docs/howto/i18n.html>.  Two files must be
 
8
# translated for each language: one in docutils/languages, the other in
 
9
# docutils/parsers/rst/languages.
 
10
 
 
11
"""
 
12
Danish-language mappings for language-dependent features of Docutils.
 
13
"""
 
14
 
 
15
__docformat__ = 'reStructuredText'
 
16
 
 
17
labels = {
 
18
      # fixed: language-dependent
 
19
      'author': u'Forfatter',
 
20
      'authors': u'Forfattere',
 
21
      'organization': u'Organisation',
 
22
      'address': u'Adresse',
 
23
      'contact': u'Kontakt',
 
24
      'version': u'Version',
 
25
      'revision': u'Revision',
 
26
      'status': u'Status',
 
27
      'date': u'Dato',
 
28
      'copyright': u'Copyright',
 
29
      'dedication': u'Dedikation',
 
30
      'abstract': u'Resumé',
 
31
      'attention': u'Giv agt!',
 
32
      'caution': u'Pas på!',
 
33
      'danger': u'!FARE!',
 
34
      'error': u'Fejl',
 
35
      'hint': u'Vink',
 
36
      'important': u'Vigtigt',
 
37
      'note': u'Bemærk',
 
38
      'tip': u'Tips',
 
39
      'warning': u'Advarsel',
 
40
      'contents': u'Indhold'}
 
41
"""Mapping of node class name to label text."""
 
42
 
 
43
bibliographic_fields = {
 
44
      # language-dependent: fixed
 
45
      u'forfatter': 'author',
 
46
      u'forfattere': 'authors',
 
47
      u'organisation': 'organization',
 
48
      u'adresse': 'address',
 
49
      u'kontakt': 'contact',
 
50
      u'version': 'version',
 
51
      u'revision': 'revision',
 
52
      u'status': 'status',
 
53
      u'dato': 'date',
 
54
      u'copyright': 'copyright',
 
55
      u'dedikation': 'dedication',
 
56
      u'resume': 'abstract',
 
57
      u'resumé': 'abstract'}
 
58
"""Danish (lowcased) to canonical name mapping for bibliographic fields."""
 
59
 
 
60
author_separators = [';', ',']
 
61
"""List of separator strings for the 'Authors' bibliographic field. Tried in
 
62
order."""