kai-jacobsen/kontentblocks

View on GitHub
js/src/common/I18n.js

Summary

Maintainability
A
0 mins
Test Coverage
var Utilities = require('common/Utilities');
module.exports = {
  getString: function (path) {
    if (!path || !KB || !KB.i18n) {
      return null;
    }
    return Utilities.getIndex(KB.i18n, path);
  }
};