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

View file

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

View file

@ -53,7 +53,7 @@
{block name}{/block}
{block infoTable}
{block infotable}
<table id="basicInfo" class="ugc-table group_info" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
@ -80,7 +80,7 @@
{_check_community}
</a>
{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}
{_remove_from_left_menu}
{else}

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -199,14 +199,22 @@
"friends_reject" = "Reject request";
"friends_accept" = "Accept request";
"send_message" = "Send a message";
"incoming_req" = "Subscribers";
"outcoming_req" = "Requests";
"incoming_req" = "Pending";
"outcoming_req" = "Outgoing";
"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_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_one" = "$1 follower";
"followers_other" = "$1 followers";
@ -308,6 +316,10 @@
"albums_one" = "$1 album";
"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";
@ -747,7 +759,7 @@
"information_-2" = "Login success";
"no_data" = "No data";
"no_data_description" = "There is no data.";
"no_data_description" = "There is nothing here... yet...";
"error" = "Error";
"error_shorturl" = "This short address is already owned.";

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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