라이브 수정 화면 문자열 리소스로 정리

LiveRoomEdit 화면의 타이틀과 안내 문구를 리소스 키로 치환해 다국어를 적용함

유효성 검증 및 토스트 메시지를 UiText 기반 문자열 리소스로 교체함
This commit is contained in:
2025-12-03 11:10:45 +09:00
parent 99bc5f14f7
commit fd6a025de9
6 changed files with 82 additions and 41 deletions

View File

@@ -35,7 +35,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/gmarket_sans_bold"
android:text="제목"
android:text="@string/screen_live_room_title_label"
android:textColor="@color/color_eeeeee"
android:textSize="16.7sp" />
@@ -45,7 +45,7 @@
android:layout_height="wrap_content"
android:background="@drawable/edittext_underline"
android:fontFamily="@font/gmarket_sans_medium"
android:hint="라이브 제목을 입력해주세요."
android:hint="@string/screen_live_room_title_hint"
android:importantForAutofill="no"
android:inputType="textWebEditText"
android:paddingHorizontal="6.7dp"
@@ -75,7 +75,7 @@
android:layout_centerVertical="true"
android:fontFamily="@font/gmarket_sans_bold"
android:lineSpacingExtra="5sp"
android:text="공지"
android:text="@string/screen_live_room_notice"
android:textColor="@color/color_eeeeee"
android:textSize="16.7sp" />
@@ -89,7 +89,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/gmarket_sans_medium"
android:text="0자"
android:text="@string/screen_live_room_create_notice_char_count_placeholder"
android:textColor="@color/color_ff5c49"
android:textSize="13.3sp" />
@@ -97,7 +97,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/gmarket_sans_medium"
android:text=" / 최대 1000자"
android:text="@string/screen_live_room_create_notice_char_limit"
android:textColor="@color/color_777777"
android:textSize="13.3sp" />
</LinearLayout>
@@ -110,7 +110,7 @@
android:background="@drawable/bg_round_corner_6_7_222222"
android:fontFamily="@font/gmarket_sans_medium"
android:gravity="top"
android:hint="라이브 공지를 입력해 주세요"
android:hint="@string/screen_live_room_notice_hint"
android:importantForAutofill="no"
android:inputType="textMultiLine"
android:overScrollMode="always"
@@ -132,7 +132,7 @@
android:layout_marginTop="33.3dp"
android:fontFamily="@font/gmarket_sans_bold"
android:lineSpacingExtra="5sp"
android:text="시간 설정"
android:text="@string/screen_live_room_create_time_label"
android:textColor="@color/color_eeeeee"
android:textSize="16.7sp" />
@@ -152,12 +152,12 @@
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/gmarket_sans_medium"
android:text="예약 날짜"
android:textColor="@color/color_eeeeee"
android:textSize="13.3sp" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/gmarket_sans_medium"
android:text="@string/screen_live_room_create_reservation_date_label"
android:textColor="@color/color_eeeeee"
android:textSize="13.3sp" />
<TextView
android:id="@+id/tv_reservation_date"
@@ -168,6 +168,7 @@
android:fontFamily="@font/gmarket_sans_medium"
android:gravity="center"
android:paddingVertical="15.3dp"
android:text="@string/screen_live_room_create_reservation_date_placeholder"
android:textColor="@color/color_eeeeee"
android:textSize="14.7sp"
tools:text="2021.08.04" />
@@ -182,12 +183,12 @@
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/gmarket_sans_medium"
android:text="예약 시간"
android:textColor="@color/color_eeeeee"
android:textSize="13.3sp" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/gmarket_sans_medium"
android:text="@string/screen_live_room_create_reservation_time_label"
android:textColor="@color/color_eeeeee"
android:textSize="13.3sp" />
<TextView
android:id="@+id/tv_reservation_time"
@@ -198,6 +199,7 @@
android:fontFamily="@font/gmarket_sans_medium"
android:gravity="center"
android:paddingVertical="15.3dp"
android:text="@string/screen_live_room_create_reservation_time_placeholder"
android:textColor="@color/color_eeeeee"
android:textSize="14.7sp"
tools:text="오후 08 : 30" />
@@ -211,7 +213,7 @@
android:layout_marginTop="33.3dp"
android:fontFamily="@font/gmarket_sans_bold"
android:lineSpacingExtra="5sp"
android:text="참여인원 설정"
android:text="@string/screen_live_room_create_capacity_label"
android:textColor="@color/color_eeeeee"
android:textSize="16.7sp" />
@@ -223,7 +225,7 @@
android:background="@drawable/bg_round_corner_6_7_222222"
android:fontFamily="@font/gmarket_sans_medium"
android:gravity="center"
android:hint="최대 인원 999명"
android:hint="@string/screen_live_room_create_capacity_hint"
android:importantForAutofill="no"
android:inputType="number"
android:maxLength="3"
@@ -253,7 +255,7 @@
android:background="@drawable/bg_round_corner_10_3bb9f1"
android:fontFamily="@font/gmarket_sans_bold"
android:gravity="center"
android:text="라이브 수정"
android:text="@string/screen_live_room_profile_edit_title"
android:textColor="@color/white"
android:textSize="18.3sp" />
</FrameLayout>

View File

@@ -483,6 +483,10 @@
<string name="screen_live_room_menu_first_required">Set menu 1 first.</string>
<string name="screen_live_room_menu_first_second_required">Set menu 1 and menu 2 first.</string>
<string name="screen_live_room_cancel_reason_required">Please enter a cancellation reason.</string>
<!-- Live Room Edit -->
<string name="msg_live_room_edit_invalid_request">Invalid request.</string>
<string name="msg_live_room_edit_no_changes">No changes to update.</string>
<string name="msg_live_room_edit_update_failed">Could not update the live info.\nPlease try again.</string>
<!-- Live Room Create -->
<string name="screen_live_room_create_title">Create live</string>
<string name="screen_live_room_create_get_recent_info">Load recent data</string>

View File

@@ -483,6 +483,10 @@
<string name="screen_live_room_menu_first_required">メニュー1を先に設定してください</string>
<string name="screen_live_room_menu_first_second_required">メニュー1とメニュー2を先に設定してください</string>
<string name="screen_live_room_cancel_reason_required">キャンセル理由を入力してください。</string>
<!-- Live Room Edit -->
<string name="msg_live_room_edit_invalid_request">不正なリクエストです。</string>
<string name="msg_live_room_edit_no_changes">変更内容がありません。</string>
<string name="msg_live_room_edit_update_failed">ライブ情報を修正できませんでした。\nもう一度お試しください。</string>
<!-- Live Room Create -->
<string name="screen_live_room_create_title">ライブを作成</string>
<string name="screen_live_room_create_get_recent_info">最近のデータを読み込む</string>

View File

@@ -482,6 +482,10 @@
<string name="screen_live_room_menu_first_required">메뉴 1을 먼저 설정하세요</string>
<string name="screen_live_room_menu_first_second_required">메뉴 1과 메뉴 2를 먼저 설정하세요</string>
<string name="screen_live_room_cancel_reason_required">취소사유를 입력하세요.</string>
<!-- Live Room Edit -->
<string name="msg_live_room_edit_invalid_request">잘못된 요청입니다.</string>
<string name="msg_live_room_edit_no_changes">변경사항이 없습니다.</string>
<string name="msg_live_room_edit_update_failed">라이브 정보를 수정하지 못했습니다.\n다시 시도해 주세요.</string>
<!-- Live Room Create -->
<string name="screen_live_room_create_title">라이브 만들기</string>
<string name="screen_live_room_create_get_recent_info">최근 데이터 가져오기</string>