Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Patch:
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -330,7 +330,7 @@ function profile_view_profile(&$user) {
}
function _profile_form_explanation($field) {
- $output = $field->explanation;
+ $output = t($field->explanation);
if ($field->type == 'list') {
Related:
#851558: missing translation in profile.page.inc -> profile_browse()
Comment | File | Size | Author |
---|---|---|---|
#1 | profile.module-2088585.patch | 396 bytes | kenorb |
Comments
Comment #1
kenorb CreditAttribution: kenorb commentedComment #2
areke CreditAttribution: areke commentedThanks for the patch!
I believe this patch applies as it should, and since it's a trivial fix, I'm changing the status even though I'm the only person who has reviewed it.