16 lines
317 B
TypeScript
16 lines
317 B
TypeScript
import { en } from './en';
|
|
import { da } from './da';
|
|
import type { Translation } from './en';
|
|
|
|
export const translations: Record<string, Translation> = {
|
|
en,
|
|
da
|
|
};
|
|
|
|
export const languages = [
|
|
{ code: 'en', name: 'English' },
|
|
{ code: 'da', name: 'Dansk' }
|
|
] as const;
|
|
|
|
export type LanguageCode = 'en' | 'da';
|