mirror of
https://github.com/modrinth/code.git
synced 2026-07-31 13:16:38 +00:00
devex: integrate i18n ally extension (#6328)
* Integrate with i18n ally * Update .gitignore * Cleanup * Dont force display language
This commit is contained in:
@@ -22,6 +22,7 @@ node_modules
|
|||||||
!.vscode/tasks.json
|
!.vscode/tasks.json
|
||||||
!.vscode/launch.json
|
!.vscode/launch.json
|
||||||
!.vscode/extensions.json
|
!.vscode/extensions.json
|
||||||
|
!.vscode/i18n-ally-custom-framework.yml
|
||||||
|
|
||||||
# IDE - IntelliJ
|
# IDE - IntelliJ
|
||||||
.idea/*
|
.idea/*
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"recommendations": ["esbenp.prettier-vscode", "Vue.volar", "rust-lang.rust-analyzer"]
|
"recommendations": ["esbenp.prettier-vscode", "Vue.volar", "rust-lang.rust-analyzer", "lokalise.i18n-ally"]
|
||||||
}
|
}
|
||||||
|
|||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
languageIds:
|
||||||
|
- vue
|
||||||
|
- typescript
|
||||||
|
- javascript
|
||||||
|
- typescriptreact
|
||||||
|
|
||||||
|
usageMatchRegex:
|
||||||
|
- id:\s*['"]({key})['"]
|
||||||
|
|
||||||
|
monopoly: true
|
||||||
Vendored
+17
-2
@@ -1,7 +1,12 @@
|
|||||||
{
|
{
|
||||||
"prettier.endOfLine": "lf",
|
"prettier.endOfLine": "lf",
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
|
"eslint.validate": [
|
||||||
|
"javascript",
|
||||||
|
"javascriptreact",
|
||||||
|
"typescript",
|
||||||
|
"typescriptreact"
|
||||||
|
],
|
||||||
"editor.detectIndentation": false,
|
"editor.detectIndentation": false,
|
||||||
"editor.insertSpaces": false,
|
"editor.insertSpaces": false,
|
||||||
"files.eol": "\n",
|
"files.eol": "\n",
|
||||||
@@ -31,5 +36,15 @@
|
|||||||
"editor.defaultFormatter": "rust-lang.rust-analyzer"
|
"editor.defaultFormatter": "rust-lang.rust-analyzer"
|
||||||
},
|
},
|
||||||
"css.lint.unknownAtRules": "ignore",
|
"css.lint.unknownAtRules": "ignore",
|
||||||
"scss.lint.unknownAtRules": "ignore"
|
"scss.lint.unknownAtRules": "ignore",
|
||||||
|
"i18n-ally.localesPaths": [
|
||||||
|
"packages/ui/src/locales",
|
||||||
|
"apps/frontend/src/locales",
|
||||||
|
"packages/moderation/src/locales"
|
||||||
|
],
|
||||||
|
"i18n-ally.pathMatcher": "{locale}/index.{ext}",
|
||||||
|
"i18n-ally.keystyle": "flat",
|
||||||
|
"i18n-ally.sourceLanguage": "en-US",
|
||||||
|
"i18n-ally.namespace": false,
|
||||||
|
"i18n-ally.includeSubfolders": true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user