mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 14:55:40 +03:00
[I18N] add [common] as first line
To keep weblate happy as it would otherwise be duplicating the content
to all sections.
See https://github.com/WeblateOrg/weblate/issues/10831 for more information.
(cherry picked from commit 5ffc10a00e
)
This commit is contained in:
parent
1e3c6af5fe
commit
96d10e793b
29 changed files with 32 additions and 1 deletions
|
@ -54,7 +54,10 @@ func (store *localeStore) AddLocaleByIni(langName, langDesc string, source, more
|
|||
for _, section := range iniFile.Sections() {
|
||||
for _, key := range section.Keys() {
|
||||
var trKey string
|
||||
if section.Name() == "" || section.Name() == "DEFAULT" {
|
||||
// see https://codeberg.org/forgejo/discussions/issues/104
|
||||
// https://github.com/WeblateOrg/weblate/issues/10831
|
||||
// for an explanation of why "common" is an alternative
|
||||
if section.Name() == "" || section.Name() == "DEFAULT" || section.Name() == "common" {
|
||||
trKey = key.Name()
|
||||
} else {
|
||||
trKey = section.Name() + "." + key.Name()
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Domů
|
||||
dashboard=Přehled
|
||||
explore=Procházet
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Startseite
|
||||
dashboard=Übersicht
|
||||
explore=Erkunden
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Αρχική
|
||||
dashboard=Κεντρικός Πίνακας
|
||||
explore=Εξερεύνηση
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home = Home
|
||||
dashboard = Dashboard
|
||||
explore = Explore
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Inicio
|
||||
dashboard=Panel de control
|
||||
explore=Explorar
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=خانه
|
||||
dashboard=میز کار
|
||||
explore=گشتوگذار
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Etusivu
|
||||
dashboard=Kojelauta
|
||||
explore=Tutki
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Accueil
|
||||
dashboard=Tableau de bord
|
||||
explore=Explorateur
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Főoldal
|
||||
dashboard=Műszerfal
|
||||
explore=Felfedezés
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Beranda
|
||||
dashboard=Dasbor
|
||||
explore=Jelajahi
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Forsíða
|
||||
dashboard=Stjórnborð
|
||||
explore=Vafra
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Home
|
||||
dashboard=Pannello di controllo
|
||||
explore=Esplora
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=ホーム
|
||||
dashboard=ダッシュボード
|
||||
explore=エクスプローラー
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=홈
|
||||
dashboard=대시보드
|
||||
explore=탐색
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Sākums
|
||||
dashboard=Infopanelis
|
||||
explore=Izpētīt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Beginscherm
|
||||
dashboard=Overzicht
|
||||
explore=Verkennen
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Strona główna
|
||||
dashboard=Pulpit
|
||||
explore=Odkrywaj
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Inicio
|
||||
dashboard=Painel
|
||||
explore=Explorar
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Página inicial
|
||||
dashboard=Painel de controlo
|
||||
explore=Explorar
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Главная
|
||||
dashboard=Панель управления
|
||||
explore=Обзор
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=මුල් පිටුව
|
||||
dashboard=උපකරණ පුවරුව
|
||||
explore=ගවේෂණය
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Domov
|
||||
dashboard=Nástenka
|
||||
explore=Preskúmať
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Startsida
|
||||
dashboard=Instrumentpanel
|
||||
explore=Utforska
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Ana Sayfa
|
||||
dashboard=Pano
|
||||
explore=Keşfet
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=Головна
|
||||
dashboard=Панель управління
|
||||
explore=Огляд
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=首页
|
||||
dashboard=首页
|
||||
explore=探索
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=首頁
|
||||
dashboard=控制面版
|
||||
explore=探索
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[common]
|
||||
home=首頁
|
||||
dashboard=資訊主頁
|
||||
explore=探索
|
||||
|
|
Loading…
Reference in a new issue