You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test('falls back to en strings if lang file is missing certain fields',()=>{
118
-
conststrings=getStringsForLang('ar')
118
+
conststrings=getStringsForLang('bn')
119
119
expect(strings).toMatchObject({
120
-
DISCLAIMER: 'هذه المقالة صادرة عن ${creator}.النص متاح تحت رخصة ${license} مالم يرد خلاف ذلك. قد تُطبَّق شروط إضافية على ملفات الوسائط.',
121
-
LAST_EDITED_ON: 'تم التحرير آخر مرة في ${date}',
120
+
DISCLAIMER: 'This article is issued from ${creator}. The text is available under ${license} unless otherwise noted. Additional terms may apply for the media files.',
121
+
LAST_EDITED_ON: '${date} তারিখে সর্বশেষ সম্পাদিত',
122
122
LICENSE_UNKNOWN: 'an unknown license',
123
123
DOWNLOAD_ERRORS_HEADING: 'Oops. Article not found.',
124
124
DOWNLOAD_ERRORS_MESSAGE: "The requested article '${articleTitle}' is not available inside this ZIM, it was not possible to retrieve it from ${server}.",
0 commit comments