Changeset 3af8fa3 in Klonkt for src/views/partials/topnav.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/topnav.ejs

    r3bb8719 r3af8fa3  
    6969
    7070      <% if (_hasSearch) { %>
    71         <button type="button" class="nav-btn" id="search-toggle" aria-label="Zoeken" title="Zoeken">
     71        <button type="button" class="nav-btn" id="search-toggle" aria-label="<%= t('nav.search') %>" title="<%= t('nav.search') %>">
    7272          <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>
    7373        </button>
Note: See TracChangeset for help on using the changeset viewer.