diff --git a/src/features/search/components/Searchbar.vue b/src/features/search/components/Searchbar.vue index 8955b17..ac0f9df 100644 --- a/src/features/search/components/Searchbar.vue +++ b/src/features/search/components/Searchbar.vue @@ -18,6 +18,9 @@ limitations under the License. const searchQuery = defineModel(); import { useRouter } from 'vue-router'; +import { useI18n } from 'vue-i18n'; + +const { t } = useI18n(); const router = useRouter() const props = defineProps(['autoSubmit']) @@ -38,10 +41,10 @@ const submitSearch = function () { - + diff --git a/src/locales/en.json b/src/locales/en.json index 9e26dfe..57623cf 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1 +1,8 @@ -{} \ No newline at end of file +{ + "search": { + "searchBar": { + "submit": "Search", + "placeholder": "Search..." + } + } +} \ No newline at end of file