decord/source/modules/user_profile/utils/getMutualFriendsLabel.tsx

32 lines
936 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 11827
// Function ID: 11828
2026-07-20 16:05:17 +00:00
// Name: getMutualFriendsLabel
2026-07-29 08:29:29 +00:00
// Dependencies: [1236, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 11827 (getMutualFriendsLabel)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
const result = set.fileFinishedImporting("modules/user_profile/utils/getMutualFriendsLabel.tsx");
2026-07-20 16:05:17 +00:00
export default function getMutualFriendsLabel(arg0) {
2026-07-29 08:29:29 +00:00
let str = arg0;
2026-07-20 16:05:17 +00:00
if (undefined === arg0) {
2026-08-24 06:08:38 +00:00
const intl3 = getSystemLocale.intl;
let stringResult = intl3.string(getSystemLocale.t["0mTJ3j"]);
2026-07-29 08:29:29 +00:00
} else if (0 === str) {
2026-08-24 06:08:38 +00:00
const intl2 = getSystemLocale.intl;
stringResult = intl2.string(getSystemLocale.t.n9g3ay);
2026-07-20 16:05:17 +00:00
} else {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-29 08:29:29 +00:00
if (str == null) {
str = "";
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const obj = { count: null };
obj[0] = str;
2026-08-24 06:08:38 +00:00
stringResult = intl.formatToPlainString(getSystemLocale.t["5s9jl+"], obj);
2026-07-20 16:05:17 +00:00
}
return stringResult;
};