Mercurial > babel > old > mirror
changeset 195:554d7e8462de stable
Merged revisions [192] and [195] via svnmerge from [source:/trunk].
author | cmlenz |
---|---|
date | Mon, 02 Jul 2007 09:26:08 +0000 |
parents | a47aa7995d62 |
children | 650c31f9437d |
files | 0.8.x/ChangeLog 0.8.x/doc/cmdline.txt 0.8.x/setup.py |
diffstat | 3 files changed, 14 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/0.8.x/ChangeLog +++ b/0.8.x/ChangeLog @@ -1,7 +1,6 @@ - Version 0.8.1 http://svn.edgewall.org/repos/babel/tags/0.8.1/ -(?, from branches/stable/0.8.x) +(Jul 2 2007, from branches/stable/0.8.x) * `default_locale()` would fail when the value of the `LANGUAGE` environment variable contained multiple language codes separated by colon, as is @@ -22,8 +21,10 @@ * Made locale string parsing more robust, and also take the script part into account (ticket #27). * Added a function to list all locales for which locale data is available. - * Added a command-line option to the `babel` command which prints out all + * Added a command-line option to the `pybabel` command which prints out all available locales (ticket #24). + * The name of the command-line script has been changed from just `babel` to + `pybabel` to avoid a conflict with the OpenBabel project (ticket #34). Version 0.8
--- a/0.8.x/doc/cmdline.txt +++ b/0.8.x/doc/cmdline.txt @@ -14,10 +14,10 @@ .. sectnum:: -When properly installed, Babel provides a script called ``babel``:: +When properly installed, Babel provides a script called ``pybabel``:: - $ babel --help - usage: babel subcommand [options] [args] + $ pybabel --help + usage: pybabel subcommand [options] [args] options: --version show program's version number and exit @@ -27,8 +27,8 @@ extract extract messages from source files and generate a POT file init create new message catalogs from a template -The ``babel`` script provides a number of sub-commands that do the actual work. -Those sub-commands are described below. +The ``pybabel`` script provides a number of sub-commands that do the actual +work. Those sub-commands are described below. extract @@ -37,8 +37,8 @@ The ``extract`` sub-command can be used to extract localizable messages from a collection of source files:: - $ babel extract --help - usage: babel extract [options] dir1 <dir2> ... + $ pybabel extract --help + usage: pybabel extract [options] dir1 <dir2> ... extract messages from source files and generate a POT file @@ -79,8 +79,8 @@ The `init` sub-command creates a new translations catalog based on a PO template file:: - $ babel init --help - usage: babel init [options] + $ pybabel init --help + usage: pybabel init [options] create new message catalogs from a template