From cf95e0f8560574526de4cf2628cb9820dcbb0454 Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Tue, 20 Aug 2019 16:36:49 +0200 Subject: [PATCH] Translating the vcard --- src/Model/Profile.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Model/Profile.php b/src/Model/Profile.php index b82d47d313..9ea22a65ee 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -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); }