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.
|
||||
no-posts: Nothing? There must be some... Looks like database went down.
|
||||
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: Новости по работе сайтов и серверов, мои мысли и мнения, которые никому не упёрлись.
|
||||
no-posts: Ничего? Как это?.. Видать, база накрылась.
|
||||
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) {
|
||||
{{ 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) {
|
||||
<p class="center">Here lies everything I've made that I'm willing to share.</p>
|
||||
@base(i18n.T(ctx, "base.section.stuff"), i18n.T(ctx, "stuff.description"), "articles, programs, personal projects, own music", "/stuff", r, nil) {
|
||||
<p class="center">{ i18n.T(ctx, "stuff.text") }</p>
|
||||
<section id="articles">
|
||||
<h2>Articles</h2>
|
||||
<h2>{ i18n.T(ctx, "stuff.article.h") }</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Last Update</th>
|
||||
<th>Article</th>
|
||||
<th>{ i18n.T(ctx, "stuff.article.tabh-lu") }</th>
|
||||
<th>{ i18n.T(ctx, "stuff.article.tabh-nm") }</th>
|
||||
</tr>
|
||||
for _, entry := range Metadata {
|
||||
<tr>
|
||||
<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>
|
||||
<a href={ templ.URL(entry.URL) }>{ entry.Title }</a>
|
||||
@ -31,7 +31,7 @@ templ Stuff(r *http.Request) {
|
||||
</table>
|
||||
</section>
|
||||
<section id="programs-scripts">
|
||||
<h2>Programs and scripts</h2>
|
||||
<h2>{ i18n.T(ctx, "stuff.progs") }</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td><b>mccl</b></td>
|
||||
@ -167,8 +167,8 @@ templ Stuff(r *http.Request) {
|
||||
</table>
|
||||
</section>
|
||||
<section id="music">
|
||||
<h2>Music</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>
|
||||
<h2>{ i18n.T(ctx, "stuff.music.h") }</h2>
|
||||
<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>
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user