Skip to content
Snippets Groups Projects
Commit 2c1a7f43 authored by MeiMei's avatar MeiMei Committed by Acid Chicken (硫酸鶏)
Browse files

Fix #4152 (#4224)

* Fix #4152

* fix

* remove unused code
parent 769e6182
No related branches found
No related tags found
No related merge requests found
type Locale = { [key: string]: string };
declare const locales: { [lang: string]: any };
declare const locales: { [lang: string]: Locale };
export default locales;
export = locales;
......@@ -16,7 +16,7 @@ import config from '../../config';
import { licenseHtml } from '../../misc/license';
import { copyright } from '../../const.json';
import endpoints from '../api/endpoints';
import locales from '../../../locales';
import * as locales from '../../../locales';
import * as nestedProperty from 'nested-property';
function getLang(lang: string): string {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment