R-2.18.2
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
## 2.18.1
|
## 2.18.1-2.18.2
|
||||||
- pydal 19.02
|
- pydal 19.02
|
||||||
- made template its own module (Yet Another Template Language)
|
- made template its own module (Yet Another Template Language)
|
||||||
- improved python 3.4-3.7 support
|
- improved python 3.4-3.7 support
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
Version 2.18.1-stable+timestamp.2019.02.23.21.45.30
|
Version 2.18.2-stable+timestamp.2019.02.25.21.46.30
|
||||||
|
|||||||
@@ -102,6 +102,7 @@
|
|||||||
'enter a number between %(min)g and %(max)g': 'enter a number between %(min)g and %(max)g',
|
'enter a number between %(min)g and %(max)g': 'enter a number between %(min)g and %(max)g',
|
||||||
'Enter an integer between %(min)g and %(max)g': 'Enter an integer between %(min)g and %(max)g',
|
'Enter an integer between %(min)g and %(max)g': 'Enter an integer between %(min)g and %(max)g',
|
||||||
'enter an integer between %(min)g and %(max)g': 'inserisci un intero tra %(min)g e %(max)g',
|
'enter an integer between %(min)g and %(max)g': 'inserisci un intero tra %(min)g e %(max)g',
|
||||||
|
'Enter an integer greater than or equal to %(min)g': 'Enter an integer greater than or equal to %(min)g',
|
||||||
'Errors': 'Errori',
|
'Errors': 'Errori',
|
||||||
'Errors in form, please check it out.': 'Errori nel form, ricontrollalo',
|
'Errors in form, please check it out.': 'Errori nel form, ricontrollalo',
|
||||||
'export as csv file': 'esporta come file CSV',
|
'export as csv file': 'esporta come file CSV',
|
||||||
|
|||||||
+3
-3
@@ -114,7 +114,7 @@ class Highlighter(object):
|
|||||||
Callback for HTML specific highlighting.
|
Callback for HTML specific highlighting.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
value = xmlespace(match.group(), quote=False)
|
value = xmlescape(match.group(), quote=False)
|
||||||
self.change_style(token, style)
|
self.change_style(token, style)
|
||||||
self.output.append(value)
|
self.output.append(value)
|
||||||
if token == 'GOTOPYTHON':
|
if token == 'GOTOPYTHON':
|
||||||
@@ -286,13 +286,13 @@ color: #A0A0A0;
|
|||||||
'WEB2PY']:
|
'WEB2PY']:
|
||||||
code = Highlighter(language, link, styles).highlight(code)
|
code = Highlighter(language, link, styles).highlight(code)
|
||||||
else:
|
else:
|
||||||
code = xmlespace(code, quote=False)
|
code = xmlescape(code, quote=False)
|
||||||
lines = code.split('\n')
|
lines = code.split('\n')
|
||||||
|
|
||||||
if counter is None:
|
if counter is None:
|
||||||
linenumbers = [''] * len(lines)
|
linenumbers = [''] * len(lines)
|
||||||
elif isinstance(counter, str):
|
elif isinstance(counter, str):
|
||||||
linenumbers = [xmlespace(counter, quote=False)] * len(lines)
|
linenumbers = [xmlescape(counter, quote=False)] * len(lines)
|
||||||
else:
|
else:
|
||||||
linenumbers = [str(i + counter) + '.' for i in
|
linenumbers = [str(i + counter) + '.' for i in
|
||||||
xrange(len(lines))]
|
xrange(len(lines))]
|
||||||
|
|||||||
Reference in New Issue
Block a user