diff options
| author | Danilo M. <danix@danix.xyz> | 2026-05-14 20:53:36 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-05-14 20:53:36 +0200 |
| commit | 0c60fe67de91e4c798c02c6305819d8d25fa8f4e (patch) | |
| tree | 6fd29814769eaaf1b82c576923fc9d6aaec1ac6e /i18n | |
| parent | 3661990df76a543a8cd1ce5cfedd33a0166838ff (diff) | |
| download | danixxyz-theme-0c60fe67de91e4c798c02c6305819d8d25fa8f4e.tar.gz danixxyz-theme-0c60fe67de91e4c798c02c6305819d8d25fa8f4e.zip | |
fix: resolve post-review issues in pkg-list shortcode
- Replace data-feather icon with inline SVG (feather.replace() runs
before Alpine renders x-for rows, so dynamic icons never rendered)
- Add defer to pkg-list.js and pkg-changelog.js script tags
- Add missing i18n keys: pkg_list_no_results, pkg_list_col_package,
pkg_list_col_version, pkg_list_col_link (EN + IT)
- Use i18n.noResults, i18n.colPkg/Ver/Link in template
- Fix aria-label to use i18n.view instead of hardcoded "View"
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'i18n')
| -rw-r--r-- | i18n/en.yaml | 4 | ||||
| -rw-r--r-- | i18n/it.yaml | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/i18n/en.yaml b/i18n/en.yaml index 9bf3574..1fd5894 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -195,5 +195,9 @@ pkg_list_loading: "Loading packages..." pkg_list_error: "Could not load packages. Visit the repository directly." pkg_list_filter: "Filter packages..." pkg_list_link_label: "View" +pkg_list_no_results: "No packages match your filter." +pkg_list_col_package: "Package" +pkg_list_col_version: "Version" +pkg_list_col_link: "Link" pkg_changelog_loading: "Loading changelog..." pkg_changelog_error: "Could not load changelog. Visit the repository directly." diff --git a/i18n/it.yaml b/i18n/it.yaml index ba04bce..1bc7ef7 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -197,5 +197,9 @@ pkg_list_loading: "Caricamento pacchetti..." pkg_list_error: "Impossibile caricare i pacchetti. Visita il repository direttamente." pkg_list_filter: "Filtra pacchetti..." pkg_list_link_label: "Visualizza" +pkg_list_no_results: "Nessun pacchetto corrisponde al filtro." +pkg_list_col_package: "Pacchetto" +pkg_list_col_version: "Versione" +pkg_list_col_link: "Link" pkg_changelog_loading: "Caricamento changelog..." pkg_changelog_error: "Impossibile caricare il changelog. Visita il repository direttamente." |
