feat: finish new i18n translation format
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
v-if="response.body"
|
||||
ref="downloadResponse"
|
||||
v-tippy="{ theme: 'tooltip' }"
|
||||
:title="$t('download_file')"
|
||||
:title="$t('action.download_file')"
|
||||
:icon="downloadIcon"
|
||||
@click.native="downloadResponse"
|
||||
/>
|
||||
@@ -96,7 +96,7 @@ export default {
|
||||
document.body.appendChild(a)
|
||||
a.click()
|
||||
this.downloadIcon = "done"
|
||||
this.$toast.success(this.$t("download_started"), {
|
||||
this.$toast.success(this.$t("state.download_started"), {
|
||||
icon: "done",
|
||||
})
|
||||
setTimeout(() => {
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
copyResponse() {
|
||||
copyToClipboard(this.responseBodyText)
|
||||
this.copyIcon = "done"
|
||||
this.$toast.success(this.$t("copied_to_clipboard"), {
|
||||
this.$toast.success(this.$t("state.copied_to_clipboard"), {
|
||||
icon: "done",
|
||||
})
|
||||
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
v-if="response.body"
|
||||
ref="downloadResponse"
|
||||
v-tippy="{ theme: 'tooltip' }"
|
||||
:title="$t('download_file')"
|
||||
:title="$t('action.download_file')"
|
||||
:icon="downloadIcon"
|
||||
@click.native="downloadResponse"
|
||||
/>
|
||||
@@ -101,7 +101,7 @@ export default {
|
||||
document.body.appendChild(a)
|
||||
a.click()
|
||||
this.downloadIcon = "done"
|
||||
this.$toast.success(this.$t("download_started"), {
|
||||
this.$toast.success(this.$t("state.download_started"), {
|
||||
icon: "done",
|
||||
})
|
||||
setTimeout(() => {
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
v-if="response.body"
|
||||
ref="downloadResponse"
|
||||
v-tippy="{ theme: 'tooltip' }"
|
||||
:title="$t('download_file')"
|
||||
:title="$t('action.download_file')"
|
||||
:icon="downloadIcon"
|
||||
@click.native="downloadResponse"
|
||||
/>
|
||||
@@ -100,7 +100,7 @@ export default {
|
||||
document.body.appendChild(a)
|
||||
a.click()
|
||||
this.downloadIcon = "done"
|
||||
this.$toast.success(this.$t("download_started"), {
|
||||
this.$toast.success(this.$t("state.download_started"), {
|
||||
icon: "done",
|
||||
})
|
||||
setTimeout(() => {
|
||||
@@ -112,7 +112,7 @@ export default {
|
||||
copyResponse() {
|
||||
copyToClipboard(this.responseBodyText)
|
||||
this.copyIcon = "done"
|
||||
this.$toast.success(this.$t("copied_to_clipboard"), {
|
||||
this.$toast.success(this.$t("state.copied_to_clipboard"), {
|
||||
icon: "done",
|
||||
})
|
||||
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
v-if="response.body"
|
||||
ref="downloadResponse"
|
||||
v-tippy="{ theme: 'tooltip' }"
|
||||
:title="$t('download_file')"
|
||||
:title="$t('action.download_file')"
|
||||
:icon="downloadIcon"
|
||||
@click.native="downloadResponse"
|
||||
/>
|
||||
@@ -92,7 +92,7 @@ export default {
|
||||
document.body.appendChild(a)
|
||||
a.click()
|
||||
this.downloadIcon = "done"
|
||||
this.$toast.success(this.$t("download_started"), {
|
||||
this.$toast.success(this.$t("state.download_started"), {
|
||||
icon: "done",
|
||||
})
|
||||
setTimeout(() => {
|
||||
@@ -104,7 +104,7 @@ export default {
|
||||
copyResponse() {
|
||||
copyToClipboard(this.responseBodyText)
|
||||
this.copyIcon = "done"
|
||||
this.$toast.success(this.$t("copied_to_clipboard"), {
|
||||
this.$toast.success(this.$t("state.copied_to_clipboard"), {
|
||||
icon: "done",
|
||||
})
|
||||
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
v-if="response.body"
|
||||
ref="downloadResponse"
|
||||
v-tippy="{ theme: 'tooltip' }"
|
||||
:title="$t('download_file')"
|
||||
:title="$t('action.download_file')"
|
||||
:icon="downloadIcon"
|
||||
@click.native="downloadResponse"
|
||||
/>
|
||||
@@ -91,7 +91,7 @@ export default {
|
||||
document.body.appendChild(a)
|
||||
a.click()
|
||||
this.downloadIcon = "done"
|
||||
this.$toast.success(this.$t("download_started"), {
|
||||
this.$toast.success(this.$t("state.download_started"), {
|
||||
icon: "done",
|
||||
})
|
||||
setTimeout(() => {
|
||||
@@ -103,7 +103,7 @@ export default {
|
||||
copyResponse() {
|
||||
copyToClipboard(this.responseBodyText)
|
||||
this.copyIcon = "done"
|
||||
this.$toast.success(this.$t("copied_to_clipboard"), {
|
||||
this.$toast.success(this.$t("state.copied_to_clipboard"), {
|
||||
icon: "done",
|
||||
})
|
||||
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
|
||||
|
||||
Reference in New Issue
Block a user