Pārlūkot izejas kodu

fix(locale): localize Git commit label at about page

Anton Larionov 11 mēneši atpakaļ
vecāks
revīzija
e99864a456

+ 1 - 0
internal/locale/translations/de_DE.json

@@ -408,6 +408,7 @@
     "page.about.build_date": "Datum der Kompilierung:",
     "page.about.credits": "Urheberrechte",
     "page.about.db_usage": "Datenbankgröße:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "Globale Konfigurationsoptionen",
     "page.about.go_version": "Go-Version:",
     "page.about.license": "Lizenz:",

+ 1 - 0
internal/locale/translations/el_EL.json

@@ -408,6 +408,7 @@
     "page.about.build_date": "Ημερομηνία Κατασκευής:",
     "page.about.credits": "Συνεισφέροντες",
     "page.about.db_usage": "Database size:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "Γενικές ρυθμίσεις",
     "page.about.go_version": "Έκδοση Go:",
     "page.about.license": "Άδεια:",

+ 1 - 0
internal/locale/translations/en_US.json

@@ -408,6 +408,7 @@
     "page.about.build_date": "Build Date:",
     "page.about.credits": "Credits",
     "page.about.db_usage": "Database size:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "Global configuration options",
     "page.about.go_version": "Go version:",
     "page.about.license": "License:",

+ 1 - 0
internal/locale/translations/es_ES.json

@@ -408,6 +408,7 @@
     "page.about.build_date": "Fecha de compilación:",
     "page.about.credits": "Créditos",
     "page.about.db_usage": "Database size:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "Opciones de configuración global",
     "page.about.go_version": "Go versión:",
     "page.about.license": "Licencia:",

+ 1 - 0
internal/locale/translations/fi_FI.json

@@ -408,6 +408,7 @@
     "page.about.build_date": "Valmistuspäivä:",
     "page.about.credits": "Kiitokset",
     "page.about.db_usage": "Database size:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "Yleiset asetukset",
     "page.about.go_version": "Go-versio:",
     "page.about.license": "Lisenssi:",

+ 1 - 0
internal/locale/translations/fr_FR.json

@@ -408,6 +408,7 @@
     "page.about.build_date": "Date de la compilation :",
     "page.about.credits": "Crédits",
     "page.about.db_usage": "Database size:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "Options de configuration globales",
     "page.about.go_version": "Version de Go :",
     "page.about.license": "Licence :",

+ 1 - 0
internal/locale/translations/hi_IN.json

@@ -408,6 +408,7 @@
     "page.about.build_date": "बनाने की तिथि:",
     "page.about.credits": "आभार सूची",
     "page.about.db_usage": "Database size:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "वैश्विक विन्यास विकल्प",
     "page.about.go_version": "गो संस्करण:",
     "page.about.license": "अनुज्ञा:",

+ 1 - 0
internal/locale/translations/id_ID.json

@@ -406,6 +406,7 @@
     "page.about.build_date": "Tanggal Penyusunan:",
     "page.about.credits": "Pengembang",
     "page.about.db_usage": "Database size:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "Pengaturan Konfigurasi Global",
     "page.about.go_version": "Versi Go:",
     "page.about.license": "Lisensi:",

+ 1 - 0
internal/locale/translations/it_IT.json

@@ -408,6 +408,7 @@
     "page.about.build_date": "Data della build:",
     "page.about.credits": "Crediti",
     "page.about.db_usage": "Database size:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "Opzioni di configurazione globali",
     "page.about.go_version": "Go versione:",
     "page.about.license": "Licenza:",

+ 1 - 0
internal/locale/translations/ja_JP.json

@@ -406,6 +406,7 @@
     "page.about.build_date": "ビルド日時:",
     "page.about.credits": "著作権表示",
     "page.about.db_usage": "Database size:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "グローバル構成オプション",
     "page.about.go_version": "Go バージョン:",
     "page.about.license": "ライセンス:",

+ 1 - 0
internal/locale/translations/nan_Latn_pehoeji.json

@@ -406,6 +406,7 @@
     "page.about.build_date": "Kiàn-tì li̍t-kî:",
     "page.about.credits": "Pán-koân",
     "page.about.db_usage": "Database size:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "Choân-he̍k siat-tēng soán-hāng",
     "page.about.go_version": "Go pán-pún:",
     "page.about.license": "Pàng-koân:",

+ 1 - 0
internal/locale/translations/nl_NL.json

@@ -408,6 +408,7 @@
     "page.about.build_date": "Compilatiedatum:",
     "page.about.credits": "Credits",
     "page.about.db_usage": "Database size:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "Globale Configuratie Opties",
     "page.about.go_version": "Go versie:",
     "page.about.license": "Licentie:",

+ 1 - 0
internal/locale/translations/pl_PL.json

@@ -410,6 +410,7 @@
     "page.about.build_date": "Data opracowania:",
     "page.about.credits": "Prawa autorskie",
     "page.about.db_usage": "Rozmiar bazy danych:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "Globalne opcje konfiguracji",
     "page.about.go_version": "Wersja Go:",
     "page.about.license": "Licencja:",

+ 1 - 0
internal/locale/translations/pt_BR.json

@@ -408,6 +408,7 @@
     "page.about.build_date": "Compilado em:",
     "page.about.credits": "Créditos",
     "page.about.db_usage": "Database size:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "opções de configuração global",
     "page.about.go_version": "Go versão:",
     "page.about.license": "Licença:",

+ 1 - 0
internal/locale/translations/ro_RO.json

@@ -410,6 +410,7 @@
     "page.about.build_date": "Dată Build:",
     "page.about.credits": "Credit",
     "page.about.db_usage": "Utilizare Bază de Date",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "Opțiuni globale de configurare",
     "page.about.go_version": "Versiune Go:",
     "page.about.license": "Licență:",

+ 1 - 0
internal/locale/translations/ru_RU.json

@@ -410,6 +410,7 @@
     "page.about.build_date": "Дата сборки:",
     "page.about.credits": "Авторы",
     "page.about.db_usage": "Размер базы данных:",
+    "page.about.git_commit": "Git-коммит:",
     "page.about.global_config_options": "Глобальные параметры конфигурации",
     "page.about.go_version": "Версия Go:",
     "page.about.license": "Лицензия:",

+ 1 - 0
internal/locale/translations/tr_TR.json

@@ -408,6 +408,7 @@
     "page.about.build_date": "Oluşturulma Tarihi:",
     "page.about.credits": "Katkıda Bulunanlar",
     "page.about.db_usage": "Database size:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "Global yapılandırma seçenekleri",
     "page.about.go_version": "Go sürümü:",
     "page.about.license": "Lisans:",

+ 1 - 0
internal/locale/translations/uk_UA.json

@@ -410,6 +410,7 @@
     "page.about.build_date": "Дата побудови:",
     "page.about.credits": "Титри",
     "page.about.db_usage": "Database size:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "Параметри глобальної конфігурації",
     "page.about.go_version": "Версія Go:",
     "page.about.license": "Ліцензія:",

+ 1 - 0
internal/locale/translations/zh_CN.json

@@ -406,6 +406,7 @@
     "page.about.build_date": "构建日期:",
     "page.about.credits": "版权",
     "page.about.db_usage": "数据库容量",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "全局配置选项",
     "page.about.go_version": "Go 版本号:",
     "page.about.license": "协议:",

+ 1 - 0
internal/locale/translations/zh_TW.json

@@ -406,6 +406,7 @@
     "page.about.build_date": "建構日期:",
     "page.about.credits": "版權",
     "page.about.db_usage": "Database size:",
+    "page.about.git_commit": "Git Commit:",
     "page.about.global_config_options": "全域設定選項",
     "page.about.go_version": "Go 版本:",
     "page.about.license": "授權:",

+ 1 - 1
internal/template/templates/views/about.html

@@ -13,7 +13,7 @@
     <ul>
         <li><strong>{{ t "page.about.version" }}</strong> <a href="https://github.com/miniflux/v2/releases/tag/{{ .version }}">{{ .version }}</a></li>
 	{{ if .commit }}
-        <li><strong>Git Commit</strong> <a href="https://github.com/miniflux/v2/commit/{{ .commit }}">{{ .commit }}</a></li>
+        <li><strong>{{ t "page.about.git_commit" }}</strong> <a href="https://github.com/miniflux/v2/commit/{{ .commit }}">{{ .commit }}</a></li>
 	{{ end }}
         <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 }}