fix: use i18n locale for timestamp formatting instead of hardcoded fr-FR
This commit is contained in:
@@ -43,6 +43,9 @@ const en = {
|
||||
|
||||
// Tool call
|
||||
'tool.result': 'Result',
|
||||
|
||||
// Timestamps
|
||||
'time.yesterday': 'Yesterday',
|
||||
} as const;
|
||||
|
||||
const fr: Record<keyof typeof en, string> = {
|
||||
@@ -78,6 +81,8 @@ const fr: Record<keyof typeof en, string> = {
|
||||
'thinking.label': 'Réflexion',
|
||||
|
||||
'tool.result': 'Résultat',
|
||||
|
||||
'time.yesterday': 'Hier',
|
||||
};
|
||||
|
||||
const messages: Record<string, Record<string, string>> = { en, fr };
|
||||
|
||||
Reference in New Issue
Block a user