text: export default (subclass) => class extends subclass {
      constructor() {
          super(...arguments);
          this.language = null;
          this.resources = null;
      }
      static get properties() {
          return {
              language: { type: String },
              resources: { type: Object },
          };
      }
      localize(key) {
          if (this.resources && this.language
              && this.resources[this.language] && this.resources[this.language][key]) {
              return this.resources[this.language][key];
          }
          return '';
      }
  };
  //# sourceMappingURL=localize.js.map