Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1779 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

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

Reported by: Felix.Schwarz Owned by: 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 Download (1.2 KB) - added by Felix.Schwarz 9 years ago.

Change History

Changed 9 years ago by Felix.Schwarz

comment:1 Changed 9 years ago 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

comment:2 Changed 9 years ago by chrisz

  • Status changed from new to closed
  • Resolution set to fixed

Applied in r4740.

Note: See TracTickets for help on using tickets.