Language Support in Tooltips (#468)

* Add lang parameter to TextCompoennt

* Add 'mclang' key

* Add clearing old language cache when changed language

* Fetch language in background

* Remove auto-fetching mc language

* wrap mclang with a state

* update contributos

* Move 'mclang' to config.json

* Cleanup code to get mclang key and fix caching

---------

Co-authored-by: Misode <misoloo64@gmail.com>
This commit is contained in:
efekos
2024-02-24 23:55:41 +03:00
committed by GitHub
parent 7a7c7d675e
commit 231ecfe9c2
6 changed files with 51 additions and 29 deletions

View File

@@ -152,6 +152,12 @@
"avatar": "https://avatars.githubusercontent.com/u/34157027?v=4",
"url": "https://github.com/Flemmli97"
},
{
"name": "efekos",
"types": ["code", "translation"],
"avatar": "https://avatars.githubusercontent.com/u/56752400?v=4",
"url": "https://github.com/efekos"
},
{
"name": "HalbFettKaese",
"types": ["report", "translation"],
@@ -955,11 +961,5 @@
"types": ["translation"],
"avatar": "https://avatars.githubusercontent.com/u/121224522?v=4",
"url": "https://github.com/notlin4"
},
{
"name":"efekos",
"types":["translation"],
"avatar":"https://avatars.githubusercontent.com/u/56752400?v=4",
"url":"https://github.com/efekos"
}
]