mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 03:25:42 +00:00
[PUI] Raise translation/language support to CUI level (#5749)
* 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 commit9b6e8fff88
, reversing changes made to481cd70aca
. * Revert "Revert "Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue5729"" This reverts commit143a531c1e
. * 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
This commit is contained in:
@ -1,10 +1,11 @@
|
||||
version = 1
|
||||
exclude_patterns = [
|
||||
"docs/docs/javascripts/**",
|
||||
"docs/ci/**",
|
||||
"InvenTree/InvenTree/static/**",
|
||||
"ci/**",
|
||||
"InvenTree/**/migrations/*.py"
|
||||
"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",
|
||||
|
Reference in New Issue
Block a user