Merge pull request #7544 from JeroenED/bugfix/profile-translation

Profile vcard translation
This commit is contained in:
Hypolite Petovan 2019-08-20 11:02:50 -04:00 committed by GitHub
commit a47ed18a98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -523,6 +523,14 @@ class Profile
$p['address'] = BBCode::convert($p['address']); $p['address'] = BBCode::convert($p['address']);
} }
if (isset($p['gender'])) {
$p['gender'] = L10n::t($p['gender']);
}
if (isset($p['marital'])) {
$p['marital'] = L10n::t($p['marital']);
}
if (isset($p['photo'])) { if (isset($p['photo'])) {
$p['photo'] = ProxyUtils::proxifyUrl($p['photo'], false, ProxyUtils::SIZE_SMALL); $p['photo'] = ProxyUtils::proxifyUrl($p['photo'], false, ProxyUtils::SIZE_SMALL);
} }