feat: preconnect dialog warnings (WIP)

This commit is contained in:
aclist committed 2026-05-07 02:47:42 +09:00
1 parent 7523bffbd8
commit e2022fdee7
9 files changed
+256 -107

No files matched your search

+4
View File
@@ -51,6 +51,10 @@ def format_mods(size: int, mods: int) -> str:
return f"Found {mods:n} {plural} taking up {l_size} MiB. {suffix}"
def format_mib(bits: int) -> float:
return round(bits / (1024**2), 3)
def format_server_mods(mods: int) -> str:
plural = pluralize("mods", mods)
return f"Found {mods:n} {plural}. {workshop}"