There were many un-t()ed strings in the current version (1.75), which this patch wraps in t().

Also, a pair of strtr() were used in devel_exit. The patch also changes them to use t() instead and it seems to work too, although apparently t() shouldn't be used in that function ; but it was already used in the function with visible problems.

This is to allow better localization of the module.

CommentFileSizeAuthor
#2 devel.module_0.patch2.85 KBfgm
devel.module.patch3.17 KBfgm

Comments

moshe weitzman’s picture

Status: Needs review » Needs work

i just removed those unwanted t() from devel_exit(). please reroll without that part if you wish.

fgm’s picture

StatusFileSize
new2.85 KB

Rerolled for 1.76.

Does the limitation regarding cached pages mean there is no way to have the text in that function localized ?

moshe weitzman’s picture

see http://drupal.org/diffandpatch. please use -f flag so we can see which functions have the changes. t() is not available in init and exit hooks.

moshe weitzman’s picture

Status: Needs work » Closed (works as designed)

no feedback