Opened 11 years ago

Closed 11 years ago

#6453 closed patch (fixed)

Improperly localized error message string in class_autoload

Reported by: knightr@… Owned by: xris
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: head
Severity: low Keywords: autoload
Cc: Ticket locked: no

Description

Hi!

The following is a patch for a small localization problem in class_autoload.php.

The name of the class is passed as part of the string to be localized instead of being passed as a parameter to that string which causes it not to be found in the translation files. This patch fixes that.

Please note that you must run build_translation.pl after applying this patch in order to regenerate the correct localizable string.

I currently get the error message in question while trying to do an advanced search, it looks like it wants to load "program" when it should try to load "Program".

Have a nice day!

Nick

Attachments (1)

autoload.diff (549 bytes) - added by knightr@… 11 years ago.
patch

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by knightr@…

Attachment: autoload.diff added

patch

comment:1 Changed 11 years ago by Rob Smith

Resolution: fixed
Status: newclosed

(In [21087]) Fixes #6453, this corrects the localization of the autoload class error string

Note: See TracTickets for help on using tickets.