feat(i18n): 음성 메시지 하드코딩 문구를 I18n 키로 통일한다

This commit is contained in:
Yu Sung
2026-03-31 22:21:41 +09:00
parent 9369a52ba2
commit 25fccbaa07
5 changed files with 135 additions and 42 deletions

View File

@@ -2400,6 +2400,72 @@ If you block this user, the following features will be restricted.
}
enum Voice {
enum SavePopup {
static var title: String {
pick(ko: "메시지 보관", en: "Archive message", ja: "メッセージを保管")
}
static func description(_ canCount: Int) -> String {
pick(
ko: "메시지를 보관하는데\n\(canCount)캔이 필요합니다.\n메시지를 보관하시겠습니까?",
en: "Archiving this message requires\n\(canCount) cans.\nDo you want to archive this message?",
ja: "メッセージを保管するには\n\(canCount)can が必要です。\nこのメッセージを保管しますか?"
)
}
static var notice: String {
pick(
ko: "※ 메시지 보관시, 본인이 삭제하기 전까지 영구보관됩니다.",
en: "※ Archived messages are kept permanently until you delete them.",
ja: "※ 保管したメッセージは、ご自身で削除するまで永久に保管されます。"
)
}
}
enum Write {
static var title: String {
pick(ko: "음성메시지", en: "Voice message", ja: "音声メッセージ")
}
static var recipientLabel: String {
pick(ko: "TO.", en: "TO.", ja: "宛先")
}
static var sendButton: String {
pick(ko: "메시지 보내기", en: "Send message", ja: "メッセージを送信")
}
static var selectRecipient: String {
pick(ko: "받는 사람을 선택해 주세요.", en: "Select a recipient.", ja: "受信者を選択してください。")
}
static var sendSuccess: String {
pick(ko: "메시지 전송이 완료되었습니다.", en: "Your message has been sent.", ja: "メッセージの送信が完了しました。")
}
static var sendFailed: String {
pick(
ko: "음성메시지를 전송하지 못했습니다.\n다시 시도해 주세요.\n계속 같은 문제가 발생할 경우 고객센터로 문의 주시기 바랍니다.",
en: "Could not send the voice message.\nPlease try again.\nIf the issue persists, contact customer support.",
ja: "音声メッセージを送信できませんでした。\nもう一度お試しください。\n問題が続く場合はカスタマーサポートにお問い合わせください。"
)
}
static var reRecord: String {
pick(ko: "다시 녹음", en: "Record again", ja: "再録音")
}
}
enum Toast {
static var saveFailed: String {
pick(
ko: "메시지를 저장하지 못했습니다\n잠시 후 다시 시도해 주세요.",
en: "Could not save the message.\nPlease try again later.",
ja: "メッセージを保存できませんでした。\nしばらくしてからもう一度お試しください。"
)
}
}
enum Sound {
static var permissionDenied: String {
pick(