diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-03-23 12:29:43 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-03-23 12:29:43 +0100 |
| commit | 4e7a96c5a831882463802cdd4f84fe1464969cb0 (patch) | |
| tree | 528e2766120465bd74e94a8f5d37db7c3cd5a3cc /src/components/Settings/AckeeSelect | |
| parent | 3a20d3ef2d6fcb6c77ca5ad6aeaf6179d23ecb3e (diff) | |
refactor: use formatjs swc plugin
I'm not able to configure SWC plugins in Next.js so to make it works,
all translation must have an id.
Diffstat (limited to 'src/components/Settings/AckeeSelect')
| -rw-r--r-- | src/components/Settings/AckeeSelect/AckeeSelect.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/Settings/AckeeSelect/AckeeSelect.tsx b/src/components/Settings/AckeeSelect/AckeeSelect.tsx index e1a8ed8..f711fe2 100644 --- a/src/components/Settings/AckeeSelect/AckeeSelect.tsx +++ b/src/components/Settings/AckeeSelect/AckeeSelect.tsx @@ -14,6 +14,7 @@ const AckeeSelect = () => { name: intl.formatMessage({ defaultMessage: 'Partial', description: 'AckeeSelect: partial option name', + id: 'e/8Kyj', }), value: 'partial', }, @@ -22,6 +23,7 @@ const AckeeSelect = () => { name: intl.formatMessage({ defaultMessage: 'Full', description: 'AckeeSelect: full option name', + id: 'PzRpPw', }), value: 'full', }, @@ -47,6 +49,7 @@ const AckeeSelect = () => { body={intl.formatMessage({ defaultMessage: 'Tracking:', description: 'AckeeSelect: select label', + id: '2pmylc', })} htmlFor="ackee-settings" kind="settings" @@ -57,11 +60,13 @@ const AckeeSelect = () => { intl.formatMessage({ defaultMessage: 'Partial includes only page url, views and duration.', description: 'AckeeSelect: tooltip message', + id: 'skb4W5', }), intl.formatMessage({ defaultMessage: 'Full includes all information from partial as well as information about referrer, operating system, device, browser, screen size and language.', description: 'AckeeSelect: tooltip message', + id: 'Ogccx6', }), ]; @@ -81,6 +86,7 @@ const AckeeSelect = () => { title={intl.formatMessage({ defaultMessage: 'Ackee tracking (analytics)', description: 'AckeeSelect: tooltip title', + id: 'F1EQX3', })} /> </div> |
