##// END OF EJS Templates
templater: fix get English
timeless@mozdev.org -
r26197:fb6c08a9 default
parent child Browse files
Show More
@@ -427,7 +427,7 b' def indent(context, mapping, args):'
427 def get(context, mapping, args):
427 def get(context, mapping, args):
428 """:get(dict, key): Get an attribute/key from an object. Some keywords
428 """:get(dict, key): Get an attribute/key from an object. Some keywords
429 are complex types. This function allows you to obtain the value of an
429 are complex types. This function allows you to obtain the value of an
430 attribute on these type."""
430 attribute on these types."""
431 if len(args) != 2:
431 if len(args) != 2:
432 # i18n: "get" is a keyword
432 # i18n: "get" is a keyword
433 raise error.ParseError(_("get() expects two arguments"))
433 raise error.ParseError(_("get() expects two arguments"))
General Comments 0
You need to be logged in to leave comments. Login now