1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

[WIP] i18n constant strings

This commit is contained in:
McMatts 2022-03-01 22:40:51 -05:00
parent ce4f62d346
commit 08f21346c1
40 changed files with 112 additions and 117 deletions

View file

@ -9,7 +9,7 @@
<p class="color-red-700 margin-top-10">Email not found</p>
{{/if}}
</div>
{{ui/ui-button color=constants.Color.Yellow light=true label=constants.Label.Reset onClick=(action "forgot")}}
{{ui/ui-button color=constants.Color.Yellow light=true label=(localize 'reset') onClick=(action "forgot")}}
{{/if}}
<Ui::UiSpacer @size="400" />

View file

@ -11,7 +11,7 @@
<small class="form-text text-muted">Please type your new password again</small>
</div>
<div class="margin-top-10 margin-bottom-20">
{{ui/ui-button color=constants.Color.Green light=true label=constants.Label.Reset onClick=(action "reset")}}
{{ui/ui-button color=constants.Color.Green light=true label=(localize 'reset') onClick=(action "reset")}}
<span class="{{unless mustMatch "d-none"}} color-red-600 margin-left-20">Passwords must match</span>
</div>
</form>

View file

@ -21,5 +21,5 @@
{{input id="confirmPassword" type="password" value=password.confirmation class=(if hasConfirmPasswordError "form-control is-invalid" "form-control")}}
</div>
{{/if}}
{{ui/ui-button color=constants.Color.Green light=true label=constants.Label.Save onClick=(action "save")}}
{{ui/ui-button color=constants.Color.Green light=true label=(localize 'save') onClick=(action "save")}}
</div>