resolveDictionary(dictionary) {
    for (const key of dictionary.keys()) {
      // Since we are not changing what keys are in the map, it is safe to
      // update the map while iterating it.
      dictionary.set(key, this.resolve(key));
    }
  }
Set the value under each key in |dictionary| to the resolved value.
Convenient for apps with some kind of data binding system.

Equivalent to:
   for (const key of dictionary.keys()) {
     dictionary.set(key, localization.resolve(key));
   }

@param {!Map<string, string>} dictionary
@export