Skip to content

Commit

Permalink
Release 0.7.1 (#42)
Browse files Browse the repository at this point in the history
* fix (frontend): theme preview page

* Release 0.7.1
  • Loading branch information
MauricioKruijer authored Jan 3, 2025
1 parent e6a5f58 commit dc8ff0a
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 22 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ straightforward as possible.
- [PROJECTNAME-YYYY](http://tickets.projectname.com/browse/PROJECTNAME-YYYY)
PATCH Ticket title goes here.

## [0.7.1] - 2025-01-03

- fix: hotfix theme preview page

## [0.7.0] - 2025-01-03

- feat: calendly section (#39)
Expand Down
4 changes: 2 additions & 2 deletions nextjs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nextjs",
"version": "0.7.0",
"version": "0.7.1",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
27 changes: 11 additions & 16 deletions nextjs/src/components/form/messages.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
const EN_MESSAGE = {
required: "This field is required.",
email: "Please enter a valid email address.",
min: "This field must be at least ${min} characters long.",
max: "This field must be at most ${max} characters long.",
oneOf: "This field must be one of the following values: ${values}.",
privacyPolicy: "You must accept the privacy policy.",
}

export default {
"de-DE": {
required: "Dieses Feld muss ausgefüllt werden.",
Expand All @@ -23,20 +32,6 @@ export default {
oneOf: "Dit veld moet een van de volgende waarden zijn: ${values}.",
privacyPolicy: "U moet het privacybeleid accepteren.",
},
"en-AU": {
required: "This field is required.",
email: "Please enter a valid email address.",
min: "This field must be at least ${min} characters long.",
max: "This field must be at most ${max} characters long.",
oneOf: "This field must be one of the following values: ${values}.",
privacyPolicy: "You must accept the privacy policy.",
},
"en-US": {
required: "This field is required.",
email: "Please enter a valid email address.",
min: "This field must be at least ${min} characters long.",
max: "This field must be at most ${max} characters long.",
oneOf: "This field must be one of the following values: ${values}.",
privacyPolicy: "You must accept the privacy policy.",
},
"en-AU": EN_MESSAGE,
en: EN_MESSAGE,
} as const
1 change: 1 addition & 0 deletions nextjs/src/components/form/standard-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { Locale } from "@/hooks/useLocale"
const StandardForm: React.FC<FormProps> = ({ locale }) => {
const getLabels = (locale: Locale) => {
switch (locale) {
case "en":
case "en-US":
return {
firstName: "First Name",
Expand Down
4 changes: 2 additions & 2 deletions strapi/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion strapi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "strapi",
"version": "0.7.0",
"version": "0.7.1",
"private": true,
"description": "A Strapi application",
"scripts": {
Expand Down

0 comments on commit dc8ff0a

Please sign in to comment.