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/it.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'i18n/it.yaml') diff --git a/i18n/it.yaml b/i18n/it.yaml index 7c7f85b..dd925ad 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -5,8 +5,8 @@ home: "Home" articles: "Articoli" about: "Chi Sono" here: "Contatti" -gitrepo: "Repository Git" -repo: "Repo" +gitrepo: "Progetti" +repo: "Pacchetti" legal: "Privacy" language: "Lingua" toggleTheme: "Tema" @@ -186,6 +186,17 @@ repo_example_2_desc: # repo_example_3_desc: # other: "Script SlackBuild per Pacchetto Esempio 3. Pacchetto di utilità per amministrazione di sistema e configurazione." +# Sezione Slackware +slackware: "Slackware" +slackwareTitle: "Slackware" +slackwareSubtitle: "Progetti che costruisco e mantengo su Slackware." +projectStatus: "Stato" +viewRepo: "Vedi repository" +status-active: "attivo" +status-maintained: "mantenuto" +status-wip: "in corso" +status-archived: "archiviato" + # Shortcode CTA Block actions_cta: "Apri il 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/it.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