diff --git a/src/App.vue b/src/App.vue index a9f4cbda..51fe3832 100644 --- a/src/App.vue +++ b/src/App.vue @@ -55,6 +55,7 @@ export default { }, dir() { + // TODO: find out all rtl languages and store in const return this.settings && this.settings.language === 'ar' ? 'rtl' : 'ltr'; diff --git a/src/components/Boards.vue b/src/components/Boards.vue index c30a42b3..fb8c23ba 100644 --- a/src/components/Boards.vue +++ b/src/components/Boards.vue @@ -21,30 +21,45 @@ class="overflow-hidden clickable mt-3" @click="viewBoard(board.id)" > - - - + + + + - - - - {{ board.description }} - + +
{{ board.name }}
- - {{ board.platforms.length }} {{ $t('boards.platforms') }} - + + {{ board.platforms.length }} {{ $t('boards.platforms') }} + - -
- {{ platformNames[id].name }} -
-
-
+ +
+ {{ platformNames[id].name }} +
+
+ +

+ {{ board.description }} +

diff --git a/src/components/Game/GameDetails.vue b/src/components/Game/GameDetails.vue index ac346646..80986dee 100644 --- a/src/components/Game/GameDetails.vue +++ b/src/components/Game/GameDetails.vue @@ -2,29 +2,26 @@
-
{{ $t('board.gameModal.platforms') }}
-
{{ platforms }}
+
{{ $t('board.gameModal.platforms') }}
+
{{ platforms }}
{{ $t('board.gameModal.genres') }}
-
{{ genres }}
+
{{ genres }}
{{ $t('board.gameModal.gameModes') }}
-
{{ gameModes }}
+
{{ gameModes }}
{{ $t('board.gameModal.developers') }}
-
{{ gameDevelopers }}
+
{{ gameDevelopers }}
{{ $t('board.gameModal.publishers') }}
-
{{ gamePublishers }}
+
{{ gamePublishers }}
{{ $t('board.gameModal.perspective') }}
-
{{ playerPerspectives }}
- -
{{ $t('board.gameModal.timeToBeat') }}
-
{{ timeToBeat }}
+
{{ playerPerspectives }}
{{ $t('board.gameModal.ageRatings') }}
-
{{ ageRatings }}
+
{{ ageRatings }}
@@ -34,8 +31,6 @@