Show More
@@ -48,7 +48,7 b' def add_renderer_globals(event):' | |||
|
48 | 48 | |
|
49 | 49 | # Add Pyramid translation as '_' to context |
|
50 | 50 | event['_'] = request.translate |
|
51 |
event[' |
|
|
51 | event['_ungettext'] = request.plularize | |
|
52 | 52 | |
|
53 | 53 | |
|
54 | 54 | def add_localizer(event): |
@@ -60,6 +60,7 b' def add_localizer(event):' | |||
|
60 | 60 | |
|
61 | 61 | request.localizer = localizer |
|
62 | 62 | request.translate = auto_translate |
|
63 | request.plularize = localizer.pluralize | |
|
63 | 64 | |
|
64 | 65 | |
|
65 | 66 | def scan_repositories_if_enabled(event): |
General Comments 0
You need to be logged in to leave comments.
Login now