Skip to content

Commit

Permalink
fix(admin-ui): add RTL mock
Browse files Browse the repository at this point in the history
  • Loading branch information
wpplumber committed Jul 17, 2023
1 parent 2e049a0 commit 89fc652
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ export class MockI18nService implements MockOf<I18nService> {
return key as string;
}

isRTL(): boolean {
return false;
}

availableLanguages: LanguageCode[];
setAvailableLanguages: (languages: LanguageCode[]) => void;
_availableLanguages: LanguageCode[];
Expand Down
4 changes: 2 additions & 2 deletions packages/admin-ui/src/lib/static/i18n-messages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
"start-date": "تاريخ البدء",
"status": "حالة",
"tags": "العلامات" ,
"theme": "سمة",
"theme": "الإضاءة",
"there-are-unsaved-changes": "هناك تغييرات غير محفوظة. التنقل بعيدًا سيؤدي إلى فقدان هذه التغييرات." ,
"toggle-all": "تبديل الكل" ,
"total-items": "{currentStart} - {currentend} من {totalitems}" ,
Expand Down Expand Up @@ -420,7 +420,7 @@
"total-order-value": "القيمة الإجمالية",
"total-orders": "إجمالي الطلبات" ,
"widget-resize": "تغيير الحجم",
"widget-width": "العرض: {عرض}" ,
"widget-width": "العرض: {width}" ,
"yesterday": "أمس"
},
"datetime": {
Expand Down

0 comments on commit 89fc652

Please sign in to comment.