mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 15:17:09 +00:00
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:
@@ -4,6 +4,7 @@ import type { VersionId } from './services/Schemas.js'
|
||||
export interface ConfigLanguage {
|
||||
code: string,
|
||||
name: string,
|
||||
mc: string,
|
||||
schemas?: boolean,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user