mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Use unique translation IDs instead of English text as key
This commit is contained in:
parent
f244df6293
commit
beb7a0cfcb
66 changed files with 4069 additions and 2972 deletions
|
@ -1,39 +1,39 @@
|
|||
{{ define "title"}}{{ t "About" }}{{ end }}
|
||||
{{ define "title"}}{{ t "page.about.title" }}{{ end }}
|
||||
|
||||
{{ define "content"}}
|
||||
<section class="page-header">
|
||||
<h1>{{ t "About" }}</h1>
|
||||
<h1>{{ t "page.about.title" }}</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ route "settings" }}">{{ t "Settings" }}</a>
|
||||
<a href="{{ route "settings" }}">{{ t "menu.preferences" }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route "integrations" }}">{{ t "Integrations" }}</a>
|
||||
<a href="{{ route "integrations" }}">{{ t "menu.integrations" }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route "sessions" }}">{{ t "Sessions" }}</a>
|
||||
<a href="{{ route "sessions" }}">{{ t "menu.sessions" }}</a>
|
||||
</li>
|
||||
{{ if .user.IsAdmin }}
|
||||
<li>
|
||||
<a href="{{ route "users" }}">{{ t "Users" }}</a>
|
||||
<a href="{{ route "users" }}">{{ t "menu.users" }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<div class="panel">
|
||||
<h3>{{ t "Version" }}</h3>
|
||||
<h3>Miniflux</h3>
|
||||
<ul>
|
||||
<li><strong>{{ t "Version:" }}</strong> {{ .version }}</li>
|
||||
<li><strong>{{ t "Build Date:" }}</strong> {{ .build_date }}</li>
|
||||
<li><strong>{{ t "page.about.version" }}</strong> {{ .version }}</li>
|
||||
<li><strong>{{ t "page.about.build_date" }}</strong> {{ .build_date }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="panel">
|
||||
<h3>{{ t "Authors" }}</h3>
|
||||
<h3>{{ t "page.about.credits" }}</h3>
|
||||
<ul>
|
||||
<li><strong>{{ t "Author:" }}</strong> Frédéric Guillot</li>
|
||||
<li><strong>{{ t "License:" }}</strong> Apache 2.0</li>
|
||||
<li><strong>{{ t "page.about.author" }}</strong> Frédéric Guillot</li>
|
||||
<li><strong>{{ t "page.about.license" }}</strong> Apache 2.0</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue