Alt text for agpl link to source code

merge-requests/6/head
Bob Mottram 2019-11-27 21:19:35 +00:00
parent 1a32bb505a
commit fa9d26dffa
16 changed files with 32 additions and 17 deletions

View File

@ -196,5 +196,6 @@
"replying to themselves": "الرد على أنفسهم",
"announces": "يعلن",
"Previous month": "الشهر الماضى",
"Next month": "الشهر القادم"
"Next month": "الشهر القادم",
"Get the source code": "الحصول على شفرة المصدر"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -196,5 +196,6 @@
"replying to themselves": "खुद को जवाब दे",
"announces": "की घोषणा",
"Previous month": "पिछ्ला महिना",
"Next month": "अगले महीने"
"Next month": "अगले महीने",
"Get the source code": "स्रोत कोड प्राप्त करें"
}

View File

@ -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"
}

View File

@ -196,5 +196,6 @@
"replying to themselves": "自分に返信する",
"announces": "発表する",
"Previous month": "前月",
"Next month": "来月"
"Next month": "来月",
"Get the source code": "ソースコードを入手する"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -196,5 +196,6 @@
"replying to themselves": "отвечая на себя",
"announces": "анонсов",
"Previous month": "Предыдущий месяц",
"Next month": "В следующем месяце"
"Next month": "В следующем месяце",
"Get the source code": "Получить исходный код"
}

View File

@ -196,5 +196,6 @@
"replying to themselves": "回覆自己",
"announces": "宣布",
"Previous month": "前一个月",
"Next month": "下个月"
"Next month": "下个月",
"Get the source code": "获取源代码"
}

View File

@ -805,7 +805,7 @@ def htmlLogin(translate: {},baseDir: str,autocomplete=True) -> str:
loginForm+=registerButtonStr+loginButtonStr
loginForm+=' </div>'
loginForm+='</form>'
loginForm+='<a href="https://gitlab.com/bashrc2/epicyon"><img loading="lazy" class="license" src="/icons/agpl.png" /></a>'
loginForm+='<a href="https://gitlab.com/bashrc2/epicyon"><img loading="lazy" class="license" title="'+translate['Get the source code']+'" alt="'+translate['Get the source code']+'" src="/icons/agpl.png" /></a>'
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='<a href="https://gitlab.com/bashrc2/epicyon"><img loading="lazy" class="license" src="/icons/agpl.png" /></a>'
licenseStr='<a href="https://gitlab.com/bashrc2/epicyon"><img loading="lazy" class="license" alt="'+translate['Get the source code']+'" title="'+translate['Get the source code']+'" src="/icons/agpl.png" /></a>'
if selected=='posts':
profileStr+= \