Development

#2634 (can't use own file class as i18n message source because source types are hard coded)

You must first sign up to be able to contribute.

Ticket #2634 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

can't use own file class as i18n message source because source types are hard coded

Reported by: Alon.Noy Assigned to: fabien
Priority: major Milestone: 1.1.0
Component: i18n Version: 1.1.0 DEV
Keywords: i18n message source Cc:
Qualification: Unreviewed

Description

If you are trying to use your own FILE class as the i18n message source this will fail as the 'XLIFF' and 'gettext' types are hard coded into sfLoader. A better way will be to use instanceof for that. Patch attached.

Attachments

sfLoader.class.php.patch (1.5 kB) - added by Alon.Noy on 12/10/07 08:15:19.
patch

Change History

12/10/07 08:15:19 changed by Alon.Noy

  • attachment sfLoader.class.php.patch added.

patch

12/26/07 21:57:09 changed by fabien

  • milestone set to 1.1.0.

12/26/07 21:59:44 changed by fabien

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

in r6721