pacollins / hugo-future-imperfect-slim

Multilingual Blogging Theme for Hugo | Check the Wiki for Documentation
https://themes.gohugo.io/hugo-future-imperfect-slim/
Other
303 stars 194 forks source link

Fixed some mistakes in exampleSite top menu #240

Closed VincentTam closed 3 years ago

VincentTam commented 3 years ago

Description

  1. added back French UI string for "Home". The code blocks below shows that that was missing in the past.

    https://github.com/pacollins/hugo-future-imperfect-slim/blob/35c1b58bbfa91b9625dacf53af3542bf306b458e/i18n/fr.toml#L16-L17

    https://github.com/pacollins/hugo-future-imperfect-slim/blob/35c1b58bbfa91b9625dacf53af3542bf306b458e/exampleSite/config.toml#L151-L154

  2. added back a proper localized language name for both Chinese (Simplified) and Chinese (Traditional) so that it makes sense.

    https://github.com/pacollins/hugo-future-imperfect-slim/blob/35c1b58bbfa91b9625dacf53af3542bf306b458e/exampleSite/config.toml#L273-L281

Motivation and Context

To make the displayed text in the top menu bar and the language bar more sensible.

Screenshots (if appropriate):

Screenshot from 2021-03-09 15-16-57

The French version of my fork's exampleSite displays the Chinese lanuage names and the French translation of "About" ("A Propos") properly after I merged the branch for this PR to my source branch addGHCI for hosting exampleSite with GitHub Actions.

Checklist: