팔로워 리스트 문자열 리소스화

This commit is contained in:
2025-12-03 20:03:18 +09:00
parent ab7f837bb4
commit a050a56c19
5 changed files with 13 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ import android.view.View
import android.widget.Toast import android.widget.Toast
import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.RecyclerView
import kr.co.vividnext.sodalive.R
import kr.co.vividnext.sodalive.base.BaseActivity import kr.co.vividnext.sodalive.base.BaseActivity
import kr.co.vividnext.sodalive.common.Constants import kr.co.vividnext.sodalive.common.Constants
import kr.co.vividnext.sodalive.common.LoadingDialog import kr.co.vividnext.sodalive.common.LoadingDialog
@@ -34,7 +35,7 @@ class UserFollowerListActivity : BaseActivity<ActivityUserFollowerListBinding>(
if (userId <= 0) { if (userId <= 0) {
Toast.makeText( Toast.makeText(
applicationContext, applicationContext,
"잘못된 요청입니다.\n다시 시도해 주세요.", getString(R.string.screen_user_follower_list_error_invalid_request),
Toast.LENGTH_LONG Toast.LENGTH_LONG
).show() ).show()
@@ -49,7 +50,7 @@ class UserFollowerListActivity : BaseActivity<ActivityUserFollowerListBinding>(
override fun setupView() { override fun setupView() {
loadingDialog = LoadingDialog(this, layoutInflater) loadingDialog = LoadingDialog(this, layoutInflater)
binding.toolbar.tvBack.text = "팔로워 리스트" binding.toolbar.tvBack.setText(R.string.screen_user_follower_list_title)
binding.toolbar.tvBack.setOnClickListener { finish() } binding.toolbar.tvBack.setOnClickListener { finish() }
adapter = UserFollowerListAdapter( adapter = UserFollowerListAdapter(

View File

@@ -17,7 +17,7 @@
android:layout_marginStart="13.3dp" android:layout_marginStart="13.3dp"
android:layout_marginTop="26.7dp" android:layout_marginTop="26.7dp"
android:fontFamily="@font/gmarket_sans_bold" android:fontFamily="@font/gmarket_sans_bold"
android:text="전체" android:text="@string/screen_user_follower_list_total_label"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="18.3sp" android:textSize="18.3sp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"

View File

@@ -761,6 +761,9 @@
<string name="screen_user_profile_reply_edit">Edit reply</string> <string name="screen_user_profile_reply_edit">Edit reply</string>
<string name="screen_user_profile_reply_submit">Submit</string> <string name="screen_user_profile_reply_submit">Submit</string>
<string name="screen_user_profile_reply_write">Write a reply</string> <string name="screen_user_profile_reply_write">Write a reply</string>
<string name="screen_user_follower_list_title">Follower list</string>
<string name="screen_user_follower_list_total_label">Total</string>
<string name="screen_user_follower_list_error_invalid_request">Invalid request.\nPlease try again.</string>
<string name="screen_user_profile_series_title">Series</string> <string name="screen_user_profile_series_title">Series</string>
<string name="screen_user_profile_series_total_count">Total %1$d episodes</string> <string name="screen_user_profile_series_total_count">Total %1$d episodes</string>
<string name="screen_user_profile_donation_title">Donation ranking</string> <string name="screen_user_profile_donation_title">Donation ranking</string>

View File

@@ -761,6 +761,9 @@
<string name="screen_user_profile_reply_edit">返信を編集</string> <string name="screen_user_profile_reply_edit">返信を編集</string>
<string name="screen_user_profile_reply_submit">登録</string> <string name="screen_user_profile_reply_submit">登録</string>
<string name="screen_user_profile_reply_write">返信を書く</string> <string name="screen_user_profile_reply_write">返信を書く</string>
<string name="screen_user_follower_list_title">フォロワーリスト</string>
<string name="screen_user_follower_list_total_label">合計</string>
<string name="screen_user_follower_list_error_invalid_request">不正なリクエストです。\nもう一度お試しください。</string>
<string name="screen_user_profile_series_title">シリーズ</string> <string name="screen_user_profile_series_title">シリーズ</string>
<string name="screen_user_profile_series_total_count">全%1$d話</string> <string name="screen_user_profile_series_total_count">全%1$d話</string>
<string name="screen_user_profile_donation_title">後援ランキング</string> <string name="screen_user_profile_donation_title">後援ランキング</string>

View File

@@ -760,6 +760,9 @@
<string name="screen_user_profile_reply_edit">답글 수정</string> <string name="screen_user_profile_reply_edit">답글 수정</string>
<string name="screen_user_profile_reply_submit">등록</string> <string name="screen_user_profile_reply_submit">등록</string>
<string name="screen_user_profile_reply_write">답글 쓰기</string> <string name="screen_user_profile_reply_write">답글 쓰기</string>
<string name="screen_user_follower_list_title">팔로워 리스트</string>
<string name="screen_user_follower_list_total_label">전체</string>
<string name="screen_user_follower_list_error_invalid_request">잘못된 요청입니다.\n다시 시도해 주세요.</string>
<string name="screen_user_profile_series_title">시리즈</string> <string name="screen_user_profile_series_title">시리즈</string>
<string name="screen_user_profile_series_total_count">총 %1$d화</string> <string name="screen_user_profile_series_total_count">총 %1$d화</string>
<string name="screen_user_profile_donation_title">후원랭킹</string> <string name="screen_user_profile_donation_title">후원랭킹</string>