mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-02 13:28:49 +00:00
* Added more languages * Added translation stumps for PUI * Exclude PUI translations from deepsource analysis * Added comments to deepsource exlusions * Modified language selection to use language names * Refactored language mappings to be more efficient following advice of @wolflu05 * Removed pseudo language from selection * Translation cleanup * Switched t/Trans useage * switched back due to rendering limitations * Revert "Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue5729" This reverts commit 9b6e8fff8801a202379ce1244dd6b7d64f69520a, reversing changes made to 481cd70acadf8157b905cd8805840d82a7b293c6. * Revert "Revert "Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue5729"" This reverts commit 143a531c1e631aa56cce72b99cf69620cd8b3fe1. * add translations back in * add translations back in * update translation postitions * move language initialisation after loading this means only en-gb for now * update positions
34 lines
600 B
TOML
34 lines
600 B
TOML
version = 1
|
|
exclude_patterns = [
|
|
"docs/docs/javascripts/**", # Docs: Helpers
|
|
"docs/ci/**", # Docs: CI
|
|
"InvenTree/InvenTree/static/**", # Backend: CUI static files
|
|
"ci/**", # Backend: CI
|
|
"InvenTree/**/migrations/*.py", # Backend: Migration files
|
|
"src/frontend/src/locales/**" # Frontend: Translations
|
|
]
|
|
test_patterns = [
|
|
"test_.*.py",
|
|
"test.py",
|
|
"tests.py"
|
|
]
|
|
|
|
|
|
[[analyzers]]
|
|
name = "shell"
|
|
|
|
[[analyzers]]
|
|
name = "javascript"
|
|
|
|
[analyzers.meta]
|
|
plugins = ["react"]
|
|
|
|
[[analyzers]]
|
|
name = "python"
|
|
|
|
[analyzers.meta]
|
|
runtime_version = "3.x.x"
|
|
|
|
[[analyzers]]
|
|
name = "docker"
|