Encodage en UTF-8 : Il reste encore beaucoup de boulot.
This commit is contained in:
parent
fc9ac609fc
commit
5fb0ee8bd5
16 changed files with 138 additions and 138 deletions
|
@ -1,4 +1,4 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
EventCalendar.py Version 0.99a July 22, 2009
|
||||
|
||||
|
@ -462,7 +462,7 @@ def setglobalvalues(macro):
|
|||
Globs.pagepath = formatter.page.getPagePath()
|
||||
|
||||
# european / US differences
|
||||
months = (u'Janvier',u'Février',u'Mars',u'Avril',u'Mai',u'Juin',u'Juillet',u'Août',u'Septembre',u'Octobre',u'Novembre',u'Décembre')
|
||||
months = (u'Janvier',u'Février',u'Mars',u'Avril',u'Mai',u'Juin',u'Juillet',u'Août',u'Septembre',u'Octobre',u'Novembre',u'Décembre')
|
||||
|
||||
# Set things up for Monday or Sunday as the first day of the week
|
||||
if calendar.firstweekday() == calendar.MONDAY:
|
||||
|
@ -612,7 +612,7 @@ def showmenubar():
|
|||
mnu_curmonthcal = u'<a href="%s?calaction=%s&caldate=%d%02d%02d%s" title="Aujourd\'hui">[Aujourd\'hui]</a>' % (page_url, cal_action, year, month, day, getquerystring(['numcal']))
|
||||
|
||||
# List View
|
||||
mnu_listview = u'<a href="%s?calaction=list%s" title="Liste de tous les évènements">[Liste]</a>' % (page_url, getquerystring(['caldate', 'numcal']))
|
||||
mnu_listview = u'<a href="%s?calaction=list%s" title="Liste de tous les évènements">[Liste]</a>' % (page_url, getquerystring(['caldate', 'numcal']))
|
||||
|
||||
# Monthly View
|
||||
mnu_monthview = u'<a href="%s?calaction=monthly%s" title="Vue du mois">[Mois]</a>' % (page_url, getquerystring(['caldate', 'numcal']) )
|
||||
|
@ -621,7 +621,7 @@ def showmenubar():
|
|||
mnu_simpleview = u'<a href="%s?calaction=simple%s" title="Simple calendrier">[Simple]</a>' % (page_url, getquerystring(['caldate', 'numcal']) )
|
||||
|
||||
# Upcoming Event List
|
||||
mnu_upcomingview = u'<a href="%s?calaction=upcoming%s" title="Évènements à venir">[À venir]</a>' % (page_url, getquerystring(['caldate', 'numcal']) )
|
||||
mnu_upcomingview = u'<a href="%s?calaction=upcoming%s" title="Évènements à venir">[À venir]</a>' % (page_url, getquerystring(['caldate', 'numcal']) )
|
||||
|
||||
# Daily View
|
||||
mnu_dayview = u'<a href="%s?calaction=daily%s" title="Vue du jour">[Jour]</a>' % (page_url, getquerystring(['caldate', 'numcal']) )
|
||||
|
@ -795,9 +795,9 @@ def cal_listhead():
|
|||
html = [
|
||||
u' <tr>',
|
||||
u' <td class="list_head">Titre</td>',
|
||||
u' <td class="list_head">Début</td>',
|
||||
u' <td class="list_head">Début</td>',
|
||||
u' <td class="list_head">Fin</td>',
|
||||
u' <td class="list_head">Fréquence</td>',
|
||||
u' <td class="list_head">Fréquence</td>',
|
||||
u' <td class="list_head">Label</td>',
|
||||
u' <td class="list_head">Description</td>',
|
||||
u' <td class="list_head">Page source</td>',
|
||||
|
@ -914,7 +914,7 @@ def showupcomingeventlist():
|
|||
html_list_table = [
|
||||
u'\r\n<div id="eventlist">',
|
||||
u'<table class="eventlist">',
|
||||
u'<tr><td colspan="7" class="list_entry" style="border-width: 0px;"><b>Évènement à venir: %s ~ %s</b><p><br><p></td></tr>' % (datefrom, dateto),
|
||||
u'<tr><td colspan="7" class="list_entry" style="border-width: 0px;"><b>Évènement à venir: %s ~ %s</b><p><br><p></td></tr>' % (datefrom, dateto),
|
||||
u'%s' % html_list_header,
|
||||
u'%s' % html_event_rows,
|
||||
u'</table>',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue