Skip to content

Commit

Permalink
Fix for missing "Unknown" strings
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Sep 3, 2024
1 parent 85a1a60 commit 0a83589
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/core/lib/ImagerySource.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ export class ImagerySourceEsri extends ImagerySource {
getMetadata(loc, tileCoord, callback) {
const tileID = tileCoord.slice(0, 3).join('/');
const zoom = Math.min(tileCoord[2], this.zoomExtent[1]);
const unknown = this.context.systems.l10n.t('info_panels.background.unknown');
const unknown = this.context.systems.l10n.t('inspector.unknown');

if (this._inflight[tileID]) return;

Expand Down Expand Up @@ -743,7 +743,7 @@ export class ImagerySourceEsriWayback extends ImagerySourceEsri {

Wayback.getMetadata(point, zoom, current.releaseNum)
.then(data => {
const unknown = this.context.systems.l10n.t('info_panels.background.unknown');
const unknown = this.context.systems.l10n.t('inspector.unknown');
const captureDate = new Date(data.date).toISOString().split('T')[0];
const vintage = {
start: captureDate,
Expand Down

0 comments on commit 0a83589

Please sign in to comment.