[i18n] Format text to local lowercase (#481)

This commit is contained in:
schroda
2023-11-27 19:14:58 +01:00
committed by GitHub
parent 259d1d87df
commit b2e6c040f1

View File

@@ -22,7 +22,7 @@ export const i18n = use(initReactI18next)
format: (value, format) => {
switch (format) {
case 'lowercase':
return value.toLowerCase();
return value.toLocaleLowerCase();
default:
return value;
}