diff --git a/modules/ui/attribution.js b/modules/ui/attribution.js index 7f445e40f..73f849ff7 100644 --- a/modules/ui/attribution.js +++ b/modules/ui/attribution.js @@ -1,5 +1,6 @@ import * as d3 from 'd3'; import _ from 'lodash'; +import { t } from '../util/locale'; export function uiAttribution(context) { @@ -32,7 +33,9 @@ export function uiAttribution(context) { return; } - var source = d.terms_text || d.id || d.name(); + var source = t('imagery.' + d.id + '.attribution.text', + { default: d.terms_text || d.id || d.name() } + ); if (d.logo) { source = '';