Skip to content

Commit 98898bf

Browse files
committed
Merge branch 'main' into feat/add-charging-target-inputs-improvements
2 parents a8d16b0 + c5a45d9 commit 98898bf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Use the latest LTS version of Node.js
22
# https://hub.docker.com/_/node
3-
FROM node:22@sha256:2fa6c977460b56d4d8278947ab56faeb312bc4cc6c4cf78920c6de27812f51c5 AS build-stage
3+
FROM node:22@sha256:9e6918e8e32a47a58ed5fb9bd235bbc1d18a8c272e37f15d502b9db9e36821ee AS build-stage
44
WORKDIR /usr/src/app
55

66
# Copy package.json and package-lock.json

public/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@
268268
"required": "This field is required!",
269269
"properFormatting": "Use A-Z, a-z, 0-9, hyphen (-), and period (.), but note that whitespace (spaces, tabs, etc.) is not allowed for proper compatibility.",
270270
"properFormattingLowercase": "Use lowercase a-z, 0-9, hyphen (-), and period (.), but note that whitespace (spaces, tabs, etc.) is not allowed for proper compatibility.",
271-
"max25chars": "Max length is 25 characters.",
271+
"maxChars": "Max length is {{maxLength}} characters.",
272272
"userExists": "User with this email already exists!",
273273
"atLeastOneUser": "You need to have at least one member assigned.",
274274
"notValidChargingTargetFormat": "Use lowercase letters a-f, numbers 0-9, and hyphens (-) in the format: aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"

src/lib/api/validations/schemas.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const validationSchemaProjectWorkspace = z
1313
.string()
1414
.min(1, t('validationErrors.required'))
1515
.regex(projectWorkspaceNameRegex, t('validationErrors.properFormatting'))
16-
.max(25, t('validationErrors.max25chars')),
16+
.max(25, t('validationErrors.maxChars', { maxLength: 25 })),
1717
displayName: z.string().optional(),
1818
chargingTarget: z.string().optional(),
1919
chargingTargetType: z.string().optional(),
@@ -41,7 +41,7 @@ export const validationSchemaCreateManagedControlPlane = z
4141
.string()
4242
.min(1, t('validationErrors.required'))
4343
.regex(managedControlPlaneNameRegex, t('validationErrors.properFormattingLowercase'))
44-
.max(25, t('validationErrors.max25chars')),
44+
.max(36, t('validationErrors.maxChars', { maxLength: 36 })),
4545
displayName: z.string().optional(),
4646
chargingTarget: z.string().optional(),
4747
chargingTargetType: z.string().optional(),

0 commit comments

Comments
 (0)