From 74934dab6f53e3dd1a084b717abde0c63f44ecb0 Mon Sep 17 00:00:00 2001 From: Jamila Mehmandarova Date: Mon, 24 Jun 2024 16:02:17 +0200 Subject: [PATCH] add: translation for welcome-component added to json files --- src/app/welcome/welcome.component.json | 21 --------------------- src/assets/translations/EN.json | 7 +++++++ src/assets/translations/NO.json | 7 +++++++ 3 files changed, 14 insertions(+), 21 deletions(-) delete mode 100644 src/app/welcome/welcome.component.json diff --git a/src/app/welcome/welcome.component.json b/src/app/welcome/welcome.component.json deleted file mode 100644 index 776f0f97..00000000 --- a/src/app/welcome/welcome.component.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "NO": { - "WELCOME_MESSAGE": "Hei, jeg heter", - "HELP_ME": "Kan du hjelpe meg å lære?", - "ONE_PLAYER": "1 spiller", - "TWO_PLAYERS": "2 spillere", - "ADMIN_ARIA_LABEL": "Gå til admin side", - "PLAYER_ONE_ICON_ARIA": "ikon for én spiller", - "PLAYER_TWO_ICON_ARIA": "ikon for to spillere" - }, - "EN": { - "WELCOME_MESSAGE": "Hi, my name is", - "HELP_ME": "Can you help me learn?", - "ONE_PLAYER": "1 player", - "TWO_PLAYERS": "2 players", - "ADMIN_ARIA_LABEL": "Go to admin page", - "PLAYER_ONE_ICON_ARIA": "player one icon", - "PLAYER_TWO_ICON_ARIA": "player two icon" - } - } - \ No newline at end of file diff --git a/src/assets/translations/EN.json b/src/assets/translations/EN.json index 1401b348..3de3df35 100644 --- a/src/assets/translations/EN.json +++ b/src/assets/translations/EN.json @@ -1,4 +1,11 @@ { + "WELCOME_MESSAGE": "Hi, my name is", + "HELP_ME": "Can you help me learn?", + "ONE_PLAYER": "1 player", + "TWO_PLAYERS": "2 players", + "ADMIN_ARIA_LABEL": "Go to admin page", + "PLAYER_ONE_ICON_ARIA": "player one icon", + "PLAYER_TWO_ICON_ARIA": "player two icon", "PLAYER_MODE_SINGLE": "1 player", "PLAYER_MODE_MULTI": "2 players", "HOW_TO_PLAY_SINGLE": "How to play:", diff --git a/src/assets/translations/NO.json b/src/assets/translations/NO.json index 1b4df851..9b661adb 100644 --- a/src/assets/translations/NO.json +++ b/src/assets/translations/NO.json @@ -1,4 +1,11 @@ { + "WELCOME_MESSAGE": "Hei, jeg heter", + "HELP_ME": "Kan du hjelpe meg å lære?", + "ONE_PLAYER": "1 spiller", + "TWO_PLAYERS": "2 spillere", + "ADMIN_ARIA_LABEL": "Gå til admin side", + "PLAYER_ONE_ICON_ARIA": "ikon for én spiller", + "PLAYER_TWO_ICON_ARIA": "ikon for to spillere", "PLAYER_MODE_SINGLE": "1 spiller", "PLAYER_MODE_MULTI": "2 spillere", "HOW_TO_PLAY_SINGLE": "Slik spiller du:",