message: Add namespace to localization keys for Element.getLocateMessage
diff: @@ -94,18 +94,18 @@ export abstract class Element extends Entity implements ElementProps {
  public getDisplayLabel(): string { return this.userLabel ? this.userLabel : this.code.getValue(); }
  /** Get a list of HTML strings that describe this Element for the tooltip. Strings will be listed on separate lines in the tooltip.
  - * Any instances of the pattern `${tag}` will be replaced by the localized value of tag.
  + * Any instances of the pattern `%{tag}` will be replaced by the localized value of tag.
  */
  public getLocateMessage(): string[] {
  const msg: string[] = [];
  const display = this.getDisplayLabel();
  - msg.push(display ? display : "<b>%{Element.Id}:</b> " + this.id.value + ", <b>%{Element.Type}:</b> " + this.className);
  + msg.push(display ? display : "<b>%{iModelJs:Element.Id}:</b> " + this.id.value + ", <b>%{iModelJs:Element.Type}:</b> " + this.className);
  if (this.category)
  - msg.push("<b>%{Element.Category}:</b> " + this.iModel.elements.getElement(this.category).getDisplayLabel());
  + msg.push("<b>%{iModelJs:Element.Category}:</b> " + this.iModel.elements.getElement(this.category).getDisplayLabel());
  - msg.push("<b>%{Element.Model}:</b> " + this.iModel.elements.getElement(this.model).getDisplayLabel());
  + msg.push("<b>%{iModelJs:Element.Model}:</b> " + this.iModel.elements.getElement(this.model).getDisplayLabel());
  return msg;
  }
  