From 1a045085cb46a990840be96ba284f850aaf8491d Mon Sep 17 00:00:00 2001 From: goodger Date: Mon, 15 Dec 2003 14:13:55 +0000 Subject: added Czech-language mappings by Marek Blaha git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1767 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docutils/languages/cs.py | 62 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 docutils/languages/cs.py (limited to 'docutils/languages/cs.py') diff --git a/docutils/languages/cs.py b/docutils/languages/cs.py new file mode 100644 index 000000000..5e25800eb --- /dev/null +++ b/docutils/languages/cs.py @@ -0,0 +1,62 @@ +# Author: Marek Blaha +# Contact: mb@dat.cz +# Revision: $Revision$ +# Date: $Date$ +# Copyright: This module has been placed in the public domain. + +# New language mappings are welcome. Before doing a new translation, please +# read . Two files must be +# translated for each language: one in docutils/languages, the other in +# docutils/parsers/rst/languages. + +""" +Czech-language mappings for language-dependent features of Docutils. +""" + +__docformat__ = 'reStructuredText' + +labels = { + # fixed: language-dependent + 'author': u'Autor', + 'authors': u'Auto\u0159i', + 'organization': u'Organizace', + 'address': u'Adresa', + 'contact': u'Kontakt', + 'version': u'Verze', + 'revision': u'Revize', + 'status': u'Stav', + 'date': u'Datum', + 'copyright': u'Copyright', + 'dedication': u'V\u011Bnov\u00E1n\u00ED', + 'abstract': u'Abstrakt', + 'attention': u'Pozor!', + 'caution': u'Opatrn\u011B!', + 'danger': u'!NEBEZPE\u010C\u00CD!', + 'error': u'Chyba', + 'hint': u'Rada', + 'important': u'D\u016Fle\u017Eit\u00E9', + 'note': u'Pozn\u00E1mka', + 'tip': u'Tip', + 'warning': u'Varov\u00E1n\u00ED', + 'contents': u'Obsah'} +"""Mapping of node class name to label text.""" + +bibliographic_fields = { + # language-dependent: fixed + u'autor': 'author', + u'auto\u0159i': 'authors', + u'organizace': 'organization', + u'adresa': 'address', + u'kontakt': 'contact', + u'verze': 'version', + u'revize': 'revision', + u'stav': 'status', + u'datum': 'date', + u'copyright': 'copyright', + u'v\u011Bnov\u00E1n\u00ED': 'dedication', + u'abstrakt': 'abstract'} +"""Czech (lowcased) to canonical name mapping for bibliographic fields.""" + +author_separators = [';', ','] +"""List of separator strings for the 'Authors' bibliographic field. Tried in +order.""" -- cgit v1.2.1 From a3eedc4e04eea5aa5723ea42ebb293f87fc4c33c Mon Sep 17 00:00:00 2001 From: wiemann Date: Sat, 5 Jun 2004 19:40:46 +0000 Subject: updated git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@2224 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docutils/languages/cs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docutils/languages/cs.py') diff --git a/docutils/languages/cs.py b/docutils/languages/cs.py index 5e25800eb..94d4b70a1 100644 --- a/docutils/languages/cs.py +++ b/docutils/languages/cs.py @@ -5,7 +5,7 @@ # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please -# read . Two files must be +# read . Two files must be # translated for each language: one in docutils/languages, the other in # docutils/parsers/rst/languages. -- cgit v1.2.1