feat: add Catalan translation

This commit is contained in:
marc0s
2026-07-23 19:41:21 +02:00
parent 457063a48b
commit 144d6503cc
5 changed files with 3305 additions and 1 deletions
+14
View File
@@ -76,6 +76,19 @@ export function FlagES(props: FlagProps) {
);
}
/** Catalonia Senyera: four red horizontal bars on a yellow field */
export function FlagCAT(props: FlagProps) {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 27 18" width={W} height={H} className={flagClass} {...props}>
<rect width="27" height="18" fill="#FCDD09" />
<rect y="2" width="27" height="2" fill="#DA121A" />
<rect y="6" width="27" height="2" fill="#DA121A" />
<rect y="10" width="27" height="2" fill="#DA121A" />
<rect y="14" width="27" height="2" fill="#DA121A" />
</svg>
);
}
/** Italy Green, White, Red vertical */
export function FlagIT(props: FlagProps) {
return (
@@ -309,6 +322,7 @@ export function FlagSK(props: FlagProps) {
/** Map locale codes to flag components */
export const flagComponents: Record<string, (props: FlagProps) => ReactElement> = {
ca: FlagCAT,
cs: FlagCS,
sk: FlagSK,
da: FlagDK,