From a3c2faf5644e3f9db0a2228120fedfdb5adf9832 Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Wed, 23 Nov 2022 18:25:31 +0100 Subject: [PATCH] html: in-dev for translations --- src/var/lib/tyto/program/html.py | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/src/var/lib/tyto/program/html.py b/src/var/lib/tyto/program/html.py index d698271..09f613f 100644 --- a/src/var/lib/tyto/program/html.py +++ b/src/var/lib/tyto/program/html.py @@ -20,8 +20,13 @@ import re import check, log, domain trans = [ - [ 'Licence', 'License' ], # 0,1 - [ 'Générateur', 'Generator' ], # 2,3 + [ 'Licence', 'License' ], # 0 + [ 'Générateur', 'Generator' ], # 1 + [ 'À propos de', 'About' ], # 2 + [ 'Envoyer un courriel à ', 'Send a mail to' ], # 3 + [ 'Détails de la licence', 'License\'s details'], # 4 + [ 'Courriel', 'Mail' ], # 5 + [ 'Site web généré par', 'Website generated by'] ] #=======================================# @@ -148,7 +153,8 @@ def html_main_page(wip_html): #-------------------- tytogen = 'https://git.a-lec.org/echolib/tyto-litterateur' footers = '