]> git.mxchange.org Git - friendica.git/commitdiff
Translating the vcard
authorJeroen De Meerleer <me@jeroened.be>
Tue, 20 Aug 2019 14:36:49 +0000 (16:36 +0200)
committerJeroen De Meerleer <me@jeroened.be>
Tue, 20 Aug 2019 14:38:46 +0000 (16:38 +0200)
src/Model/Profile.php

index b82d47d3133966b781d8c5d7ad34884dba26581c..9ea22a65ee82af4e437d66e41e184a1e90ed803a 100644 (file)
@@ -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);
                }