cyberware/quartz/components
Mara-Li dbbc672c67
feat: Adding support for i18n (closes #462) (#738)
* fix: alt error mix with height/width

More granular detection of alt and resize in image

* fix: format

* feat: init i18n

* feat: add translation

* style: prettier for test

* fix: build-up the locale to fusion with dateLocale

* style: run prettier

* remove cursed file

* refactor: remove i18n library and use locale way instead

* format with prettier

* forgot to remove test

* prevent merging error

* format

* format

* fix: allow string for locale
- Check during translation if valid / existing locale
- Allow to use "en" and "en-US" for example
- Add fallback directly in the function
- Add default key in the function
- Add docstring to cfg.ts

* forgot item translation

* remove unused locale variable

* forgot to remove fr-FR testing

* format
2024-02-03 19:55:24 -08:00
..
pages feat: Adding support for i18n (closes #462) (#738) 2024-02-03 19:55:24 -08:00
scripts feat: Adding support for i18n (closes #462) (#738) 2024-02-03 19:55:24 -08:00
styles fix(search): flex basis and card highlighting 2024-02-02 12:18:02 -08:00
ArticleTitle.tsx fix(div): update class name to remove weird space afterwards (#763) 2024-01-29 21:51:13 -08:00
Backlinks.tsx feat: Adding support for i18n (closes #462) (#738) 2024-02-03 19:55:24 -08:00
Body.tsx run prettier 2023-07-22 17:27:41 -07:00
Breadcrumbs.tsx fix(div): update class name to remove weird space afterwards (#763) 2024-01-29 21:51:13 -08:00
ContentMeta.tsx fix(div): update class name to remove weird space afterwards (#763) 2024-01-29 21:51:13 -08:00
Darkmode.tsx feat: Adding support for i18n (closes #462) (#738) 2024-02-03 19:55:24 -08:00
Date.tsx feat: allow to config a translation for date (#739) 2024-01-28 22:13:59 -08:00
DesktopOnly.tsx more visual polish, adjust colours and spacing 2023-07-04 16:48:36 -07:00
Explorer.tsx fix(div): update class name to remove weird space afterwards (#763) 2024-01-29 21:51:13 -08:00
ExplorerNode.tsx fix: fix invalid html output (#642) 2023-12-28 11:20:07 +01:00
Footer.tsx feat: Adding support for i18n (closes #462) (#738) 2024-02-03 19:55:24 -08:00
Graph.tsx feat: Adding support for i18n (closes #462) (#738) 2024-02-03 19:55:24 -08:00
Head.tsx feat: Adding support for i18n (closes #462) (#738) 2024-02-03 19:55:24 -08:00
Header.tsx various typography and styling fixes 2023-07-23 11:02:45 -07:00
index.ts feat: implement breadcrumb component (#508) 2023-09-29 10:26:15 +02:00
MobileOnly.tsx more visual polish, adjust colours and spacing 2023-07-04 16:48:36 -07:00
PageList.tsx feat: allow to config a translation for date (#739) 2024-01-28 22:13:59 -08:00
PageTitle.tsx fix(div): update class name to remove weird space afterwards (#763) 2024-01-29 21:51:13 -08:00
RecentNotes.tsx feat: Adding support for i18n (closes #462) (#738) 2024-02-03 19:55:24 -08:00
renderPage.tsx fix: change backtick to regular after making script loading less hacky 2023-12-18 23:13:37 -08:00
Search.tsx feat: Adding support for i18n (closes #462) (#738) 2024-02-03 19:55:24 -08:00
Spacer.tsx fix(div): update class name to remove weird space afterwards (#763) 2024-01-29 21:51:13 -08:00
TableOfContents.tsx feat: Adding support for i18n (closes #462) (#738) 2024-02-03 19:55:24 -08:00
TagList.tsx fix(div): update class name to remove weird space afterwards (#763) 2024-01-29 21:51:13 -08:00
types.ts deps: bump everything (closes #635) (#636) 2023-12-18 09:48:40 -08:00