summaryrefslogtreecommitdiff
path: root/docutils/languages
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2015-08-31 08:23:06 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2015-08-31 08:23:06 +0000
commit9cfa2ce9b4e33fce4f4db7a5e1db5aa5deeadd4e (patch)
tree682d32aa9308909b3740b9c920d677df6e892168 /docutils/languages
parent94404c7b8fb8fff143075ec09f84d6bb0e93aed3 (diff)
downloaddocutils-9cfa2ce9b4e33fce4f4db7a5e1db5aa5deeadd4e.tar.gz
Lithuanian: fix docstrings and remove duplicate code.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7911 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/languages')
-rw-r--r--docutils/languages/lt.py65
1 files changed, 2 insertions, 63 deletions
diff --git a/docutils/languages/lt.py b/docutils/languages/lt.py
index 6223f3d83..29441b226 100644
--- a/docutils/languages/lt.py
+++ b/docutils/languages/lt.py
@@ -9,7 +9,7 @@
# docutils/parsers/rst/languages.
"""
-English-language mappings for language-dependent features of Docutils.
+Lithuanian language mappings for language-dependent features of Docutils.
"""
__docformat__ = 'reStructuredText'
@@ -54,68 +54,7 @@ bibliographic_fields = {
'autoriaus teisės': 'copyright',
'dedikacija': 'dedication',
'santrauka': 'abstract'}
-"""English (lowcased) to canonical name mapping for bibliographic fields."""
-
-author_separators = [';', ',']
-"""List of separator strings for the 'Authors' bibliographic field. Tried in
-order."""
-# -*- coding: utf-8 -*-
-# $Id$
-# Author: David Goodger <goodger@python.org>
-# 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': 'Autorius',
- 'authors': 'Autoriai',
- 'organization': 'Organizacija',
- 'address': 'Adresas',
- 'contact': 'Kontaktas',
- 'version': 'Versija',
- 'revision': 'Revizija',
- 'status': u'Būsena',
- 'date': 'Data',
- 'copyright': u'Autoriaus teisės',
- 'dedication': 'Dedikacija',
- 'abstract': 'Santrauka',
- 'attention': u'Dėmesio!',
- 'caution': 'Atsargiai!',
- 'danger': '!PAVOJINGA!',
- 'error': 'Klaida',
- 'hint': u'Užuomina',
- 'important': 'Svarbu',
- 'note': 'Pastaba',
- 'tip': 'Patarimas',
- 'warning': u'Įspėjimas',
- 'contents': 'Turinys'}
-"""Mapping of node class name to label text."""
-
-bibliographic_fields = {
- # language-dependent: fixed
- 'autorius': 'author',
- 'autoriai': 'authors',
- 'organizacija': 'organization',
- 'adresas': 'address',
- 'kontaktas': 'contact',
- 'versija': 'version',
- 'revizija': 'revision',
- 'būsena': 'status',
- 'data': 'date',
- 'autoriaus teisės': 'copyright',
- 'dedikacija': 'dedication',
- 'santrauka': 'abstract'}
-"""English (lowcased) to canonical name mapping for bibliographic fields."""
+"""Lithuanian (lowcased) to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in