From 4e7a96c5a831882463802cdd4f84fe1464969cb0 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Wed, 23 Mar 2022 12:29:43 +0100
Subject: 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.
---
 src/components/WidgetParts/ExpandableWidget/ExpandableWidget.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/components/WidgetParts/ExpandableWidget/ExpandableWidget.tsx')

diff --git a/src/components/WidgetParts/ExpandableWidget/ExpandableWidget.tsx b/src/components/WidgetParts/ExpandableWidget/ExpandableWidget.tsx
index 1040e7e..38e57ad 100644
--- a/src/components/WidgetParts/ExpandableWidget/ExpandableWidget.tsx
+++ b/src/components/WidgetParts/ExpandableWidget/ExpandableWidget.tsx
@@ -42,10 +42,12 @@ const ExpandableWidget = ({
             ? intl.formatMessage({
                 defaultMessage: 'Collapse',
                 description: 'ExpandableWidget: collapse text',
+                id: 'WRkY1/',
               })
             : intl.formatMessage({
                 defaultMessage: 'Expand',
                 description: 'ExpandableWidget: expand text',
+                id: 'hV0qHp',
               })}
         </span>
         <TitleTag className={styles.title}>{title}</TitleTag>
-- 
cgit v1.2.3

