fix(i18n): fix language-independent synergy/build logic, add deploy on test-gay, and sticky nav tabs
- Fix Team Synergy calculation to use normalized canonical elements and paths across all 13 languages - Fix showcase card, optimal relic builds, and LC dropdown path filters in non-English languages - Add data-i18n and translations for quick commands and GM console greeting - Update filter dropdown option text on language switch - Add test-gay branch to GitHub Pages deployment workflow triggers - Make nav-tabs sticky under header so menu navigation is always accessible while scrolling
This commit is contained in:
1 parent
fbe6a5f47e
commit
b2630bddcb
7 files changed
+91
-43
No files matched your search
@@ -4322,14 +4322,16 @@ export function getLightconeInfo(lcId, langOverride = null) {
|
||||
return {
|
||||
name: `Lightcone ${lcId}`,
|
||||
rarity: 4,
|
||||
path: translatePath("Unknown")
|
||||
path: translatePath("Unknown"),
|
||||
rawPath: "Unknown"
|
||||
};
|
||||
}
|
||||
const localizedName = meta.names?.[lang] || meta.names?.th || meta.names?.en || `Lightcone ${lcId}`;
|
||||
return {
|
||||
name: localizedName,
|
||||
rarity: meta.rarity,
|
||||
path: translatePath(meta.path)
|
||||
path: translatePath(meta.path),
|
||||
rawPath: meta.path
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user