diff --git a/SodaLive/Sources/I18n/I18n.swift b/SodaLive/Sources/I18n/I18n.swift index f4a92f2..b6ff25b 100644 --- a/SodaLive/Sources/I18n/I18n.swift +++ b/SodaLive/Sources/I18n/I18n.swift @@ -588,6 +588,16 @@ enum I18n { static var kickOutConfirm: String { pick(ko: "내보내기", en: "Kick out", ja: "退場させる") } } + enum LiveCancel { + static var reasonPlaceholder: String { + pick( + ko: "취소사유를 입력하세요", + en: "Enter a cancellation reason", + ja: "キャンセル理由を入力してください" + ) + } + } + enum CreateContent { static var selectFile: String { pick(ko: "파일 선택", en: "Select file", ja: "ファイル選択") } static var selectTheme: String { pick(ko: "테마 선택", en: "Select theme", ja: "テーマを選択") } diff --git a/SodaLive/Sources/Live/Cancel/LiveCancelDialog.swift b/SodaLive/Sources/Live/Cancel/LiveCancelDialog.swift index ffc8ea9..3211ac1 100644 --- a/SodaLive/Sources/Live/Cancel/LiveCancelDialog.swift +++ b/SodaLive/Sources/Live/Cancel/LiveCancelDialog.swift @@ -13,7 +13,9 @@ struct LiveCancelDialog: View { let confirmAction: (String) -> Void @State var reason: String = "" - var placeholder = "취소사유를 입력하세요" + private var placeholder: String { + I18n.LiveCancel.reasonPlaceholder + } var body: some View { VStack(spacing: 0) {