[ Index ]
 

Code source de Kupu-1.3.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/common/ -> kupunoi18n.js (source)

   1  window._ = function(msgid, interpolations) {
   2      /* dummy _ function for systems that don't want to use i18n */
   3      if (interpolations) {
   4          for (var id in interpolations) {
   5              var value = interpolations[id];
   6              var reg = new RegExp('\\\$\\\{' + id + '\\\}', 'g');
   7              msgid = msgid.replace(reg, ""+value);
   8          };
   9      };
  10      return msgid;
  11  };


Généré le : Sun Feb 25 15:30:41 2007 par Balluche grâce à PHPXref 0.7