Skip to content

Commit

Permalink
feat: add Setting, Waiting page locale #39
Browse files Browse the repository at this point in the history
  • Loading branch information
luckylooky2 committed Oct 9, 2023
1 parent 05009f3 commit 6dba3d3
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/locale/en/Call.en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
9 changes: 9 additions & 0 deletions src/locale/en/Setting.en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"info": {
"permission": "Please set microphone permission to Allow for voice calls!"
},
"button": {
"next": "Start Matching",
"back": "Back"
}
}
4 changes: 4 additions & 0 deletions src/locale/en/Waiting.en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"info": "Looking for someone else",
"cancel": "Cancel Matching"
}
16 changes: 14 additions & 2 deletions src/locale/index.js
Original file line number Diff line number Diff line change
@@ -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,
};
1 change: 1 addition & 0 deletions src/locale/ko/Call.kr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
9 changes: 9 additions & 0 deletions src/locale/ko/Setting.kr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"info": {
"permission": "음성 통화를 위해 마이크 권한을 허용으로 설정해 주세요!"
},
"button": {
"next": "매칭 시작하기",
"back": "뒤로 가기"
}
}
4 changes: 4 additions & 0 deletions src/locale/ko/Waiting.kr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"info": "상대방을 찾는 중입니다",
"cancel": "매칭 취소하기"
}

0 comments on commit 6dba3d3

Please sign in to comment.