Skip to content

Commit 6def156

Browse files
committed
Adding hotfix from release 4.5.2 without rts flags
1 parent 1ae9935 commit 6def156

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/main/utils/detectSystemLocale.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
// @flow
22
import { app } from 'electron';
3+
import { logger } from './logging';
34
import { LOCALES } from '../../common/types/locales.types.js';
45
import type { Locale } from '../../common/types/locales.types.js';
56

67
export const detectSystemLocale = (): Locale => {
78
const systemLocale = app.getLocale();
9+
logger.info('Detected system locale', { systemLocale });
810
if (systemLocale === 'ja') {
911
return LOCALES.japanese;
1012
}

0 commit comments

Comments
 (0)