mirror of
https://github.com/aclist/dztui.git
synced 2026-10-29 14:12:45 +01:00
feat: preconnect dialog warnings (WIP)
This commit is contained in:
1 parent
7523bffbd8
commit
e2022fdee7
9 files changed
+256
-107
No files matched your search
@@ -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}"
|
||||
|
||||
Reference in new issue
Block a user