Locales: Changed some strings and added open_original

This commit is contained in:
Ilya Prokopenko 2021-09-17 15:38:38 +07:00
parent 9d4799083e
commit 565da563d5
No known key found for this signature in database
GPG key ID: 7736BBBB05F14A56
15 changed files with 67 additions and 64 deletions

View file

@ -39,10 +39,6 @@
</form> </form>
<hr/> <hr/>
<center> <center>
Вы также можете {_"you_can_also"} <a href="/album{$album->getOwner()->getId()}_{$album->getId()}/delete.pl?hash={rawurlencode($csrfToken)}">{_"delete_album"}</a>.
<a href="/album{$album->getOwner()->getId()}_{$album->getId()}/delete.pl?hash={rawurlencode($csrfToken)}">
удалить
</a>
альбом.
</center> </center>
{/block} {/block}

View file

@ -4,7 +4,7 @@
{block header} {block header}
<a href="{$thisUser->getURL()}">{$thisUser->getCanonicalName()}</a> <a href="{$thisUser->getURL()}">{$thisUser->getCanonicalName()}</a>
» »
Фотография {_"photo"}
{/block} {/block}
{block content} {block content}

View file

@ -1,6 +1,6 @@
{extends "../@layout.xml"} {extends "../@layout.xml"}
{block title}Фотография{/block} {block title}{_"photo"}{/block}
{block header} {block header}
{ifset $album} {ifset $album}
@ -16,7 +16,7 @@
{else} {else}
<a href="{$photo->getOwner()->getURL()}">{$photo->getOwner()->getCanonicalName()}</a> <a href="{$photo->getOwner()->getURL()}">{$photo->getOwner()->getCanonicalName()}</a>
{/ifset} {/ifset}
» Фотография » {_"photo"}
{/block} {/block}
{block content} {block content}
@ -32,21 +32,21 @@
</div> </div>
<div style="float: left; min-height: 100px; width: 30%;"> <div style="float: left; min-height: 100px; width: 30%;">
<div> <div>
<h4>Информация</h4> <h4>{_"information"}</h4>
<span style="color: grey;">Описание:</span> <span style="color: grey;">{_"info_description"}:</span>
{$photo->getDescription() ?? "(отсутствует)"}<br/> {$photo->getDescription() ?? "(отсутствует)"}<br/>
<span style="color: grey;">Загрузил:</span> <span style="color: grey;">{_"info_uploaded_by"}:</span>
<a href="{$photo->getOwner()->getURL()}">{$photo->getOwner()->getFullName()}</a><br/> <a href="{$photo->getOwner()->getURL()}">{$photo->getOwner()->getFullName()}</a><br/>
<span style="color: grey;">Дата создания:</span> <span style="color: grey;">{_"info_upload_date"}:</span>
{$photo->getPublicationTime()} {$photo->getPublicationTime()}
</div> </div>
<br/> <br/>
<h4>Действия</h4> <h4>{_actions}</h4>
<div n:if="isset($thisUser) && $thisUser->getId() === $photo->getOwner()->getId()"> <div n:if="isset($thisUser) && $thisUser->getId() === $photo->getOwner()->getId()">
<a href="/photo{$photo->getPrettyId()}/edit" class="profile_link" style="display:block;width:96%;">Редактировать</a> <a href="/photo{$photo->getPrettyId()}/edit" class="profile_link" style="display:block;width:96%;">{_"edit"}</a>
<a id="_photoDelete" href="/photo{$photo->getPrettyId()}/delete" class="profile_link" style="display:block;width:96%;">Удалить</a> <a id="_photoDelete" href="/photo{$photo->getPrettyId()}/delete" class="profile_link" style="display:block;width:96%;">{_"delete"}</a>
</div> </div>
<a href="{$photo->getURL()}" class="profile_link" target="_blank" style="display:block;width:96%;">Открыть оригинал</a> <a href="{$photo->getURL()}" class="profile_link" target="_blank" style="display:block;width:96%;">{_"open_original"}</a>
</div> </div>
</div> </div>
{/block} {/block}

View file

@ -38,13 +38,13 @@
<div style="float: left; min-height: 100px; width: 30%; overflow: hidden; overflow-wrap: break-word;"> <div style="float: left; min-height: 100px; width: 30%; overflow: hidden; overflow-wrap: break-word;">
<div> <div>
<h4>{_"information"}</h4> <h4>{_"information"}</h4>
<span style="color: grey;">{_"video_name"}:</span> <span style="color: grey;">{_"info_name"}:</span>
{$video->getName()}<br/> {$video->getName()}<br/>
<span style="color: grey;">{_"video_description"}:</span> <span style="color: grey;">{_"info_description"}:</span>
{$video->getDescription() ?? "(отсутствует)"}<br/> {$video->getDescription() ?? "(отсутствует)"}<br/>
<span style="color: grey;">{_"video_uploaded_by"}:</span> <span style="color: grey;">{_"info_uploaded_by"}:</span>
<a href="{$user->getURL()}">{$user->getFullName()}</a><br/> <a href="{$user->getURL()}">{$user->getFullName()}</a><br/>
<span style="color: grey;">{_"video_upload_date"}:</span> <span style="color: grey;">{_"info_upload_date"}:</span>
{$video->getPublicationTime()} {$video->getPublicationTime()}
</div> </div>
<br/> <br/>

View file

@ -353,10 +353,10 @@
"video_updated" = "Թարմացված է"; "video_updated" = "Թարմացված է";
"video_link_to_yt" = "YouTube-յան հղում"; "video_link_to_yt" = "YouTube-յան հղում";
"video_name" = "Անվանում"; "info_name" = "Անվանում";
"video_description" = "Նկարագրություն"; "info_description" = "Նկարագրություն";
"video_uploaded_by" = "Վերբեռնել է"; "info_uploaded_by" = "Վերբեռնել է";
"video_upload_date" = "Վերբեռնման ամսաթիվ"; "info_upload_date" = "Վերբեռնման ամսաթիվ";
"videos_zero" = "Ոչ մի տեսանյութ չկա"; "videos_zero" = "Ոչ մի տեսանյութ չկա";
"videos_one" = "Մեկ տեսանյութ"; "videos_one" = "Մեկ տեսանյութ";

View file

@ -335,10 +335,10 @@
"video_updated" = "Абнаўленне"; "video_updated" = "Абнаўленне";
"video_link_to_yt" = "Спасылка на YT"; "video_link_to_yt" = "Спасылка на YT";
"video_name" = "Назва"; "info_name" = "Назва";
"video_description" = "Апісанне"; "info_description" = "Апісанне";
"video_uploaded_by" = "Загрузіў"; "info_uploaded_by" = "Загрузіў";
"video_upload_date" = "Дата загрузкі"; "info_upload_date" = "Дата загрузкі";
"videos_zero" = "Ні адной відэазапісы"; "videos_zero" = "Ні адной відэазапісы";
"videos_one" = "Адна відэазапіс"; "videos_one" = "Адна відэазапіс";

View file

@ -346,10 +346,10 @@
"video_updated" = "Adnoŭlena"; "video_updated" = "Adnoŭlena";
"video_link_to_yt" = "Syłka na YT"; "video_link_to_yt" = "Syłka na YT";
"video_name" = "Nazva"; "info_name" = "Nazva";
"video_description" = "Apisańnie"; "info_description" = "Apisańnie";
"video_uploaded_by" = "Zapampavaŭ"; "info_uploaded_by" = "Zapampavaŭ";
"video_upload_date" = "Kali zapampovana"; "info_upload_date" = "Kali zapampovana";
"videos_zero" = "Niama videazapisaŭ"; "videos_zero" = "Niama videazapisaŭ";
"videos_one" = "Adziny videazapis"; "videos_one" = "Adziny videazapis";

View file

@ -323,10 +323,10 @@
"video_updated" = "Aktualisiert"; "video_updated" = "Aktualisiert";
"video_link_to_yt" = "YT-Link"; "video_link_to_yt" = "YT-Link";
"video_name" = "Titel"; "info_name" = "Titel";
"video_description" = "Beschreibung"; "info_description" = "Beschreibung";
"video_uploaded_by" = "Hochgeladen von"; "info_uploaded_by" = "Hochgeladen von";
"video_upload_date" = "Hochgeladen am:"; "info_upload_date" = "Hochgeladen am:";
"videos_zero" = "Keine Videos"; "videos_zero" = "Keine Videos";
"videos_one" = "$1 Video"; "videos_one" = "$1 Video";

View file

@ -194,6 +194,11 @@
"photo" = "Photo"; "photo" = "Photo";
"upload_button" = "Upload"; "upload_button" = "Upload";
"open_original" = "Open original";
"avatar_album" = "Profile photos";
"wall_album" = "Wall photos";
"albums_zero" = "No albums"; "albums_zero" = "No albums";
"albums_one" = "$1 album"; "albums_one" = "$1 album";
"albums_other" = "$1 albums"; "albums_other" = "$1 albums";
@ -325,10 +330,10 @@
"video_updated" = "Updated"; "video_updated" = "Updated";
"video_link_to_yt" = "YT link"; "video_link_to_yt" = "YT link";
"video_name" = "Title"; "info_name" = "Title";
"video_description" = "Description"; "info_description" = "Description";
"video_uploaded_by" = "Uploaded by"; "info_uploaded_by" = "Uploaded by";
"video_upload_date" = "Upload date"; "info_upload_date" = "Upload date";
"videos_zero" = "No videos"; "videos_zero" = "No videos";
"videos_one" = "$1 video"; "videos_one" = "$1 video";

View file

@ -353,10 +353,10 @@
"video_updated" = "Aktualizacja"; "video_updated" = "Aktualizacja";
"video_link_to_yt" = "Link na YT"; "video_link_to_yt" = "Link na YT";
"video_name" = "Nazwa"; "info_name" = "Nazwa";
"video_description" = "Opis"; "info_description" = "Opis";
"video_uploaded_by" = "Pobrał"; "info_uploaded_by" = "Pobrał";
"video_upload_date" = "Data pobrania"; "info_upload_date" = "Data pobrania";
"videos_zero" = "Brak nagrania wideo"; "videos_zero" = "Brak nagrania wideo";
"videos_one" = "Jedno nagranie wideo"; "videos_one" = "Jedno nagranie wideo";

View file

@ -208,6 +208,8 @@
"photo" = "Фотография"; "photo" = "Фотография";
"upload_button" = "Загрузить"; "upload_button" = "Загрузить";
"open_original" = "Открыть оригинал";
"avatar_album" = "Фотографии со страницы"; "avatar_album" = "Фотографии со страницы";
"wall_album" = "Фотографии со стены"; "wall_album" = "Фотографии со стены";
@ -353,10 +355,10 @@
"video_updated" = "Обновлено"; "video_updated" = "Обновлено";
"video_link_to_yt" = "Ссылка на YT"; "video_link_to_yt" = "Ссылка на YT";
"video_name" = "Название"; "info_name" = "Название";
"video_description" = "Описание"; "info_description" = "Описание";
"video_uploaded_by" = "Загрузил"; "info_uploaded_by" = "Загрузил";
"video_upload_date" = "Дата загрузки"; "info_upload_date" = "Дата загрузки";
"videos_zero" = "Ни одной видеозаписи"; "videos_zero" = "Ни одной видеозаписи";
"videos_one" = "Одна видеозапись"; "videos_one" = "Одна видеозапись";

View file

@ -335,10 +335,10 @@
"video_updated" = "Ажурирано"; "video_updated" = "Ажурирано";
"video_link_to_yt" = "YT Адреса"; "video_link_to_yt" = "YT Адреса";
"video_name" = "Назив"; "info_name" = "Назив";
"video_description" = "Опис"; "info_description" = "Опис";
"video_uploaded_by" = "Видео је преузео"; "info_uploaded_by" = "Видео је преузео";
"video_upload_date" = "Датум преузимања"; "info_upload_date" = "Датум преузимања";
"videos_zero" = "Нема ниједног видео"; "videos_zero" = "Нема ниједног видео";
"videos_one" = "Једно видео"; "videos_one" = "Једно видео";

View file

@ -335,10 +335,10 @@
"video_updated" = "Ažurirano"; "video_updated" = "Ažurirano";
"video_link_to_yt" = "YT Adresa"; "video_link_to_yt" = "YT Adresa";
"video_name" = "Naziv"; "info_name" = "Naziv";
"video_description" = "Opis"; "info_description" = "Opis";
"video_uploaded_by" = "Video je preuzeo"; "info_uploaded_by" = "Video je preuzeo";
"video_upload_date" = "Datum preuzimanja"; "info_upload_date" = "Datum preuzimanja";
"videos_zero" = "Nema nijednog video"; "videos_zero" = "Nema nijednog video";
"videos_one" = "Jedno video"; "videos_one" = "Jedno video";

View file

@ -320,10 +320,10 @@
"video_updated" = "Güncellendi"; "video_updated" = "Güncellendi";
"video_link_to_yt" = "YT linki"; "video_link_to_yt" = "YT linki";
"video_name" = "Başlık"; "info_name" = "Başlık";
"video_description" = "Açıklama"; "info_description" = "Açıklama";
"video_uploaded_by" = "Yükleyen"; "info_uploaded_by" = "Yükleyen";
"video_upload_date" = "Yükleme tarihi"; "info_upload_date" = "Yükleme tarihi";
"videos_zero" = "Video yok"; "videos_zero" = "Video yok";
"videos_one" = "$1 video"; "videos_one" = "$1 video";

View file

@ -352,10 +352,10 @@
"video_updated" = "Оновлено"; "video_updated" = "Оновлено";
"video_link_to_yt" = "Посилання на YT"; "video_link_to_yt" = "Посилання на YT";
"video_name" = "Назва"; "info_name" = "Назва";
"video_description" = "Опис"; "info_description" = "Опис";
"video_uploaded_by" = "Завантажив"; "info_uploaded_by" = "Завантажив";
"video_upload_date" = "Дата завантаження"; "info_upload_date" = "Дата завантаження";
"videos_zero" = "Жодної відеозаписи"; "videos_zero" = "Жодної відеозаписи";
"videos_one" = "Одна відеозапис"; "videos_one" = "Одна відеозапис";