fix: prevent Google Translate from breaking Material Icons and fix lang attribute

This commit is contained in:
2026-03-31 18:29:55 -05:00
parent a9b906099e
commit a60b079d94
43 changed files with 459 additions and 320 deletions

View File

@ -5,7 +5,7 @@
<h1>Gestión de Taxis</h1>
<div class="header-actions">
<button class="btn-primary" @click="openRegisterModal">
<span class="material-icons">add</span>
<span class="material-icons notranslate" translate="no">add</span>
Nuevo Taxi
</button>
</div>
@ -20,7 +20,7 @@
<div class="card-header">
<div class="avatar">
<AppImage v-if="taxi.image_url" :src="taxi.image_url" type="taxi" alt="Taxi" />
<span v-else class="material-icons">local_taxi</span>
<span v-else class="material-icons notranslate" translate="no">local_taxi</span>
</div>
<div class="info">
<h3>{{ taxi.owner_name }}</h3>
@ -49,17 +49,17 @@
</div>
<div class="card-actions">
<button class="btn-icon" @click.stop="editTaxi(taxi)" title="Editar">
<span class="material-icons">edit</span>
<span class="material-icons notranslate" translate="no">edit</span>
</button>
<button class="btn-icon delete" @click.stop="deleteTaxi(taxi)" title="Eliminar">
<span class="material-icons">delete</span>
<span class="material-icons notranslate" translate="no">delete</span>
</button>
</div>
</div>
</div>
</div>
<div v-else class="empty-state">
<span class="material-icons">local_taxi</span>
<span class="material-icons notranslate" translate="no">local_taxi</span>
<p>No hay taxis en el directorio</p>
</div>
</div>