feat(i18n): 탐색 프로필 하드코딩 문구를 I18n 키로 통일한다
This commit is contained in:
@@ -69,7 +69,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
.foregroundColor(Color.button)
|
||||
)
|
||||
|
||||
Text("수정")
|
||||
Text(I18n.Explorer.modify)
|
||||
.appFont(size: 14, weight: .bold)
|
||||
.foregroundColor(Color.white)
|
||||
.padding(13.3)
|
||||
@@ -80,7 +80,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
isModeModify = false
|
||||
}
|
||||
|
||||
Text("취소")
|
||||
Text(I18n.Common.cancel)
|
||||
.appFont(size: 14, weight: .bold)
|
||||
.foregroundColor(Color.button)
|
||||
.padding(13.3)
|
||||
@@ -102,7 +102,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
|
||||
if isShowInputReply {
|
||||
HStack(spacing: 10) {
|
||||
TextField("응원댓글에 답글을 남겨보세요!", text: $replyContent)
|
||||
TextField(I18n.Explorer.cheerReplyPlaceholder, text: $replyContent)
|
||||
.autocapitalization(.none)
|
||||
.disableAutocorrection(true)
|
||||
.appFont(size: 14, weight: .medium)
|
||||
@@ -118,7 +118,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
.foregroundColor(Color.button)
|
||||
)
|
||||
|
||||
Text("등록")
|
||||
Text(I18n.Explorer.register)
|
||||
.appFont(size: 14, weight: .bold)
|
||||
.foregroundColor(Color.white)
|
||||
.padding(13.3)
|
||||
@@ -136,7 +136,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
} else {
|
||||
if cheersItem.replyList.count <= 0 {
|
||||
if userId == UserDefaults.int(forKey: .userId) {
|
||||
Text("답글쓰기")
|
||||
Text(I18n.Explorer.replyWrite)
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color.button)
|
||||
.padding(.top, 18.3)
|
||||
@@ -164,7 +164,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
.foregroundColor(Color.gray52)
|
||||
|
||||
if userId == UserDefaults.int(forKey: .userId) {
|
||||
Text("답글 수정")
|
||||
Text(I18n.Explorer.replyEdit)
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color.button)
|
||||
.onTapGesture {
|
||||
@@ -196,7 +196,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
if isShowPopupMenu {
|
||||
VStack(spacing: 10) {
|
||||
if cheersItem.memberId != UserDefaults.int(forKey: .userId) {
|
||||
Text("신고하기")
|
||||
Text(I18n.Explorer.reportAction)
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
.onTapGesture {
|
||||
@@ -206,7 +206,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
}
|
||||
|
||||
if cheersItem.memberId == UserDefaults.int(forKey: .userId) {
|
||||
Text("수정")
|
||||
Text(I18n.Explorer.edit)
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
.onTapGesture {
|
||||
@@ -219,7 +219,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
if userId == UserDefaults.int(forKey: .userId) ||
|
||||
cheersItem.memberId == UserDefaults.int(forKey: .userId)
|
||||
{
|
||||
Text("삭제")
|
||||
Text(I18n.Common.delete)
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
.onTapGesture {
|
||||
|
||||
Reference in New Issue
Block a user