Skip to content

Commit

Permalink
[FIX/#53] 텍스트 하드코딩 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
arinming committed Jul 12, 2024
1 parent 6bac3ba commit 45e3c59
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ fun ScrapDialogContent(
modifier = Modifier.padding(top = 20.dp)
)
Text(
text = "공고를 캘린더에 스크랩하시겠어요?",
text = stringResource(id = R.string.dialog_content_scrap_sub_title),
style = TerningTheme.typography.body5,
color = Grey350,
modifier = Modifier.padding(
Expand Down Expand Up @@ -177,7 +177,7 @@ fun ScrapDialogContent(
Text(text = "컬러 팔레트")
} else {
Text(
text = "D-3",
text = stringResource(id = R.string.intern_item_d_day),
style = TerningTheme.typography.body5,
color = TerningMain,
modifier = Modifier.padding(bottom = 9.dp)
Expand All @@ -191,9 +191,9 @@ fun ScrapDialogContent(
horizontalAlignment = Alignment.Start,
) {
listOf(
"서류 마감" to "2024년 7월 23일",
"근무 기간" to "2개월",
"근무 시작" to "2024년 8월"
stringResource(id = R.string.intern_info_d_day) to "2024년 7월 23일",
stringResource(id = R.string.intern_info_working) to "2개월",
stringResource(id = R.string.intern_info_start_date) to "2024년 8월"
).forEach { (title, value) ->
InternInfoRow(title, value)
}
Expand Down
6 changes: 6 additions & 0 deletions core/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@
<string name="sign_up_dialog_start">저장하기</string>

<!--Dialog-->
<string name="dialog_content_scrap_sub_title">공고를 캘린더에 스크랩하시겠어요?</string>
<string name="dialog_content_color_button">색상</string>
<string name="dialog_scrap_button">내 캘린더에 스크랩하기</string>

<!--Intern-->
<string name="intern_info_d_day">서류 마감</string>
<string name="intern_info_working">근무 기간</string>
<string name="intern_info_start_date">근무 시작</string>
</resources>

0 comments on commit 45e3c59

Please sign in to comment.