html: in-dev for translations

This commit is contained in:
Cyrille L 2022-11-23 18:31:46 +01:00
parent a3c2faf564
commit b3781b17d0
1 changed files with 7 additions and 4 deletions

View File

@ -26,7 +26,8 @@ trans = [
[ 'Envoyer un courriel à', 'Send a mail to' ], # 3 [ 'Envoyer un courriel à', 'Send a mail to' ], # 3
[ 'Détails de la licence', 'License\'s details'], # 4 [ 'Détails de la licence', 'License\'s details'], # 4
[ 'Courriel', 'Mail' ], # 5 [ 'Courriel', 'Mail' ], # 5
[ 'Site web généré par', 'Website generated by'] [ 'Site web généré par', 'Website generated by'], # 6
[ 'Syndication de', 'Syndication of' ] # 7
] ]
#=======================================# #=======================================#
@ -161,7 +162,7 @@ def html_main_page(wip_html):
' <div id="footer-about">\n' + \ ' <div id="footer-about">\n' + \
' <ul class="site-list">\n' + \ ' <ul class="site-list">\n' + \
' <li class="site-list">URL:\n' + \ ' <li class="site-list">URL:\n' + \
' <a id="site_url"\n' + \ ' <a id="site-url"\n' + \
' href="/">\n' + \ ' href="/">\n' + \
' title="%s">%s</a>\n'%( ' title="%s">%s</a>\n'%(
domain.domain_title, domain.domain_url domain.domain_title, domain.domain_url
@ -182,7 +183,9 @@ def html_main_page(wip_html):
' </li>\n' + \ ' </li>\n' + \
' <li class="site-list"><abbr title="Really Simple Syndication">RSS</abbr>: \n' + \ ' <li class="site-list"><abbr title="Really Simple Syndication">RSS</abbr>: \n' + \
' <a id="site-rss" href="/rss.xml"\n' +\ ' <a id="site-rss" href="/rss.xml"\n' +\
' title="Syndication %s">/rss.xml</a>\n'%domain.domain_title + \ ' title="%s %s">/rss.xml</a>\n'%(
trans[7][fl], domain.domain_title
) + \
' </li>\n' + \ ' </li>\n' + \
' <li class="site-list">%s: \n'%trans[1][fl] + \ ' <li class="site-list">%s: \n'%trans[1][fl] + \
' <a id="tytogen" href="%s"\n'%tytogen +\ ' <a id="tytogen" href="%s"\n'%tytogen +\