Skip to content

Commit

Permalink
feat(admin-ui): Admin UI rtl with Arabic translation improvements (#2322
Browse files Browse the repository at this point in the history
)

* fix(admin-ui): all Arabic tokens translated (100%)

* fix(admin-ui): add RTL mock

* Align Sidebar and profile dropdown

* RTL for login page

* RTL css with Arabic translation optimizations

* RTL for promotions view

* Third review with minor changes
  • Loading branch information
wpplumber authored Aug 4, 2023
1 parent 77aaf8f commit 44ea12b
Show file tree
Hide file tree
Showing 5 changed files with 892 additions and 745 deletions.
8 changes: 4 additions & 4 deletions packages/admin-ui/i18n-coverage.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"generatedOn": "2023-07-13T09:05:05.231Z",
"lastCommit": "120a0bbe5a978efc8abdb4074df1645e48dfcdab",
"generatedOn": "2023-07-15T10:37:14.708Z",
"lastCommit": "77aaf8f4bac72468bdeb28aae858035d2a579ef7",
"translationStatus": {
"ar": {
"tokenCount": 740,
"translatedCount": 0,
"percentage": 0
"translatedCount": 740,
"percentage": 100
},
"cs": {
"tokenCount": 740,
Expand Down
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
Loading

0 comments on commit 44ea12b

Please sign in to comment.