feat: Add Catalan language option (#12454)

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Tom Moor
2026-05-25 15:56:32 -04:00
committed by GitHub
parent 4bd5585f8c
commit 6461aabc52
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -8,6 +8,10 @@ type LanguageOption = {
// Note: Updating the available languages? Make sure to also update the
// locales array in shared/utils/date.ts to enable translation for timestamps.
export const languageOptions: LanguageOption[] = [
{
label: "Català (Catalan)",
value: "ca_ES",
},
{
label: "简体中文 (Chinese, Simplified)",
value: "zh_CN",
+2
View File
@@ -11,6 +11,7 @@ import {
parse,
} from "date-fns";
import {
ca,
cs,
de,
enGB,
@@ -259,6 +260,7 @@ export function getCurrentDateTimeAsString(locale?: Intl.LocalesArgument) {
}
const locales = {
ca_ES: ca,
cs_CZ: cs,
de_DE: de,
en_GB: enGB,