Skip to content

Commit

Permalink
refactor: String res 추출 및 다국어 적용(#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
moyeongmin committed Dec 2, 2024
1 parent 788040a commit b687348
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 14 deletions.
4 changes: 2 additions & 2 deletions feature/category/src/main/res/values-ko/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
<string name="txt_create_category_des_placeholder">카테고리 설명을 입력해주세요</string>
<string name="txt_create_category">카테고리 생성</string>
<string name="txt_edit_category">카테고리 수정</string>
<string name="txt_category_delete">카테고리 제거</string>
<string name="txt_category_fix">수정</string>
<!-- content description -->
<string name="des_btn_back">뒤로가기</string>
<string name="des_btn_settings">카테고리 설정</string>
<string name="des_fab_create_quiz">퀴즈 생성</string>
<string name="des_quiz_item_image">퀴즈 이미지</string>
<string name="des_category_image">카테고리 이미지</string>
<string name="txt_category_delete">카테고리 제거</string>
<string name="txt_category_fix">수정</string>
</resources>
15 changes: 11 additions & 4 deletions feature/main/src/main/res/values-ko/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
<string name="txt_notification_item_message">수락</string>
<string name="txt_notification_top_app_bar_title">알림</string>
<string name="txt_notification_top_app_bar_navigation_icon">뒤로 가기</string>
<string name="des_btn_notification">알림</string>
<string name="des_fab_create_study">스터디 생성</string>
<string name="des_img_study_image">스터디 이미지</string>
<string name="des_btn_study_menu">스터디 메뉴</string>
<string name="txt_study_user_count">인원: %1$s명</string>
<string name="top_app_bar_nav_btn">마이 페이지 아이콘 버튼</string>
<string name="txt_main_menu_edit">수정</string>
Expand All @@ -17,6 +13,17 @@
<string name="txt_study_group_menu_delete">스터디 제거</string>
<string name="txt_study_group_menu_leave">나가기</string>
<string name="txt_blank_notification">알림함이 텅 비었습니다.</string>
<string name="txt_main_guide">앱 사용에 어려움이 있으시면 \n 우측 상단의 가이드를 읽어주세요!</string>
<string name="txt_guide_dialog_title">가이드 링크 이동</string>
<string name="txt_guide_dialog_confirm">이동</string>
<string name="txt_guide_dialog_cancel">취소</string>
<string name="txt_guide_dialog_content">가이드 링크로 이동하시겠습니까?</string>
<!-- content description -->
<string name="des_btn_notification">알림</string>
<string name="des_fab_create_study">스터디 생성</string>
<string name="des_img_study_image">스터디 이미지</string>
<string name="des_btn_study_menu">스터디 메뉴</string>
<string name="des_main_guide_icon">가이드</string>
<string-array name="main_tabs_titles">
<item>참여 스터디</item>
<item>보관함</item>
Expand Down
15 changes: 11 additions & 4 deletions feature/main/src/main/res/values-zh/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
<string name="txt_notification_item_message">接受</string>
<string name="txt_notification_top_app_bar_title">通知</string>
<string name="txt_notification_top_app_bar_navigation_icon">返回</string>
<string name="des_btn_notification">通知</string>
<string name="des_fab_create_study">创建学习小组</string>
<string name="des_img_study_image">学习小组图片</string>
<string name="des_btn_study_menu">学习小组菜单</string>
<string name="txt_study_user_count">人数: %1$s</string>
<string name="top_app_bar_nav_btn">我的页面图标按钮</string>
<string name="txt_main_menu_edit">修正</string>
Expand All @@ -17,6 +13,17 @@
<string name="txt_study_group_menu_delete">删除学习小组</string>
<string name="txt_study_group_menu_leave">退出</string>
<string name="txt_blank_notification">您的收件箱是空的。</string>
<string name="txt_main_guide">如果您在使用应用程序时遇到困难,请阅读右上角的指南!</string>
<string name="txt_guide_dialog_title">转到指南链接</string>
<string name="txt_guide_dialog_confirm">移动</string>
<string name="txt_guide_dialog_cancel">取消</string>
<string name="txt_guide_dialog_content">想要查看指南链接?</string>
<!-- content description -->
<string name="des_btn_notification">通知</string>
<string name="des_fab_create_study">创建学习小组</string>
<string name="des_img_study_image">学习小组图片</string>
<string name="des_btn_study_menu">学习小组菜单</string>
<string name="des_main_guide_icon">指南</string>
<string-array name="main_tabs_titles">
<item>参与小组</item>
<item>档案</item>
Expand Down
15 changes: 11 additions & 4 deletions feature/main/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,25 @@
<string name="txt_notification_item_message">Accept</string>
<string name="txt_notification_top_app_bar_title">Notification</string>
<string name="txt_notification_top_app_bar_navigation_icon">Go Back</string>
<string name="des_btn_notification">Notification</string>
<string name="des_fab_create_study">Create Study</string>
<string name="des_img_study_image">Study Image</string>
<string name="des_btn_study_menu">Study Menu</string>
<string name="txt_study_user_count">Members: %1$s</string>
<string name="top_app_bar_nav_btn">My Page Icon Button</string>
<string name="txt_main_menu_edit">Edit</string>
<string name="txt_main_menu_logout">Logout</string>
<string name="txt_study_group_menu_edit">Edit</string>
<string name="txt_study_group_menu_delete">Delete Study</string>
<string name="txt_study_group_menu_leave">Leave</string>
<string name="txt_main_guide">If you\'re having trouble using the app \n read our guide in the top right corner!</string>
<string name="txt_guide_dialog_title">Go to the guide link</string>
<string name="txt_guide_dialog_confirm">move</string>
<string name="txt_guide_dialog_cancel">cancel</string>
<string name="txt_guide_dialog_content">Want to see the guide link?</string>
<string name="txt_blank_notification">Your notification box is empty.</string>
<!-- content description -->
<string name="des_btn_notification">Notification</string>
<string name="des_fab_create_study">Create Study</string>
<string name="des_img_study_image">Study Image</string>
<string name="des_btn_study_menu">Study Menu</string>
<string name="des_main_guide_icon">Guide</string>
<string-array name="main_tabs_titles">
<item>Joined Studies</item>
<item>Archive</item>
Expand Down

0 comments on commit b687348

Please sign in to comment.