Browse Source

- Added encoding tag (utf8)

- Added some translations

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@375 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.x
Cyril Jaquier 18 years ago
parent
commit
d61690fd9e
  1. 13
      server/datestrptime.py

13
server/datestrptime.py

@ -1,3 +1,4 @@
# -*- coding: utf8 -*-
# This file is part of Fail2Ban.
#
# Fail2Ban is free software; you can redistribute it and/or modify
@ -36,8 +37,18 @@ from datetemplate import DateTemplate
class DateStrptime(DateTemplate):
TABLE = dict()
TABLE["Jan"] = []
TABLE["Feb"] = ["Fév"]
TABLE["Mar"] = ["Mär"]
TABLE["Apr"] = ["Avr"]
TABLE["May"] = ["Mai"]
TABLE["Jun"] = []
TABLE["Jul"] = []
TABLE["Aug"] = ["Aou"]
TABLE["Sep"] = []
TABLE["Oct"] = ["Okt"]
TABLE["Dec"] = ["Dez"]
TABLE["Nov"] = []
TABLE["Dec"] = ["Déc", "Dez"]
def __init__(self):
DateTemplate.__init__(self)

Loading…
Cancel
Save