Files
discord-decomp/utils/ListUtils.tsx
T
2026-11-01 12:12:55 +02:00

21 lines
592 B
TypeScript

// Metro module 11712 (f11713).
import { intl, t } from "../intl/index.native";
export function getListSummaryLabel(a0, a1) {
const r9 = a1 == null ? a0.length : a1;
return r9 !== 0 ? r9 === 1 ? intl.formatToPlainString(t["8s9z8P"], {
first: a0[0]
}) : r9 === 2 ? intl.formatToPlainString(t["i0K/dw"], {
first: a0[0],
second: a0[1]
}) : r9 === 3 ? intl.formatToPlainString(t["/KSOKY"], {
first: a0[0],
second: a0[1],
third: a0[2]
}) : intl.formatToPlainString(t.xpU76u, {
first: a0[0],
second: a0[1],
third: a0[2],
count: r9 - 3
}) : "";
}