[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 commit5ffc10a00e
) (cherry picked from commit96d10e793b
)
This commit is contained in:
parent
20b5ca1e6c
commit
34d21f6bc2
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 _, section := range iniFile.Sections() {
|
||||||
for _, key := range section.Keys() {
|
for _, key := range section.Keys() {
|
||||||
var trKey string
|
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()
|
trKey = key.Name()
|
||||||
} else {
|
} else {
|
||||||
trKey = section.Name() + "." + key.Name()
|
trKey = section.Name() + "." + key.Name()
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Domů
|
home=Domů
|
||||||
dashboard=Přehled
|
dashboard=Přehled
|
||||||
explore=Procházet
|
explore=Procházet
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Startseite
|
home=Startseite
|
||||||
dashboard=Übersicht
|
dashboard=Übersicht
|
||||||
explore=Erkunden
|
explore=Erkunden
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Αρχική
|
home=Αρχική
|
||||||
dashboard=Κεντρικός Πίνακας
|
dashboard=Κεντρικός Πίνακας
|
||||||
explore=Εξερεύνηση
|
explore=Εξερεύνηση
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home = Home
|
home = Home
|
||||||
dashboard = Dashboard
|
dashboard = Dashboard
|
||||||
explore = Explore
|
explore = Explore
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Inicio
|
home=Inicio
|
||||||
dashboard=Panel de control
|
dashboard=Panel de control
|
||||||
explore=Explorar
|
explore=Explorar
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=خانه
|
home=خانه
|
||||||
dashboard=میز کار
|
dashboard=میز کار
|
||||||
explore=گشتوگذار
|
explore=گشتوگذار
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Etusivu
|
home=Etusivu
|
||||||
dashboard=Kojelauta
|
dashboard=Kojelauta
|
||||||
explore=Tutki
|
explore=Tutki
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Accueil
|
home=Accueil
|
||||||
dashboard=Tableau de bord
|
dashboard=Tableau de bord
|
||||||
explore=Explorateur
|
explore=Explorateur
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Főoldal
|
home=Főoldal
|
||||||
dashboard=Műszerfal
|
dashboard=Műszerfal
|
||||||
explore=Felfedezés
|
explore=Felfedezés
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Beranda
|
home=Beranda
|
||||||
dashboard=Dasbor
|
dashboard=Dasbor
|
||||||
explore=Jelajahi
|
explore=Jelajahi
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Forsíða
|
home=Forsíða
|
||||||
dashboard=Stjórnborð
|
dashboard=Stjórnborð
|
||||||
explore=Vafra
|
explore=Vafra
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Home
|
home=Home
|
||||||
dashboard=Pannello di controllo
|
dashboard=Pannello di controllo
|
||||||
explore=Esplora
|
explore=Esplora
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=ホーム
|
home=ホーム
|
||||||
dashboard=ダッシュボード
|
dashboard=ダッシュボード
|
||||||
explore=エクスプローラー
|
explore=エクスプローラー
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=홈
|
home=홈
|
||||||
dashboard=대시보드
|
dashboard=대시보드
|
||||||
explore=탐색
|
explore=탐색
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Sākums
|
home=Sākums
|
||||||
dashboard=Infopanelis
|
dashboard=Infopanelis
|
||||||
explore=Izpētīt
|
explore=Izpētīt
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Beginscherm
|
home=Beginscherm
|
||||||
dashboard=Overzicht
|
dashboard=Overzicht
|
||||||
explore=Verkennen
|
explore=Verkennen
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Strona główna
|
home=Strona główna
|
||||||
dashboard=Pulpit
|
dashboard=Pulpit
|
||||||
explore=Odkrywaj
|
explore=Odkrywaj
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Inicio
|
home=Inicio
|
||||||
dashboard=Painel
|
dashboard=Painel
|
||||||
explore=Explorar
|
explore=Explorar
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Página inicial
|
home=Página inicial
|
||||||
dashboard=Painel de controlo
|
dashboard=Painel de controlo
|
||||||
explore=Explorar
|
explore=Explorar
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Главная
|
home=Главная
|
||||||
dashboard=Панель управления
|
dashboard=Панель управления
|
||||||
explore=Обзор
|
explore=Обзор
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=මුල් පිටුව
|
home=මුල් පිටුව
|
||||||
dashboard=උපකරණ පුවරුව
|
dashboard=උපකරණ පුවරුව
|
||||||
explore=ගවේෂණය
|
explore=ගවේෂණය
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Domov
|
home=Domov
|
||||||
dashboard=Nástenka
|
dashboard=Nástenka
|
||||||
explore=Preskúmať
|
explore=Preskúmať
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Startsida
|
home=Startsida
|
||||||
dashboard=Instrumentpanel
|
dashboard=Instrumentpanel
|
||||||
explore=Utforska
|
explore=Utforska
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Ana Sayfa
|
home=Ana Sayfa
|
||||||
dashboard=Pano
|
dashboard=Pano
|
||||||
explore=Keşfet
|
explore=Keşfet
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=Головна
|
home=Головна
|
||||||
dashboard=Панель управління
|
dashboard=Панель управління
|
||||||
explore=Огляд
|
explore=Огляд
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=首页
|
home=首页
|
||||||
dashboard=首页
|
dashboard=首页
|
||||||
explore=探索
|
explore=探索
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=首頁
|
home=首頁
|
||||||
dashboard=控制面版
|
dashboard=控制面版
|
||||||
explore=探索
|
explore=探索
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
[common]
|
||||||
home=首頁
|
home=首頁
|
||||||
dashboard=資訊主頁
|
dashboard=資訊主頁
|
||||||
explore=探索
|
explore=探索
|
||||||
|
|
Loading…
Reference in a new issue