Remove translations from Core (#87543)

Co-authored-by: Erik Montnemery <erik@montnemery.com>
This commit is contained in:
Franck Nijhof
2023-02-06 15:06:43 +01:00
committed by GitHub
parent 4ad386d794
commit 939eef3b28
18029 changed files with 100 additions and 510450 deletions

6
.vscode/launch.json vendored
View File

@ -10,7 +10,8 @@
"request": "launch",
"module": "homeassistant",
"justMyCode": false,
"args": ["--debug", "-c", "config"]
"args": ["--debug", "-c", "config"],
"preLaunchTask": "Compile English translations"
},
{
"name": "Home Assistant (skip pip)",
@ -18,7 +19,8 @@
"request": "launch",
"module": "homeassistant",
"justMyCode": false,
"args": ["--debug", "-c", "config", "--skip-pip"]
"args": ["--debug", "-c", "config", "--skip-pip"],
"preLaunchTask": "Compile English translations"
},
{
// Debug by attaching to local Home Asistant server using Remote Python Debugger.

14
.vscode/tasks.json vendored
View File

@ -10,7 +10,8 @@
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
"problemMatcher": [],
"dependsOn": ["Compile English translations"]
},
{
"label": "Pytest",
@ -142,19 +143,14 @@
"problemMatcher": []
},
{
"label": "Compile translations",
"label": "Compile English translations",
"detail": "In order to test changes to translation files, the translation strings must be compiled into Home Assistant's translation directories.",
"type": "shell",
"command": "python3 -m script.translations develop --integration ${input:integrationName}",
"command": "python3 -m script.translations develop --all",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
}
}
],
"inputs": [