mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 00:14:32 +02:00
xgettext + phpcs
This commit is contained in:
parent
bbbcd049b6
commit
155370bc2e
2 changed files with 26 additions and 27 deletions
|
@ -107,7 +107,7 @@ class Contacts extends Module\BaseProfile
|
||||||
$contact = Model\Contact::selectFirst(
|
$contact = Model\Contact::selectFirst(
|
||||||
[],
|
[],
|
||||||
['uri-id' => $contact['uri-id'], 'uid' => [0, $this->userSession->getLocalUserId()]],
|
['uri-id' => $contact['uri-id'], 'uid' => [0, $this->userSession->getLocalUserId()]],
|
||||||
['order' => ['uid' => 'DESC']]
|
['order' => ['uid' => 'DESC']]
|
||||||
);
|
);
|
||||||
return $contact ? Module\Contact::getContactTemplateVars($contact) : null;
|
return $contact ? Module\Contact::getContactTemplateVars($contact) : null;
|
||||||
},
|
},
|
||||||
|
@ -139,7 +139,7 @@ class Contacts extends Module\BaseProfile
|
||||||
}
|
}
|
||||||
|
|
||||||
$tpl = Renderer::getMarkupTemplate('profile/contacts.tpl');
|
$tpl = Renderer::getMarkupTemplate('profile/contacts.tpl');
|
||||||
$o .= Renderer::replaceMacros($tpl, [
|
$o .= Renderer::replaceMacros($tpl, [
|
||||||
'$title' => $title,
|
'$title' => $title,
|
||||||
'$desc' => $desc,
|
'$desc' => $desc,
|
||||||
'$tabs' => $tabs,
|
'$tabs' => $tabs,
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: 2025.02-dev\n"
|
"Project-Id-Version: 2025.02-dev\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-06-03 20:17+0200\n"
|
"POT-Creation-Date: 2025-06-04 15:26+0200\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"
|
||||||
|
@ -791,8 +791,9 @@ msgstr ""
|
||||||
msgid "Following"
|
msgid "Following"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/BaseModule.php:450 src/Content/Widget.php:259 src/Module/Contact.php:402
|
#: src/BaseModule.php:450 src/Content/Widget.php:259 src/Model/User.php:1383
|
||||||
msgid "Mutual friends"
|
#: src/Module/Contact.php:402
|
||||||
|
msgid "Friends"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/BaseModule.php:458
|
#: src/BaseModule.php:458
|
||||||
|
@ -1372,8 +1373,7 @@ msgid "Message"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Conversation.php:418 src/Module/Post/Edit.php:178
|
#: src/Content/Conversation.php:418 src/Module/Post/Edit.php:178
|
||||||
#: src/Module/Settings/TwoFactor/Trusted.php:129
|
msgid "Add media"
|
||||||
msgid "Browser"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Content/Conversation.php:420 src/Module/Post/Edit.php:181
|
#: src/Content/Conversation.php:420 src/Module/Post/Edit.php:181
|
||||||
|
@ -3741,10 +3741,6 @@ msgstr ""
|
||||||
msgid "An error occurred creating your self contact. Please try again."
|
msgid "An error occurred creating your self contact. Please try again."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Model/User.php:1383
|
|
||||||
msgid "Friends"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/Model/User.php:1387
|
#: src/Model/User.php:1387
|
||||||
msgid "An error occurred creating your default contact circle. Please try again."
|
msgid "An error occurred creating your default contact circle. Please try again."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -6156,16 +6152,16 @@ msgstr ""
|
||||||
msgid "Advanced Contact Settings"
|
msgid "Advanced Contact Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Contact.php:568
|
#: src/Module/Contact.php:568 src/Module/Notifications/Introductions.php:148
|
||||||
msgid "Mutual Friendship"
|
msgid "Friend"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Contact.php:572
|
#: src/Module/Contact.php:572
|
||||||
msgid "is a fan of yours"
|
msgid "Follows you"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Contact.php:576
|
#: src/Module/Contact.php:576
|
||||||
msgid "you are a fan of"
|
msgid "You follow"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Contact.php:594
|
#: src/Module/Contact.php:594
|
||||||
|
@ -6240,7 +6236,7 @@ msgid_plural "Following (%s)"
|
||||||
msgstr[0] ""
|
msgstr[0] ""
|
||||||
msgstr[1] ""
|
msgstr[1] ""
|
||||||
|
|
||||||
#: src/Module/Contact/Contacts.php:109 src/Module/Profile/Contacts.php:129
|
#: src/Module/Contact/Contacts.php:109
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Mutual friend (%s)"
|
msgid "Mutual friend (%s)"
|
||||||
msgid_plural "Mutual friends (%s)"
|
msgid_plural "Mutual friends (%s)"
|
||||||
|
@ -8326,10 +8322,6 @@ msgstr ""
|
||||||
msgid "Accepting %s as a subscriber allows them to subscribe to your posts, but you will not receive updates from them in your news feed."
|
msgid "Accepting %s as a subscriber allows them to subscribe to your posts, but you will not receive updates from them in your news feed."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Notifications/Introductions.php:148
|
|
||||||
msgid "Friend"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/Module/Notifications/Introductions.php:149
|
#: src/Module/Notifications/Introductions.php:149
|
||||||
msgid "Subscriber"
|
msgid "Subscriber"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -8571,6 +8563,13 @@ msgstr ""
|
||||||
msgid "%d more"
|
msgid "%d more"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/Module/Profile/Contacts.php:129
|
||||||
|
#, php-format
|
||||||
|
msgid "Friend (%s)"
|
||||||
|
msgid_plural "Friends (%s)"
|
||||||
|
msgstr[0] ""
|
||||||
|
msgstr[1] ""
|
||||||
|
|
||||||
#: src/Module/Profile/Contacts.php:147
|
#: src/Module/Profile/Contacts.php:147
|
||||||
msgid "No contacts."
|
msgid "No contacts."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -8629,8 +8628,9 @@ msgstr ""
|
||||||
msgid "You're currently viewing your profile as <b>%s</b> <a href=\"%s\" class=\"btn btn-sm pull-right\">Cancel</a>"
|
msgid "You're currently viewing your profile as <b>%s</b> <a href=\"%s\" class=\"btn btn-sm pull-right\">Cancel</a>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Profile/Profile.php:176
|
#: src/Module/Profile/Profile.php:176 src/Module/Settings/Account.php:522
|
||||||
msgid "Full Name:"
|
#: src/Module/Settings/Profile/Index.php:299
|
||||||
|
msgid "Display name:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Profile/Profile.php:181
|
#: src/Module/Profile/Profile.php:181
|
||||||
|
@ -9259,11 +9259,6 @@ msgstr ""
|
||||||
msgid "Basic Settings"
|
msgid "Basic Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/Account.php:522
|
|
||||||
#: src/Module/Settings/Profile/Index.php:299
|
|
||||||
msgid "Display name:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/Module/Settings/Account.php:523
|
#: src/Module/Settings/Account.php:523
|
||||||
msgid "Email Address:"
|
msgid "Email Address:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -10660,6 +10655,10 @@ msgstr ""
|
||||||
msgid "OS"
|
msgid "OS"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/Module/Settings/TwoFactor/Trusted.php:129
|
||||||
|
msgid "Browser"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/Module/Settings/TwoFactor/Trusted.php:130
|
#: src/Module/Settings/TwoFactor/Trusted.php:130
|
||||||
msgid "Trusted"
|
msgid "Trusted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue