Merge pull request #483 from openvk/similartovk

This commit is contained in:
Ilya Prokopenko 2022-02-20 01:07:52 +07:00 committed by GitHub
commit 28c63d9f13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 57 additions and 45 deletions

View file

@ -5,28 +5,28 @@
{block title}{_"albums"} {$owner->getCanonicalName()}{/block} {block title}{_"albums"} {$owner->getCanonicalName()}{/block}
{block header} {block header}
{if isset($thisUser) && $thisUser->getId() == $owner->getId()} {if isset($thisUser) && $thisUser->getId() == $owner->getId()}
{_my_photos} {_my_photos}
{else} {else}
<a href="{$owner->getURL()}"> <a href="{$owner->getURL()}">
{$owner->getCanonicalName()}</a> {$owner->getCanonicalName()}</a>
» »
{_albums} {_albums}
{/if} {/if}
{/block} {/block}
{block size} {block size}
<div style="padding-bottom: 0px; padding-top: 0;" class="summaryBar"> <div style="padding-bottom: 0px; padding-top: 0;" class="summaryBar">
<div class="summary"> <div class="summary">
{if !is_null($thisUser) && $owner->getId() === $thisUser->getId()} {if !is_null($thisUser) && $owner->getId() === $thisUser->getId()}
{tr("albums_list", $count)} {tr("albums_list", $count)}
{else} {else}
{tr("albums", $count)} {tr("albums", $count)}
{/if} {/if}
<span n:if="isset($thisUser) && $thisUser->getId() == $owner->getId()"> <span n:if="isset($thisUser) && $thisUser->getId() == $owner->getId()">
&nbsp;|&nbsp; &nbsp;|&nbsp;
<a href="/albums/create">{_create_album}</a> <a href="/albums/create">{_create_album}</a>
</span> </span>
</div> </div>
</div> </div>
{/block} {/block}

View file

@ -52,12 +52,12 @@
<div n:if="$act === 'incoming' || $act === 'outcoming'" class="mb_tabs"> <div n:if="$act === 'incoming' || $act === 'outcoming'" class="mb_tabs">
<div n:attr="id => ($act === 'incoming' ? 'active' : 'ki')" class="mb_tab"> <div n:attr="id => ($act === 'incoming' ? 'active' : 'ki')" class="mb_tab">
<div> <div>
<a href="?act=incoming">Входящие</a> <a href="?act=incoming">{_incoming_req}</a>
</div> </div>
</div> </div>
<div n:attr="id => ($act === 'outcoming' ? 'active' : 'ki')" class="mb_tab"> <div n:attr="id => ($act === 'outcoming' ? 'active' : 'ki')" class="mb_tab">
<div> <div>
<a href="?act=outcoming">Исходящие</a> <a href="?act=outcoming">{_outcoming_req}</a>
</div> </div>
</div> </div>
</div> </div>

View file

@ -53,7 +53,7 @@
{block name}{/block} {block name}{/block}
{block infoTable} {block infotable}
<table id="basicInfo" class="ugc-table group_info" cellspacing="0" cellpadding="0" border="0"> <table id="basicInfo" class="ugc-table group_info" cellspacing="0" cellpadding="0" border="0">
<tbody> <tbody>
<tr> <tr>
@ -80,7 +80,7 @@
{_check_community} {_check_community}
</a> </a>
{if ($clubPinned || $thisUser->getPinnedClubCount() <= 10)} {if ($clubPinned || $thisUser->getPinnedClubCount() <= 10)}
<a class="link" href="/groups_pin?club={$x->getId()}&hash={rawurlencode($csrfToken)}" data-group-name="{$x->getName()}" data-group-url="{$x->getUrl()}"> <a class="link" href="/groups_pin?club={$x->getId()}&hash={rawurlencode($csrfToken)}" id="_pinGroup" data-group-name="{$x->getName()}" data-group-url="{$x->getUrl()}">
{if $clubPinned} {if $clubPinned}
{_remove_from_left_menu} {_remove_from_left_menu}
{else} {else}

View file

@ -13,11 +13,11 @@
{block size} {block size}
<div style="padding-bottom: 0px; padding-top: 0;" class="summaryBar"> <div style="padding-bottom: 0px; padding-top: 0;" class="summaryBar">
<div class="summary"> <div class="summary">
{tr("videos", $count)} {tr("videos", $count)}
<span n:if="isset($thisUser) && $thisUser->getId() == $user->getId()"> <span n:if="isset($thisUser) && $thisUser->getId() == $user->getId()">
&nbsp;|&nbsp; &nbsp;|&nbsp;
<a href="/videos/upload">{_upload_video}</a> <a href="/videos/upload">{_upload_video}</a>
</span> </span>
</div> </div>
</div> </div>
{/block} {/block}

View file

@ -208,7 +208,7 @@
"outcoming_req" = "Հայցեր"; "outcoming_req" = "Հայցեր";
"req" = "Հայցեր"; "req" = "Հայցեր";
"firends_zero" = "Ոչ մի ընկեր չկա"; "friends_zero" = "Ոչ մի ընկեր չկա";
"friends_one" = "$1 ընկեր"; "friends_one" = "$1 ընկեր";
"friends_few" = "$1 ընկեր"; "friends_few" = "$1 ընկեր";
"friends_many" = "$1 հատ ընկեր"; "friends_many" = "$1 հատ ընկեր";

View file

@ -124,7 +124,7 @@
"outcoming_req" = "Заяўкі"; "outcoming_req" = "Заяўкі";
"req" = "Заяўкі"; "req" = "Заяўкі";
"firends_zero" = "Няма сяброў"; "friends_zero" = "Няма сяброў";
"friends_one" = "$1 сябар"; "friends_one" = "$1 сябар";
"friends_few" = "$1 аднаго"; "friends_few" = "$1 аднаго";
"friends_many" = "$1 сяброў"; "friends_many" = "$1 сяброў";

View file

@ -132,7 +132,7 @@
"outcoming_req" = "Zajavy"; "outcoming_req" = "Zajavy";
"req" = "Zajavy"; "req" = "Zajavy";
"firends_zero" = "Niama siabroŭ"; "friends_zero" = "Niama siabroŭ";
"friends_one" = "$1 siabar"; "friends_one" = "$1 siabar";
"friends_few" = "$1 siabra"; "friends_few" = "$1 siabra";
"friends_many" = "$1 siabroŭ"; "friends_many" = "$1 siabroŭ";

View file

@ -151,7 +151,7 @@
"outcoming_req" = "Anfragen"; "outcoming_req" = "Anfragen";
"req" = "Anfragen"; "req" = "Anfragen";
"firends_zero" = "Keine Freunde"; "friends_zero" = "Keine Freunde";
"friends_one" = "$1 Freund"; "friends_one" = "$1 Freund";
"friends_other" = "$1 Freunde"; "friends_other" = "$1 Freunde";

View file

@ -199,14 +199,22 @@
"friends_reject" = "Reject request"; "friends_reject" = "Reject request";
"friends_accept" = "Accept request"; "friends_accept" = "Accept request";
"send_message" = "Send a message"; "send_message" = "Send a message";
"incoming_req" = "Subscribers"; "incoming_req" = "Pending";
"outcoming_req" = "Requests"; "outcoming_req" = "Outgoing";
"req" = "Requests"; "req" = "Requests";
"firends_zero" = "No friends"; "req_zero" = "No requests were found...";
"req_one" = "Found $1 request";
"req_other" = "Found $1 requests";
"friends_zero" = "No friends";
"friends_one" = "$1 friend"; "friends_one" = "$1 friend";
"friends_other" = "$1 friends"; "friends_other" = "$1 friends";
"friends_list_zero" = "You have no friends yet";
"friends_list_one" = "You have $1 friend";
"friends_list_other" = "You have $1 friends";
"followers_zero" = "No followers"; "followers_zero" = "No followers";
"followers_one" = "$1 follower"; "followers_one" = "$1 follower";
"followers_other" = "$1 followers"; "followers_other" = "$1 followers";
@ -308,6 +316,10 @@
"albums_one" = "$1 album"; "albums_one" = "$1 album";
"albums_other" = "$1 albums"; "albums_other" = "$1 albums";
"albums_list_zero" = "You don't have any albums";
"albums_list_one" = "You have one album";
"albums_list_other" = "You have $1 albums";
/* Notes */ /* Notes */
"notes" = "Notes"; "notes" = "Notes";
@ -747,7 +759,7 @@
"information_-2" = "Login success"; "information_-2" = "Login success";
"no_data" = "No data"; "no_data" = "No data";
"no_data_description" = "There is no data."; "no_data_description" = "There is nothing here... yet...";
"error" = "Error"; "error" = "Error";
"error_shorturl" = "This short address is already owned."; "error_shorturl" = "This short address is already owned.";

View file

@ -189,7 +189,7 @@
"outcoming_req" = "Petoj"; "outcoming_req" = "Petoj";
"req" = "Petoj"; "req" = "Petoj";
"firends_zero" = "Neniuj amikoj"; "friends_zero" = "Neniuj amikoj";
"friends_one" = "$1 amiko"; "friends_one" = "$1 amiko";
"friends_few" = "$1 amikoj"; "friends_few" = "$1 amikoj";
"friends_many" = "$1 amikoj"; "friends_many" = "$1 amikoj";

View file

@ -206,7 +206,7 @@
"outcoming_req" = "Өтінімдер"; "outcoming_req" = "Өтінімдер";
"req" = "Өтінімдер"; "req" = "Өтінімдер";
"firends_zero" = "Достарыңыз жоқ"; "friends_zero" = "Достарыңыз жоқ";
"friends_one" = "$1 дос"; "friends_one" = "$1 дос";
"friends_other" = "$1 дос"; "friends_other" = "$1 дос";

View file

@ -200,7 +200,7 @@
"outcoming_req" = "Zgłoszenie"; "outcoming_req" = "Zgłoszenie";
"req" = "Zgłoszenie"; "req" = "Zgłoszenie";
"firends_zero" = "Ani jednego przyjaciela"; "friends_zero" = "Ani jednego przyjaciela";
"friends_one" = "$1 przyjaciel"; "friends_one" = "$1 przyjaciel";
"friends_few" = "$1 przyjaciela"; "friends_few" = "$1 przyjaciela";
"friends_many" = "$1 przyjaciół"; "friends_many" = "$1 przyjaciół";

View file

@ -208,7 +208,7 @@
"req_zero" = "Не найдено ни одной заявки..."; "req_zero" = "Не найдено ни одной заявки...";
"req_one" = "Найдена $1 заявка"; "req_one" = "Найдена $1 заявка";
"req_few" = "Найлено $1 заявки"; "req_few" = "Найдено $1 заявки";
"req_many" = "Найдено $1 заявки"; "req_many" = "Найдено $1 заявки";
"req_other" = "Найдено $1 заявок"; "req_other" = "Найдено $1 заявок";

View file

@ -190,7 +190,7 @@
"outcoming_req" = "Входящіе прошенія"; "outcoming_req" = "Входящіе прошенія";
"req" = "Исходящіе прошенія"; "req" = "Исходящіе прошенія";
"firends_zero" = "Ни одного знакомца"; "friends_zero" = "Ни одного знакомца";
"friends_one" = "$1 знакомецъ"; "friends_one" = "$1 знакомецъ";
"friends_few" = "$1 знакомца"; "friends_few" = "$1 знакомца";
"friends_many" = "$1 знакомцевъ"; "friends_many" = "$1 знакомцевъ";

View file

@ -124,7 +124,7 @@
"outcoming_req" = "Захтеви"; "outcoming_req" = "Захтеви";
"req" = "Захтеви"; "req" = "Захтеви";
"firends_zero" = "Нема ниједног пријатеља"; "friends_zero" = "Нема ниједног пријатеља";
"friends_one" = "$1 пријатељ"; "friends_one" = "$1 пријатељ";
"friends_few" = "$1 пријатеља"; "friends_few" = "$1 пријатеља";
"friends_many" = "$1 пријатеља"; "friends_many" = "$1 пријатеља";

View file

@ -124,7 +124,7 @@
"outcoming_req" = "Zahtevi"; "outcoming_req" = "Zahtevi";
"req" = "Zahtevi"; "req" = "Zahtevi";
"firends_zero" = "Nema nijednog prijatelja"; "friends_zero" = "Nema nijednog prijatelja";
"friends_one" = "$1 prijatelj"; "friends_one" = "$1 prijatelj";
"friends_few" = "$1 prijatelja"; "friends_few" = "$1 prijatelja";
"friends_many" = "$1 prijatelja"; "friends_many" = "$1 prijatelja";

View file

@ -198,7 +198,7 @@
"outcoming_req" = "Заявки"; "outcoming_req" = "Заявки";
"req" = "Заявки"; "req" = "Заявки";
"firends_zero" = "Ни одного товарища"; "friends_zero" = "Ни одного товарища";
"friends_one" = "$1 товарищ"; "friends_one" = "$1 товарищ";
"friends_few" = "$1 товарища"; "friends_few" = "$1 товарища";
"friends_many" = "$1 товарищей"; "friends_many" = "$1 товарищей";

View file

@ -153,7 +153,7 @@
"outcoming_req" = "İstekler"; "outcoming_req" = "İstekler";
"req" = "İstekler"; "req" = "İstekler";
"firends_zero" = "Arkadaş yok"; "friends_zero" = "Arkadaş yok";
"friends_one" = "$1 arkadaş"; "friends_one" = "$1 arkadaş";
"friends_other" = "$1 arkadaş"; "friends_other" = "$1 arkadaş";

View file

@ -190,7 +190,7 @@
"outcoming_req" = "Заявки"; "outcoming_req" = "Заявки";
"req" = "Заявки"; "req" = "Заявки";
"firends_zero" = "Жодного друга"; "friends_zero" = "Жодного друга";
"friends_one" = "$1 друг"; "friends_one" = "$1 друг";
"friends_few" = "$1 друга"; "friends_few" = "$1 друга";
"friends_many" = "$1 друзів"; "friends_many" = "$1 друзів";

View file

@ -196,7 +196,7 @@
"outcoming_req" = "Заявки"; "outcoming_req" = "Заявки";
"req" = "Заявки"; "req" = "Заявки";
"firends_zero" = "Одӥг но эшъёс"; "friends_zero" = "Одӥг но эшъёс";
"friends_one" = "$1 эшъёс"; "friends_one" = "$1 эшъёс";
"friends_few" = "$1 эшъёс"; "friends_few" = "$1 эшъёс";
"friends_many" = "$1 эшъёс"; "friends_many" = "$1 эшъёс";