feat(i18n): remove title in contact and i18nize the page titles
This commit is contained in:
@@ -4,8 +4,7 @@ const { locale } = useI18n();
|
||||
const app = useAppStore();
|
||||
const pageTitle = computed(() => {
|
||||
if (!app.booted) return "Pihkaal";
|
||||
const name = app.screen.charAt(0).toUpperCase() + app.screen.slice(1);
|
||||
return `${name} - Pihkaal`;
|
||||
return `${$t(`screens.${app.screen}`)} - Pihkaal`;
|
||||
});
|
||||
|
||||
useHead({
|
||||
|
||||
Reference in New Issue
Block a user