Karma/i18n: Difference between revisions

BryanWB (talk | contribs)
No edit summary
BryanWB (talk | contribs)
No edit summary
Line 6: Line 6:
   Examples  
   Examples  
   $("#someDiv").text(gettext("Hello World"));
   $("#someDiv").text(gettext("Hello World"));
  <nowiki>
   <div>Hello <strong>W</strong>orld</div>
   <div>Hello <strong>W</strong>orld</div>
  </nowiki>


* All strings stored in one file per locale, messages.json
* All strings stored in one file per locale, messages.json