File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
components/cc-addon-credentials-beta Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 11import { fakeString } from '../../lib/fake-strings.js' ;
22import { notifyError , notifySuccess } from '../../lib/notifications.js' ;
33import { defineSmartComponent } from '../../lib/smart/define-smart-component.js' ;
4+ import { generateDocsHref } from '../../lib/utils.js' ;
45import { i18n } from '../../translations/translation.js' ;
56import '../cc-smart-container/cc-smart-container.js' ;
67import { CcAddonCredentialsBetaClient } from './cc-addon-credentials-beta.client.js' ;
@@ -27,8 +28,8 @@ const LOADING_STATE = {
2728 } ,
2829 ] ,
2930 docLink : {
30- text : i18n ( 'cc-addon-credentials-beta.doc-link.otoroshi' ) ,
31- href : 'https://www.clever-cloud.com/developers/doc/ addons/otoroshi/' ,
31+ text : i18n ( 'cc-addon-credentials-beta.doc-link.otoroshi-ng ' ) ,
32+ href : generateDocsHref ( '/ addons/otoroshi/#use-otoroshi-in-a-network-group' ) ,
3233 } ,
3334 } ,
3435 api : {
@@ -56,8 +57,8 @@ const LOADING_STATE = {
5657 } ,
5758 ] ,
5859 docLink : {
59- text : i18n ( 'cc-addon-credentials-beta.doc-link.otoroshi' ) ,
60- href : 'https://www.clever-cloud.com/developers/doc/ addons/otoroshi/' ,
60+ text : i18n ( 'cc-addon-credentials-beta.doc-link.otoroshi-api ' ) ,
61+ href : generateDocsHref ( '/ addons/otoroshi/#manage-otoroshi-from-its-api' ) ,
6162 } ,
6263 } ,
6364 } ,
Original file line number Diff line number Diff line change @@ -191,7 +191,8 @@ export const translations = {
191191 'cc-addon-credentials-beta.choice.elastic' : `Elastic` ,
192192 'cc-addon-credentials-beta.choice.kibana' : `Kibana` ,
193193 'cc-addon-credentials-beta.doc-link.keycloak' : `Secured multi-instances - Documentation` ,
194- 'cc-addon-credentials-beta.doc-link.otoroshi' : `Otoroshi - Documentation` ,
194+ 'cc-addon-credentials-beta.doc-link.otoroshi-api' : `Manage Otoroshi from its API - Documentation` ,
195+ 'cc-addon-credentials-beta.doc-link.otoroshi-ng' : `Otoroshi in a Network Group - Documentation` ,
195196 'cc-addon-credentials-beta.error' : `Something went wrong while loading add-on information.` ,
196197 'cc-addon-credentials-beta.heading' : `Access` ,
197198 'cc-addon-credentials-beta.ng-multi-instances.disabling.error' : `Something went wrong while trying to disable the secured multi-instances` ,
Original file line number Diff line number Diff line change @@ -202,7 +202,8 @@ export const translations = {
202202 'cc-addon-credentials-beta.choice.elastic' : `Elastic` ,
203203 'cc-addon-credentials-beta.choice.kibana' : `Kibana` ,
204204 'cc-addon-credentials-beta.doc-link.keycloak' : `Multi-instances sécurisé - Documentation` ,
205- 'cc-addon-credentials-beta.doc-link.otoroshi' : `Otoroshi - Documentation` ,
205+ 'cc-addon-credentials-beta.doc-link.otoroshi-api' : `Gérer Otoroshi via son API - Documentation` ,
206+ 'cc-addon-credentials-beta.doc-link.otoroshi-ng' : `Otoroshi dans un Network Group - Documentation` ,
206207 'cc-addon-credentials-beta.error' : `Une erreur est survenue pendant le chargement des informations de l'add-on.` ,
207208 'cc-addon-credentials-beta.heading' : `Accès` ,
208209 'cc-addon-credentials-beta.ng-multi-instances.disabling.error' : `Une erreur est survenue lors de la désactivation du multi-instances sécurisé` ,
You can’t perform that action at this time.
0 commit comments