Translation of a stuff page.
This commit is contained in:
parent
94482d0aae
commit
d4706e53ce
@ -36,3 +36,15 @@ en:
|
|||||||
text: Updates on websites and servers, my very important thoughts and opinions no one asked for.
|
text: Updates on websites and servers, my very important thoughts and opinions no one asked for.
|
||||||
no-posts: Nothing? There must be some... Looks like database went down.
|
no-posts: Nothing? There must be some... Looks like database went down.
|
||||||
all: All
|
all: All
|
||||||
|
stuff:
|
||||||
|
description: Here I share my programs, scripts, articles, may be other stuff.
|
||||||
|
text: Here lies everything I've made that I'm willing to share.
|
||||||
|
article:
|
||||||
|
h: Articles
|
||||||
|
tabh-lu: Last Update
|
||||||
|
tabh-nm: Article
|
||||||
|
progs: Programs and scripts
|
||||||
|
music:
|
||||||
|
h: Music
|
||||||
|
text-1: There was a period in my life when I was playing with audio sequencers. I lost all project files and only 3 tracks survived in mp3 and they
|
||||||
|
text-2: can be found here
|
@ -36,3 +36,15 @@ ru:
|
|||||||
text: Новости по работе сайтов и серверов, мои мысли и мнения, которые никому не упёрлись.
|
text: Новости по работе сайтов и серверов, мои мысли и мнения, которые никому не упёрлись.
|
||||||
no-posts: Ничего? Как это?.. Видать, база накрылась.
|
no-posts: Ничего? Как это?.. Видать, база накрылась.
|
||||||
all: Всё
|
all: Всё
|
||||||
|
stuff:
|
||||||
|
description: Здесь все программы, скрипты, статьи и прочее, чем хотел бы поделиться.
|
||||||
|
text: Здесь лежит всё, чем я хотел бы поделиться.
|
||||||
|
article:
|
||||||
|
h: Статьи
|
||||||
|
tabh-lu: Последнее обновление
|
||||||
|
tabh-nm: Статья
|
||||||
|
progs: Программы и скрипты
|
||||||
|
music:
|
||||||
|
h: Музыка
|
||||||
|
text-1: В моей жизни был период, когда я пытался в написание музыки в аудио секвенсорах. Я потерял проекты и сохранились лишь три mp3-шки, которые можно
|
||||||
|
text-2: взять здесь
|
@ -9,19 +9,19 @@ import "git.arav.su/Arav/dwelling-home/pkg/util"
|
|||||||
templ Stuff(r *http.Request) {
|
templ Stuff(r *http.Request) {
|
||||||
{{ gitSite := util.GetServiceByHost(r.Host, util.ServiceGit) }}
|
{{ gitSite := util.GetServiceByHost(r.Host, util.ServiceGit) }}
|
||||||
|
|
||||||
@base(i18n.T(ctx, "base.section.stuff"), "Here I share my programs, scripts, articles, may be other stuff.", "articles, programs, personal projects, own music", "/stuff", r, nil) {
|
@base(i18n.T(ctx, "base.section.stuff"), i18n.T(ctx, "stuff.description"), "articles, programs, personal projects, own music", "/stuff", r, nil) {
|
||||||
<p class="center">Here lies everything I've made that I'm willing to share.</p>
|
<p class="center">{ i18n.T(ctx, "stuff.text") }</p>
|
||||||
<section id="articles">
|
<section id="articles">
|
||||||
<h2>Articles</h2>
|
<h2>{ i18n.T(ctx, "stuff.article.h") }</h2>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Last Update</th>
|
<th>{ i18n.T(ctx, "stuff.article.tabh-lu") }</th>
|
||||||
<th>Article</th>
|
<th>{ i18n.T(ctx, "stuff.article.tabh-nm") }</th>
|
||||||
</tr>
|
</tr>
|
||||||
for _, entry := range Metadata {
|
for _, entry := range Metadata {
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<time datetime={ entry.Date.Format("2006-01-02") }>{ entry.Date.Format("02 January 2006") }</time>
|
<time datetime={ entry.Date.Format("2006-01-02") }>{ entry.Date.Format("02.01.2006") }</time>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href={ templ.URL(entry.URL) }>{ entry.Title }</a>
|
<a href={ templ.URL(entry.URL) }>{ entry.Title }</a>
|
||||||
@ -31,7 +31,7 @@ templ Stuff(r *http.Request) {
|
|||||||
</table>
|
</table>
|
||||||
</section>
|
</section>
|
||||||
<section id="programs-scripts">
|
<section id="programs-scripts">
|
||||||
<h2>Programs and scripts</h2>
|
<h2>{ i18n.T(ctx, "stuff.progs") }</h2>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>mccl</b></td>
|
<td><b>mccl</b></td>
|
||||||
@ -167,8 +167,8 @@ templ Stuff(r *http.Request) {
|
|||||||
</table>
|
</table>
|
||||||
</section>
|
</section>
|
||||||
<section id="music">
|
<section id="music">
|
||||||
<h2>Music</h2>
|
<h2>{ i18n.T(ctx, "stuff.music.h") }</h2>
|
||||||
<p>There was a period in my life when I was playing with audio sequencers. I lost all project files and only 3 tracks survived in mp3 and they <a href={ templ.URL(util.GetServiceByHost(r.Host, util.ServiceFiles) + "/music/My%20tracks,%20that%20survived/") }>can be found here</a>.</p>
|
<p>{ i18n.T(ctx, "stuff.music.text-1") } <a href={ templ.URL(util.GetServiceByHost(r.Host, util.ServiceFiles) + "/music/My%20tracks,%20that%20survived/") }>{ i18n.T(ctx, "stuff.music.text-2") }</a>.</p>
|
||||||
</section>
|
</section>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user