feature: i18next first sentence done
This commit is contained in:
@@ -8,7 +8,9 @@ i18next
|
||||
.init({
|
||||
// 配置你的本地化選項
|
||||
resources: {
|
||||
en: enLocale,
|
||||
en: {
|
||||
translation: enLocale
|
||||
},
|
||||
de: {
|
||||
translation: {
|
||||
greeting: 'Hallo!'
|
||||
|
||||
@@ -153,6 +153,7 @@ import CompareStore from '@/stores/compare.js';
|
||||
import SidebarStates from '@/components/Compare/SidebarStates.vue';
|
||||
import { setLineChartData } from '@/module/setChartData.js';
|
||||
import { simpleTimeLabel, followTimeLabel, dateLabel } from '@/module/timeLabel.js';
|
||||
import i18next from '@/i18n/i18n';
|
||||
|
||||
export default {
|
||||
setup() {
|
||||
@@ -179,7 +180,7 @@ export default {
|
||||
// {tagId: '#resource', label: 'Resource'},
|
||||
],
|
||||
contentData: {
|
||||
avgCycleTime: {title: 'Average Cycle Time', x: 'Date', y: 'Cycle time'},
|
||||
avgCycleTime: {title: i18next.t("Compare.avgCycleTimeTitle"), x: 'Date', y: 'Cycle time'},
|
||||
avgCycleEfficiency: {title: 'Cycle Efficiency', x: 'Date', y: 'Cycle efficiency (%)'},
|
||||
avgProcessTime: {title: 'Average Processing Time', x: 'Date', y: 'Processing time'},
|
||||
avgProcessTimeByTask: {title: 'Average Processing Time by Activity', x: 'Processing time', y: 'Activity'},
|
||||
|
||||
Reference in New Issue
Block a user