<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -54,6 +54,7 @@
       var value = this.lookup(key, opts.defaultValue);
       if (typeof value != &quot;string&quot; &amp;&amp; value) value = this.pluralize(value, opts.count);
       if (typeof value == &quot;string&quot;) value = interpolate(value, opts);
+      if (value == null) value = '&lt;span class=&quot;translation_missing&quot;&gt;' + ([locale()].concat(key).join(&quot;, &quot;)) + '&lt;/span&gt;';
       return value;
     }
   };</diff>
      <filename>lib/javascripts/babilu.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9f7a6d125b73f1bdb6a953dcd067a1c66e5ffca3</id>
    </parent>
  </parents>
  <author>
    <name>Mark Van Holstyn</name>
    <email>mvanholstyn@gmail.com</email>
  </author>
  <url>http://github.com/mvanholstyn/babilu/commit/59d2614b56f88b73a061d45379d7ce6457995bdd</url>
  <id>59d2614b56f88b73a061d45379d7ce6457995bdd</id>
  <committed-date>2009-05-27T13:05:01-07:00</committed-date>
  <authored-date>2009-05-27T13:05:01-07:00</authored-date>
  <message>When no value can be found via translate, return the same default that the rails view helper does (&lt;span class=&quot;translation_missing&quot;&gt;all, the, keys&lt;/span&gt;&quot;</message>
  <tree>b2d1449c746f8e3cb3b206ebf3cf7cdf7a750c42</tree>
  <committer>
    <name>Mark Van Holstyn</name>
    <email>mvanholstyn@gmail.com</email>
  </committer>
</commit>
