[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 5ffc10a00e1ceb24755894e981d3d26d654b4b7e) (cherry picked from commit 96d10e793b72e39656cc0df02272c7dd7632964c)
This commit is contained in:
parent
20b5ca1e6c
commit
34d21f6bc2
|
@ -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