Ticket #1779 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

[Patch] tg-admin i18n collect does not work for nested packages

Reported by: Felix.Schwarz Assigned to: anonymous
Priority: normal Milestone: 1.0.x bugfix
Component: TurboGears Version: 1.0.4.4
Severity: normal Keywords:
Cc:

Description

If the tg application uses a package_dir which contains dots (like 'foo.test'), "tg-admin i18n collect" stops working because it uses get_package_name() to find the root directory and a directory 'foo.test' does not exist.

The attached patch fixes this by splitting the package name. This should have no effects when using an "easy" package name like "foo".

Attachments

tg_18n_collect.patch (1.2 kB) - added by Felix.Schwarz on 04/01/08 09:17:40.

Change History

04/01/08 09:17:40 changed by Felix.Schwarz

  • attachment tg_18n_collect.patch added.

04/12/08 17:46:27 changed by Felix.Schwarz

  • summary changed from tg-admin i18n collect does not work for nested packages to [Patch] tg-admin i18n collect does not work for nested packages.

06/14/08 14:00:05 changed by chrisz

  • status changed from new to closed.
  • resolution set to fixed.

Applied in r4740.