From: Armin Ronacher Date: Thu, 25 Jul 2013 21:22:44 +0000 (+0200) Subject: Added messages docs X-Git-Tag: 1.0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9fbb2c48e0b71052a8713d02ffe96006af882a6;p=thirdparty%2Fbabel.git Added messages docs --- diff --git a/docs/api/index.rst b/docs/api/index.rst index 9222cf1c..208d4dec 100644 --- a/docs/api/index.rst +++ b/docs/api/index.rst @@ -9,6 +9,7 @@ public API of Babel. core dates + messages numbers plural support diff --git a/docs/api/messages.rst b/docs/api/messages.rst new file mode 100644 index 00000000..aed231e1 --- /dev/null +++ b/docs/api/messages.rst @@ -0,0 +1,23 @@ +Messages and Catalogs +===================== + +.. module:: babel.messages + +Babel provides functionality to work with message catalogs. There is more +functionality than that available but some of it is currently only +documented in the sourcecode as we have to decide what part of the API +will become public and what should stay internal. + +Basic Interface +--------------- + +.. autoclass:: Message + :members: + +.. autoclass:: Catalog + :members: + +Exceptions +---------- + +.. autoexception:: TranslationError