From 5ed2d39740a3a581f24995ccea0a9c4afe73fd83 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 26 Jun 2026 17:08:47 +0200 Subject: feat: rename menu labels (Projects/Packages) and add slackware i18n keys --- i18n/en.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'i18n/en.yaml') diff --git a/i18n/en.yaml b/i18n/en.yaml index 3714ea3..7e9e935 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -5,8 +5,8 @@ home: "Home" articles: "Articles" about: "About" here: "Contact" -gitrepo: "Git Repository" -repo: "Repo" +gitrepo: "Projects" +repo: "Packages" legal: "Privacy" language: "Language" toggleTheme: "Theme" @@ -184,6 +184,17 @@ repo_example_2_desc: # repo_example_3_desc: # other: "SlackBuild scripts for Example Package 3. Utility package for system administration and configuration." +# Slackware Section +slackware: "Slackware" +slackwareTitle: "Slackware" +slackwareSubtitle: "Projects I build and maintain on Slackware." +projectStatus: "Status" +viewRepo: "View repository" +status-active: "active" +status-maintained: "maintained" +status-wip: "wip" +status-archived: "archived" + # CTA Block shortcode actions_cta: "Open link" -- cgit v1.2.3 From 2a9dd406eca68652cd57eb040c0adf69da67a68e Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 26 Jun 2026 17:19:19 +0200 Subject: fix: external Projects menu item shows localized label not raw name External menu items render .Name literally (bypass i18n), so set the display string per-language in hugo.toml. Drop now-orphan gitrepo i18n key. Co-Authored-By: Claude Opus 4.8 --- hugo.toml | 4 ++-- i18n/en.yaml | 1 - i18n/it.yaml | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) (limited to 'i18n/en.yaml') diff --git a/hugo.toml b/hugo.toml index fc3a89e..ad04ecb 100644 --- a/hugo.toml +++ b/hugo.toml @@ -77,7 +77,7 @@ enableEmoji = true [[languages.it.menus.main]] identifier = "gitrepo" url = "https://git.danix.xyz/" - name = "gitrepo" + name = "Progetti" weight = 4 [languages.it.menus.main.params] external = true @@ -131,7 +131,7 @@ enableEmoji = true [[languages.en.menus.main]] identifier = "gitrepo" url = "https://git.danix.xyz/" - name = "gitrepo" + name = "Projects" weight = 4 [languages.en.menus.main.params] external = true diff --git a/i18n/en.yaml b/i18n/en.yaml index 7e9e935..658c962 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -5,7 +5,6 @@ home: "Home" articles: "Articles" about: "About" here: "Contact" -gitrepo: "Projects" repo: "Packages" legal: "Privacy" language: "Language" diff --git a/i18n/it.yaml b/i18n/it.yaml index dd925ad..402203a 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -5,7 +5,6 @@ home: "Home" articles: "Articoli" about: "Chi Sono" here: "Contatti" -gitrepo: "Progetti" repo: "Pacchetti" legal: "Privacy" language: "Lingua" -- cgit v1.2.3