Skip to content

Commit

Permalink
fix(CreateOrEditPortForwardDrawer): enhance tooltip for restricted ob…
Browse files Browse the repository at this point in the history
…jects and update translation
  • Loading branch information
stephdl committed Jan 27, 2025
1 parent 4326b4d commit b56081e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,15 @@ async function createOrEditPortForward() {
:selected-label="t('ne_combobox.selected')"
:user-input-label="t('ne_combobox.user_input_label')"
ref="destinationObjectRef"
/>
>
<template #tooltip>
<NeTooltip
><template #content>{{
t('standalone.port_forward.restricted_object_tooltip')
}}</template></NeTooltip
>
</template>
</NeCombobox>
<NeTextInput
v-if="!anyProtocolSelected"
:label="t('standalone.port_forward.destination_port')"
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@
"enter_restricted_addresses": "Enter restricted addresses",
"restricted_addresses": "Restricted addresses",
"restricted_object": "Restricted object",
"restricted_object_tooltip": "All objects supported, except host sets with IP ranges",
"restricted_object_tooltip": "All objects supported, except host sets with IP ranges or with nested objects",
"no_object": "No object",
"port_forwards_for_destination_name": "Port forwards for destination '{name}'"
},
Expand Down

0 comments on commit b56081e

Please sign in to comment.