mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
add robust slugs
This commit is contained in:
1 parent
0a7a220af3
commit
caf238dd32
4 files changed
+61
-43
No files matched your search
@@ -22,6 +22,7 @@ import {
|
||||
ResearchCost,
|
||||
ShellType,
|
||||
SkillDefinitions,
|
||||
sluggify,
|
||||
TankClass,
|
||||
TankDefinitions,
|
||||
TankPrice,
|
||||
@@ -36,7 +37,6 @@ import locales from "@blitzkit/i18n/locales.json";
|
||||
import { readFile } from "fs/promises";
|
||||
import { parse as parsePath } from "path";
|
||||
import type { Vector3Tuple } from "three";
|
||||
import { slugify } from "transliteration";
|
||||
import { parse as parseYaml } from "yaml";
|
||||
import { AssetUploader } from "../core/github/assetUploader";
|
||||
import { vfs } from "./constants";
|
||||
@@ -765,7 +765,7 @@ export async function definitions() {
|
||||
getString(tank.userString)
|
||||
).locales.en;
|
||||
|
||||
let slug = slugify(name);
|
||||
let slug = sluggify(name);
|
||||
|
||||
idToNation[tankId] = nation;
|
||||
|
||||
|
||||
Reference in new issue
Block a user