MessageActivity 문자열 리소스화
This commit is contained in:
@@ -133,7 +133,7 @@ class TextMessageFragment : BaseFragment<FragmentTextMessageBinding>(
|
|||||||
|
|
||||||
viewModel.isLoading.observe(viewLifecycleOwner) {
|
viewModel.isLoading.observe(viewLifecycleOwner) {
|
||||||
if (it) {
|
if (it) {
|
||||||
loadingDialog.show(screenWidth, "문자 메시지를 불러오고 있습니다.")
|
loadingDialog.show(screenWidth, getString(R.string.screen_message_loading_text))
|
||||||
} else {
|
} else {
|
||||||
loadingDialog.dismiss()
|
loadingDialog.dismiss()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import android.widget.Toast
|
|||||||
import androidx.core.content.ContextCompat
|
import androidx.core.content.ContextCompat
|
||||||
import androidx.recyclerview.widget.LinearLayoutManager
|
import androidx.recyclerview.widget.LinearLayoutManager
|
||||||
import androidx.recyclerview.widget.RecyclerView
|
import androidx.recyclerview.widget.RecyclerView
|
||||||
import com.orhanobut.logger.Logger
|
|
||||||
import kr.co.vividnext.sodalive.R
|
import kr.co.vividnext.sodalive.R
|
||||||
import kr.co.vividnext.sodalive.base.BaseFragment
|
import kr.co.vividnext.sodalive.base.BaseFragment
|
||||||
import kr.co.vividnext.sodalive.common.LoadingDialog
|
import kr.co.vividnext.sodalive.common.LoadingDialog
|
||||||
@@ -258,7 +257,7 @@ class VoiceMessageFragment : BaseFragment<FragmentVoiceMessageBinding>(
|
|||||||
|
|
||||||
viewModel.isLoading.observe(viewLifecycleOwner) {
|
viewModel.isLoading.observe(viewLifecycleOwner) {
|
||||||
if (it) {
|
if (it) {
|
||||||
loadingDialog.show(screenWidth, "음성 메시지를 불러오고 있습니다.")
|
loadingDialog.show(screenWidth, getString(R.string.screen_message_loading_voice))
|
||||||
} else {
|
} else {
|
||||||
loadingDialog.dismiss()
|
loadingDialog.dismiss()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
android:layout_marginHorizontal="10dp"
|
android:layout_marginHorizontal="10dp"
|
||||||
android:layout_marginTop="20dp"
|
android:layout_marginTop="20dp"
|
||||||
android:fontFamily="@font/gmarket_sans_medium"
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
android:text="※ 보관하지 않은 받은 메시지는 3일 후, 자동 삭제됩니다."
|
android:text="@string/screen_message_notice_autodelete"
|
||||||
android:textSize="12sp"
|
android:textSize="12sp"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
android:fontFamily="@font/gmarket_sans_medium"
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
android:paddingHorizontal="25dp"
|
android:paddingHorizontal="25dp"
|
||||||
android:paddingVertical="10.7dp"
|
android:paddingVertical="10.7dp"
|
||||||
android:text="받은 메시지"
|
android:text="@string/screen_message_filter_receive"
|
||||||
android:textColor="@color/color_777777"
|
android:textColor="@color/color_777777"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
|
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
android:fontFamily="@font/gmarket_sans_medium"
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
android:paddingHorizontal="25dp"
|
android:paddingHorizontal="25dp"
|
||||||
android:paddingVertical="10.7dp"
|
android:paddingVertical="10.7dp"
|
||||||
android:text="보낸 메시지"
|
android:text="@string/screen_message_filter_sent"
|
||||||
android:textColor="@color/color_777777"
|
android:textColor="@color/color_777777"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
android:fontFamily="@font/gmarket_sans_medium"
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
android:paddingHorizontal="25dp"
|
android:paddingHorizontal="25dp"
|
||||||
android:paddingVertical="10.7dp"
|
android:paddingVertical="10.7dp"
|
||||||
android:text="보관함"
|
android:text="@string/screen_message_filter_keep"
|
||||||
android:textColor="@color/color_777777"
|
android:textColor="@color/color_777777"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
|
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
android:fontFamily="@font/gmarket_sans_medium"
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:lineSpacingExtra="4sp"
|
android:lineSpacingExtra="4sp"
|
||||||
android:text="메시지가 없습니다.\n친구들과 소통해보세요!"
|
android:text="@string/screen_message_empty"
|
||||||
android:textColor="@color/color_bbbbbb"
|
android:textColor="@color/color_bbbbbb"
|
||||||
android:textSize="10.7sp"
|
android:textSize="10.7sp"
|
||||||
tools:ignore="SmallSp" />
|
tools:ignore="SmallSp" />
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
android:layout_marginHorizontal="10dp"
|
android:layout_marginHorizontal="10dp"
|
||||||
android:layout_marginTop="20dp"
|
android:layout_marginTop="20dp"
|
||||||
android:fontFamily="@font/gmarket_sans_medium"
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
android:text="※ 보관하지 않은 받은 메시지는 3일 후, 자동 삭제됩니다."
|
android:text="@string/screen_message_notice_autodelete"
|
||||||
android:textSize="12sp"
|
android:textSize="12sp"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
android:fontFamily="@font/gmarket_sans_medium"
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
android:paddingHorizontal="25dp"
|
android:paddingHorizontal="25dp"
|
||||||
android:paddingVertical="10.7dp"
|
android:paddingVertical="10.7dp"
|
||||||
android:text="받은 메시지"
|
android:text="@string/screen_message_filter_receive"
|
||||||
android:textColor="@color/color_777777"
|
android:textColor="@color/color_777777"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
|
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
android:fontFamily="@font/gmarket_sans_medium"
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
android:paddingHorizontal="25dp"
|
android:paddingHorizontal="25dp"
|
||||||
android:paddingVertical="10.7dp"
|
android:paddingVertical="10.7dp"
|
||||||
android:text="보낸 메시지"
|
android:text="@string/screen_message_filter_sent"
|
||||||
android:textColor="@color/color_777777"
|
android:textColor="@color/color_777777"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
android:fontFamily="@font/gmarket_sans_medium"
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
android:paddingHorizontal="25dp"
|
android:paddingHorizontal="25dp"
|
||||||
android:paddingVertical="10.7dp"
|
android:paddingVertical="10.7dp"
|
||||||
android:text="보관함"
|
android:text="@string/screen_message_filter_keep"
|
||||||
android:textColor="@color/color_777777"
|
android:textColor="@color/color_777777"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
android:fontFamily="@font/gmarket_sans_medium"
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:lineSpacingExtra="4sp"
|
android:lineSpacingExtra="4sp"
|
||||||
android:text="메시지가 없습니다.\n친구들과 소통해보세요!"
|
android:text="@string/screen_message_empty"
|
||||||
android:textColor="@color/color_bbbbbb"
|
android:textColor="@color/color_bbbbbb"
|
||||||
android:textSize="10.7sp"
|
android:textSize="10.7sp"
|
||||||
tools:ignore="SmallSp" />
|
tools:ignore="SmallSp" />
|
||||||
|
|||||||
@@ -253,6 +253,13 @@
|
|||||||
<string name="screen_message_title">Messages</string>
|
<string name="screen_message_title">Messages</string>
|
||||||
<string name="screen_message_tab_text">Text</string>
|
<string name="screen_message_tab_text">Text</string>
|
||||||
<string name="screen_message_tab_voice">Voice</string>
|
<string name="screen_message_tab_voice">Voice</string>
|
||||||
|
<string name="screen_message_notice_autodelete">※ Received messages that are not kept are automatically deleted after 3 days.</string>
|
||||||
|
<string name="screen_message_filter_receive">Received</string>
|
||||||
|
<string name="screen_message_filter_sent">Sent</string>
|
||||||
|
<string name="screen_message_filter_keep">Saved</string>
|
||||||
|
<string name="screen_message_empty">No messages.\nTry connecting with friends!</string>
|
||||||
|
<string name="screen_message_loading_text">Loading text messages…</string>
|
||||||
|
<string name="screen_message_loading_voice">Loading voice messages…</string>
|
||||||
<string name="screen_live_loading">Loading live rooms…</string>
|
<string name="screen_live_loading">Loading live rooms…</string>
|
||||||
<string name="screen_live_cancel_title">Cancel reservation</string>
|
<string name="screen_live_cancel_title">Cancel reservation</string>
|
||||||
<string name="screen_live_cancel_hint">Enter a reason for cancellation.</string>
|
<string name="screen_live_cancel_hint">Enter a reason for cancellation.</string>
|
||||||
|
|||||||
@@ -253,6 +253,13 @@
|
|||||||
<string name="screen_message_title">メッセージ</string>
|
<string name="screen_message_title">メッセージ</string>
|
||||||
<string name="screen_message_tab_text">テキスト</string>
|
<string name="screen_message_tab_text">テキスト</string>
|
||||||
<string name="screen_message_tab_voice">ボイス</string>
|
<string name="screen_message_tab_voice">ボイス</string>
|
||||||
|
<string name="screen_message_notice_autodelete">※ 保管していない受信メッセージは3日後に自動で削除されます。</string>
|
||||||
|
<string name="screen_message_filter_receive">受信メッセージ</string>
|
||||||
|
<string name="screen_message_filter_sent">送信メッセージ</string>
|
||||||
|
<string name="screen_message_filter_keep">保存箱</string>
|
||||||
|
<string name="screen_message_empty">メッセージがありません。\n友達と交流してみましょう!</string>
|
||||||
|
<string name="screen_message_loading_text">テキストメッセージを読み込み中です。</string>
|
||||||
|
<string name="screen_message_loading_voice">ボイスメッセージを読み込み中です。</string>
|
||||||
<string name="screen_live_loading">ライブを読み込み中です。</string>
|
<string name="screen_live_loading">ライブを読み込み中です。</string>
|
||||||
<string name="screen_live_cancel_title">予約キャンセル</string>
|
<string name="screen_live_cancel_title">予約キャンセル</string>
|
||||||
<string name="screen_live_cancel_hint">キャンセル理由を入力してください。</string>
|
<string name="screen_live_cancel_hint">キャンセル理由を入力してください。</string>
|
||||||
|
|||||||
@@ -252,6 +252,13 @@
|
|||||||
<string name="screen_message_title">메시지</string>
|
<string name="screen_message_title">메시지</string>
|
||||||
<string name="screen_message_tab_text">문자</string>
|
<string name="screen_message_tab_text">문자</string>
|
||||||
<string name="screen_message_tab_voice">음성</string>
|
<string name="screen_message_tab_voice">음성</string>
|
||||||
|
<string name="screen_message_notice_autodelete">※ 보관하지 않은 받은 메시지는 3일 후, 자동 삭제됩니다.</string>
|
||||||
|
<string name="screen_message_filter_receive">받은 메시지</string>
|
||||||
|
<string name="screen_message_filter_sent">보낸 메시지</string>
|
||||||
|
<string name="screen_message_filter_keep">보관함</string>
|
||||||
|
<string name="screen_message_empty">메시지가 없습니다.\n친구들과 소통해보세요!</string>
|
||||||
|
<string name="screen_message_loading_text">문자 메시지를 불러오고 있습니다.</string>
|
||||||
|
<string name="screen_message_loading_voice">음성 메시지를 불러오고 있습니다.</string>
|
||||||
<string name="screen_live_loading">라이브를 불러오고 있습니다.</string>
|
<string name="screen_live_loading">라이브를 불러오고 있습니다.</string>
|
||||||
<string name="screen_live_cancel_title">예약취소</string>
|
<string name="screen_live_cancel_title">예약취소</string>
|
||||||
<string name="screen_live_cancel_hint">취소사유를 입력하세요.</string>
|
<string name="screen_live_cancel_hint">취소사유를 입력하세요.</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user