diff --git a/src/client/theme-default/components/VPLocalSearchBox.vue b/src/client/theme-default/components/VPLocalSearchBox.vue index 36eeb84d..ee979f94 100644 --- a/src/client/theme-default/components/VPLocalSearchBox.vue +++ b/src/client/theme-default/components/VPLocalSearchBox.vue @@ -362,7 +362,7 @@ const defaultTranslations: { modal: ModalTranslations } = { } } -const $t = createSearchTranslate(defaultTranslations) +const translate = createSearchTranslate(defaultTranslations) // Back @@ -452,7 +452,7 @@ function formMarkRegex(terms: Set) {
diff --git a/src/client/theme-default/components/VPNavBarSearchButton.vue b/src/client/theme-default/components/VPNavBarSearchButton.vue index 2c943363..baf06b06 100644 --- a/src/client/theme-default/components/VPNavBarSearchButton.vue +++ b/src/client/theme-default/components/VPNavBarSearchButton.vue @@ -10,11 +10,11 @@ const defaultTranslations: { button: ButtonTranslations } = { } } -const $t = createSearchTranslate(defaultTranslations) +const translate = createSearchTranslate(defaultTranslations)