~ubuntu-branches/ubuntu/quantal/python-docutils/quantal

« back to all changes in this revision

Viewing changes to docutils/languages/gl.py

  • Committer: Bazaar Package Importer
  • Author(s): Jakub Wilk
  • Date: 2009-12-13 19:54:12 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091213195412-9o7q348lfkucx01f
* Unconditionally recommend python-lxml, as it is used by
  /usr/bin/rst2odt_prepstyles (closes: #560330).
* Demote dependency on an ElementTree implementation to recommendation, as it
  is only used by /usr/bin/rst2odt; remove python-lxml from alternatives, as
  it is never used by the script (closes: #560328).
* Fix insecure use of temporary files in the Emacs major mode for
  reStructuredText (closes: #560755). Thanks to Kumar Appaiah for helping to
  deal with this bug.
* Register docutils documentation using doc-base.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
# Author: David Goodger
 
3
# Contact: goodger@users.sourceforge.net
 
4
# Revision: $Revision: 2224 $
 
5
# Date: $Date: 2004-06-05 21:40:46 +0200 (Sat, 05 Jun 2004) $
 
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 Docutils.
 
15
"""
 
16
 
 
17
__docformat__ = 'reStructuredText'
 
18
 
 
19
labels = {
 
20
      # fixed: language-dependent
 
21
      'author': u'Autor',
 
22
      'authors': u'Autores',
 
23
      'organization': u'Organizaci\u00f3n',
 
24
      'address': u'Enderezo',
 
25
      'contact': u'Contacto',
 
26
      'version': u'Versi\u00f3n',
 
27
      'revision': u'Revisi\u00f3n',
 
28
      'status': u'Estado',
 
29
      'date': u'Data',
 
30
      'copyright': u'Dereitos de copia',
 
31
      'dedication': u'Dedicatoria',
 
32
      'abstract': u'Abstract',
 
33
      'attention': u'Atenci\u00f3n!',
 
34
      'caution': u'Advertencia!',
 
35
      'danger': u'PERIGO!',
 
36
      'error': u'Erro',
 
37
      'hint': u'Consello',
 
38
      'important': u'Importante',
 
39
      'note': u'Nota',
 
40
      'tip': u'Suxesti\u00f3n',
 
41
      'warning': u'Aviso',
 
42
      'contents': u'Contido'}
 
43
"""Mapping of node class name to label text."""
 
44
 
 
45
bibliographic_fields = {
 
46
      # language-dependent: fixed
 
47
      u'autor': 'author',
 
48
      u'autores': 'authors',
 
49
      u'organizaci\u00f3n': 'organization',
 
50
      u'enderezo': 'address',
 
51
      u'contacto': 'contact',
 
52
      u'versi\u00f3n': 'version',
 
53
      u'revisi\u00f3n': 'revision',
 
54
      u'estado': 'status',
 
55
      u'data': 'date',
 
56
      u'dereitos de copia': 'copyright',
 
57
      u'dedicatoria': 'dedication',
 
58
      u'abstract': 'abstract'}
 
59
"""Galician (lowcased) to canonical name mapping for bibliographic fields."""
 
60
 
 
61
author_separators = [';', ',']
 
62
"""List of separator strings for the 'Authors' bibliographic field. Tried in
 
63
order."""