@@ -90,14 +90,14 @@ export default {
9090 }).then (response => {
9191 this .$pollJob ({
9292 jobId: response .dedicatezoneresponse .jobid ,
93- successMessage: ` Successfully dedicated zone` ,
93+ successMessage: this . $t ( ' label. zone.dedicated ' ) ,
9494 successMethod : () => {
9595 this .parentFetchData ()
9696 this .fetchParentData ()
9797 this .dedicatedDomainId = this .domainId
9898 this .dedicatedDomainModal = false
9999 this .$store .dispatch (' AddAsyncJob' , {
100- title: ' Successfully dedicated zone' ,
100+ title: this . $t ( ' label. zone.dedicated ' ) ,
101101 jobid: response .dedicatezoneresponse .jobid ,
102102 description: ` Domain ID: ${ this .dedicatedDomainId } ` ,
103103 status: ' progress'
@@ -109,7 +109,7 @@ export default {
109109 this .fetchParentData ()
110110 this .dedicatedDomainModal = false
111111 },
112- loadingMessage: ` Dedicating zone... ` ,
112+ loadingMessage: this . $t ( ' message.dedicating.zone ' ) ,
113113 catchMessage: ' Error encountered while fetching async job result' ,
114114 catchMethod : () => {
115115 this .parentFetchData ()
@@ -134,14 +134,14 @@ export default {
134134 }).then (response => {
135135 this .$pollJob ({
136136 jobId: response .dedicatepodresponse .jobid ,
137- successMessage: ` Successfully dedicated pod` ,
137+ successMessage: this . $t ( ' label. pod.dedicated ' ) ,
138138 successMethod : () => {
139139 this .parentFetchData ()
140140 this .fetchParentData ()
141141 this .dedicatedDomainId = this .domainId
142142 this .dedicatedDomainModal = false
143143 this .$store .dispatch (' AddAsyncJob' , {
144- title: ' Successfully dedicated pod' ,
144+ title: this . $t ( ' label. pod.dedicated ' ) ,
145145 jobid: response .dedicatepodresponse .jobid ,
146146 description: ` Domain ID: ${ this .dedicatedDomainId } ` ,
147147 status: ' progress'
@@ -153,7 +153,7 @@ export default {
153153 this .fetchParentData ()
154154 this .dedicatedDomainModal = false
155155 },
156- loadingMessage: ` Dedicating pod... ` ,
156+ loadingMessage: this . $t ( ' message.dedicating.pod ' ) ,
157157 catchMessage: ' Error encountered while fetching async job result' ,
158158 catchMethod : () => {
159159 this .parentFetchData ()
@@ -178,14 +178,14 @@ export default {
178178 }).then (response => {
179179 this .$pollJob ({
180180 jobId: response .dedicateclusterresponse .jobid ,
181- successMessage: ` Successfully dedicated cluster` ,
181+ successMessage: this . $t ( ' message. cluster.dedicated ' ) ,
182182 successMethod : () => {
183183 this .parentFetchData ()
184184 this .fetchParentData ()
185185 this .dedicatedDomainId = this .domainId
186186 this .dedicatedDomainModal = false
187187 this .$store .dispatch (' AddAsyncJob' , {
188- title: ' Successfully dedicated cluster' ,
188+ title: this . $t ( ' message. cluster.dedicated ' ) ,
189189 jobid: response .dedicateclusterresponse .jobid ,
190190 description: ` Domain ID: ${ this .dedicatedDomainId } ` ,
191191 status: ' progress'
@@ -197,7 +197,7 @@ export default {
197197 this .fetchParentData ()
198198 this .dedicatedDomainModal = false
199199 },
200- loadingMessage: ` Dedicating cluster... ` ,
200+ loadingMessage: this . $t ( ' message.dedicating.cluster ' ) ,
201201 catchMessage: ' Error encountered while fetching async job result' ,
202202 catchMethod : () => {
203203 this .parentFetchData ()
@@ -222,14 +222,14 @@ export default {
222222 }).then (response => {
223223 this .$pollJob ({
224224 jobId: response .dedicatehostresponse .jobid ,
225- successMessage: ` Successfully dedicated host` ,
225+ successMessage: this . $t ( ' message. host.dedicated ' ) ,
226226 successMethod : () => {
227227 this .parentFetchData ()
228228 this .fetchParentData ()
229229 this .dedicatedDomainId = this .domainId
230230 this .dedicatedDomainModal = false
231231 this .$store .dispatch (' AddAsyncJob' , {
232- title: ' Successfully dedicated host' ,
232+ title: this . $t ( ' message. host.dedicated ' ) ,
233233 jobid: response .dedicatehostresponse .jobid ,
234234 description: ` Domain ID: ${ this .dedicatedDomainId } ` ,
235235 status: ' progress'
@@ -241,7 +241,7 @@ export default {
241241 this .fetchParentData ()
242242 this .dedicatedDomainModal = false
243243 },
244- loadingMessage: ` Dedicating host... ` ,
244+ loadingMessage: this . $t ( ' message.dedicating.host ' ) ,
245245 catchMessage: ' Error encountered while fetching async job result' ,
246246 catchMethod : () => {
247247 this .parentFetchData ()
0 commit comments