다국어 문자열과 카운트 노출을 정비

This commit is contained in:
Yu Sung
2025-12-17 15:15:08 +09:00
parent 619870e1de
commit fa163ec83d
11 changed files with 156 additions and 127 deletions

View File

@@ -14,18 +14,18 @@ struct BlockMemberListView: View {
var body: some View {
BaseView(isLoading: $viewModel.isLoading) {
VStack(spacing: 0) {
DetailNavigationBar(title: "차단 리스트")
DetailNavigationBar(title: String(localized: "차단 리스트"))
HStack(spacing: 0) {
Text(" ")
Text("")
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color.grayee)
Text("\(viewModel.totalCount)")
Text(" \(viewModel.totalCount) ")
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color.mainRed3)
Text(" ")
Text("")
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color.grayee)

View File

@@ -62,13 +62,13 @@ final class BlockMemberListViewModel: ObservableObject {
if let message = decoded.message {
self.errorMessage = message
} else {
self.errorMessage = "다시 시도해 주세요.\n계속 같은 문제가 발생할 경우 고객센터로 문의 주시기 바랍니다."
self.errorMessage = I18n.Common.commonError
}
self.isShowPopup = true
}
} catch {
self.errorMessage = "다시 시도해 주세요.\n계속 같은 문제가 발생할 경우 고객센터로 문의 주시기 바랍니다."
self.errorMessage = I18n.Common.commonError
self.isShowPopup = true
self.isLoading = false
}

View File

@@ -14,15 +14,15 @@ struct OrderListAllInnerView: View {
BaseView(isLoading: $viewModel.isLoading) {
VStack(spacing: 0) {
HStack(spacing: 0) {
Text(" ")
Text("")
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "eeeeee"))
Text("\(viewModel.totalCount)")
Text(" \(viewModel.totalCount) ")
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "dd4500"))
Text(" ")
Text("")
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "eeeeee"))