equal
deleted
inserted
replaced
85 self.lang = lang |
85 self.lang = lang |
86 gettext, pgettext = self.vreg.config.translations[lang] |
86 gettext, pgettext = self.vreg.config.translations[lang] |
87 # use _cw.__ to translate a message without registering it to the catalog |
87 # use _cw.__ to translate a message without registering it to the catalog |
88 self._ = self.__ = gettext |
88 self._ = self.__ = gettext |
89 self.pgettext = pgettext |
89 self.pgettext = pgettext |
|
90 |
|
91 def get_option_value(self, option, foreid=None): |
|
92 raise NotImplementedError |
90 |
93 |
91 def property_value(self, key): |
94 def property_value(self, key): |
92 """return value of the property with the given key, giving priority to |
95 """return value of the property with the given key, giving priority to |
93 user specific value if any, else using site value |
96 user specific value if any, else using site value |
94 """ |
97 """ |