memos/web/src
Ajay Kumbhare b5d4b8eae8
fix: copy code button toast message (#1979)
* #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

* chore: Disallow destructuring 't' from useTranslation

This commit adds a linting rule to disallow the destructuring of the 't' property from the result of the useTranslation function call. The no-restricted-syntax rule in the ESLint configuration has been updated to enforce this restriction. The intention is to promote alternative approaches like using the useTranslate hook for localization.

* fix: typo fixed for memoChat

* fix: copy code button toast message

Refactored the code for the "Copy Code" button to utilize i18 strings for displaying the success message. Replaced the hard-coded value with the appropriate i18 string "Code copied successfully."
2023-07-18 00:16:55 +08:00
..
components feat(security): disable access for anonymous users, when disablePublicMemos is true (#1966) 2023-07-17 09:12:53 +08:00
css chore: add dev guard for memo chat (#1968) 2023-07-16 13:02:52 +08:00
helpers feat: add typeScript support to enforce valid translation keys (#1954) 2023-07-15 10:27:37 +08:00
hooks fix: failed eslint checks (#1616) 2023-05-01 08:38:35 +08:00
labs fix: copy code button toast message (#1979) 2023-07-18 00:16:55 +08:00
layouts chore: update upgrade version view (#1791) 2023-06-03 14:32:04 +08:00
less chore: add dev guard for memo chat (#1968) 2023-07-16 13:02:52 +08:00
locales chore: add dev guard for memo chat (#1968) 2023-07-16 13:02:52 +08:00
pages chore: disallow destructuring 't' from useTranslation (#1973) 2023-07-16 21:26:26 +08:00
router feat(security): disable access for anonymous users, when disablePublicMemos is true (#1966) 2023-07-17 09:12:53 +08:00
store chore: update detail styles (#1964) 2023-07-15 22:57:57 +08:00
theme chore: update resource dialog style (#982) 2023-01-21 08:46:49 +08:00
types feat: add typeScript support to enforce valid translation keys (#1954) 2023-07-15 10:27:37 +08:00
utils feat: add typeScript support to enforce valid translation keys (#1954) 2023-07-15 10:27:37 +08:00
App.tsx refactor: memo editor components (#1625) 2023-05-03 19:13:37 +08:00
i18n.ts feat: add croatian locale (#1822) 2023-06-14 22:09:19 +08:00
main.tsx feat: improve i18n support as a whole (#1526) 2023-04-15 08:56:03 +08:00