Devices with access restrictions list those restrictions in their examination description (#37712)

This commit is contained in:
chromiumboy
2025-09-15 02:19:25 -05:00
committed by GitHub
parent ff94d3e7ad
commit 02061592dd
14 changed files with 324 additions and 27 deletions

View File

@@ -132,7 +132,7 @@ namespace Content.Shared.Localizations
<= 0 => string.Empty,
1 => list[0],
2 => $"{list[0]} or {list[1]}",
_ => $"{string.Join(" or ", list)}"
_ => $"{string.Join(", ", list.GetRange(0, list.Count - 1))}, or {list[^1]}"
};
}