diff --git a/src/var/lib/tyto/program/html.py b/src/var/lib/tyto/program/html.py index 40e98d4..fe05a27 100644 --- a/src/var/lib/tyto/program/html.py +++ b/src/var/lib/tyto/program/html.py @@ -32,8 +32,11 @@ trans = [ [ 'Site web généré par %s'%Tyto, 'Website generated by %s'%Tyto ], # 6 [ 'Syndication de', 'Syndication of' ], # 7 [ 'Site officiel de %s'%Tyto, 'Official website of %s'%Tyto ], # 8 - [ 'Écrit par', 'Written by' ], # 9 - [ 'le ', 'on '] # 10 + [ 'Écrit par', 'Written by' ], # 9 + [ 'le ', 'on '], # 10 + [ 'Description de', 'Description of '], # 11 + [ 'sur', 'on'], # 12 + [ 'est l\'auteur de l\'article :', 'is the author of post:'] # 13 ] #=======================================# @@ -151,7 +154,15 @@ def html_main_page(wip_html): domain.domain_title ) + \ ' \n' + \ - '

%s

\n'%domain.domain_about + \ + '

%s\n'%( + trans[11][fl], + domain.domain_title, + trans[12][fl], + domain.domain_url, + domain.domain_about + ) + \ + '

\n' + \ ' \n' + \ '\n' @@ -159,13 +170,15 @@ def html_main_page(wip_html): # Article (in section) #-------------------------------------- articles = '
\n' + \ - '
\n'%( + '
\n'%( post_ID, domain.domain_css - ) + \ + ) + \ '
\n' + \ '

\n' + \ - ' %s %s\n'%( - post_author, trans[9][fl], post_author + ' %s %s\n'%( + post_author, trans[13][fl], post_title, + trans[9][fl], post_author ) + \ ' , %s\n'%trans[10][fl] + \ ' %s\n'%post_date + \