Ajay Kumbhare
1780225da5
feat: add typeScript support to enforce valid translation keys ( #1954 )
...
* #1952 Fix incorrect localization key for sign-up failure message
* feat: add typeScript support to enforce valid translation keys
* feat: add typeScript support to enforce valid translation keys
* fix lint errors
* fix lint error
2 years ago
Ajay Kumbhare
8ca2dac184
fix: incorrect localization key for sign-up failure message ( #1953 )
2 years ago
boojack
d4b88c6c86
chore: remove auto signout in auth page ( #1927 )
2 years ago
boojack
da70917b08
chore: update auth page ( #1920 )
...
* chore: update auth page
* chore: update
2 years ago
boojack
b34aded376
refactor: migration idp api ( #1842 )
...
* refactor: migration idp api
* chore: update
2 years ago
boojack
a07d5d38d6
feat: memo relation part1 ( #1677 )
...
* feat: memo relation part1
* chore: update
2 years ago
Lincoln Nogueira
557278fac0
feat: improve i18n support as a whole ( #1526 )
...
* feat: improve i18n support as a whole
- Remove dayjs in favor of /helpers/datetime.ts, which uses
Intl.DateTimeFormat and Date. Dayjs is not exactly i18n friendly
and has several locale related opened issues.
- Move/refactor date/time code from /helpers/utils.ts to
/helpers/datetime.ts.
- Fix Daily Review weekday not changing according to selected date.
- Localize Daily review weekday and month.
- Load i18n listed strings from /locales/{locale}.json in a dynamic way.
This makes much easier to add new locales, by just adding a properly
named json file and listing it only in /web/src/i18n.ts and
/api/user_setting.go.
- Fallback languages are now set in /web/src/i18n.ts.
- Full language codes are now preffered, but they fallback to 2-letter
codes when not available.
- The locale dropdown is now populated dynamically from the available
locales. Locale names are populated by the browser via
Intl.DisplayNames(locale).
- /web/src/i18n.ts now exports a type TLocale from availableLocales
array. This is used only by findNearestLanguageMatch(). As I was unable
to use this type in ".d.ts" files, I switched the Locale type from
/web/src/types/i18n.d.ts to string.
- Move pretty much all hardcoded text strings to i18n strings.
- Add pt-BR translation.
- Remove site.ts and move its content to a i18n string.
- Rename zh.json to zh-Hans.json to get the correct language name on
selector dropdown.
- Remove pt_BR.json and replace with pt-BR.json.
- Some minor layout spacing fixes to accommodate larger texts.
- Improve some error messages.
* Delete .yarnrc.yml
* Delete package-lock.json
* fix: 158:28 error Insert `⏎` prettier/prettier
2 years ago
boojack
f48d91539e
chore: update locale file structure ( #1478 )
2 years ago
boojack
11cd9b21de
chore: update auth form ( #1445 )
2 years ago
boojack
1ea65c0b60
chore: update logo ( #1442 )
...
* chore: update logo
* chore: update
2 years ago
boojack
89ab57d738
refactor: update import prefix with alias ( #1433 )
2 years ago
boojack
f86816fea2
feat: use react-hot-toast ( #1321 )
2 years ago
boojack
e150599274
chore: upgrade version to `v0.11.1` ( #1247 )
2 years ago
Zeng1998
57479b250a
chore: remove validators on the frontend ( #1156 )
...
* chore: update minlength of username
* remove the validator on frontend
* update
2 years ago
Yoshino-s
afaaec8492
feat(mode): add demo mode ( #1121 )
...
* feat(mode): add demo mode
* chroe: Update store/db/db.go
Co-authored-by: boojack <stevenlgtm@gmail.com>
* chroe: Update store/db/db.go
Co-authored-by: boojack <stevenlgtm@gmail.com>
---------
Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
boojack
d0b8b076cf
feat: implement sign in with SSO ( #1119 )
...
* feat: implement sign in with SSO
* chore: update
* chore: update
* chore: update
2 years ago
boojack
aad97c4c54
chore: update signup api ( #1067 )
2 years ago
Zeng1998
771ef44d82
feat: support enter to signin ( #1014 )
2 years ago
boojack
a797280e3f
chore: update middleware skipper ( #887 )
...
* chore: update middleware skipper
* chore: update
3 years ago
boojack
9f25badde3
chore: update logo format to png ( #830 )
3 years ago
boojack
7efa749c66
feat: customize system profile ( #828 )
3 years ago
PublicHer0
a23de50bb8
feat: update spanish locale ( #786 )
...
* Adding spanish version
* update spanish locale
Co-authored-by: boojack <stevenlgtm@gmail.com>
3 years ago
boojack
b67ed1ee13
feat: customize system profile ( #774 )
...
* feat: system setting for customized profile
* chore: update
* feat: update frontend
* chore: update
3 years ago
boojack
ef621a444f
refactor: introducing `use{Module}Store` instead of service ( #768 )
...
* refactor: introducing `useEditorStore`
* refactor: update
* chore: update
3 years ago
PublicHer0
5520605ccc
feat: add spanish locale ( #741 )
3 years ago
Jasper Platenburg
79bf365d78
Dutch locale ( #687 )
3 years ago
Maurice Bauer
492a1370ab
feat: add German i18n item ( #686 )
3 years ago
Andreas Backström
53cf6ebb79
feat: add swedish/svenska translation ( #668 )
...
Add swedish / svenska translation
3 years ago
boojack
d1007950e0
chore: remove emoji picker ( #667 )
3 years ago
boojack
a467a7c173
feat: upgrade dev version to `0.8.1` ( #656 )
...
* feat: upgrade version to `0.8.1`
* chore: update
3 years ago
boojack
7c6d7226f5
feat: update appearance selector ( #645 )
3 years ago
boojack
6384f5af74
feat: dark mode for main pages ( #637 )
...
* feat: update dark mode styles for auth and explore page
* feat: dark mode for home page
3 years ago
Zeng1998
52038d26d2
chore: update i18n for validator message ( #636 )
3 years ago
boojack
55f37664ef
chore: add theme file for joyui ( #635 )
3 years ago
boojack
db1d223448
fix: apperance select ( #585 )
3 years ago
Stephen Zhou
90c85103c3
feat: dark mode support for auth page ( #569 )
...
* feat: dark mode support for auth page
* chore: update
3 years ago
boojack
a0b35f7aa9
feat: add French i18n item ( #547 )
...
feat: add French i18n
3 years ago
boojack
2042737004
feat: add username field ( #544 )
...
* feat: add username field
* chore: update
3 years ago
boojack
a0667abec8
chore: update data initial requests ( #538 )
3 years ago
Yarden Shoham
d8adc0afe9
feat: extend validation config max length ( #523 )
3 years ago
boojack
0d6281ef6b
chore: update signin page ( #410 )
...
* chore: update signin page
* chore: update version `v0.7.1`
3 years ago
boojack
cf75054106
feat: add system setting to allow user signup ( #407 )
3 years ago
f97
2acd5d4af2
chore: support html form ( #236 )
3 years ago
Steven
6c1cc1d283
chore: use conditional rendering instead of OnlyWhen
3 years ago
Steven
366afdd1e4
feat: use `i18next`
3 years ago
Steven
307483e499
feat: use `react-router`
3 years ago
Steven
1591fdf61c
chore: update i18n structures
3 years ago
f97
811f3340e9
feat: add vietnamese ( #218 )
3 years ago
ChasLui
7e8d1128f8
chore: update i18n ( #215 )
3 years ago
Steven
b884327a53
chore: update eslint rules
3 years ago