123456789101112131415161718192021222324252627282930313233343536373839 |
- 'use strict';
- define(['i18n!./DataSourcesResources', '../../lib/@waca/core-client/js/core-client/utils/Lexicon'], function (localeResources, Lexicon) {
- 'use strict';
- var lexicon = new Lexicon({
- data: localeResources,
- verbose: true
- });
- var StringResources = function StringResources() {
- return undefined;
- };
-
- StringResources.prototype.get = function (key, interpolationOptions) {
- return lexicon.translate(key, interpolationOptions);
- };
- return new StringResources();
- });
|