Sha256: 7a6004a0230cb115a4741f435775f08982913e5e97ce2e395b59ad0b66debc78

Contents?: true

Size: 229 Bytes

Versions: 2

Compression:

Stored size: 229 Bytes

Contents

import Resolver from './resolver';

export default class extends Resolver {
  get(props, seed) {
    return {
      t: function(key, options) {
        return I18n.t(key, {locale: seed.locale, ...options});
      }
    };
  }
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pageflow-react-0.1.1 js/src/resolvers/i18n_resolver.js
pageflow-react-0.1.0 js/src/resolvers/i18n_resolver.js