fix: 🐛 fallback locales for skin tone labels

Closes #10406
This commit is contained in:
ThatOneCalculator 2023-07-05 23:42:34 -07:00
parent 6355bb6042
commit 3e15666089
No known key found for this signature in database
GPG Key ID: 8703CACD01000000

View File

@ -220,12 +220,12 @@ const unicodeEmojiSkinTones = [
];
const unicodeEmojiSkinToneLabels = [
i18n.ts._skinTones.yellow,
i18n.ts._skinTones.light,
i18n.ts._skinTones.mediumLight,
i18n.ts._skinTones.medium,
i18n.ts._skinTones.mediumDark,
i18n.ts._skinTones.dark,
i18n.ts._skinTones?.yellow ?? "Yellow",
i18n.ts._skinTones?.light ?? "Light",
i18n.ts._skinTones?.mediumLight ?? "Medium Light",
i18n.ts._skinTones?.medium ?? "Medium",
i18n.ts._skinTones?.mediumDark ?? "Medium Dark",
i18n.ts._skinTones?.dark ?? "Dark",
];
const size = computed(() =>