Skip to content

Commit

Permalink
Reflect changes to i18n submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
acquitelol committed Jan 21, 2025
1 parent 0826b6c commit ad3e679
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
Binary file modified dist/unbound.bundle
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/unbound.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion i18n
Submodule i18n updated 1 files
+4 −3 index.ts
10 changes: 1 addition & 9 deletions src/api/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,7 @@ import type { LocaleStrings } from "@typings/api/i18n";
import { createLogger } from "@structures/logger";
import { i18n } from "@api/metro/common";

// import CoreStrings from '../../i18n';

import enUS from "../../i18n/en-US.json" assert { type: "json" };
import enGB from "../../i18n/en-GB.json" assert { type: "json" };

const CoreStrings = {
"en-US": enUS,
"en-GB": enGB,
};
import CoreStrings from "@i18n";

export type * from "@typings/api/i18n";

Expand Down
8 changes: 7 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,16 @@
],
"@typings/*": [
"../types/*"
],
"@i18n/*": [
"../i18n/*"
],
"@i18n": [
"../i18n/index.ts"
]
}
},
"exclude": [
"node_modules"
]
}
}

0 comments on commit ad3e679

Please sign in to comment.