Translate all Chinese comments and strings to English
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -55,17 +55,17 @@ export const useAllMapDataStore = defineStore('allMapDataStore', {
|
||||
allFilterTimeframe: {},
|
||||
allFilterTrace: [],
|
||||
allFilterAttrs: [],
|
||||
hasResultRule: null, // click Apply 後檢查是否有 Data
|
||||
temporaryData: [], // 沒被 apply all 的 Data
|
||||
postRuleData: [], // has-result API & temp-filters API 的 Data
|
||||
hasResultRule: null, // Whether any data remains after clicking Apply
|
||||
temporaryData: [], // Data not yet applied via Apply All
|
||||
postRuleData: [], // Data for the has-result API and temp-filters API
|
||||
ruleData: [], // Funnle view's data
|
||||
isRuleData: [], // toggle button data
|
||||
allFunnelData: [],
|
||||
isUpdateFilter: false, // 是否成功儲存 Filter 檔
|
||||
isUpdateFilter: false, // Whether the filter file was saved successfully
|
||||
selectTimeFrame: [], // user select time start and end
|
||||
infinite404: null, // 無限滾動式是否到底要換頁
|
||||
infiniteStart: 0, // 無限滾動 case 開始的數字
|
||||
baseInfiniteStart: 0, // 無限滾動 case 開始的數字
|
||||
infinite404: null, // Whether infinite scroll has reached the last page
|
||||
infiniteStart: 0, // Starting index for infinite scroll cases
|
||||
baseInfiniteStart: 0, // Starting index for base infinite scroll cases
|
||||
}),
|
||||
getters: {
|
||||
processMap: state => {
|
||||
@@ -273,10 +273,10 @@ export const useAllMapDataStore = defineStore('allMapDataStore', {
|
||||
|
||||
const min = this.allFilterTimeframe.x_axis.min;
|
||||
const max = this.allFilterTimeframe.x_axis.max;
|
||||
// 給 Chart.js 原始資料,格式不同的畫會錯誤輸出
|
||||
// Preserve raw data for Chart.js; incorrect format causes wrong output
|
||||
this.allFilterTimeframe.x_axis.min_base = min;
|
||||
this.allFilterTimeframe.x_axis.max_base = max;
|
||||
// 轉成無秒的時間格式
|
||||
// Convert to a time format without seconds
|
||||
this.allFilterTimeframe.x_axis.min = min !== null ? moment(min).format('YYYY/MM/DD HH:mm') : null;
|
||||
this.allFilterTimeframe.x_axis.max = max !== null ? moment(max).format('YYYY/MM/DD HH:mm') : null;
|
||||
} catch(error) {
|
||||
|
||||
Reference in New Issue
Block a user