diff --git a/vue/src/i18n/en.ts b/vue/src/i18n/en.ts index 76543c7..e7f3ae2 100644 --- a/vue/src/i18n/en.ts +++ b/vue/src/i18n/en.ts @@ -50,6 +50,8 @@ export const en: IIBI18nMap = { gridCellWidth: 'Grid Cell Width (px)', showChangeIndicators: 'Show Change Indicators', seedAsChange: 'Seed as Change', + defaultShowChangeIndicators: 'Default Show Change Indicators', + defaultSeedAsChange: 'Default Compare Seed as Change', defaultGridCellWidth: 'Default Grid Cell Width (px)', thumbnailResolution: 'Thumbnail Resolution (px)', inputTargetFolderPath: 'Enter the absolute path of the target folder', diff --git a/vue/src/i18n/zh-hans.ts b/vue/src/i18n/zh-hans.ts index 818742a..d2c7562 100644 --- a/vue/src/i18n/zh-hans.ts +++ b/vue/src/i18n/zh-hans.ts @@ -184,7 +184,9 @@ export const zhHans = { initiateSoftwareStartupConfig: '初始化软件启动配置', gridCellWidth: '网格单元宽度 (px)', showChangeIndicators: '显示变更指示器', - seedAsChange: 'Seed as Change', + seedAsChange: '将Seed也进行比较', + defaultShowChangeIndicators: '默认显示变更指示器', + defaultSeedAsChange: '默认将Seed也进行比较', defaultGridCellWidth: '默认网格单元宽度 (px)', thumbnailResolution: '缩略图分辨率 (px)', livePreview: '实时预览', diff --git a/vue/src/i18n/zh-hant.ts b/vue/src/i18n/zh-hant.ts index 972d1c9..2f300cb 100644 --- a/vue/src/i18n/zh-hant.ts +++ b/vue/src/i18n/zh-hant.ts @@ -1,6 +1,10 @@ import type { IIBI18nMap } from '.' export const zhHant: Partial = { + showChangeIndicators: '顯示變更指示器', + seedAsChange: '將Seed也進行比較', + defaultShowChangeIndicators: '預設顯示變更指示器', + defaultSeedAsChange: '預設將Seed也進行比較', exit: '退出', 'select-all': '全選', 'rerverse-select': '反選', @@ -11,7 +15,6 @@ export const zhHant: Partial = { saveSelectedAsJson: '儲存選取的圖像資訊', saveAllAsJson: '儲存所有圖像資訊', saveLoadedImageAsJson: '儲存已載入的圖像資訊', - showChangeIndicators: '顯示變更指示器', scrollDownToComparePrompt: '向下滾查看Prompt比較', sourceText: '源文本', structuredData: '結構化數據', diff --git a/vue/src/page/fileTransfer/stackView.vue b/vue/src/page/fileTransfer/stackView.vue index 9957cf2..d6a25fb 100644 --- a/vue/src/page/fileTransfer/stackView.vue +++ b/vue/src/page/fileTransfer/stackView.vue @@ -96,8 +96,8 @@ watch(sortedFiles, async (newList, oldList) => { } }) -const changeIndchecked = ref(true) -const seedChangeChecked = ref(false) +const changeIndchecked = ref(global.defaultChangeIndchecked) +const seedChangeChecked = ref(global.defaultSeedChangeChecked) function getRawGenParams () { //extract fullpaths of all files from sortedfiles to array, but only if it's an actual file (not a folder or something else) diff --git a/vue/src/page/globalSetting/ImageSetting.vue b/vue/src/page/globalSetting/ImageSetting.vue index af129a9..279183b 100644 --- a/vue/src/page/globalSetting/ImageSetting.vue +++ b/vue/src/page/globalSetting/ImageSetting.vue @@ -47,5 +47,11 @@ watch(() => [g.enableThumbnail, g.gridThumbnailResolution], debounce(async () => + + + + + + diff --git a/vue/src/store/useGlobalStore.ts b/vue/src/store/useGlobalStore.ts index 954cdde..c3ead3c 100644 --- a/vue/src/store/useGlobalStore.ts +++ b/vue/src/store/useGlobalStore.ts @@ -253,6 +253,8 @@ export const useGlobalStore = defineStore( darkModeControl, defaultSortingMethod, defaultGridCellWidth, + defaultChangeIndchecked: ref(true), + defaultSeedChangeChecked: ref(false), pathAliasMap, createEmptyPane, lang, @@ -281,6 +283,8 @@ export const useGlobalStore = defineStore( persist: { // debug: true, paths: [ + 'defaultChangeIndchecked', + 'defaultSeedChangeChecked', 'darkModeControl', 'dontShowAgainNewImgOpts', 'defaultSortingMethod',