라이브룸 버튼 문구 다국어 키 추가

I18n.LiveRoom에 라이브 종료/나가기 등 버튼 문구 키를
추가한다.
일부 안내 및 단위 문구의 영문/일문 표현을 다듬는다.
This commit is contained in:
Yu Sung
2026-01-05 15:38:49 +09:00
parent fa4483cd18
commit eb83d5e5e3
4 changed files with 68 additions and 50 deletions

View File

@@ -46,7 +46,7 @@ struct LiveRoomInfoGuestView: View {
VStack(spacing: 13.3) {
HStack(spacing: 5.3) {
LiveRoomOverlayStrokeTextButton(
text: "나가기",
text: I18n.LiveRoom.leaveButton,
textColor: Color.red,
strokeColor: Color.red,
strokeWidth: 1,
@@ -57,7 +57,7 @@ struct LiveRoomInfoGuestView: View {
if speakerList.contains(where: { $0.id == UserDefaults.int(forKey: .userId)}) {
LiveRoomOverlayStrokeTextButton(
text: "리스너 변경",
text: I18n.LiveRoom.changeListenerButton,
textColor: Color.grayee,
strokeColor: Color.graybb,
strokeWidth: 1,
@@ -67,10 +67,10 @@ struct LiveRoomInfoGuestView: View {
LiveRoomOverlayStrokeTextToggleButton(
isOn: isOnSignature,
onText: "시그 ON",
onText: I18n.LiveRoom.signatureOn,
onTextColor: Color.button,
onStrokeColor: Color.button,
offText: "시그 OFF",
offText: I18n.LiveRoom.signatureOff,
offTextColor: Color.graybb,
offStrokeColor: Color.graybb,
strokeWidth: 1,
@@ -79,10 +79,10 @@ struct LiveRoomInfoGuestView: View {
LiveRoomOverlayStrokeTextToggleButton(
isOn: isOnBg,
onText: "배경 ON",
onText: I18n.LiveRoom.backgroundOn,
onTextColor: Color.button,
onStrokeColor: Color.button,
offText: "배경 OFF",
offText: I18n.LiveRoom.backgroundOff,
offTextColor: Color.graybb,
offStrokeColor: Color.graybb,
strokeWidth: 1,
@@ -137,7 +137,7 @@ struct LiveRoomInfoGuestView: View {
HStack(spacing: 5.3) {
LiveRoomOverlayStrokeTextToggleButton(
isOn: isOnNotice,
onText: "공지",
onText: I18n.LiveRoom.notice,
onTextColor: .button,
onStrokeColor: .button,
offText: nil,
@@ -151,7 +151,7 @@ struct LiveRoomInfoGuestView: View {
if isShowMenuPanButton {
LiveRoomOverlayStrokeTextToggleButton(
isOn: isOnMenuPan,
onText: "메뉴판",
onText: I18n.LiveRoom.menuPan,
onTextColor: .button,
onStrokeColor: .button,
offText: nil,

View File

@@ -47,7 +47,7 @@ struct LiveRoomInfoHostView: View {
VStack(alignment: .leading, spacing: 13.3) {
HStack(spacing: 5.3) {
LiveRoomOverlayStrokeTextButton(
text: "라이브 종료",
text: I18n.LiveRoom.endButton,
textColor: Color.red,
strokeColor: Color.red,
strokeWidth: 1,
@@ -58,10 +58,10 @@ struct LiveRoomInfoHostView: View {
LiveRoomOverlayStrokeTextToggleButton(
isOn: isOnSignature,
onText: "시그 ON",
onText: I18n.LiveRoom.signatureOn,
onTextColor: Color.button,
onStrokeColor: Color.button,
offText: "시그 OFF",
offText: I18n.LiveRoom.signatureOff,
offTextColor: Color.graybb,
offStrokeColor: Color.graybb,
strokeWidth: 1,
@@ -70,10 +70,10 @@ struct LiveRoomInfoHostView: View {
LiveRoomOverlayStrokeTextToggleButton(
isOn: isOnBg,
onText: "배경 ON",
onText: I18n.LiveRoom.backgroundOn,
onTextColor: Color.button,
onStrokeColor: Color.button,
offText: "배경 OFF",
offText: I18n.LiveRoom.backgroundOff,
offTextColor: Color.graybb,
offStrokeColor: Color.graybb,
strokeWidth: 1,
@@ -135,7 +135,7 @@ struct LiveRoomInfoHostView: View {
HStack(spacing: 5.3) {
LiveRoomOverlayStrokeTextToggleButton(
isOn: isOnNotice,
onText: "공지",
onText: I18n.LiveRoom.notice,
onTextColor: .button,
onStrokeColor: .button,
offText: nil,
@@ -149,7 +149,7 @@ struct LiveRoomInfoHostView: View {
if isShowMenuPanButton {
LiveRoomOverlayStrokeTextToggleButton(
isOn: isOnMenuPan,
onText: "메뉴판",
onText: I18n.LiveRoom.menuPan,
onTextColor: .button,
onStrokeColor: .button,
offText: nil,
@@ -198,7 +198,7 @@ struct LiveRoomInfoHostView: View {
.onTapGesture { onClickTotalDonation() }
HStack(spacing: 6.7) {
Text("참여자")
Text(I18n.LiveRoom.participants)
.font(.custom(Font.medium.rawValue, size: 12))
.foregroundColor(.graybb)