loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[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)

+32 -1
+4 -1
modules/translation/i18n/localestore.go
··· 54 54 for _, section := range iniFile.Sections() { 55 55 for _, key := range section.Keys() { 56 56 var trKey string 57 - if section.Name() == "" || section.Name() == "DEFAULT" { 57 + // see https://codeberg.org/forgejo/discussions/issues/104 58 + // https://github.com/WeblateOrg/weblate/issues/10831 59 + // for an explanation of why "common" is an alternative 60 + if section.Name() == "" || section.Name() == "DEFAULT" || section.Name() == "common" { 58 61 trKey = key.Name() 59 62 } else { 60 63 trKey = section.Name() + "." + key.Name()
+1
options/locale/locale_cs-CZ.ini
··· 1 + [common] 1 2 home=Domů 2 3 dashboard=Přehled 3 4 explore=Procházet
+1
options/locale/locale_de-DE.ini
··· 1 + [common] 1 2 home=Startseite 2 3 dashboard=Übersicht 3 4 explore=Erkunden
+1
options/locale/locale_el-GR.ini
··· 1 + [common] 1 2 home=Αρχική 2 3 dashboard=Κεντρικός Πίνακας 3 4 explore=Εξερεύνηση
+1
options/locale/locale_en-US.ini
··· 1 + [common] 1 2 home = Home 2 3 dashboard = Dashboard 3 4 explore = Explore
+1
options/locale/locale_es-ES.ini
··· 1 + [common] 1 2 home=Inicio 2 3 dashboard=Panel de control 3 4 explore=Explorar
+1
options/locale/locale_fa-IR.ini
··· 1 + [common] 1 2 home=خانه 2 3 dashboard=میز کار 3 4 explore=گشت‌و‌گذار
+1
options/locale/locale_fi-FI.ini
··· 1 + [common] 1 2 home=Etusivu 2 3 dashboard=Kojelauta 3 4 explore=Tutki
+1
options/locale/locale_fr-FR.ini
··· 1 + [common] 1 2 home=Accueil 2 3 dashboard=Tableau de bord 3 4 explore=Explorateur
+1
options/locale/locale_hu-HU.ini
··· 1 + [common] 1 2 home=Főoldal 2 3 dashboard=Műszerfal 3 4 explore=Felfedezés
+1
options/locale/locale_id-ID.ini
··· 1 + [common] 1 2 home=Beranda 2 3 dashboard=Dasbor 3 4 explore=Jelajahi
+1
options/locale/locale_is-IS.ini
··· 1 + [common] 1 2 home=Forsíða 2 3 dashboard=Stjórnborð 3 4 explore=Vafra
+1
options/locale/locale_it-IT.ini
··· 1 + [common] 1 2 home=Home 2 3 dashboard=Pannello di controllo 3 4 explore=Esplora
+1
options/locale/locale_ja-JP.ini
··· 1 + [common] 1 2 home=ホーム 2 3 dashboard=ダッシュボード 3 4 explore=エクスプローラー
+1
options/locale/locale_ko-KR.ini
··· 1 + [common] 1 2 home=홈 2 3 dashboard=대시보드 3 4 explore=탐색
+1
options/locale/locale_lv-LV.ini
··· 1 + [common] 1 2 home=Sākums 2 3 dashboard=Infopanelis 3 4 explore=Izpētīt
+1
options/locale/locale_nl-NL.ini
··· 1 + [common] 1 2 home=Beginscherm 2 3 dashboard=Overzicht 3 4 explore=Verkennen
+1
options/locale/locale_pl-PL.ini
··· 1 + [common] 1 2 home=Strona główna 2 3 dashboard=Pulpit 3 4 explore=Odkrywaj
+1
options/locale/locale_pt-BR.ini
··· 1 + [common] 1 2 home=Inicio 2 3 dashboard=Painel 3 4 explore=Explorar
+1
options/locale/locale_pt-PT.ini
··· 1 + [common] 1 2 home=Página inicial 2 3 dashboard=Painel de controlo 3 4 explore=Explorar
+1
options/locale/locale_ru-RU.ini
··· 1 + [common] 1 2 home=Главная 2 3 dashboard=Панель управления 3 4 explore=Обзор
+1
options/locale/locale_si-LK.ini
··· 1 + [common] 1 2 home=මුල් පිටුව 2 3 dashboard=උපකරණ පුවරුව 3 4 explore=ගවේෂණය
+1
options/locale/locale_sk-SK.ini
··· 1 + [common] 1 2 home=Domov 2 3 dashboard=Nástenka 3 4 explore=Preskúmať
+1
options/locale/locale_sv-SE.ini
··· 1 + [common] 1 2 home=Startsida 2 3 dashboard=Instrumentpanel 3 4 explore=Utforska
+1
options/locale/locale_tr-TR.ini
··· 1 + [common] 1 2 home=Ana Sayfa 2 3 dashboard=Pano 3 4 explore=Keşfet
+1
options/locale/locale_uk-UA.ini
··· 1 + [common] 1 2 home=Головна 2 3 dashboard=Панель управління 3 4 explore=Огляд
+1
options/locale/locale_zh-CN.ini
··· 1 + [common] 1 2 home=首页 2 3 dashboard=首页 3 4 explore=探索
+1
options/locale/locale_zh-HK.ini
··· 1 + [common] 1 2 home=首頁 2 3 dashboard=控制面版 3 4 explore=探索
+1
options/locale/locale_zh-TW.ini
··· 1 + [common] 1 2 home=首頁 2 3 dashboard=資訊主頁 3 4 explore=探索