Display Go version on /about

Translations are copy-paste best effort from the equivalent Postgres
string, and might not account for grammatical gender, etc.
This commit is contained in:
Alex Cohn 2022-01-22 09:44:26 -06:00 committed by Frédéric Guillot
parent 93277f4307
commit 7111b3749d
16 changed files with 18 additions and 1 deletions

View file

@ -116,6 +116,7 @@
"page.about.license": "Lizenz:",
"page.about.global_config_options": "Globale Konfigurationsoptionen",
"page.about.postgres_version": "Postgres Version:",
"page.about.go_version": "Go Version:",
"page.add_feed.title": "Neues Abonnement",
"page.add_feed.no_category": "Es ist keine Kategorie vorhanden. Wenigstens eine Kategorie muss angelegt sein.",
"page.add_feed.label.url": "URL",

View file

@ -116,6 +116,7 @@
"page.about.license": "Άδεια:",
"page.about.global_config_options": "Γενικές ρυθμίσεις",
"page.about.postgres_version": "Έκδοση Postgres:",
"page.about.go_version": "Έκδοση Go:",
"page.add_feed.title": "Νέα Συνδρομή",
"page.add_feed.no_category": "Δεν υπάρχει κατηγορία. Πρέπει να έχετε τουλάχιστον μία κατηγορία.",
"page.add_feed.label.url": "URL",

View file

@ -116,6 +116,7 @@
"page.about.license": "License:",
"page.about.global_config_options": "Global configuration options",
"page.about.postgres_version": "Postgres version:",
"page.about.go_version": "Go version:",
"page.add_feed.title": "New Subscription",
"page.add_feed.no_category": "There is no category. You must have at least one category.",
"page.add_feed.label.url": "URL",

View file

@ -116,6 +116,7 @@
"page.about.license": "Licencia:",
"page.about.global_config_options": "Opciones de configuración global",
"page.about.postgres_version": "Postgres versión:",
"page.about.go_version": "Go versión:",
"page.add_feed.title": "Nueva suscripción",
"page.add_feed.no_category": "No hay categoría. Debe tener al menos una categoría.",
"page.add_feed.label.url": "URL",

View file

@ -116,6 +116,7 @@
"page.about.license": "Lisenssi:",
"page.about.global_config_options": "Yleiset asetukset",
"page.about.postgres_version": "Postgres-versio:",
"page.about.go_version": "Go-versio:",
"page.add_feed.title": "Uusi tilaus",
"page.add_feed.no_category": "Ei ole ketegoriaa. Sinulla on oltava vähintään yksi ketegoria.",
"page.add_feed.label.url": "URL-osoite",

View file

@ -116,6 +116,7 @@
"page.about.license": "Licence :",
"page.about.global_config_options": "Options de configuration globales",
"page.about.postgres_version": "Version de Postgresql :",
"page.about.go_version": "Version de Go :",
"page.add_feed.title": "Nouvel Abonnement",
"page.add_feed.no_category": "Il n'y a aucune catégorie. Vous devez avoir au moins une catégorie.",
"page.add_feed.label.url": "Lien",

View file

@ -116,6 +116,7 @@
"page.about.license": "Licenza:",
"page.about.global_config_options": "Opzioni di configurazione globali",
"page.about.postgres_version": "Postgres versione:",
"page.about.go_version": "Go versione:",
"page.add_feed.title": "Nuovo feed",
"page.add_feed.no_category": "Nessuna categoria selezionata. Devi scegliere almeno una categoria.",
"page.add_feed.label.url": "URL",

View file

@ -116,6 +116,7 @@
"page.about.license": "ライセンス:",
"page.about.global_config_options": "グローバル構成オプション",
"page.about.postgres_version": "Postgres バージョン:",
"page.about.go_version": "Go バージョン:",
"page.add_feed.title": "新規購読",
"page.add_feed.no_category": "カテゴリが存在しません。 少なくとも1つのカテゴリが必要です。",
"page.add_feed.label.url": "URL",

View file

@ -117,6 +117,7 @@
"page.about.license": "Licentie:",
"page.about.global_config_options": "globale configuratie-opties",
"page.about.postgres_version": "Postgres versie:",
"page.about.go_version": "Go versie:",
"page.add_feed.title": "Nieuwe feed",
"page.add_feed.no_category": "Er zijn geen categorieën. Je moet op zijn minst één caterogie hebben.",
"page.add_feed.label.url": "URL",

View file

@ -117,6 +117,7 @@
"page.about.author": "Autor:",
"page.about.license": "Licencja:",
"page.about.postgres_version": "Postgres wersja:",
"page.about.go_version": "Go wersja:",
"page.about.global_config_options": "globalne opcje konfiguracji",
"page.add_feed.title": "Nowa subskrypcja",
"page.add_feed.no_category": "Nie ma żadnej kategorii. Musisz mieć co najmniej jedną kategorię.",

View file

@ -116,6 +116,7 @@
"page.about.license": "Licença:",
"page.about.global_config_options": "opções de configuração global",
"page.about.postgres_version": "Postgres versão:",
"page.about.go_version": "Go versão:",
"page.add_feed.title": "Nova inscrição",
"page.add_feed.no_category": "Não existe uma categoria. Deve existir pelo menos uma categoria.",
"page.add_feed.label.url": "URL",

View file

@ -117,6 +117,7 @@
"page.about.author": "Автор:",
"page.about.license": "Лицензия:",
"page.about.postgres_version": "Postgres bерсия:",
"page.about.go_version": "Go bерсия:",
"page.about.global_config_options": "глобальные параметры конфигурации",
"page.add_feed.title": "Новая подписка",
"page.add_feed.no_category": "Категории отсутствуют. У вас должна быть хотя бы одна категория.",

View file

@ -116,6 +116,7 @@
"page.about.license": "Lisans:",
"page.about.global_config_options": "Global yapılandırma seçenekleri",
"page.about.postgres_version": "Postgres sürümü:",
"page.about.go_version": "Go sürümü:",
"page.add_feed.title": "Yeni Abonelik",
"page.add_feed.no_category": "Kategori yok. En az bir kategoriye sahip olmalısınız.",
"page.add_feed.label.url": "URL",

View file

@ -113,6 +113,7 @@
"page.about.author": "作者:",
"page.about.license": "协议:",
"page.about.postgres_version": "Postgres 版本号:",
"page.about.go_version": "Go 版本号:",
"page.about.global_config_options": "全局配置选项",
"page.add_feed.title": "新增源",
"page.add_feed.no_category": "没有类别,至少需要有一个类别",

View file

@ -13,6 +13,7 @@
<li><strong>Git Commit</strong> {{ .commit }}</li>
<li><strong>{{ t "page.about.build_date" }}</strong> {{ .build_date }}</li>
{{ if .user.IsAdmin }}<li><strong>{{ t "page.about.postgres_version" }}</strong> {{ .postgres_version }}</li>{{ end }}
<li><strong>{{t "page.about.go_version" }}</strong> {{ .go_version }}</li>
</ul>
</div>

View file

@ -6,6 +6,7 @@ package ui // import "miniflux.app/ui"
import (
"net/http"
"runtime"
"miniflux.app/config"
"miniflux.app/http/request"
@ -33,6 +34,7 @@ func (h *handler) showAboutPage(w http.ResponseWriter, r *http.Request) {
view.Set("countErrorFeeds", h.store.CountUserFeedsWithErrors(user.ID))
view.Set("globalConfigOptions", config.Opts.SortedOptions(true))
view.Set("postgres_version", h.store.DatabaseVersion())
view.Set("go_version", runtime.Version())
html.OK(w, r, view.Render("about"))
}