TitleDescription
Not loaded. Review your choices to allow this content.
');
const rtl={...localization,locale:'ar',direction:'rtl',embeds:{preferencesLabel:'خيارات الخصوصية',waiting:'لم يتم تحميل المحتوى.',allowed:'الإذن يسمح بهذا المحتوى.',error:'تعذر تحميل المحتوى.'}};
const html=renderEmbedPlaceholder({title:'محتوى',description:'صورة اختيارية'},{localization:rtl});assert.match(html,/lang="ar" dir="rtl"/);assert.ok(html.includes(rtl.embeds.waiting));assert.doesNotMatch(html,/Not loaded|Review privacy/);
});
test('incomplete, mixed-locale, accessor and unreviewed messages fail before reserving a service or changing a fallback',async()=>{
const c=await config(),localization=selectEmbedLocalization(c);
for(const mutate of [v=>delete v.embeds.error,v=>v.embeds.extra='unknown',v=>v.embeds.error='