log babel/messages/frontend.py @ 546:b33c36615fe9

age author description
Sat, 19 Mar 2011 19:48:23 +0000 fschwarz rename babel.localedata.list() to ease Python 3 transition (fixes #250)
Sat, 05 Mar 2011 18:58:33 +0000 fschwarz remove unnecessary import
Sat, 05 Mar 2011 16:40:24 +0000 fschwarz cleanup: remove unused imports
Sat, 05 Mar 2011 15:22:28 +0000 jruigrok Update the copyright line.
Sat, 05 Mar 2011 14:58:58 +0000 fschwarz merge r573, r575 from trunk to 0.9 branch stable-0.9.x
Sat, 05 Mar 2011 14:53:03 +0000 fschwarz shorten the __init__() method of !CommandLineInterface by extracting the logging configuration into another method
Sat, 05 Mar 2011 14:48:59 +0000 fschwarz prevent !CommandLineInterface.run from accumulating logging handlers (fixes #227)
Fri, 04 Mar 2011 13:14:03 +0000 fschwarz Python 2.3 compatibility: backporting r456 and r457 to 0.9 branch (see #233) stable-0.9.x
Tue, 22 Feb 2011 16:04:56 +0000 jruigrok Back out r553 for now. stable-0.9.x
Tue, 22 Feb 2011 16:01:21 +0000 jruigrok Back out r549 for now.
Tue, 22 Feb 2011 14:43:08 +0000 jruigrok Merged revisions 549 via svnmerge from stable-0.9.x
Tue, 22 Feb 2011 14:30:22 +0000 jruigrok Prevent multiple handlers being attached to the same logger.
Thu, 15 Apr 2010 14:20:11 +0000 jruigrok Commit the resulting files after a 2to3 -nvw run. experimental-babel3
Sun, 11 Apr 2010 09:01:02 +0000 jruigrok Merged revisions 482 via svnmerge from stable-0.9.x
Sun, 11 Apr 2010 08:53:54 +0000 jruigrok Merged revisions 471 via svnmerge from stable-0.9.x
Sun, 11 Apr 2010 08:40:17 +0000 jruigrok Merged revisions 465 via svnmerge from stable-0.9.x
Sun, 11 Apr 2010 08:29:00 +0000 jruigrok Merged revisions 466 via svnmerge from stable-0.9.x
Sun, 11 Apr 2010 08:15:12 +0000 jruigrok Merged revisions 459 via svnmerge from stable-0.9.x
Fri, 25 Sep 2009 20:29:11 +0000 pjenvey remove sorted and don't assume dict ordering (Python 2.3 & Jython compat)
Fri, 08 May 2009 08:05:03 +0000 dfraser add `--project` and `--version` options for commandline (fixes #173)
Tue, 23 Dec 2008 01:12:59 +0000 palgarvio Use a more explicit error message if no option or argument(command) is passed to `pybabel`. Fixes #81.
Tue, 23 Dec 2008 01:03:40 +0000 palgarvio Now, the `--width` option, although with a default value of 76, it's not set to any value initially so that the `--no-wrap` option can be passed without throwing an error. Fixes #145.
Mon, 15 Dec 2008 23:14:50 +0000 palgarvio Typo's and sorted output of `list-locales`.
Wed, 08 Oct 2008 22:42:55 +0000 pjenvey fix Python 2.3 compat: rearrange set/itemgetter/rsplit/sorted/unicode.decode
Tue, 08 Jul 2008 21:01:28 +0000 cmlenz Ported [407:415/trunk] back to 0.9.x branch. stable-0.9.x
Mon, 30 Jun 2008 16:35:50 +0000 palgarvio Include fix of [407] in `pybabel`.
Mon, 30 Jun 2008 12:23:28 +0000 palgarvio We no longer neglect `catalog.plurals`. Added tests for it. Fixes #120.
Mon, 16 Jun 2008 12:48:43 +0000 cmlenz Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk]. stable-0.9.x
Thu, 12 Jun 2008 16:24:25 +0000 aronacher Stripping of comment tags is optional now. If enabled it will strip the tags from all lines of a comment now.
Wed, 11 Jun 2008 18:56:27 +0000 cmlenz More preparation for msgctxt support (#54).
Fri, 06 Jun 2008 22:06:33 +0000 cmlenz Fix message catalog compilation for locales with more than two plural forms. Closes #95. Many thanks to Victor Safronovich for the patch.
Fri, 01 Feb 2008 15:30:49 +0000 cmlenz Fix for #60.
Fri, 01 Feb 2008 15:23:13 +0000 cmlenz Fix for #79 (location lines wrapping at hyphens).
Mon, 07 Jan 2008 16:04:38 +0000 cmlenz Same bug fixed in [339] was also in the setuptools `compile_catalog` command.
Mon, 07 Jan 2008 15:10:46 +0000 cmlenz Fixed bug where the commandline interface to the compile catalog command actually used the output file for the input file option. Thanks to mitsuhiko for reporting this.
Thu, 13 Dec 2007 11:51:36 +0000 jruigrok When using sys.stdout with a pipe or redirection the sys.stdout.encoding value
Fri, 28 Sep 2007 04:44:55 +0000 pjenvey we must mean options.locale here
Sun, 09 Sep 2007 17:07:45 +0000 cmlenz Fix error in `compile_catalog` distutils command. Closes #65.
Wed, 05 Sep 2007 16:32:51 +0000 cmlenz Write PO files in binary mode. Closes #61.
Wed, 22 Aug 2007 09:33:47 +0000 cmlenz Default the encoding of output by the `pybabel --list-locales` command to ASCII with errors replaced, if the output stream has no encoding set. For a reason unknown to me I got an encoding error, but only when when running the output through a pipe on the shell.
Tue, 14 Aug 2007 07:20:33 +0000 pjenvey don't init new catalogs as fuzzy
Mon, 13 Aug 2007 22:29:03 +0000 cmlenz Soften dependency on setuptools. Extraction methods can now be referenced using a special section in the mapping configuration, mapping short names to fully-qualified function references.
Wed, 01 Aug 2007 14:15:35 +0000 cmlenz Add more `since` tags to stuff added in trunk.
Mon, 30 Jul 2007 20:28:43 +0000 cmlenz Use logging module for output from CLI frontend.
Sun, 29 Jul 2007 20:04:17 +0000 cmlenz Use proper logging in distutils `compile_catalog` command.
Mon, 16 Jul 2007 16:57:49 +0000 cmlenz Added infrastructure for adding catalog checkers, and implement a checker that validations Python format parameters in translations, closing #19.
Thu, 05 Jul 2007 17:25:13 +0000 cmlenz When parsing catalog headers, look for the content-type first, to be able to use a specified encoding on all other headers.
Thu, 05 Jul 2007 08:02:26 +0000 cmlenz Include percentage in statistics output.
Wed, 04 Jul 2007 16:09:05 +0000 palgarvio Make frontends that make use of a ''loop all'' fail if no message catalogs are found.
Wed, 04 Jul 2007 15:24:32 +0000 palgarvio Implement translations statistics, closes #18.
Wed, 04 Jul 2007 06:54:07 +0000 cmlenz Fix another bug introduced in [208].
Wed, 04 Jul 2007 06:52:03 +0000 cmlenz Fix for bug introduced in [208]. Closes #37.
Tue, 03 Jul 2007 17:55:34 +0000 palgarvio Added `--no-fuzzy-matching` to the frontends and also `--previous` which adds the old msgid's as comments. The latest closes #31.
Tue, 03 Jul 2007 13:12:36 +0000 cmlenz Fix for #36: avoid corrupting the catalog on update when there's an error in the writing process.
Tue, 03 Jul 2007 12:52:44 +0000 cmlenz Fix for #35, and a minor improvement to how we parse the catalog fuzzy bit.
Sun, 01 Jul 2007 17:59:44 +0000 cmlenz Add an option to the frontend commands for catalog updating that removes completely any obsolete messages, instead of putting them comments.
Thu, 28 Jun 2007 16:37:30 +0000 cmlenz Ported [188] to 0.8.x branch. stable-0.8.x
Thu, 28 Jun 2007 16:34:40 +0000 cmlenz Add a command-line option that prints out all available locales. Closes #24.
Thu, 28 Jun 2007 10:28:25 +0000 cmlenz The frontends now provide ways to update existing translations catalogs from a template. Closes #22.
Wed, 27 Jun 2007 14:38:20 +0000 cmlenz Minor change to what symbols are ?exported?, primarily for the generated docs.
Wed, 27 Jun 2007 14:29:17 +0000 cmlenz * Instead of an extra `compile-all` option on the `compile` (or `compile_catalog`) command, compilation of all catalogs is performed when neither an `input_file` nor a `locale` is specified.
Tue, 26 Jun 2007 18:22:19 +0000 palgarvio Added tests for the `compile` command of `babel` binary and `messages_non_fuzzy.pot` to further test `read_po` fuzzy bit header parsing.
Tue, 26 Jun 2007 16:46:56 +0000 palgarvio Changed the `__repr__` output to include the flags(it can be changed back, but it was usefull to implement the fuzzy header parsing).
Fri, 22 Jun 2007 17:56:02 +0000 palgarvio Allow the compile catalog frontends to compile all available locales.
Fri, 22 Jun 2007 16:58:39 +0000 palgarvio Typo fix.
Fri, 22 Jun 2007 08:39:04 +0000 cmlenz Implement fuzzy matching to catalog updates. No frontend yet.
Thu, 21 Jun 2007 16:12:38 +0000 cmlenz Slightly simplified CLI-frontend class.
Thu, 21 Jun 2007 14:38:30 +0000 cmlenz Add MO file generation. Closes #21.
Wed, 20 Jun 2007 15:04:48 +0000 cmlenz Some doc fixes.
Mon, 18 Jun 2007 18:26:19 +0000 cmlenz Set explicit local timezone for CLI `init` command.
Mon, 18 Jun 2007 17:05:00 +0000 cmlenz Add a couple of CLI tests.
Sun, 17 Jun 2007 21:02:01 +0000 cmlenz Make the check for the `message_extractors` setup keyword more robst.
Fri, 15 Jun 2007 22:18:59 +0000 cmlenz Added tests for `new_catalog` distutils command.
Fri, 15 Jun 2007 19:26:35 +0000 cmlenz Made new frontend tests more ''unit-y'', i.e. calling the APIs directly instead of launching the scripts.
Thu, 14 Jun 2007 20:44:18 +0000 pjenvey copyright_holder arg is no longer needed for write_po
Thu, 14 Jun 2007 20:39:31 +0000 pjenvey fixed old comments kwarg to auto_comments
Thu, 14 Jun 2007 06:24:28 +0000 palgarvio `Message`, `read_po` and `write_po` now all handle user/auto comments correctly.
Wed, 13 Jun 2007 23:02:24 +0000 cmlenz Merged `write_pot` and `write_po` functions by moving more functionality to the `Catalog` class. This is certainly not perfect yet, but moves us in the right direction.
Wed, 13 Jun 2007 21:46:41 +0000 cmlenz Implement wrapping of header comments in PO(T) output. Related to #14.
Wed, 13 Jun 2007 20:50:34 +0000 cmlenz Project name and version, and the charset are available via the `Catalog` object, and do not need to be passed to `write_pot()`.
Tue, 12 Jun 2007 18:40:39 +0000 cmlenz Fix for #11 (use local timezone in timestamps of generated POT).
Mon, 11 Jun 2007 20:43:15 +0000 cmlenz Some doc improvements on distutils integration.
Mon, 11 Jun 2007 19:43:58 +0000 palgarvio Completely fixed the bug reported by pjenvey, partially addressed on [87].
Mon, 11 Jun 2007 00:48:07 +0000 palgarvio Fixed a bug on Catalog. `__setitem__` was not updating the translator comments. Thanks pjenvey!
Sun, 10 Jun 2007 22:41:50 +0000 palgarvio Fixed a bug on the CLI frontend introduced on [81]. Thanks pjenvey!
Sun, 10 Jun 2007 18:03:46 +0000 cmlenz Some cosmetic changes for the new translator comments support.
Sun, 10 Jun 2007 14:21:01 +0000 palgarvio Added support for translator comments at the API and frontends levels.(See #12, item 1). Updated docs and tests accordingly.
Sun, 10 Jun 2007 09:39:26 +0000 palgarvio Implemented item 4 from #12. Set the copyright holder in the output.
Sun, 10 Jun 2007 08:42:21 +0000 palgarvio Fixed the plurals header on `Catalog` which should only be written if it's not a catalog template.
Fri, 08 Jun 2007 17:30:12 +0000 palgarvio Implemented message sorting, see #7.
Fri, 08 Jun 2007 14:29:49 +0000 palgarvio Implemented the `init` subcommand, aka, `new_catalog` for the distutils/setuptools implmentation.
Fri, 08 Jun 2007 12:53:57 +0000 palgarvio Added the available commands list to the `--help` output of Babel's binary.
Fri, 08 Jun 2007 12:41:00 +0000 cmlenz The order of extraction methods is now preserved (see #10).
Fri, 08 Jun 2007 11:35:06 +0000 palgarvio Fix 2nd typo of [58].
Fri, 08 Jun 2007 11:32:27 +0000 cmlenz Fix typo in [58].
Fri, 08 Jun 2007 11:28:15 +0000 cmlenz * The `extract_messages` distutils command now operators on configurable input directories again, instead of the complete current directory. The `input_dirs` default to the package directories.
Fri, 08 Jun 2007 11:08:03 +0000 cmlenz Add actual data structures for handling message catalogs, so that more code can be reused here between the frontends.
Fri, 08 Jun 2007 10:37:47 +0000 palgarvio `new_catalog` now accepts another argument, `--domain`, which is used to build the output file path, which now is of the form `<output_dir>/<locale>/<domain>.po`, the correct form.
Fri, 08 Jun 2007 09:16:32 +0000 cmlenz Rename the `babel.catalog` package to `babel.messages` for consistency with the other package names. base babel/catalog/frontend.py@691debbfc0bf
Copyright (C) 2012-2017 Edgewall Software