refactor(maps): share localized OpenStreetMap component

This commit is contained in:
DeCentN2Madness committed 2026-11-01 17:48:38 -07:00
1 parent b5e606a839
commit 85def8466c
6 files changed
+67 -110

No files matched your search

+4 -4
View File
@@ -1089,10 +1089,10 @@ test('Phase 9 off-mode form surfaces localize Spanish without enabling submissio
assert.match(form.text(), route.startsWith('/es/') ? /El envío en línea aún no está habilitado/ : /Online submission is not yet connected/);
}
const $ = load(artifacts.get('staging').html.get('/es/contact'));
assert.match($('.contact-map-section').attr('aria-label'), /^Mapa/);
assert.equal($('#aia-contact-map').attr('data-zoom-in'), 'Acercar');
assert.equal($('#aia-contact-map').attr('data-zoom-out'), 'Alejar');
assert.match($('#aia-contact-map').attr('data-tile-alt'), /^Mapa de OpenStreetMap/);
assert.match($('.openstreetmap-section').attr('aria-label'), /^Mapa/);
assert.equal($('#aia-openstreetmap').attr('data-zoom-in'), 'Acercar');
assert.equal($('#aia-openstreetmap').attr('data-zoom-out'), 'Alejar');
assert.match($('#aia-openstreetmap').attr('data-tile-alt'), /^Mapa de OpenStreetMap/);
});
test('Phase 7 author labels and Arabic credential isolation preserve archive SEO', () => {