Skip to content

Commit

Permalink
fix: updating translation strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed Oct 3, 2024
1 parent 6d408c1 commit 91d0831
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
10 changes: 5 additions & 5 deletions public/i18n/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -779,13 +779,13 @@
"disconnect_unit_message": "The unit will be disconnected from the controller and will no longer be accessible from the controller itself. Do you want to proceed?",
"data_updated_every_seconds": "Data updated every {seconds} seconds",
"disclaimer": "Disclaimer",
"connect_unit_message": "Unit logs will be transmitted to the Controller for the purposes of storage, monitoring, and analysis of network usage. \nIf you do not wish for this data to leave the device, do not connect to the Controller.",
"connect_unit_message": "Unit logs will be transmitted to the Controller for the purposes of storage, monitoring, and analysis of network usage. If you do not wish for this data to leave the device, do not connect to the Controller.",
"confirm_and_connect": "Confirm and connect",
"sending_data_to_controller": "Sending Monitoring data to Controller",
"sending_data_to_controller_tooltip": "Complete monitoring available on Grafana with NethSecurity",
"sending_data_to_controller": "Sending monitoring data to Controller",
"sending_data_to_controller_tooltip": "Complete monitoring available on Grafana with NethSecurity {subscription_link}",
"sending_data_to_controller_tooltip_link": "subscription",
"last_sent": "Last sent: {date}.",
"no_last_sent": "Data is being prepared for transmission."
"last_sent": "Last sent: {date}",
"no_last_sent": "Data is being prepared for transmission"
},
"network": {
"title": "Network"
Expand Down
15 changes: 9 additions & 6 deletions src/views/standalone/system/ControllerView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -341,12 +341,15 @@ function promptConnectUnit() {
</label>
<NeTooltip>
<template #content>
{{ t('standalone.controller.sending_data_to_controller_tooltip') }}
<NeLink inverted-theme>
<RouterLink :to="`${getStandaloneRoutePrefix(route)}/system/subscription`">
{{ t('standalone.controller.sending_data_to_controller_tooltip_link') }}
</RouterLink>
</NeLink>
<I18nT tag="p" keypath="standalone.controller.sending_data_to_controller_tooltip">
<template #subscription_link>
<NeLink inverted-theme>
<RouterLink :to="`${getStandaloneRoutePrefix(route)}/system/subscription`">
{{ t('standalone.controller.sending_data_to_controller_tooltip_link') }}
</RouterLink>
</NeLink>
</template>
</I18nT>
</template>
</NeTooltip>
</div>
Expand Down

0 comments on commit 91d0831

Please sign in to comment.