mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-02 18:15:22 +00:00
feat: translate keys
This commit is contained in:
parent
8d0acfa1e0
commit
22ebade7ac
@ -65,6 +65,13 @@ const msg = {
|
|||||||
divide: "Divide",
|
divide: "Divide",
|
||||||
convertToMilliseconds: "Convert Unix Timestamp(milliseconds)",
|
convertToMilliseconds: "Convert Unix Timestamp(milliseconds)",
|
||||||
convertToSeconds: "Convert Unix Timestamp(seconds)",
|
convertToSeconds: "Convert Unix Timestamp(seconds)",
|
||||||
|
smooth: "Smooth",
|
||||||
|
showSymbol: "Show Symbol",
|
||||||
|
step: "Step",
|
||||||
|
showValues: "Show Values",
|
||||||
|
fontSize: "Font Size",
|
||||||
|
showBackground: "Show Background",
|
||||||
|
areaOpacity: "Area Opacity",
|
||||||
hourTip: "Select Hour",
|
hourTip: "Select Hour",
|
||||||
minuteTip: "Select Minute",
|
minuteTip: "Select Minute",
|
||||||
secondTip: "Select Second",
|
secondTip: "Select Second",
|
||||||
@ -260,8 +267,6 @@ const msg = {
|
|||||||
eventsParameters: "Event Parameters",
|
eventsParameters: "Event Parameters",
|
||||||
eventDetail: "Event Detail",
|
eventDetail: "Event Detail",
|
||||||
value: "Value",
|
value: "Value",
|
||||||
tableHeader: "Header Names",
|
|
||||||
tableValues: "Table Values",
|
|
||||||
show: "Show",
|
show: "Show",
|
||||||
hide: "Hide",
|
hide: "Hide",
|
||||||
statistics: "Statistics",
|
statistics: "Statistics",
|
||||||
|
@ -63,6 +63,13 @@ const msg = {
|
|||||||
divide: "除法",
|
divide: "除法",
|
||||||
convertToMilliseconds: "转换Unix时间戳(毫秒)",
|
convertToMilliseconds: "转换Unix时间戳(毫秒)",
|
||||||
convertToSeconds: "转换Unix时间戳(秒)",
|
convertToSeconds: "转换Unix时间戳(秒)",
|
||||||
|
smooth: "光滑的",
|
||||||
|
showSymbol: "显示符号",
|
||||||
|
step: "台阶",
|
||||||
|
showValues: "显示值",
|
||||||
|
fontSize: "字体大小",
|
||||||
|
showBackground: "显示背景",
|
||||||
|
areaOpacity: "透明度",
|
||||||
hourTip: "选择小时",
|
hourTip: "选择小时",
|
||||||
minuteTip: "选择分钟",
|
minuteTip: "选择分钟",
|
||||||
secondTip: "选择秒数",
|
secondTip: "选择秒数",
|
||||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License. -->
|
limitations under the License. -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<span class="label">Area Opacity</span>
|
<span class="label">{{ t("areaOpacity") }}</span>
|
||||||
<el-slider
|
<el-slider
|
||||||
class="bar-width"
|
class="bar-width"
|
||||||
v-model="opacity"
|
v-model="opacity"
|
||||||
@ -31,6 +31,9 @@ limitations under the License. -->
|
|||||||
import { defineProps, ref, defineEmits } from "vue";
|
import { defineProps, ref, defineEmits } from "vue";
|
||||||
import type { PropType } from "vue";
|
import type { PropType } from "vue";
|
||||||
import { AreaConfig } from "@/types/dashboard";
|
import { AreaConfig } from "@/types/dashboard";
|
||||||
|
import { useI18n } from "vue-i18n";
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
config: {
|
config: {
|
||||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License. -->
|
limitations under the License. -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<span class="label">Show Background</span>
|
<span class="label">{{ t("showBackground") }}</span>
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="showBackground"
|
v-model="showBackground"
|
||||||
active-text="Yes"
|
active-text="Yes"
|
||||||
@ -27,6 +27,9 @@ limitations under the License. -->
|
|||||||
import { defineProps, ref, defineEmits } from "vue";
|
import { defineProps, ref, defineEmits } from "vue";
|
||||||
import type { PropType } from "vue";
|
import type { PropType } from "vue";
|
||||||
import { BarConfig } from "@/types/dashboard";
|
import { BarConfig } from "@/types/dashboard";
|
||||||
|
import { useI18n } from "vue-i18n";
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
config: {
|
config: {
|
||||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License. -->
|
limitations under the License. -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<span class="label">Font Size</span>
|
<span class="label">{{ t("fontSize") }}</span>
|
||||||
<el-slider
|
<el-slider
|
||||||
class="slider"
|
class="slider"
|
||||||
v-model="fontSize"
|
v-model="fontSize"
|
||||||
@ -31,6 +31,9 @@ limitations under the License. -->
|
|||||||
import { defineProps, ref, defineEmits } from "vue";
|
import { defineProps, ref, defineEmits } from "vue";
|
||||||
import type { PropType } from "vue";
|
import type { PropType } from "vue";
|
||||||
import { CardConfig } from "@/types/dashboard";
|
import { CardConfig } from "@/types/dashboard";
|
||||||
|
import { useI18n } from "vue-i18n";
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
config: {
|
config: {
|
||||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License. -->
|
limitations under the License. -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<span class="label">Smooth</span>
|
<span class="label">{{ t("smooth") }}</span>
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="smooth"
|
v-model="smooth"
|
||||||
active-text="Yes"
|
active-text="Yes"
|
||||||
@ -23,7 +23,7 @@ limitations under the License. -->
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<span class="label">Show Symbol</span>
|
<span class="label">{{ t("showSymbol") }}</span>
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="showSymbol"
|
v-model="showSymbol"
|
||||||
active-text="Yes"
|
active-text="Yes"
|
||||||
@ -32,7 +32,7 @@ limitations under the License. -->
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<span class="label">Step</span>
|
<span class="label">{{ t("step") }}</span>
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="step"
|
v-model="step"
|
||||||
active-text="Yes"
|
active-text="Yes"
|
||||||
@ -45,7 +45,9 @@ limitations under the License. -->
|
|||||||
import { defineProps, ref, defineEmits } from "vue";
|
import { defineProps, ref, defineEmits } from "vue";
|
||||||
import type { PropType } from "vue";
|
import type { PropType } from "vue";
|
||||||
import { LineConfig } from "@/types/dashboard";
|
import { LineConfig } from "@/types/dashboard";
|
||||||
|
import { useI18n } from "vue-i18n";
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
config: {
|
config: {
|
||||||
type: Object as PropType<LineConfig>,
|
type: Object as PropType<LineConfig>,
|
||||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License. -->
|
limitations under the License. -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<span class="label">Show Values</span>
|
<span class="label">{{ t("showValues") }}</span>
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="showTableValues"
|
v-model="showTableValues"
|
||||||
active-text="Yes"
|
active-text="Yes"
|
||||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License. -->
|
limitations under the License. -->
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<span class="label">{{ $t("maxItemNum") }}</span>
|
<span class="label">{{ t("maxItemNum") }}</span>
|
||||||
<el-input
|
<el-input
|
||||||
class="input"
|
class="input"
|
||||||
v-model="topN"
|
v-model="topN"
|
||||||
|
Loading…
Reference in New Issue
Block a user