L20n/Features/Expression errors

From MozillaWiki
< L20n‎ | Features
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


goals

Specify the error pattern for L20n expressions.

plan

  • index and expander must return a string or a number
  • if resolving a hash or an array via index or member/attribute expression fails, the expression returns false
  • if an entity requested is not available or does not resolve, return false
  • if an entity does not have a requested value key or an attribute, return false
  • if a call from a developer returns false, return null

status

  • gandalf - accepted
  • stas - ?
  • pike - ?