Skip to content

Commit

Permalink
feat(domains): update EditExternalDomain title and label for improved…
Browse files Browse the repository at this point in the history
… clarity
  • Loading branch information
stephdl committed Feb 14, 2025
1 parent 90780ee commit 6658082
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion core/ui/public/i18n/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,8 @@
"provider_already_installed": "Provider already installed",
"no_node_eligible_for_provider_installation": "No node is eligible for provider installation",
"domain_settings": "Domain settings",
"edit_external_domain": "Edit external domain"
"edit_external_domain": "Edit external domain {name}",
"edit_domain": "Edit domain"
},
"samba": {
"adminuser": "Samba admin username",
Expand Down
2 changes: 1 addition & 1 deletion core/ui/src/components/domains/EditExternalDomain.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@modal-hidden="$emit('hide')"
@primary-click="alterExternalDomain"
>
<template slot="title">{{ $t("domains.edit_external_domain") }}</template>
<template slot="title">{{ $t("domains.edit_external_domain", {name: domain.name}) }}</template>
<template slot="content">
<cv-form @submit.prevent="alterExternalDomain">
<NsTextInput
Expand Down
6 changes: 3 additions & 3 deletions core/ui/src/views/DomainConfiguration.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<NsInfoCard
v-else-if="!loading.listUserDomains"
light
:icon="Events32"
:icon="Settings32"
:title="$t('domains.domain_settings')"
>
<template #menu>
Expand All @@ -75,7 +75,7 @@
<cv-overflow-menu-item @click="showEditExternalDomain()">
<NsMenuItem
:icon="Edit20"
:label="$t('domains.edit_external_domain')"
:label="$t('domains.edit_domain')"
/>
</cv-overflow-menu-item>
</cv-overflow-menu>
Expand Down Expand Up @@ -1340,6 +1340,6 @@ export default {
padding-right: 0.75rem;
font-weight: bold;
text-align: right;
padding-bottom: 0.5rem;
padding-bottom: 1rem;
}
</style>

0 comments on commit 6658082

Please sign in to comment.