mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Global: Fix hiccups and localize some strings
This commit is contained in:
parent
a1a18b7255
commit
7b78becfbd
20 changed files with 58 additions and 44 deletions
|
@ -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()">
|
||||
|
|
||||
<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()">
|
||||
|
|
||||
<a href="/albums/create">{_create_album}</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -74,11 +74,12 @@
|
|||
|
||||
{block actions}
|
||||
{var clubPinned = $thisUser->isClubPinned($x)}
|
||||
{if $x->canBeModifiedBy($thisUser ?? NULL)}
|
||||
<div class="navigation" style="width: 140px;">
|
||||
<a class="link" href="{$x->getURL()}">
|
||||
{_check_community}
|
||||
</a>
|
||||
{if ($clubPinned || $thisUser->getPinnedClubCount() <= 10) && $x->canBeModifiedBy($thisUser ?? NULL)}
|
||||
{if ($clubPinned || $thisUser->getPinnedClubCount() <= 10)}
|
||||
<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}
|
||||
|
@ -94,6 +95,7 @@
|
|||
<input style="text-transform: lowercase; width: 100%;" class="link" type="submit" value="{_"leave_community"}" />
|
||||
</form>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block bottom}
|
||||
|
|
|
@ -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()">
|
||||
|
|
||||
<a href="/videos/upload">{_upload_video}</a>
|
||||
</span>
|
||||
{tr("videos", $count)}
|
||||
<span n:if="isset($thisUser) && $thisUser->getId() == $user->getId()">
|
||||
|
|
||||
<a href="/videos/upload">{_upload_video}</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
|
|
|
@ -208,7 +208,7 @@
|
|||
"outcoming_req" = "Հայցեր";
|
||||
"req" = "Հայցեր";
|
||||
|
||||
"firends_zero" = "Ոչ մի ընկեր չկա";
|
||||
"friends_zero" = "Ոչ մի ընկեր չկա";
|
||||
"friends_one" = "$1 ընկեր";
|
||||
"friends_few" = "$1 ընկեր";
|
||||
"friends_many" = "$1 հատ ընկեր";
|
||||
|
|
|
@ -124,7 +124,7 @@
|
|||
"outcoming_req" = "Заяўкі";
|
||||
"req" = "Заяўкі";
|
||||
|
||||
"firends_zero" = "Няма сяброў";
|
||||
"friends_zero" = "Няма сяброў";
|
||||
"friends_one" = "$1 сябар";
|
||||
"friends_few" = "$1 аднаго";
|
||||
"friends_many" = "$1 сяброў";
|
||||
|
|
|
@ -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ŭ";
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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.";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -206,7 +206,7 @@
|
|||
"outcoming_req" = "Өтінімдер";
|
||||
"req" = "Өтінімдер";
|
||||
|
||||
"firends_zero" = "Достарыңыз жоқ";
|
||||
"friends_zero" = "Достарыңыз жоқ";
|
||||
"friends_one" = "$1 дос";
|
||||
"friends_other" = "$1 дос";
|
||||
|
||||
|
|
|
@ -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ół";
|
||||
|
|
|
@ -208,7 +208,7 @@
|
|||
|
||||
"req_zero" = "Не найдено ни одной заявки...";
|
||||
"req_one" = "Найдена $1 заявка";
|
||||
"req_few" = "Найлено $1 заявки";
|
||||
"req_few" = "Найдено $1 заявки";
|
||||
"req_many" = "Найдено $1 заявки";
|
||||
"req_other" = "Найдено $1 заявок";
|
||||
|
||||
|
|
|
@ -190,7 +190,7 @@
|
|||
"outcoming_req" = "Входящіе прошенія";
|
||||
"req" = "Исходящіе прошенія";
|
||||
|
||||
"firends_zero" = "Ни одного знакомца";
|
||||
"friends_zero" = "Ни одного знакомца";
|
||||
"friends_one" = "$1 знакомецъ";
|
||||
"friends_few" = "$1 знакомца";
|
||||
"friends_many" = "$1 знакомцевъ";
|
||||
|
|
|
@ -124,7 +124,7 @@
|
|||
"outcoming_req" = "Захтеви";
|
||||
"req" = "Захтеви";
|
||||
|
||||
"firends_zero" = "Нема ниједног пријатеља";
|
||||
"friends_zero" = "Нема ниједног пријатеља";
|
||||
"friends_one" = "$1 пријатељ";
|
||||
"friends_few" = "$1 пријатеља";
|
||||
"friends_many" = "$1 пријатеља";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -198,7 +198,7 @@
|
|||
"outcoming_req" = "Заявки";
|
||||
"req" = "Заявки";
|
||||
|
||||
"firends_zero" = "Ни одного товарища";
|
||||
"friends_zero" = "Ни одного товарища";
|
||||
"friends_one" = "$1 товарищ";
|
||||
"friends_few" = "$1 товарища";
|
||||
"friends_many" = "$1 товарищей";
|
||||
|
|
|
@ -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ş";
|
||||
|
||||
|
|
|
@ -190,7 +190,7 @@
|
|||
"outcoming_req" = "Заявки";
|
||||
"req" = "Заявки";
|
||||
|
||||
"firends_zero" = "Жодного друга";
|
||||
"friends_zero" = "Жодного друга";
|
||||
"friends_one" = "$1 друг";
|
||||
"friends_few" = "$1 друга";
|
||||
"friends_many" = "$1 друзів";
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
"outcoming_req" = "Заявки";
|
||||
"req" = "Заявки";
|
||||
|
||||
"firends_zero" = "Одӥг но эшъёс";
|
||||
"friends_zero" = "Одӥг но эшъёс";
|
||||
"friends_one" = "$1 эшъёс";
|
||||
"friends_few" = "$1 эшъёс";
|
||||
"friends_many" = "$1 эшъёс";
|
||||
|
|
Loading…
Reference in a new issue