Changeset 3af8fa3 in Klonkt for src/views/partials/bottom-tab.ejs


Ignore:
Timestamp:
06/23/2026 01:58:13 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
24cdcc6
Parents:
3bb8719
Message:

i18n: search button aria-label/title via t('nav.search') instead of hardcoded "Zoeken"

Topnav + bottom-tab search button always showed NL ("Zoeken") as aria-label/tooltip,
even on an EN/DE site. Now translated.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/partials/bottom-tab.ejs

    r3bb8719 r3af8fa3  
    5757  <!-- Zoek -->
    5858  <button type="button" class="bottom-tab-item<%= _active === 'search' ? ' is-active' : '' %>"
    59           id="bottom-tab-search-toggle" aria-label="Zoeken">
     59          id="bottom-tab-search-toggle" aria-label="<%= t('nav.search') %>">
    6060    <svg class="bottom-tab-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
    6161      <circle cx="11" cy="11" r="7"/>
Note: See TracChangeset for help on using the changeset viewer.