diff --git a/nuxt.config.ts b/nuxt.config.ts index 70b1011..d4d96ed 100755 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -84,7 +84,58 @@ export default defineNuxtConfig({ "Save Changes":"Save Changes", "Loading...":"Loading...", "The":"The", + "HOME":"HOME", + "The background noise at your workplace provides a long’term healthy basis for concentrated work. With Mindboost you make sure that even sudden disturbances do not distract you.":"The background noise at your workplace provides a long’term healthy basis for concentrated work. With Mindboost you make sure that even sudden disturbances do not distract you.", + "Good Environment":"Good Environment", + "The background noise at your workplace should be optimized. In the long term, it could disturb and have a negative impact on your health. Protect yourself with mindboost.":"The background noise at your workplace should be optimized. In the long term, it could disturb and have a negative impact on your health. Protect yourself with mindboost.", + "Medium-noise Environment":"Medium-noise Environment", + "The background noise at your workplace is disturbing. Your concentration is severely impaired. Mindboost protects you from the disturbing background noise.":"The background noise at your workplace is disturbing. Your concentration is severely impaired. Mindboost protects you from the disturbing background noise.", + "Noisy Environment":"Noisy Environment", + "Currently, your room has a:":"Currently, your room has a:", + "The Mindboost sounscape responds to the acousitcs in your room.":"The Mindboost sounscape responds to the acousitcs in your room.", + "Adaptive Soundscape":"Adaptive Soundscape", + + "Please choose a soundscape":"Please choose a soundscape", + "Creativity":"Creativity", + "Concentration":"Concentration", + "What are your plans for today?":"What are your plans for today?", + "What’s that?":"What’s that?", + + "Do your headphones have ANC?":"Do your headphones have ANC?", + "Fix This Problem":"Fix This Problem", + "system settings of your device and start again.":"system settings of your device and start again.", + "Please check the input level of the microphone in the audio":"Please check the input level of the microphone in the audio", + "The microphone does not provide any level":"The microphone does not provide any level", + "You can customize your selection later":"You can customize your selection later", + "To use Mindboost, headphones are required.":"To use Mindboost, headphones are required.", + "Make sure that your headphones are properly connected. ":"Make sure that your headphones are properly connected. ", "OF":"OF", + "Successfully subscribed":"Successfully subscribed", + "We have saved your selection.":"We have saved your selection.", + "You can change your settings at any time.":"You can change your settings at any time.", + "What headphones do you use?":"What headphones do you use?", + "We are analyzing your background noise...":"We are analyzing your background noise...", + "Signup":"Signup", + "Log In":"Log In", + "Already have an Account?":"Already have an Account?", + "I agree to Mindboost's terms and conditions. You can read about how we use and protect your information in our Privacy Policy.":"I agree to Mindboost's terms and conditions. You can read about how we use and protect your information in our Privacy Policy.", + "Hello,":"Hello,", + "First Name,":"First Name,", + "Surname,":"Surname,", + "Email,":"Email,", + "Password,":"Password,", + "Beautiful!":"Beautiful!", + + "New Password":"New Password", + "Confirm Password":"Confirm Password", + + "Sign Up":"Sign Up", + "Don’t have an Account?":"Don’t have an Account?", + "Sign In":"Sign In", + "Forgot Password":"Forgot Password", + "Email or password is wrong, please try again!":"Email or password is wrong, please try again!", + + "Welcome back,":"Welcome back,", "Question":"Question", "Active Noise Canceling (ANC) is a technology that suppresses unwanted noise using coumter sound. Make sure check the description of your headphomes to find out if they are equipped with ANC function. Make sure that the function is activated.":"Active Noise Canceling (ANC) is a technology that suppresses unwanted noise using coumter sound. Make sure check the description of your headphomes to find out if they are equipped with ANC function. Make sure that the function is activated.", "What are Active Noise Cancelling Headphones?":"What are Active Noise Cancelling Headphones?", diff --git a/pages/auth/forgot.vue b/pages/auth/forgot.vue index e1f62dd..85a51cc 100644 --- a/pages/auth/forgot.vue +++ b/pages/auth/forgot.vue @@ -31,7 +31,7 @@
-

Forgot Password

+

{{t("Forgot Password")}}

@@ -39,14 +39,14 @@
- +
-
@@ -67,6 +67,14 @@ \ No newline at end of file diff --git a/pages/auth/login.vue b/pages/auth/login.vue index 1937130..3545d5c 100755 --- a/pages/auth/login.vue +++ b/pages/auth/login.vue @@ -28,33 +28,33 @@
-

Log In

- Welcome back, +

{{t('Log In')}}

+ {{t('Welcome back,')}}
- +
{{errors.email[0]}}
-
Email or password is wrong, please try again!
+
{{t('Email or password is wrong, please try again!')}}
- + - Forgot Password + {{t('Forgot Password')}}
- -
Don’t have an Account?
+
{{t('Don’t have an Account?')}}
diff --git a/pages/auth/newpassowrd.vue b/pages/auth/newpassowrd.vue index 94ea960..c73dd1b 100644 --- a/pages/auth/newpassowrd.vue +++ b/pages/auth/newpassowrd.vue @@ -29,7 +29,7 @@
-

New Password

+

{{t("New Password")}}

@@ -37,7 +37,7 @@
- + @@ -45,14 +45,14 @@
- +
-
@@ -72,6 +72,14 @@ \ No newline at end of file diff --git a/pages/auth/signup.vue b/pages/auth/signup.vue index b2a7e40..a65668b 100755 --- a/pages/auth/signup.vue +++ b/pages/auth/signup.vue @@ -31,33 +31,33 @@
-

Sign Up

- Hello, Beautiful! -

Mindboost helps you block out distracting noise with concentration-boosting music, increasing your productivity by up to 35%.

+

{{t('Sign Up')}}

+ {{t("Hello,")}} {{t("Beautiful!")}} +

- +
{{errors.first_name[0]}}
- +
{{errors.surname[0]}}
- +
{{errors.email[0]}}
- +
{{errors.password[0]}}
@@ -67,19 +67,19 @@
- -

Already have an Account?

+

{{t("Already have an Account?")}}

diff --git a/pages/homeforest.vue b/pages/homeforest.vue index a8a7b3a..6a22545 100644 --- a/pages/homeforest.vue +++ b/pages/homeforest.vue @@ -56,7 +56,7 @@
-

Adaptive Soundscape

+

{{t("Adaptive Soundscape")}}

@@ -66,9 +66,9 @@
-

The Mindboost sounscape responds to the acousitcs in your room.

+

{{t("The Mindboost sounscape responds to the acousitcs in your room.")}}

-

Currently, your room has a:

+

{{t("Currently, your room has a:")}}

@@ -80,8 +80,8 @@
-
Noisy Environment
-

The background noise at your workplace is disturbing. Your concentration is severely impaired. Mindboost protects you from the disturbing background noise.

+
{{t("Noisy Environment")}}
+

{{t("The background noise at your workplace is disturbing. Your concentration is severely impaired. Mindboost protects you from the disturbing background noise.")}}

@@ -95,8 +95,8 @@
-
Medium-noise Environment
-

The background noise at your workplace should be optimized. In the long term, it could disturb and have a negative impact on your health. Protect yourself with mindboost.

+
{{t("Medium-noise Environment")}}
+

{{t("The background noise at your workplace should be optimized. In the long term, it could disturb and have a negative impact on your health. Protect yourself with mindboost.")}}

@@ -109,10 +109,10 @@
-
Good Environment
+
{{t("Good Environment")}}

- The background noise at your workplace provides a long’term healthy basis for concentrated work. With Mindboost you make sure that even sudden disturbances do not distract you.

+ {{t("The background noise at your workplace provides a long’term healthy basis for concentrated work. With Mindboost you make sure that even sudden disturbances do not distract you.")}}
@@ -129,6 +129,15 @@ import HomeBar from "../components/homebar"; export default { + setup() { + const { t } = useI18n() + const localePath = useLocalePath() + + return { + t, + localePath, + } + }, components: {HomeBar}, data(){ return{ diff --git a/pages/homemeadow.vue b/pages/homemeadow.vue index a5471bd..57c2c6e 100644 --- a/pages/homemeadow.vue +++ b/pages/homemeadow.vue @@ -55,7 +55,7 @@
-

Adaptive Soundscape

+

{{t("Adaptive Soundscape")}}

@@ -65,9 +65,9 @@
-

The Mindboost sounscape responds to the acousitcs in your room.

+

{{t("The Mindboost sounscape responds to the acousitcs in your room.")}}

-

Currently, your room has a:

+

{{t("Currently, your room has a:")}}

@@ -79,8 +79,8 @@
-
Noisy Environment
-

The background noise at your workplace is disturbing. Your concentration is severely impaired. Mindboost protects you from the disturbing background noise.

+
{{t("Noisy Environment")}}
+

{{t("The background noise at your workplace is disturbing. Your concentration is severely impaired. Mindboost protects you from the disturbing background noise.")}}

@@ -94,8 +94,8 @@
-
Medium-noise Environment
-

The background noise at your workplace should be optimized. In the long term, it could disturb and have a negative impact on your health. Protect yourself with mindboost.

+
{{t("Medium-noise Environment")}}
+

{{t("The background noise at your workplace should be optimized. In the long term, it could disturb and have a negative impact on your health. Protect yourself with mindboost.")}}

@@ -108,9 +108,9 @@
-
Good Environment
+
{{t("Good Environment")}}

- The background noise at your workplace provides a long’term healthy basis for concentrated work. With Mindboost you make sure that even sudden disturbances do not distract you. + {{t("The background noise at your workplace provides a long’term healthy basis for concentrated work. With Mindboost you make sure that even sudden disturbances do not distract you.")}}

@@ -129,6 +129,15 @@ import HomeBar from "../components/homebar"; export default { components: {HomeBar}, + setup() { + const { t } = useI18n() + const localePath = useLocalePath() + + return { + t, + localePath, + } + }, data(){ return{ title: 'Meadow soundscape' diff --git a/pages/hometropics.vue b/pages/hometropics.vue index 7f630de..026fb72 100644 --- a/pages/hometropics.vue +++ b/pages/hometropics.vue @@ -51,7 +51,7 @@
-

Adaptive Soundscape

+

{{t("Adaptive Soundscape")}}

@@ -61,9 +61,9 @@
-

The Mindboost sounscape responds to the acousitcs in your room.

+

{{t("The Mindboost sounscape responds to the acousitcs in your room.")}}

-

Currently, your room has a:

+

{{t("Currently, your room has a:")}}

@@ -75,8 +75,8 @@
-
Noisy Environment
-

The background noise at your workplace is disturbing. Your concentration is severely impaired. Mindboost protects you from the disturbing background noise.

+
{{t("Noisy Environment")}}
+

{{t("The background noise at your workplace is disturbing. Your concentration is severely impaired. Mindboost protects you from the disturbing background noise.")}}

@@ -90,8 +90,8 @@
-
Medium-noise Environment
-

The background noise at your workplace should be optimized. In the long term, it could disturb and have a negative impact on your health. Protect yourself with mindboost.

+
{{t("Medium-noise Environment")}}
+

{{t("The background noise at your workplace should be optimized. In the long term, it could disturb and have a negative impact on your health. Protect yourself with mindboost.")}}

@@ -104,9 +104,9 @@
-
Good Environment
+
{{t("Good Environment")}}

- The background noise at your workplace provides a long’term healthy basis for concentrated work. With Mindboost you make sure that even sudden disturbances do not distract you. + {{t("The background noise at your workplace provides a long’term healthy basis for concentrated work. With Mindboost you make sure that even sudden disturbances do not distract you.")}}

@@ -126,6 +126,15 @@ import HomeBar from "../components/homebar"; export default { + setup() { + const { t } = useI18n() + const localePath = useLocalePath() + + return { + t, + localePath, + } + }, components: {HomeBar}, data(){ return{ diff --git a/pages/letsgo.vue b/pages/letsgo.vue index 0538457..c161381 100755 --- a/pages/letsgo.vue +++ b/pages/letsgo.vue @@ -19,9 +19,9 @@
-

Let’s Go!

-
We have saved your selection.
-
You can change your settings at any time.
+

{{t("Let’s Go!")}}

+
{{t("We have saved your selection.")}}
+
{{t("You can change your settings at any time.")}}
@@ -132,7 +132,7 @@
- NEXT + {{t("NEXT")}}
diff --git a/pages/onboarding/fixproblem.vue b/pages/onboarding/fixproblem.vue index ae354dc..389a809 100644 --- a/pages/onboarding/fixproblem.vue +++ b/pages/onboarding/fixproblem.vue @@ -2,26 +2,26 @@
-
We are analyzing your background noise...
+
{{t("We are analyzing your background noise...")}}
-

The microphone does not provide any level

-
Please check the input level of the microphone in the audio
-
system settings of your device and start again.
+

{{ t("The microphone does not provide any level") }}

+
{{t("Please check the input level of the microphone in the audio")}}
+
{{t("system settings of your device and start again.")}}
@@ -35,7 +35,7 @@ -
You can customize your selection later
+
{{t("You can customize your selection later")}}
@@ -47,6 +47,15 @@ import {useCounterStore} from '@/stores/counter'; import {mapActions, mapState} from "pinia"; export default { + setup() { + const { t } = useI18n() + const localePath = useLocalePath() + + return { + t, + localePath, + } + }, name:'OnBording', mounted() { this.increment(75); diff --git a/pages/onboarding/index.vue b/pages/onboarding/index.vue index 9978cd7..86d97e8 100644 --- a/pages/onboarding/index.vue +++ b/pages/onboarding/index.vue @@ -2,12 +2,12 @@
-
We are analyzing your background noise...
+
{{t("We are analyzing your background noise...")}}
-

What headphones do you use?

-
Make sure that your headphones are properly connected.
-
To use Mindboost, headphones are required.
+

{{t("What headphones do you use?")}}

+
{{t("Make sure that your headphones are properly connected. ")}}
+
{{t("To use Mindboost, headphones are required.")}}
@@ -17,7 +17,7 @@ -

In-Ear

+

{{t("In-Ear")}}

@@ -27,7 +27,7 @@ -

Over-Ear

+

{{t("Over-Ear")}}

@@ -39,7 +39,7 @@ -
You can customize your selection later
+
{{t("You can customize your selection later")}}
diff --git a/pages/onboarding/onboarding2.vue b/pages/onboarding/onboarding2.vue index 9014bff..629a7be 100644 --- a/pages/onboarding/onboarding2.vue +++ b/pages/onboarding/onboarding2.vue @@ -2,11 +2,11 @@
-
We are analyzing your background noise...
+
{{ t('We are analyzing your background noise...') }}
-

Do your headphones have ANC?

-
What’s that?
+

{{ t('Do your headphones have ANC?') }}

+
{{t('What’s that?')}}
@@ -25,7 +25,7 @@ -

No

+

{{t("No")}}

@@ -35,7 +35,7 @@ -

Yes

+

{{t("Yes")}}

@@ -57,6 +57,7 @@ import {useCounterStore} from '@/stores/counter'; import {mapState,mapActions} from "pinia"; export default { + setup() { const { t } = useI18n() const localePath = useLocalePath() diff --git a/pages/onboarding/onboarding3.vue b/pages/onboarding/onboarding3.vue index e325551..09d25e2 100644 --- a/pages/onboarding/onboarding3.vue +++ b/pages/onboarding/onboarding3.vue @@ -2,10 +2,10 @@
-
We are analyzing your background noise...
+
{{t('We are analyzing your background noise...')}}
-

What are your plans for today?

+

{{t("What are your plans for today?")}}

@@ -15,7 +15,7 @@ -

Creativity

+

{{t("Creativity")}}

@@ -25,7 +25,7 @@ -

Concentration

+

{{t("Concentration")}}

@@ -38,7 +38,7 @@ -
You can customize your selection later
+
{{t("You can customize your selection later")}}
diff --git a/pages/onboarding/onboarding4.vue b/pages/onboarding/onboarding4.vue index 9d253e2..f1f2369 100644 --- a/pages/onboarding/onboarding4.vue +++ b/pages/onboarding/onboarding4.vue @@ -2,10 +2,10 @@
-
We are analyzing your background noise...
+
{{t("We are analyzing your background noise...")}}
-

Please choose a soundscape

+

{{t("Please choose a soundscape")}}

@@ -15,7 +15,7 @@ -

Lagoon

+

{{t("Lagoon")}}

@@ -25,7 +25,7 @@ -

Tropics

+

{{t("Tropics")}}

@@ -37,7 +37,7 @@ -

Forest

+

{{t("Forest")}}

@@ -47,7 +47,7 @@ -

Meadow

+

{{t("Meadow")}}

@@ -61,7 +61,7 @@ -
You can customize your selection later
+
{{t("You can customize your selection later")}}
diff --git a/pages/products/[id].vue b/pages/products/[id].vue index a14bcf4..28e50f0 100755 --- a/pages/products/[id].vue +++ b/pages/products/[id].vue @@ -1,13 +1,22 @@