feat: implement internationalization support by updating locale files and adding language switch component
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import routeFactory from '../routeFactory';
|
||||
|
||||
export function getQuickLinks(t: (key: string) => string, locale: string) {
|
||||
export function getQuickLinks(t: any, locale: string) {
|
||||
const routes = routeFactory(t, locale);
|
||||
|
||||
return [
|
||||
{
|
||||
title: routes.home.title,
|
||||
|
||||
Reference in New Issue
Block a user