feat(i18n): add danish localization

This commit is contained in:
Jesper Ordrup
2026-05-15 14:26:33 +02:00
committed by Linus Rath
parent fae15f073e
commit 5fdf226ebe
7 changed files with 2931 additions and 3 deletions
+10
View File
@@ -201,6 +201,16 @@ export function FlagCS(props: FlagProps) {
);
}
/** Danish flag - Red with a white cross */
export function FlagDa(props: FlagProps) {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 28" width={W} height={H} className={flagClass} {...props}>
<path fill="#c8102e" d="M0,0H37V28H0Z" />
<path stroke="#fff" stroke-width="4" d="M0,14h37M14,0v28" />
</svg>
);
}
/** Map locale codes to flag components */
export const flagComponents: Record<string, (props: FlagProps) => ReactElement> = {
en: FlagGB,