mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-24 01:39:06 +01:00
parent
b7634444a8
commit
fbd1770e1c
6
locales/index.d.ts
vendored
6
locales/index.d.ts
vendored
@ -1,5 +1,3 @@
|
|||||||
type Locale = { [key: string]: string };
|
declare const locales: { [lang: string]: any };
|
||||||
|
|
||||||
declare const locales: { [lang: string]: Locale };
|
export = locales;
|
||||||
|
|
||||||
export default locales;
|
|
||||||
|
@ -16,7 +16,7 @@ import config from '../../config';
|
|||||||
import { licenseHtml } from '../../misc/license';
|
import { licenseHtml } from '../../misc/license';
|
||||||
import { copyright } from '../../const.json';
|
import { copyright } from '../../const.json';
|
||||||
import endpoints from '../api/endpoints';
|
import endpoints from '../api/endpoints';
|
||||||
import locales from '../../../locales';
|
import * as locales from '../../../locales';
|
||||||
import * as nestedProperty from 'nested-property';
|
import * as nestedProperty from 'nested-property';
|
||||||
|
|
||||||
function getLang(lang: string): string {
|
function getLang(lang: string): string {
|
||||||
|
Loading…
Reference in New Issue
Block a user