Merge pull request #12142 from MrPetovan/task/homepage-verified
Add title to homepage verified check mark
This commit is contained in:
commit
48090d1b70
|
@ -127,7 +127,7 @@ class MemcachedCache extends AbstractCache implements ICanCacheInMemory
|
||||||
if ($this->memcached->getResultCode() === Memcached::RES_SUCCESS) {
|
if ($this->memcached->getResultCode() === Memcached::RES_SUCCESS) {
|
||||||
return $value;
|
return $value;
|
||||||
} elseif ($this->memcached->getResultCode() === Memcached::RES_NOTFOUND) {
|
} elseif ($this->memcached->getResultCode() === Memcached::RES_NOTFOUND) {
|
||||||
$this->logger->notice('Try to use unknown key.', ['key' => $key]);
|
$this->logger->debug('Try to use unknown key.', ['key' => $key]);
|
||||||
return null;
|
return null;
|
||||||
} else {
|
} else {
|
||||||
throw new CachePersistenceException(sprintf('Cannot get cache entry with key %s', $key), new \MemcachedException($this->memcached->getResultMessage(), $this->memcached->getResultCode()));
|
throw new CachePersistenceException(sprintf('Cannot get cache entry with key %s', $key), new \MemcachedException($this->memcached->getResultMessage(), $this->memcached->getResultCode()));
|
||||||
|
|
|
@ -467,6 +467,7 @@ class Profile
|
||||||
'$account_type' => $account_type,
|
'$account_type' => $account_type,
|
||||||
'$location' => $location,
|
'$location' => $location,
|
||||||
'$homepage' => $homepage,
|
'$homepage' => $homepage,
|
||||||
|
'$homepage_verified' => DI::l10n()->t('This website has been verified to belong to the same person.'),
|
||||||
'$about' => $about,
|
'$about' => $about,
|
||||||
'$network' => DI::l10n()->t('Network:'),
|
'$network' => DI::l10n()->t('Network:'),
|
||||||
'$contacts' => $contact_count,
|
'$contacts' => $contact_count,
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: 2022.12-dev\n"
|
"Project-Id-Version: 2022.12-dev\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2022-11-08 02:32-0500\n"
|
"POT-Creation-Date: 2022-11-08 04:31-0500\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -2576,7 +2576,7 @@ msgstr ""
|
||||||
msgid "Location:"
|
msgid "Location:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Widget/VCard.php:107 src/Model/Profile.php:471
|
#: src/Content/Widget/VCard.php:107 src/Model/Profile.php:472
|
||||||
#: src/Module/Notifications/Introductions.php:201
|
#: src/Module/Notifications/Introductions.php:201
|
||||||
msgid "Network:"
|
msgid "Network:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3578,121 +3578,125 @@ msgstr ""
|
||||||
msgid "Atom feed"
|
msgid "Atom feed"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:506
|
#: src/Model/Profile.php:470
|
||||||
|
msgid "This website has been verified to belong to the same person."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/Model/Profile.php:507
|
||||||
msgid "F d"
|
msgid "F d"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:570 src/Model/Profile.php:659
|
#: src/Model/Profile.php:571 src/Model/Profile.php:660
|
||||||
msgid "[today]"
|
msgid "[today]"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:579
|
#: src/Model/Profile.php:580
|
||||||
msgid "Birthday Reminders"
|
msgid "Birthday Reminders"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:580
|
#: src/Model/Profile.php:581
|
||||||
msgid "Birthdays this week:"
|
msgid "Birthdays this week:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:608
|
#: src/Model/Profile.php:609
|
||||||
msgid "g A l F d"
|
msgid "g A l F d"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:646
|
#: src/Model/Profile.php:647
|
||||||
msgid "[No description]"
|
msgid "[No description]"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:672
|
#: src/Model/Profile.php:673
|
||||||
msgid "Event Reminders"
|
msgid "Event Reminders"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:673
|
#: src/Model/Profile.php:674
|
||||||
msgid "Upcoming events the next 7 days:"
|
msgid "Upcoming events the next 7 days:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:868
|
#: src/Model/Profile.php:869
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "OpenWebAuth: %1$s welcomes %2$s"
|
msgid "OpenWebAuth: %1$s welcomes %2$s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1008
|
#: src/Model/Profile.php:1009
|
||||||
msgid "Hometown:"
|
msgid "Hometown:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1009
|
#: src/Model/Profile.php:1010
|
||||||
msgid "Marital Status:"
|
msgid "Marital Status:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1010
|
#: src/Model/Profile.php:1011
|
||||||
msgid "With:"
|
msgid "With:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1011
|
#: src/Model/Profile.php:1012
|
||||||
msgid "Since:"
|
msgid "Since:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1012
|
#: src/Model/Profile.php:1013
|
||||||
msgid "Sexual Preference:"
|
msgid "Sexual Preference:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1013
|
#: src/Model/Profile.php:1014
|
||||||
msgid "Political Views:"
|
msgid "Political Views:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1014
|
#: src/Model/Profile.php:1015
|
||||||
msgid "Religious Views:"
|
msgid "Religious Views:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1015
|
#: src/Model/Profile.php:1016
|
||||||
msgid "Likes:"
|
msgid "Likes:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1016
|
#: src/Model/Profile.php:1017
|
||||||
msgid "Dislikes:"
|
msgid "Dislikes:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1017
|
#: src/Model/Profile.php:1018
|
||||||
msgid "Title/Description:"
|
msgid "Title/Description:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1018 src/Module/Admin/Summary.php:215
|
#: src/Model/Profile.php:1019 src/Module/Admin/Summary.php:215
|
||||||
#: src/Module/Moderation/Summary.php:77
|
#: src/Module/Moderation/Summary.php:77
|
||||||
msgid "Summary"
|
msgid "Summary"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1019
|
#: src/Model/Profile.php:1020
|
||||||
msgid "Musical interests"
|
msgid "Musical interests"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1020
|
#: src/Model/Profile.php:1021
|
||||||
msgid "Books, literature"
|
msgid "Books, literature"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1021
|
#: src/Model/Profile.php:1022
|
||||||
msgid "Television"
|
msgid "Television"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1022
|
#: src/Model/Profile.php:1023
|
||||||
msgid "Film/dance/culture/entertainment"
|
msgid "Film/dance/culture/entertainment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1023
|
#: src/Model/Profile.php:1024
|
||||||
msgid "Hobbies/Interests"
|
msgid "Hobbies/Interests"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1024
|
#: src/Model/Profile.php:1025
|
||||||
msgid "Love/romance"
|
msgid "Love/romance"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1025
|
#: src/Model/Profile.php:1026
|
||||||
msgid "Work/employment"
|
msgid "Work/employment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1026
|
#: src/Model/Profile.php:1027
|
||||||
msgid "School/education"
|
msgid "School/education"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/Profile.php:1027
|
#: src/Model/Profile.php:1028
|
||||||
msgid "Contact information and Social Networks"
|
msgid "Contact information and Social Networks"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
{{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
|
{{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
|
||||||
|
|
||||||
{{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url u-url"><a href="{{$profile.homepage}}" rel="me" target="_blank" rel="noopener noreferrer">{{$profile.homepage}}</a>{{if $profile.homepage_verified}} ✔{{/if}}</dd></dl>{{/if}}
|
{{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url u-url"><a href="{{$profile.homepage}}" rel="me" target="_blank" rel="noopener noreferrer">{{$profile.homepage}}</a>{{if $profile.homepage_verified}} <span title="{{$homepage_verified}}">✔</span>{{/if}}</dd></dl>{{/if}}
|
||||||
|
|
||||||
{{if $about}}<dl class="about"><dt class="about-label">{{$about}}</dt><dd class="x-network" dir="auto">{{$profile.about nofilter}}</dd></dl>{{/if}}
|
{{if $about}}<dl class="about"><dt class="about-label">{{$about}}</dt><dd class="x-network" dir="auto">{{$profile.about nofilter}}</dd></dl>{{/if}}
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
|
|
||||||
{{if $location}}
|
{{if $location}}
|
||||||
<div class="location detail">
|
<div class="location detail">
|
||||||
<span class="location-label icon"><i class="fa fa-map-marker"></i></span>
|
<span class="location-label icon"><i class="fa fa-map-marker" title="{{$location}}"></i></span>
|
||||||
<span class="adr">
|
<span class="adr">
|
||||||
{{if $profile.address}}<p class="street-address p-street-address">{{$profile.address nofilter}}</p>{{/if}}
|
{{if $profile.address}}<p class="street-address p-street-address">{{$profile.address nofilter}}</p>{{/if}}
|
||||||
{{if $profile.location}}<p class="p-location">{{$profile.location}}</p>{{/if}}
|
{{if $profile.location}}<p class="p-location">{{$profile.location}}</p>{{/if}}
|
||||||
|
@ -87,14 +87,14 @@
|
||||||
|
|
||||||
{{if $profile.xmpp}}
|
{{if $profile.xmpp}}
|
||||||
<div class="xmpp">
|
<div class="xmpp">
|
||||||
<span class="xmpp-label icon"><i class="fa fa-xmpp"></i></span>
|
<span class="xmpp-label icon"><i class="fa fa-xmpp" title="{{$xmpp}}"></i></span>
|
||||||
<span class="xmpp-data"><a href="xmpp:{{$profile.xmpp}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.xmpp}}</a></span>
|
<span class="xmpp-data"><a href="xmpp:{{$profile.xmpp}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.xmpp}}</a></span>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{if $profile.matrix}}
|
{{if $profile.matrix}}
|
||||||
<div class="matrix">
|
<div class="matrix">
|
||||||
<span class="matrix-label icon"><i class="fa fa-matrix-org"></i></span>
|
<span class="matrix-label icon"><i class="fa fa-matrix-org" title="{{$matrix}}"></i></span>
|
||||||
<span class="matrix-data"><a href="matrix:{{$profile.matrix}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.matrix}}</a></span>
|
<span class="matrix-data"><a href="matrix:{{$profile.matrix}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.matrix}}</a></span>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
@ -107,8 +107,8 @@
|
||||||
|
|
||||||
{{if $homepage}}
|
{{if $homepage}}
|
||||||
<div class="homepage detail">
|
<div class="homepage detail">
|
||||||
<span class="homepage-label icon"><i class="fa fa-external-link"></i></span>
|
<span class="homepage-label icon"><i class="fa fa-external-link" title="{{$homepage}}"></i></span>
|
||||||
<span class="homepage-url u-url"><a href="{{$profile.homepage}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.homepage}}</a>{{if $profile.homepage_verified}} ✔{{/if}}</span>
|
<span class="homepage-url u-url"><a href="{{$profile.homepage}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.homepage}}</a>{{if $profile.homepage_verified}} <span title="{{$homepage_verified}}">✔</span>{{/if}}</span>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
|
|
||||||
{{if $homepage}}
|
{{if $homepage}}
|
||||||
<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt>
|
<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt>
|
||||||
<dd class="homepage-url"><a href="{{$profile.homepage}}" class="u-url" rel="me" target="external-link">{{$profile.homepage}}</a>{{if $profile.homepage_verified}} ✔{{/if}}</dd>
|
<dd class="homepage-url"><a href="{{$profile.homepage}}" class="u-url" rel="me" target="external-link">{{$profile.homepage}}</a>{{if $profile.homepage_verified}} <span title="{{$homepage_verified}}">✔</span>{{/if}}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
{{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
|
{{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
|
||||||
|
|
||||||
{{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" class="u-url" rel="me" target="_blank" rel="noopener noreferrer">{{$profile.homepage}}</a>{{if $profile.homepage_verified}} ✔{{/if}}</dd></dl>{{/if}}
|
{{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" class="u-url" rel="me" target="_blank" rel="noopener noreferrer">{{$profile.homepage}}</a>{{if $profile.homepage_verified}} <span title="{{$homepage_verified}}">✔</span>{{/if}}</dd></dl>{{/if}}
|
||||||
|
|
||||||
{{if $about}}<dl class="about"><dt class="about-label">{{$about}}</dt><dd class="x-network" dir="auto">{{$profile.about nofilter}}</dd></dl>{{/if}}
|
{{if $about}}<dl class="about"><dt class="about-label">{{$about}}</dt><dd class="x-network" dir="auto">{{$profile.about nofilter}}</dd></dl>{{/if}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user