[i18n] Format text to local lowercase (#481)
This commit is contained in:
@@ -22,7 +22,7 @@ export const i18n = use(initReactI18next)
|
|||||||
format: (value, format) => {
|
format: (value, format) => {
|
||||||
switch (format) {
|
switch (format) {
|
||||||
case 'lowercase':
|
case 'lowercase':
|
||||||
return value.toLowerCase();
|
return value.toLocaleLowerCase();
|
||||||
default:
|
default:
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user