Skip to content

Commit

Permalink
Merge pull request #150 from Discord-InterChat/Virtual-branch
Browse files Browse the repository at this point in the history
refactor: add localization to main repo
  • Loading branch information
dev-737 authored Oct 6, 2024
2 parents 24c63f1 + 70f6a85 commit b66314d
Show file tree
Hide file tree
Showing 19 changed files with 3,338 additions and 202 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Please refer to the [CONTRIBUTING.md](./CONTRIBUTING.md) file for guidelines on

Remind me to add stuff here

### Tensorflow Errors
## Tensorflow Errors

Some Windows users face the following problem:

Expand Down
12 changes: 6 additions & 6 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// @ts-check

import tseslint from 'typescript-eslint';
import { config, configs, parser, plugin } from 'typescript-eslint';
import stylistic from '@stylistic/eslint-plugin';

export default tseslint.config({
export default config({
// @ts-ignore
files: ['src/**/*.ts'],
ignores: ['build/**/*', 'locales/**', '**/node_modules/', '**/.*'],
ignores: ['build/**/*', '**/node_modules/', 'locales/**', '**/.*'],

extends: [...tseslint.configs.recommended],
plugins: { '@stylistic': stylistic, '@typescript-eslint': tseslint.plugin },
extends: [...configs.recommended],
plugins: { '@stylistic': stylistic, '@typescript-eslint': plugin },

languageOptions: {
parser: tseslint.parser,
parser,
parserOptions: { sourceType: 'module' },
ecmaVersion: 2022,
},
Expand Down
1 change: 0 additions & 1 deletion locales
Submodule locales deleted from e2b894
390 changes: 390 additions & 0 deletions locales/en.yml

Large diffs are not rendered by default.

385 changes: 385 additions & 0 deletions locales/es.yml

Large diffs are not rendered by default.

387 changes: 387 additions & 0 deletions locales/fr.yml

Large diffs are not rendered by default.

390 changes: 390 additions & 0 deletions locales/hi.yml

Large diffs are not rendered by default.

387 changes: 387 additions & 0 deletions locales/ko.yml

Large diffs are not rendered by default.

387 changes: 387 additions & 0 deletions locales/pt.yml

Large diffs are not rendered by default.

387 changes: 387 additions & 0 deletions locales/ru.yml

Large diffs are not rendered by default.

387 changes: 387 additions & 0 deletions locales/tr.yml

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"start:prod": "pm2 start .ecosystem.config.js",
"build": "tsc --build",
"dev": "tsc-watch --outDir ./build --onSuccess \"node --trace-warnings --import ./build/instrument.js .\"",
"gen:locale-types": "node scripts/genLocaleTypes.js",
"deploy-commands": "node scripts/deploy-commands.js",
"release": "release-it",
"lint": "eslint --cache --fix ./src",
Expand All @@ -22,7 +23,7 @@
"type": "module",
"dependencies": {
"@prisma/client": "^5.20.0",
"@sentry/node": "^8.32.0",
"@sentry/node": "^8.33.1",
"common-tags": "^1.8.2",
"discord-hybrid-sharding": "^2.2.3",
"discord.js": "^14.16.3",
Expand All @@ -38,25 +39,25 @@
"reflect-metadata": "^0.2.2",
"sharp": "^0.33.5",
"source-map-support": "^0.5.21",
"winston": "^3.14.2"
"winston": "^3.15.0"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^2.8.0",
"@stylistic/eslint-plugin": "^2.9.0",
"@types/common-tags": "^1.8.4",
"@types/express": "^4.17.21",
"@types/js-yaml": "^4.0.9",
"@types/lodash": "^4.17.9",
"@types/lodash": "^4.17.10",
"@types/node": "^22.7.4",
"@types/source-map-support": "^0.5.10",
"cz-conventional-changelog": "^3.3.0",
"eslint": "9.11.0",
"eslint": "9.12.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"prisma": "^5.20.0",
"release-it": "^17.7.0",
"tsc-watch": "^6.2.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.7.0"
"typescript-eslint": "^8.8.0"
},
"config": {
"commitizen": {
Expand Down
Loading

0 comments on commit b66314d

Please sign in to comment.