Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Commit 5fdf19b

Browse files
committed
Fixing html tags in text
1 parent 7ad730c commit 5fdf19b

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

src/locales/en.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -793,8 +793,8 @@
793793
"label.done": "Done",
794794
"label.double.quotes.are.not.allowed": "Double quotes are not allowed",
795795
"label.download": "Download",
796-
"label.download.kubeconfig.cluster": "Download kubeconfig for the cluster <br><br> The <code>kubectl</code> command-line tool uses kubeconfig files to find the information it needs to choose a cluster and communicate with the API server of a cluster.",
797-
"label.download.kubectl": "Download <code>kubectl</code> tool for cluster's Kubernetes version",
796+
"label.download.kubeconfig.cluster": "Download kubeconfig for the cluster <br><br> The <code><b>kubectl</b></code> command-line tool uses kubeconfig files to find the information it needs to choose a cluster and communicate with the API server of a cluster.",
797+
"label.download.kubectl": "Download <code><b>kubectl</b></code> tool for cluster's Kubernetes version",
798798
"label.download.kubernetes.cluster.config": "Download Kubernetes cluster config",
799799
"label.download.progress": "Download Progress",
800800
"label.dpd": "Dead Peer Detection",
@@ -2145,7 +2145,7 @@
21452145
"label.usageinterface": "Usage Interface",
21462146
"label.usagename": "Usage Type",
21472147
"label.usageunit": "Unit",
2148-
"label.use.kubectl.access.cluster": "Use <code>kubectl</code> and <code>kubeconfig</code> file to access cluster",
2148+
"label.use.kubectl.access.cluster": "<code><b>kubectl</b></code> and <code><b>kubeconfig</b></code> file to access cluster",
21492149
"label.use.vm.ip": "Use VM IP:",
21502150
"label.use.vm.ips": "Use VM IPs",
21512151
"label.used": "Used",

src/views/compute/KubernetesServiceTab.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,21 @@
4040
<a-card :title="$t('label.using.cli')" :loading="this.versionLoading">
4141
<a-timeline>
4242
<a-timeline-item>
43-
<p>
44-
{{ $t('label.download.kubeconfig.cluster') }}
43+
<p v-html="$t('label.download.kubeconfig.cluster')">
4544
</p>
4645
</a-timeline-item>
4746
<a-timeline-item>
47+
<p v-html="$t('label.download.kubectl')"></p>
4848
<p>
49-
{{ $t('label.download.kubectl') }} <br><br>
5049
{{ $t('label.linux') }}: <a :href="this.kubectlLinuxLink">{{ this.kubectlLinuxLink }}</a><br>
5150
{{ $t('label.macos') }}: <a :href="this.kubectlMacLink">{{ this.kubectlMacLink }}</a><br>
5251
{{ $t('label.windows') }}: <a :href="this.kubectlWindowsLink">{{ this.kubectlWindowsLink }}</a>
5352
</p>
5453
</a-timeline-item>
5554
<a-timeline-item>
55+
<p v-html="$t('label.use.kubectl.access.cluster')"></p>
5656
<p>
57-
{{ $t('label.use.kubectl.access.cluster') }}<br><br>
5857
<code><b>kubectl --kubeconfig /custom/path/kube.conf {COMMAND}</b></code><br><br>
59-
6058
<em>{{ $t('label.list.pods') }}</em><br>
6159
<code>kubectl --kubeconfig /custom/path/kube.conf get pods --all-namespaces</code><br>
6260
<em>{{ $t('label.list.nodes') }}</em><br>

0 commit comments

Comments
 (0)