1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-21 18:11:09 +00:00

Use unique translation IDs instead of English text as key

This commit is contained in:
Frédéric Guillot 2018-09-21 18:53:29 -07:00
parent f244df6293
commit beb7a0cfcb
66 changed files with 4069 additions and 2972 deletions

View file

@ -1,17 +1,17 @@
{{ define "title"}}{{ t "Choose a Subscription" }}{{ end }}
{{ define "title"}}{{ t "page.add_feed.title" }}{{ end }}
{{ define "content"}}
<section class="page-header">
<h1>{{ t "New Subscription" }}</h1>
<h1>{{ t "page.add_feed.title" }}</h1>
<ul>
<li>
<a href="{{ route "feeds" }}">{{ t "Feeds" }}</a>
<a href="{{ route "feeds" }}">{{ t "menu.feeds" }}</a>
</li>
<li>
<a href="{{ route "export" }}">{{ t "Export" }}</a>
<a href="{{ route "export" }}">{{ t "menu.export" }}</a>
</li>
<li>
<a href="{{ route "import" }}">{{ t "Import" }}</a>
<a href="{{ route "import" }}">{{ t "menu.import" }}</a>
</li>
</ul>
</section>
@ -26,7 +26,7 @@
<input type="hidden" name="crawler" value="1">
{{ end }}
<h3>{{ t "Choose a Subscription" }}</h3>
<h3>{{ t "page.add_feed.choose_feed" }}</h3>
{{ range .subscriptions }}
<div class="radio-group">
@ -36,7 +36,7 @@
{{ end }}
<div class="buttons">
<button type="submit" class="button button-primary" data-label-loading="{{ t "Loading..." }}">{{ t "Subscribe" }}</button>
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.loading" }}">{{ t "action.subscribe" }}</button>
</div>
</form>
{{ end }}