refactor: replace hardcoded aria-labels with i18n keys, add common.close/remove/home

This commit is contained in:
2026-02-05 15:21:28 +01:00
parent 715ab3ea13
commit 43add27732
9 changed files with 20 additions and 11 deletions

View File

@@ -107,7 +107,7 @@ class AppHeader extends HTMLElement {
render() {
this.innerHTML = /* html */`
<div class="header-inner container">
<a href="#/" class="logo" aria-label="dgray.io Home">
<a href="#/" class="logo" aria-label="dgray.io ${t('common.home')}">
<img src="assets/logo-light.svg" alt="dgray.io" class="logo-img logo-light" width="100" height="28">
<img src="assets/logo-dark.svg" alt="dgray.io" class="logo-img logo-dark" width="100" height="28">
</a>