diff --git a/frontend/src/components/DriverEditor.vue b/frontend/src/components/DriverEditor.vue index 3fd438b..63eaca2 100644 --- a/frontend/src/components/DriverEditor.vue +++ b/frontend/src/components/DriverEditor.vue @@ -135,7 +135,7 @@ function handleRemove() { v-if="notFound" class="rounded border border-red-200 bg-red-100 px-1.5 py-0.5 text-[10px] font-bold text-red-600 xl:text-xs" > - {{ $t('labelMissingExe') }} +{{ $t('labelInvalidPath') }} @@ -260,7 +260,7 @@ function handleRemove() { class="mt-1 inline-flex items-center gap-1 text-[10px] text-red-600 xl:text-xs" > - {{ $t('labelMissingExe') }} + {{ $t('labelInvalidPath') }}

diff --git a/frontend/src/components/DriverInspectModal.vue b/frontend/src/components/DriverInspectModal.vue index f97d30f..11612e5 100644 --- a/frontend/src/components/DriverInspectModal.vue +++ b/frontend/src/components/DriverInspectModal.vue @@ -94,7 +94,7 @@ watch( v-if="groupStore.notFoundDrivers.includes(d.id)" class="rounded border border-red-200 bg-red-100 px-2 py-0.5 text-xs font-bold text-red-700 xl:text-xs" > - {{ $t('labelMissingExe') }} + {{ $t('labelInvalidPath') }} diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index 00f5349..34c5953 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -101,14 +101,14 @@ "labelIncompatibleWith": "Incompatible With", "labelLatestVersion": "Latest Version", "labelManual": "Manual", - "labelMissingExe": "Not Found", + "labelInvalidPath": "Invalid Path", + "labelInvalidPathCount": "{count} invalid path | {count} invalid paths", "labelMatch": "Match", "labelMultiPatternMatching": "Multi-Pattern Matching", "labelMultiRuleMatching": "Multi-Rule Matching", "labelNA": "N/A", "labelNo": "No", "labelNotAvailable": "Not available", - "labelPathMissing": "{count} not found", "labelPathOk": "All paths verified", "labelPathPrefix": "Path", "labelFlagsPrefix": "Args", diff --git a/frontend/src/i18n/zh_Hant_HK.json b/frontend/src/i18n/zh_Hant_HK.json index d693454..d61873c 100644 --- a/frontend/src/i18n/zh_Hant_HK.json +++ b/frontend/src/i18n/zh_Hant_HK.json @@ -101,14 +101,14 @@ "labelIncompatibleWith": "不能同時安裝", "labelLatestVersion": "最新版本", "labelManual": "手動輸入", - "labelMissingExe": "路徑無效", + "labelInvalidPath": "無效路徑", "labelMatch": "配對", "labelMultiPatternMatching": "多匹配值配對", "labelMultiRuleMatching": "多規則配對", "labelNA": "N/A", "labelNo": "否", "labelNotAvailable": "不可用", - "labelPathMissing": "{count} 個路徑無效", + "labelInvalidPathCount": "{count} 個無效路徑", "labelPathOk": "所有路徑有效", "labelPathPrefix": "路徑", "labelFlagsPrefix": "參數", diff --git a/frontend/src/pages/drivers/index.vue b/frontend/src/pages/drivers/index.vue index 95e49d1..4000ad7 100644 --- a/frontend/src/pages/drivers/index.vue +++ b/frontend/src/pages/drivers/index.vue @@ -142,7 +142,7 @@ function openInspect(id: number) { v-if="!groupStore.isAllDriversExist(g)" class="inline-flex items-center gap-0.5 rounded border border-red-200 bg-red-100 px-1.5 py-0.5 text-[10px] font-semibold text-red-600 xl:text-xs" :title=" - $t('labelPathMissing', { + $t('labelInvalidPathCount', { count: g.drivers.filter(d => groupStore.notFoundDrivers.includes(d.id)) .length }) @@ -150,7 +150,7 @@ function openInspect(id: number) { > {{ - $t('labelPathMissing', { + $t('labelInvalidPathCount', { count: g.drivers.filter(d => groupStore.notFoundDrivers.includes(d.id)) .length })