123456789101112131415161718192021222324252627282930313233343536373839 |
- define(['i18n!./CamobileviewsResources', 'polyglot'], function (localeResources, Polyglot) {
- 'use strict';
-
- var poly = new Polyglot({
- phrases: localeResources
- });
- var StringResources = function () {
- return undefined;
- };
-
- StringResources.prototype.get = function (key, interpolationOptions) {
- return poly.t(key, interpolationOptions);
- };
- return new StringResources();
- });
|