Skip to content

Commit ced8a99

Browse files
add translation for use-unique-name-validation (#730)
import use unique name validation translation files Co-authored-by: Sylvain Bouzols <[email protected]>
1 parent dc51d5d commit ced8a99

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"dependencies": {
2323
"@emotion/react": "^11.14.0",
2424
"@emotion/styled": "^11.14.1",
25-
"@gridsuite/commons-ui": "0.127.0",
25+
"@gridsuite/commons-ui": "0.128.0",
2626
"@hookform/resolvers": "^4.1.3",
2727
"@mui/icons-material": "^5.18.0",
2828
"@mui/lab": "5.0.0-alpha.175",

src/components/app-wrapper.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ import {
6363
importParamsFr,
6464
exportParamsEn,
6565
exportParamsFr,
66+
useUniqueNameValidationEn,
67+
useUniqueNameValidationFr,
6668
NotificationsProvider,
6769
PARAM_THEME,
6870
} from '@gridsuite/commons-ui';
@@ -225,6 +227,7 @@ const messages: Record<GsLangUser, IntlConfig['messages']> = {
225227
...equipmentsEn,
226228
...csvEn,
227229
...parametersEn,
230+
...useUniqueNameValidationEn,
228231
...messages_plugins.en, // keep it at the end to allow translation overwriting
229232
},
230233
fr: {
@@ -250,6 +253,7 @@ const messages: Record<GsLangUser, IntlConfig['messages']> = {
250253
...equipmentsFr,
251254
...csvFr,
252255
...parametersFr,
256+
...useUniqueNameValidationFr,
253257
...messages_plugins.fr, // keep it at the end to allow translation overwriting
254258
},
255259
};

0 commit comments

Comments
 (0)