From 6dba3d3aa4475042fd883906816a2ddf82b4e39e Mon Sep 17 00:00:00 2001 From: luckylooky2 Date: Mon, 9 Oct 2023 13:31:13 +0900 Subject: [PATCH] feat: add Setting, Waiting page locale #39 --- src/locale/en/Call.en.json | 1 + src/locale/en/Setting.en.json | 9 +++++++++ src/locale/en/Waiting.en.json | 4 ++++ src/locale/index.js | 16 ++++++++++++++-- src/locale/ko/Call.kr.json | 1 + src/locale/ko/Setting.kr.json | 9 +++++++++ src/locale/ko/Waiting.kr.json | 4 ++++ 7 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 src/locale/en/Call.en.json create mode 100644 src/locale/en/Setting.en.json create mode 100644 src/locale/en/Waiting.en.json create mode 100644 src/locale/ko/Call.kr.json create mode 100644 src/locale/ko/Setting.kr.json create mode 100644 src/locale/ko/Waiting.kr.json diff --git a/src/locale/en/Call.en.json b/src/locale/en/Call.en.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/src/locale/en/Call.en.json @@ -0,0 +1 @@ +{} diff --git a/src/locale/en/Setting.en.json b/src/locale/en/Setting.en.json new file mode 100644 index 0000000..55b9646 --- /dev/null +++ b/src/locale/en/Setting.en.json @@ -0,0 +1,9 @@ +{ + "info": { + "permission": "Please set microphone permission to Allow for voice calls!" + }, + "button": { + "next": "Start Matching", + "back": "Back" + } +} diff --git a/src/locale/en/Waiting.en.json b/src/locale/en/Waiting.en.json new file mode 100644 index 0000000..bac4abf --- /dev/null +++ b/src/locale/en/Waiting.en.json @@ -0,0 +1,4 @@ +{ + "info": "Looking for someone else", + "cancel": "Cancel Matching" +} diff --git a/src/locale/index.js b/src/locale/index.js index 50465ad..5dd13c5 100644 --- a/src/locale/index.js +++ b/src/locale/index.js @@ -1,19 +1,31 @@ import MainKr from "./ko/Main.kr.json"; import LoginKr from "./ko/Login.kr.json"; import ProfileKr from "./ko/Profile.kr.json"; +import SettingKr from "./ko/Setting.kr.json"; +import WaitingKr from "./ko/Waiting.kr.json"; +import CallKr from "./ko/Call.kr.json"; import MainEn from "./en/Main.en.json"; import LoginEn from "./en/Login.en.json"; -import ProfileEN from "./en/Profile.en.json"; +import ProfileEn from "./en/Profile.en.json"; +import SettingEn from "./en/Setting.en.json"; +import WaitingEn from "./en/Waiting.en.json"; +import CallEn from "./en/Call.en.json"; export const translationKr = { login: LoginKr, main: MainKr, profile: ProfileKr, + setting: SettingKr, + waiting: WaitingKr, + call: CallKr, }; export const translationEn = { login: LoginEn, main: MainEn, - profile: ProfileEN, + profile: ProfileEn, + setting: SettingEn, + waiting: WaitingEn, + call: CallEn, }; diff --git a/src/locale/ko/Call.kr.json b/src/locale/ko/Call.kr.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/src/locale/ko/Call.kr.json @@ -0,0 +1 @@ +{} diff --git a/src/locale/ko/Setting.kr.json b/src/locale/ko/Setting.kr.json new file mode 100644 index 0000000..b350dd1 --- /dev/null +++ b/src/locale/ko/Setting.kr.json @@ -0,0 +1,9 @@ +{ + "info": { + "permission": "음성 통화를 위해 마이크 권한을 허용으로 설정해 주세요!" + }, + "button": { + "next": "매칭 시작하기", + "back": "뒤로 가기" + } +} diff --git a/src/locale/ko/Waiting.kr.json b/src/locale/ko/Waiting.kr.json new file mode 100644 index 0000000..24dc754 --- /dev/null +++ b/src/locale/ko/Waiting.kr.json @@ -0,0 +1,4 @@ +{ + "info": "상대방을 찾는 중입니다", + "cancel": "매칭 취소하기" +}