Skip to content

Commit 3520d08

Browse files
Copilotdukebody
andauthored
Translate "Ver en el mapa" and update Google Maps URL in LocationPage (#147)
The map link in `LocationPage.astro` had a hardcoded Spanish string and an outdated Google Maps URL. ## Changes - **i18n**: Added `location.map.link` key across all three locales: - `es`: `"Ver en el mapa"` - `en`: `"View on map"` - `ca`: `"Veure al mapa"` - **LocationPage.astro**: Replaced hardcoded text with `{t['location.map.link']}` and updated the `href` to `https://maps.app.goo.gl/bMt7iLyNT2N2Et786` <!-- START COPILOT CODING AGENT TIPS --> --- 📍 Connect Copilot coding agent with [Jira](https://gh.io/cca-jira-docs), [Azure Boards](https://gh.io/cca-azure-boards-docs) or [Linear](https://gh.io/cca-linear-docs) to delegate work to Copilot in one click without leaving your project management tool. Closes #146 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: dukebody <41953+dukebody@users.noreply.github.com>
1 parent 803404b commit 3520d08

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

src/components/LocationPage.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ const transportIcons = {
126126
<h3 class="text-2xl font-bold mb-4">Google Maps</h3>
127127
<p class="text-white/90 mb-6 text-sm">Gran Via de les Corts Catalanes, 585, 08007 Barcelona</p>
128128
<a
129-
href="https://maps.app.goo.gl/35p6A9Yf3QJ4kG9y8"
129+
href="https://maps.app.goo.gl/bMt7iLyNT2N2Et786"
130130
target="_blank"
131131
rel="noopener noreferrer"
132132
class="inline-block w-full text-center bg-white text-pycon-red font-bold py-3 rounded-lg hover:bg-pycon-gray-25 transition-colors shadow-lg"
133133
>
134-
Ver en el mapa
134+
{t['location.map.link']}
135135
</a>
136136
</div>
137137

src/i18n/location/ca.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export const ca = {
44
'location.hero.subtitle': 'Edifici Històric de la Gran Via',
55
'location.hero.text':
66
"Després d'una recerca exhaustiva de possibles seus per a la PyConES 2026, vam concloure que la Universitat de Barcelona (UB) oferia un dels espais més emblemàtics de la ciutat. Com a universitat més gran i antiga de Catalunya, les seves instal·lacions històriques compleixen totes les necessitats del nostre esdeveniment.",
7+
'location.map.link': 'Veure al mapa',
78
'location.location.title': 'Ubicació',
89
'location.location.text':
910
'Situada al bell mig de Barcelona, al costat de la Plaça Universidat i la Plaça Catalunya.',

src/i18n/location/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export const en = {
44
'location.hero.subtitle': 'Historic Building at Gran Via',
55
'location.hero.text':
66
"After an exhaustive search for possible venues for PyConES 2026, we concluded that the University of Barcelona (UB) offered one of the city's most iconic spaces. As Catalonia's largest and oldest university, its historic facilities meet all our event's needs.",
7+
'location.map.link': 'View on map',
78
'location.location.title': 'Location',
89
'location.location.text':
910
'Located in the heart of Barcelona, right by Plaza Universidad and Plaza Cataluña.',

src/i18n/location/es.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export const es = {
44
'location.hero.subtitle': 'Edificio Histórico de la Gran Vía',
55
'location.hero.text':
66
'Tras una búsqueda exhaustiva de posibles sedes para el evento de PyConES 2026, concluimos que la Universidad de Barcelona (UB) ofrecía uno de los espacios más emblemáticos de la ciudad. Siendo la UB la universidad más grande y antigua de Cataluña, las equipaciones de este edificio cumplen con todas las necesidades de nuestro evento.',
7+
'location.map.link': 'Ver en el mapa',
78
'location.location.title': 'Ubicación',
89
'location.location.text':
910
'Situada en el mismísimo centro de Barcelona, junto a Plaza Universidad y Plaza Cataluña.',

0 commit comments

Comments
 (0)