Index: cms/converters.py |
diff --git a/cms/converters.py b/cms/converters.py |
index afa4ee4f31ef51cf1d39ffa7453154a5b51a2f9e..3540795075a8df63ee5ca56dd1883fab61d0562e 100644 |
--- a/cms/converters.py |
+++ b/cms/converters.py |
@@ -362,7 +362,10 @@ class TemplateConverter(Converter): |
self._params["localedata"], html_escapes |
)) |
- def get_string(self, name, page): |
+ def get_string(self, name, page=None): |
+ if page is None: |
+ page = self._params["page"] |
+ |
localedata = self._params["source"].read_locale(self._params["locale"], page) |
default = localedata[name] |
return jinja2.Markup(self.localize_string( |