Skip to content

Modular logistics and supply chain operating system (LSOS)

fixed onboard translations

Munkh-erdene Damdinbazar4f56e0416695
diff --git a/console/app/templates/onboard/index.hbs b/console/app/templates/onboard/index.hbs
index 999ee53e..35a80100 100644
--- a/console/app/templates/onboard/index.hbs
+++ b/console/app/templates/onboard/index.hbs
@@ -11,7 +11,7 @@
<FaIcon @icon="hand-spock" @size="lg" class="text-blue-900 mr-4" />
</div>
<p class="flex-1 text-sm text-blue-900 dark:text-blue-900">
- {{t "onboard.index.welcome-title" htnmlSafe=true companyName=(t "app.name")}}
+ {{t "onboard.index.welcome-title" htmlSafe=true companyName=(t "app.name")}}
{{t "onboard.index.welcome-text"}}
</p>
</div>
@@ -20,17 +20,17 @@
{{#if this.error}}
<InfoBlock @icon="exclamation-triangle" @text={{this.error}} class="mb-6 px-3 py-2 bg-red-300 text-red-900" @textClass="text-red-900" />
{{/if}}
- <InputGroup @name={{t "onboard.index.full-name"}} @value={{this.name}} @helpText={{t "onboard.index.full-name"}} @inputClass="input-lg" />
- <InputGroup @name={{t "onboard.index.your-email"}} @type="email" @value={{this.email}} @helpText={{t "onboard.index.your-email"}} @inputClass="input-lg" />
- <InputGroup @name={{t "common.phone"}} @helpText={{t "onboard.index.phone"}}>
+ <InputGroup @name={{t "onboard.index.full-name"}} @value={{this.name}} @helpText={{t "onboard.index.full-name-help-text"}} @inputClass="input-lg" />
+ <InputGroup @name={{t "onboard.index.your-email"}} @type="email" @value={{this.email}} @helpText={{t "onboard.index.your-email-help-text"}} @inputClass="input-lg" />
+ <InputGroup @name={{t "onboard.index.phone"}} @helpText={{t "onboard.index.phone-help-text"}}>
<PhoneInput @onInput={{fn (mut this.phone)}} class="form-input input-lg w-full" />
</InputGroup>
- <InputGroup @name={{t "onboard.index.organization-name"}} @value={{this.organization_name}} @helpText={{t "onboard.index.organization-name"}} @inputClass="input-lg" />
- <InputGroup @name={{t "onboard.index.password"}} @value={{this.password}} @type="password" @helpText={{t "onboard.index.password"}} @inputClass="input-lg" />
- <InputGroup @name={{t "onboard.index.confirm-password"}} @value={{this.password_confirmation}} @type="password" @helpText={{t "onboard.index.confirm-password"}} @inputClass="input-lg" />
+ <InputGroup @name={{t "onboard.index.organization-name"}} @value={{this.organization_name}} @helpText={{t "onboard.index.organization-help-text"}} @inputClass="input-lg" />
+ <InputGroup @name={{t "onboard.index.password"}} @value={{this.password}} @type="password" @helpText={{t "onboard.index.password-help-text"}} @inputClass="input-lg" />
+ <InputGroup @name={{t "onboard.index.confirm-password"}} @value={{this.password_confirmation}} @type="password" @helpText={{t "onboard.index.confirm-password-help-text"}} @inputClass="input-lg" />
<div class="flex items-center justify-end mt-5">
- <Button @icon="check" @iconPrefix="fas" @type="primary" @size="lg" @text={{t "onboard.index.continue-button"}} @isLoading={{this.isLoading}} @disabled={{this.readyToSubmit}} @onClick={{this.startOnboard}} />
+ <Button @icon="check" @iconPrefix="fas" @type="primary" @size="lg" @text={{t "onboard.index.continue-button-text"}} @isLoading={{this.isLoading}} @disabled={{this.readyToSubmit}} @onClick={{this.startOnboard}} />
</div>
</form>
</div>
\ No newline at end of file
diff --git a/console/translations/en-us.yaml b/console/translations/en-us.yaml
index d94a05d5..c94fec98 100644
--- a/console/translations/en-us.yaml
+++ b/console/translations/en-us.yaml
@@ -174,13 +174,19 @@ onboard:
title: Create your account
welcome-title: <strong>Welcome to {companyName}!</strong><br />
welcome-text: Complete the details required below to get started.
- full-name: Your full name.
- your-email: Your email address.
- phone: Your phone number.
- organization-name: Your organization name, all your services and resources will be managed under this organization, later you can create as many organizations as you want or need.
- password: Your password, make sure it's a good one.
- confirm-password: Just to confirm the password you entered above.
- continue-button: Continue
+ full-name: Full name
+ full-name-help-text: Your full name
+ your-email: Email address
+ your-email-help-text: Your email address
+ phone: Phone number
+ phone-help-text: Your phone number
+ organization-name: Organization name
+ organization-help-text: Your organization name, all your services and resources will be managed under this organization, later you can create as many organizations as you want or need.
+ password: Enter a password
+ password-help-text: Your password, make sure it's a good one.
+ confirm-password: Confirm your password
+ confirm-password-help-text: Just to confirm the password you entered above.
+ continue-button-text: Continue
verify-email:
title: Verify your email address
message-text: <strong>Almost done!</strong><br> Check your email for a verification code.