From fa9d26dffad87de2bc84f1cfc408e35bb1c23689 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 27 Nov 2019 21:19:35 +0000 Subject: [PATCH] Alt text for agpl link to source code --- translations/ar.json | 3 ++- translations/ca.json | 3 ++- translations/cy.json | 3 ++- translations/de.json | 3 ++- translations/en.json | 3 ++- translations/es.json | 3 ++- translations/fr.json | 3 ++- translations/ga.json | 3 ++- translations/hi.json | 3 ++- translations/it.json | 3 ++- translations/ja.json | 3 ++- translations/oc.json | 3 ++- translations/pt.json | 3 ++- translations/ru.json | 3 ++- translations/zh.json | 3 ++- webinterface.py | 4 ++-- 16 files changed, 32 insertions(+), 17 deletions(-) diff --git a/translations/ar.json b/translations/ar.json index f25b09ae3..1f3ffb7d7 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -196,5 +196,6 @@ "replying to themselves": "الرد على أنفسهم", "announces": "يعلن", "Previous month": "الشهر الماضى", - "Next month": "الشهر القادم" + "Next month": "الشهر القادم", + "Get the source code": "الحصول على شفرة المصدر" } diff --git a/translations/ca.json b/translations/ca.json index 156729e45..b4cf704aa 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -196,5 +196,6 @@ "replying to themselves": "responent-se", "announces": "anuncia", "Previous month": "Mes anterior", - "Next month": "El mes que ve" + "Next month": "El mes que ve", + "Get the source code": "Obteniu el codi font" } diff --git a/translations/cy.json b/translations/cy.json index 1660f9485..3e928310a 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -196,5 +196,6 @@ "replying to themselves": "ateb iddynt eu hunain", "announces": "yn cyhoeddi", "Previous month": "Y mis blaenorol", - "Next month": "Mis nesaf" + "Next month": "Mis nesaf", + "Get the source code": "Sicrhewch y cod ffynhonnell" } diff --git a/translations/de.json b/translations/de.json index 08411b0a2..2b9946b43 100644 --- a/translations/de.json +++ b/translations/de.json @@ -196,5 +196,6 @@ "replying to themselves": "sich selbst antworten", "announces": "kündigt an", "Previous month": "Vorheriger Monat", - "Next month": "Nächsten Monat" + "Next month": "Nächsten Monat", + "Get the source code": "Holen Sie sich den Quellcode" } diff --git a/translations/en.json b/translations/en.json index 7d91ac033..e0bbb2212 100644 --- a/translations/en.json +++ b/translations/en.json @@ -196,5 +196,6 @@ "replying to themselves": "replying to themselves", "announces": "announces", "Previous month": "Previous month", - "Next month": "Next month" + "Next month": "Next month", + "Get the source code": "Get the source code" } diff --git a/translations/es.json b/translations/es.json index b32be4590..10e85ca7a 100644 --- a/translations/es.json +++ b/translations/es.json @@ -196,5 +196,6 @@ "replying to themselves": "respondiéndose a sí mismos", "announces": "anuncia", "Previous month": "Mes anterior", - "Next month": "Próximo mes" + "Next month": "Próximo mes", + "Get the source code": "Obtén el código fuente" } diff --git a/translations/fr.json b/translations/fr.json index de51dd74a..894604006 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -196,5 +196,6 @@ "replying to themselves": "se répondre à eux-mêmes", "announces": "annonce", "Previous month": "Le mois précédent", - "Next month": "Le mois prochain" + "Next month": "Le mois prochain", + "Get the source code": "Obtenir le code source" } diff --git a/translations/ga.json b/translations/ga.json index b5325f005..ac0222efc 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -196,5 +196,6 @@ "replying to themselves": "ag freagairt dóibh féin", "announces": "fógraíonn", "Previous month": "An mhí roimhe seo", - "Next month": "An mhí seo chugainn" + "Next month": "An mhí seo chugainn", + "Get the source code": "Faigh an cód foinse" } diff --git a/translations/hi.json b/translations/hi.json index 5670e74ee..65dff3c56 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -196,5 +196,6 @@ "replying to themselves": "खुद को जवाब दे", "announces": "की घोषणा", "Previous month": "पिछ्ला महिना", - "Next month": "अगले महीने" + "Next month": "अगले महीने", + "Get the source code": "स्रोत कोड प्राप्त करें" } diff --git a/translations/it.json b/translations/it.json index 502a16184..9daf88209 100644 --- a/translations/it.json +++ b/translations/it.json @@ -196,5 +196,6 @@ "replying to themselves": "rispondendo a se stessi", "announces": "annuncia", "Previous month": "Il mese scorso", - "Next month": "Il prossimo mese" + "Next month": "Il prossimo mese", + "Get the source code": "Ottieni il codice sorgente" } diff --git a/translations/ja.json b/translations/ja.json index 33c2868cb..229e05633 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -196,5 +196,6 @@ "replying to themselves": "自分に返信する", "announces": "発表する", "Previous month": "前月", - "Next month": "来月" + "Next month": "来月", + "Get the source code": "ソースコードを入手する" } diff --git a/translations/oc.json b/translations/oc.json index 3e349d5cb..f77e0a9d8 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -192,5 +192,6 @@ "replying to themselves": "replying to themselves", "announces": "announces", "Previous month": "Previous month", - "Next month": "Next month" + "Next month": "Next month", + "Get the source code": "Get the source code" } diff --git a/translations/pt.json b/translations/pt.json index 547003dd0..c834a222a 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -196,5 +196,6 @@ "replying to themselves": "respondendo a si mesmos", "announces": "anuncia", "Previous month": "Mês anterior", - "Next month": "Próximo mês" + "Next month": "Próximo mês", + "Get the source code": "Obter o código fonte" } diff --git a/translations/ru.json b/translations/ru.json index 9b00ea7a9..2e3ff8bda 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -196,5 +196,6 @@ "replying to themselves": "отвечая на себя", "announces": "анонсов", "Previous month": "Предыдущий месяц", - "Next month": "В следующем месяце" + "Next month": "В следующем месяце", + "Get the source code": "Получить исходный код" } diff --git a/translations/zh.json b/translations/zh.json index 84b2585e1..fdbc2d32c 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -196,5 +196,6 @@ "replying to themselves": "回覆自己", "announces": "宣布", "Previous month": "前一个月", - "Next month": "下个月" + "Next month": "下个月", + "Get the source code": "获取源代码" } diff --git a/webinterface.py b/webinterface.py index 5deec8c6b..40b83721a 100644 --- a/webinterface.py +++ b/webinterface.py @@ -805,7 +805,7 @@ def htmlLogin(translate: {},baseDir: str,autocomplete=True) -> str: loginForm+=registerButtonStr+loginButtonStr loginForm+=' ' loginForm+='' - loginForm+='' + loginForm+=''+translate['Get the source code']+'' loginForm+=htmlFooter() return loginForm @@ -1515,7 +1515,7 @@ def htmlProfile(recentPostsCache: {},maxRecentPosts: int, \ with open(cssFilename, 'r') as cssFile: profileStyle = cssFile.read().replace('image.png',profileJson['image']['url']) - licenseStr='' + licenseStr=''+translate['Get the source code']+'' if selected=='posts': profileStr+= \