Browse Source

fix: Fixed shared view password localisation

pull/6519/head
Muhammed Mustafa 1 year ago
parent
commit
1452afb7f4
  1. 2
      packages/nc-gui/components/shared-view/AskPassword.vue
  2. 1
      packages/nc-gui/lang/en.json
  3. 2
      packages/nc-gui/pages/index/[typeOrId]/form/[viewId].vue

2
packages/nc-gui/components/shared-view/AskPassword.vue

@ -48,7 +48,7 @@ const focus: VNodeRef = (el: typeof InputPassword) => el?.$el?.querySelector('in
class="nc-input-md"
hide-details
size="large"
:placeholder="$t('msg.info.signUp.enterPassword')"
:placeholder="$t('msg.enterPassword')"
/>
</a-form-item>
</a-form>

1
packages/nc-gui/lang/en.json

@ -844,6 +844,7 @@
"key": "Key"
},
"msg": {
"enterPassword":"Enter password",
"bySigningUp": "By signing up, you agree to the",
"subscribeToOurWeeklyNewsletter": "Subscribe to our weekly newsletter",
"verifyingPassword": "Verifying Password",

2
packages/nc-gui/pages/index/[typeOrId]/form/[viewId].vue

@ -79,7 +79,7 @@ watch(
<a-form layout="vertical" no-style :model="form" @finish="loadSharedView">
<a-form-item name="password" :rules="[{ required: true, message: $t('msg.error.signUpRules.passwdRequired') }]">
<a-input-password v-model:value="form.password" size="large" :placeholder="$t('msg.info.signUp.enterPassword')" />
<a-input-password v-model:value="form.password" size="large" :placeholder="$t('msg.enterPassword')" />
</a-form-item>
<Transition name="layout">

Loading…
Cancel
Save