Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Displays a 404 error page when trying to access an inexistent wiki page * Added the possibility to add translations - Got the the wiki's pages metadata out of the markdown files into yaml files - There is now one markdown file per language for each page - Changed the way wiki pages are loaded to account for that - Most texts are now call to the translation store - Translation files can be found in /src/lib/translations * Started writing french translation * Added a notice when the selected locale isn't english * More advancement on the french translation * Almost done with the french translation * Finished the french translation * Added ES2023 as a lib in tsconfig to be able to use 'toSorted()' on arrays * Switched 'toSorted()' with 'sort()' so that the github build action hopefully functions * Changed the behavior of the lang dropdown so that it toggles on click instead of opening when hovered * Improved the usability of the lang dropdown * Locale in url instead of local storage * Improved route based translation * Get the first valid locale from the browser's prefered languages list instead of just trying to use the first one then defaulting to english * Improved support for browsers with javascript disabled * 404 errors are now displayed properly after build * Switched to unocss for the icons - This is a pure css solution, meaning that the icons are visible even with javascript disabled - This still allows to use font awesome icons so the site should look identical - See <https://unocss.dev/presets/icons> for the documentation * Better handling of routes with no locales - With javascript disabled, wiki pages with no locale set will now be displayed in the default locale (english) - With javascript enabled, wiki pages with no locale set still redirects to the browser default locale - The lang dropdown now allows to change the locale of a route with no locale set * Removal of unneedeed hidden links * French corrections * Fix find and replace mistake * Gender-neutral language
- Loading branch information