mirror of
https://github.com/friendica/friendica
synced 2024-11-10 07:02:54 +00:00
Merge pull request #7544 from JeroenED/bugfix/profile-translation
Profile vcard translation
This commit is contained in:
commit
a47ed18a98
1 changed files with 8 additions and 0 deletions
|
@ -523,6 +523,14 @@ class Profile
|
|||
$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'])) {
|
||||
$p['photo'] = ProxyUtils::proxifyUrl($p['photo'], false, ProxyUtils::SIZE_SMALL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue