Skip to content

Commit

Permalink
fix: add changed locales[WTEL-4344]
Browse files Browse the repository at this point in the history
  • Loading branch information
Lera24 committed May 8, 2024
1 parent b93885a commit d35dcf0
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 16 deletions.
5 changes: 1 addition & 4 deletions src/app/components/utils/generate-password-input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<wt-input
:disabled="disabled"
:label="$t('objects.password')"
:label-props="{ hint: (hint || $t('objects.directory.passwordInfo')), hintPosition: 'right' }"
:label-props="{ hint: $t('objects.directory.passwordInfo'), hintPosition: 'right' }"
:placeholder="$t('objects.password')"
:required="required"
:v="v"
Expand Down Expand Up @@ -55,9 +55,6 @@ export default {
type: Boolean,
default: false,
},
hint: {
type: String,
},
},
data() {
return {
Expand Down
3 changes: 1 addition & 2 deletions src/app/locale/en/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export default {
objectHeader: {},
directory: {
directory: 'Directory',
passwordInfo: 'Enter value only if you want to edit (or create new) App Secret',
passwordInfo: 'Enter value only if you want to edit it (or create a new one). The empty field will leave the value unchanged',
users: {
users: 'User | Users',
allUsers: 'All users',
Expand Down Expand Up @@ -997,7 +997,6 @@ export default {
listen: 'Listen',
authType: 'Auth type',
authenticatedAs: 'Authenticated as',
passwordInfo: 'The empty value will leave the password unchanged',
},
singleSignOn: {
allTypes: 'All types',
Expand Down
1 change: 0 additions & 1 deletion src/app/locale/kz/kz.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ export default {
generalInfo: 'жалпы ақпарат',
directory: {
directory: 'Каталог',
passwordInfo: 'Құпиясөзді қайта жазу (немесе жаңасын жасау) қажет болса, мәнді енгізіңіз',
users: {
users: 'Пайдаланушы | Пайдаланушылар',
allUsers: 'Барлық пайдаланушылар',
Expand Down
3 changes: 1 addition & 2 deletions src/app/locale/ru/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export default {
objectHeader: {},
directory: {
directory: 'Каталог',
passwordInfo: 'Введите значение, если хотите перезаписать (или создать новый) пароль',
passwordInfo: 'Введите значение только если хотите его перезаписать (или задать новое). Пустое поле оставит значение тем же.',
users: {
users: 'Пользователь | Пользователи',
allUsers: 'Все пользователи',
Expand Down Expand Up @@ -995,7 +995,6 @@ export default {
listen: 'Прослушивать ',
authType: 'Тип аутентификации',
authenticatedAs: 'Аутентифицировано как',
passwordInfo: 'Пустое значение оставит пароль тем же',
},

singleSignOn: {
Expand Down
3 changes: 1 addition & 2 deletions src/app/locale/ua/ua.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export default {
objectHeader: {},
directory: {
directory: 'Каталог',
passwordInfo: 'Введіть значення, якщо хочете перезаписати (або створити новий) пароль',
passwordInfo: 'Введіть значення лише якщо хочете його перезаписати (або задати нове). Порожнє значення залишить пароль незмінним',
users: {
users: 'Користувач | Користувачі',
allUsers: 'Всі користувачі',
Expand Down Expand Up @@ -996,7 +996,6 @@ export default {
listen: 'Прослуховувати',
authType: 'Тип аутентифікації',
authenticatedAs: 'Аутентифіковано як',
passwordInfo: 'Порожнє значення залишить пароль незмінним',
},
singleSignOn: {
allTypes: 'Всі типи',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
:label="$t('objects.key')"
:v="v.itemInstance.properties.key"
:value="itemInstance.properties.key"
:label-props="{ hint: $t('objects.integrations.emailProfiles.passwordInfo'), hintPosition: 'right' }"
:label-props="{ hint: $t('objects.directory.passwordInfo'), hintPosition: 'right' }"
required
@input="setItemProp({ path: 'properties.key', value: $event })"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<wt-input
:disabled="disableUserInput"
:label="$t('objects.key')"
:label-props="{ hint: $t('objects.integrations.emailProfiles.passwordInfo'), hintPosition: 'right' }"
:label-props="{ hint: $t('objects.directory.passwordInfo'), hintPosition: 'right' }"
:v="v.itemInstance.properties.key"
:value="itemInstance.properties.key"
required
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@
v-if="isPlainAuthType"
:value="itemInstance.password"
:disabled="disableUserInput"
:hint="$t('objects.integrations.emailProfiles.passwordInfo')"
@input="setItemProp({ prop: 'password', value: $event })"
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<wt-input
:disabled="disableUserInput"
:label="$t('objects.integrations.storage.s3Access')"
:label-props="{ hint: $t('objects.integrations.emailProfiles.passwordInfo'), hintPosition: 'right' }"
:label-props="{ hint: $t('objects.directory.passwordInfo'), hintPosition: 'right' }"
:v="v.itemInstance.properties.accessKey"
:value="itemInstance.properties.accessKey"
required
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
<wt-select
:disabled="disableUserInput"
:label="$t('objects.routing.schema')"
:hint="$t('objects.integrations.emailProfiles.passwordInfo')"
:search-method="loadDropdownOptionsList"
:value="itemInstance.schema"
@input="setItemProp({ prop: 'schema', value: $event })"
Expand Down

0 comments on commit d35dcf0

Please sign in to comment.