Global: Fix hiccups and localize some strings

This commit is contained in:
Ilya Prokopenko 2022-02-19 20:50:06 +03:00
parent a1a18b7255
commit 7b78becfbd
No known key found for this signature in database
GPG key ID: 7736BBBB05F14A56
20 changed files with 58 additions and 44 deletions

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

@ -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}

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 эшъёс";