채팅 메시지 다국어 분리

This commit is contained in:
2025-12-23 18:38:54 +09:00
parent 6e8a88178c
commit 9d619450ef
15 changed files with 420 additions and 144 deletions

View File

@@ -20,6 +20,11 @@ class SodaMessageSource {
Lang.EN to "Please check your login information.",
Lang.JA to "ログイン情報を確認してください。"
),
"common.error.adult_verification_required" to mapOf(
Lang.KO to "본인인증을 하셔야 합니다.",
Lang.EN to "Identity verification is required.",
Lang.JA to "本人認証が必要です。"
),
"common.error.max_upload_size" to mapOf(
Lang.KO to "파일용량은 최대 1024MB까지 저장할 수 있습니다.",
Lang.EN to "The file size can be saved up to 1024MB.",
@@ -1662,6 +1667,245 @@ class SodaMessageSource {
)
)
private val chatCharacterCommentMessages = mapOf(
"chat.character.comment.required" to mapOf(
Lang.KO to "댓글 내용을 입력해주세요.",
Lang.EN to "Please enter a comment.",
Lang.JA to "コメント内容を入力してください。"
),
"chat.character.comment.deleted" to mapOf(
Lang.KO to "댓글이 삭제되었습니다.",
Lang.EN to "The comment has been deleted.",
Lang.JA to "コメントが削除されました。"
),
"chat.character.comment.reported" to mapOf(
Lang.KO to "신고가 접수되었습니다.",
Lang.EN to "Your report has been received.",
Lang.JA to "通報が受け付けられました。"
),
"chat.character.comment.invalid" to mapOf(
Lang.KO to "유효하지 않은 댓글입니다.",
Lang.EN to "Invalid comment.",
Lang.JA to "無効なコメントです。"
),
"chat.character.comment.not_found" to mapOf(
Lang.KO to "댓글을 찾을 수 없습니다.",
Lang.EN to "Comment not found.",
Lang.JA to "コメントが見つかりません。"
),
"chat.character.comment.inactive" to mapOf(
Lang.KO to "비활성화된 댓글입니다.",
Lang.EN to "This comment is inactive.",
Lang.JA to "無効化されたコメントです。"
),
"chat.character.comment.delete_forbidden" to mapOf(
Lang.KO to "삭제 권한이 없습니다.",
Lang.EN to "You do not have permission to delete.",
Lang.JA to "削除権限がありません。"
),
"chat.character.comment.report_content_required" to mapOf(
Lang.KO to "신고 내용을 입력해주세요.",
Lang.EN to "Please enter a report message.",
Lang.JA to "通報内容を入力してください。"
)
)
private val chatCharacterMessages = mapOf(
"chat.character.not_found" to mapOf(
Lang.KO to "캐릭터를 찾을 수 없습니다.",
Lang.EN to "Character not found.",
Lang.JA to "キャラクターが見つかりません。"
),
"chat.character.inactive" to mapOf(
Lang.KO to "비활성화된 캐릭터입니다.",
Lang.EN to "This character is inactive.",
Lang.JA to "無効化されたキャラクターです。"
),
"chat.character.inactive_image_register" to mapOf(
Lang.KO to "비활성화된 캐릭터에는 이미지를 등록할 수 없습니다.",
Lang.EN to "Images cannot be registered for an inactive character.",
Lang.JA to "無効化されたキャラクターには画像を登録できません。"
),
"chat.character.inactive_banner_register" to mapOf(
Lang.KO to "비활성화된 캐릭터에는 배너를 등록할 수 없습니다.",
Lang.EN to "Banners cannot be registered for an inactive character.",
Lang.JA to "無効化されたキャラクターにはバナーを登録できません。"
),
"chat.character.inactive_banner_change" to mapOf(
Lang.KO to "비활성화된 캐릭터로는 변경할 수 없습니다.",
Lang.EN to "You cannot change to an inactive character.",
Lang.JA to "無効化されたキャラクターには変更できません。"
)
)
private val chatCharacterImageMessages = mapOf(
"chat.character.image.not_found" to mapOf(
Lang.KO to "캐릭터 이미지를 찾을 수 없습니다.",
Lang.EN to "Character image not found.",
Lang.JA to "キャラクター画像が見つかりません。"
),
"chat.character.image.inactive" to mapOf(
Lang.KO to "비활성화된 이미지입니다.",
Lang.EN to "This image is inactive.",
Lang.JA to "無効化された画像です。"
),
"chat.character.image.min_price" to mapOf(
Lang.KO to "가격은 0 can 이상이어야 합니다.",
Lang.EN to "Price must be at least 0 can.",
Lang.JA to "価格は0can以上である必要があります。"
),
"chat.character.image.inactive_update" to mapOf(
Lang.KO to "비활성화된 이미지는 수정할 수 없습니다.",
Lang.EN to "Inactive images cannot be updated.",
Lang.JA to "無効化された画像は修正できません。"
),
"chat.character.image.other_character_included" to mapOf(
Lang.KO to "다른 캐릭터의 이미지가 포함되어 있습니다.",
Lang.EN to "Images from another character are included.",
Lang.JA to "別のキャラクターの画像が含まれています。"
),
"chat.character.image.inactive_order_change" to mapOf(
Lang.KO to "비활성화된 이미지는 순서를 변경할 수 없습니다.",
Lang.EN to "Inactive images cannot change order.",
Lang.JA to "無効化された画像の順序は変更できません。"
)
)
private val chatCharacterBannerMessages = mapOf(
"chat.character.banner.not_found" to mapOf(
Lang.KO to "배너를 찾을 수 없습니다.",
Lang.EN to "Banner not found.",
Lang.JA to "バナーが見つかりません。"
),
"chat.character.banner.inactive_update" to mapOf(
Lang.KO to "비활성화된 배너는 수정할 수 없습니다.",
Lang.EN to "Inactive banners cannot be updated.",
Lang.JA to "無効化されたバナーは修正できません。"
)
)
private val chatOriginalWorkMessages = mapOf(
"chat.original.not_found" to mapOf(
Lang.KO to "해당 원작을 찾을 수 없습니다.",
Lang.EN to "Original work not found.",
Lang.JA to "該当する原作が見つかりません。"
)
)
private val chatQuotaMessages = mapOf(
"chat.quota.container_required" to mapOf(
Lang.KO to "container를 확인해주세요.",
Lang.EN to "Please check the container.",
Lang.JA to "containerを確認してください。"
)
)
private val chatRoomQuotaMessages = mapOf(
"chat.room.quota.invalid_access" to mapOf(
Lang.KO to "잘못된 접근입니다",
Lang.EN to "Invalid access.",
Lang.JA to "不正なアクセスです。"
),
"chat.room.quota.not_ai_room" to mapOf(
Lang.KO to "AI 캐릭터 채팅방이 아닙니다.",
Lang.EN to "This is not an AI character chat room.",
Lang.JA to "AIキャラクターのチャットルームではありません。"
),
"chat.room.quota.character_required" to mapOf(
Lang.KO to "잘못된 요청입니다. 캐릭터 정보를 확인해주세요.",
Lang.EN to "Invalid request. Please check the character information.",
Lang.JA to "不正なリクエストです。キャラクター情報を確認してください。"
),
"chat.room.quota.global_free_exhausted" to mapOf(
Lang.KO to "오늘의 무료 채팅이 모두 소진되었습니다. 내일 다시 이용해 주세요.",
Lang.EN to "Today's free chats have been used up. Please try again tomorrow.",
Lang.JA to "本日の無料チャットはすべて使い切りました。明日またご利用ください。"
),
"chat.room.quota.room_free_exhausted" to mapOf(
Lang.KO to "무료 채팅이 모두 소진되었습니다.",
Lang.EN to "Free chats have been used up.",
Lang.JA to "無料チャットはすべて使い切りました。"
)
)
private val chatRoomMessages = mapOf(
"chat.room.invalid_access" to mapOf(
Lang.KO to "잘못된 접근입니다",
Lang.EN to "Invalid access.",
Lang.JA to "不正なアクセスです。"
),
"chat.room.not_ai_room" to mapOf(
Lang.KO to "AI 캐릭터 채팅방이 아닙니다.",
Lang.EN to "This is not an AI character chat room.",
Lang.JA to "AIキャラクターのチャットルームではありません。"
),
"chat.message.not_found" to mapOf(
Lang.KO to "메시지를 찾을 수 없습니다.",
Lang.EN to "Message not found.",
Lang.JA to "メッセージが見つかりません。"
),
"chat.message.inactive" to mapOf(
Lang.KO to "비활성화된 메시지입니다.",
Lang.EN to "This message is inactive.",
Lang.JA to "無効化されたメッセージです。"
),
"chat.message.not_purchasable" to mapOf(
Lang.KO to "구매할 수 없는 메시지입니다.",
Lang.EN to "This message cannot be purchased.",
Lang.JA to "購入できないメッセージです。"
),
"chat.purchase.invalid_price" to mapOf(
Lang.KO to "구매 가격이 잘못되었습니다.",
Lang.EN to "Invalid purchase price.",
Lang.JA to "購入価格が正しくありません。"
),
"chat.room.character_not_found" to mapOf(
Lang.KO to "해당 ID의 캐릭터를 찾을 수 없습니다.",
Lang.EN to "Character not found for the given ID.",
Lang.JA to "該当IDのキャラクターが見つかりません。"
),
"chat.room.create_failed_retry" to mapOf(
Lang.KO to "채팅방 생성에 실패했습니다. 다시 시도해 주세요.",
Lang.EN to "Failed to create the chat room. Please try again.",
Lang.JA to "チャットルームの作成に失敗しました。もう一度お試しください。"
),
"chat.error.retry" to mapOf(
Lang.KO to "오류가 발생했습니다. 다시 시도해 주세요.",
Lang.EN to "An error occurred. Please try again.",
Lang.JA to "エラーが発生しました。もう一度お試しください。"
),
"chat.room.session_end_failed" to mapOf(
Lang.KO to "채팅방 세션 종료에 실패했습니다. 다시 시도해 주세요.",
Lang.EN to "Failed to end the chat room session. Please try again.",
Lang.JA to "チャットルームのセッション終了に失敗しました。もう一度お試しください。"
),
"chat.message.send_failed" to mapOf(
Lang.KO to "메시지 전송을 실패했습니다.",
Lang.EN to "Failed to send the message.",
Lang.JA to "メッセージの送信に失敗しました。"
),
"chat.room.last_message_image" to mapOf(
Lang.KO to "[이미지]",
Lang.EN to "[Image]",
Lang.JA to "[画像]"
),
"chat.room.time.just_now" to mapOf(
Lang.KO to "방금",
Lang.EN to "Just now",
Lang.JA to "たった今"
),
"chat.room.time.minutes_ago" to mapOf(
Lang.KO to "%d분 전",
Lang.EN to "%d minutes ago",
Lang.JA to "%d分前"
),
"chat.room.time.hours_ago" to mapOf(
Lang.KO to "%d시간 전",
Lang.EN to "%d hours ago",
Lang.JA to "%d時間前"
)
)
private val creatorCommunityMessages = mapOf(
"creator.community.paid_post_image_required" to mapOf(
Lang.KO to "유료 게시글 등록을 위해서는 이미지가 필요합니다.",
@@ -1772,6 +2016,14 @@ class SodaMessageSource {
creatorAdminContentMessages,
creatorAdminSeriesRequestMessages,
creatorAdminSeriesMessages,
chatCharacterCommentMessages,
chatCharacterMessages,
chatCharacterImageMessages,
chatCharacterBannerMessages,
chatOriginalWorkMessages,
chatQuotaMessages,
chatRoomQuotaMessages,
chatRoomMessages,
creatorCommunityMessages
)
for (messages in messageGroups) {