I was translating my custom CCK content type and the Private Number field label was not translating. I took a look into the code and came up with this patch. I've tested it and it works, but please review and post issues.

Comments

john.money’s picture

Status: Needs review » Patch (to be ported)

Yup, looks straight-forward enough. I will add it if/when there is another 5.x release.

dooug’s picture

(revisiting my old issues)

This one looks the same, I re-rolled it to be a properly formatted git patch. After reviewing the patch, I wonder if it is an incorrect use of the t() function because it passes a variable (the field label) into the t() function.

Probably doesn't matter because very few of sites are using this anyway.