feat(feed): 콘텐츠 카테고리 타입을 보완한다
This commit is contained in:
@@ -4,11 +4,13 @@ import androidx.annotation.StringRes
|
|||||||
import kr.co.vividnext.sodalive.R
|
import kr.co.vividnext.sodalive.R
|
||||||
|
|
||||||
enum class FeedContentCategory(
|
enum class FeedContentCategory(
|
||||||
@StringRes val labelResId: Int,
|
@param:StringRes val labelResId: Int,
|
||||||
val ratioWidth: Int,
|
val ratioWidth: Int,
|
||||||
val ratioHeight: Int
|
val ratioHeight: Int
|
||||||
) {
|
) {
|
||||||
Content(labelResId = R.string.feed_content_category_content, ratioWidth = 1, ratioHeight = 1),
|
Content(labelResId = R.string.feed_content_category_content, ratioWidth = 1, ratioHeight = 1),
|
||||||
|
Audio(labelResId = R.string.home_recommendation_activity_audio, ratioWidth = 1, ratioHeight = 1),
|
||||||
|
Photo(labelResId = R.string.screen_home_following_photo_content, ratioWidth = 1, ratioHeight = 1),
|
||||||
Series(labelResId = R.string.feed_content_category_series, ratioWidth = 163, ratioHeight = 230),
|
Series(labelResId = R.string.feed_content_category_series, ratioWidth = 163, ratioHeight = 230),
|
||||||
Magazine(labelResId = R.string.feed_content_category_magazine, ratioWidth = 163, ratioHeight = 218)
|
Magazine(labelResId = R.string.feed_content_category_magazine, ratioWidth = 163, ratioHeight = 218)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -312,6 +312,7 @@
|
|||||||
<string name="screen_home_following_recent_news_title">Recent news</string>
|
<string name="screen_home_following_recent_news_title">Recent news</string>
|
||||||
<string name="screen_home_following_on_air">On Air</string>
|
<string name="screen_home_following_on_air">On Air</string>
|
||||||
<string name="screen_home_following_photo_content">Photo</string>
|
<string name="screen_home_following_photo_content">Photo</string>
|
||||||
|
<string name="screen_home_following_creator_ranking_news_message">%1$s reached %2$s in this week\'s ranking!</string>
|
||||||
<string name="screen_home_following_empty">No following news to show.</string>
|
<string name="screen_home_following_empty">No following news to show.</string>
|
||||||
<string name="screen_home_following_error">Could not load following news.</string>
|
<string name="screen_home_following_error">Could not load following news.</string>
|
||||||
<string name="home_recommendation_activity_live">Live</string>
|
<string name="home_recommendation_activity_live">Live</string>
|
||||||
|
|||||||
@@ -312,6 +312,7 @@
|
|||||||
<string name="screen_home_following_recent_news_title">最近のお知らせ</string>
|
<string name="screen_home_following_recent_news_title">最近のお知らせ</string>
|
||||||
<string name="screen_home_following_on_air">On Air</string>
|
<string name="screen_home_following_on_air">On Air</string>
|
||||||
<string name="screen_home_following_photo_content">グラビア</string>
|
<string name="screen_home_following_photo_content">グラビア</string>
|
||||||
|
<string name="screen_home_following_creator_ranking_news_message">%1$sさんが今週のランキング%2$sに入りました!</string>
|
||||||
<string name="screen_home_following_empty">表示できるフォロー中のお知らせがありません。</string>
|
<string name="screen_home_following_empty">表示できるフォロー中のお知らせがありません。</string>
|
||||||
<string name="screen_home_following_error">フォロー中のお知らせを読み込めませんでした。</string>
|
<string name="screen_home_following_error">フォロー中のお知らせを読み込めませんでした。</string>
|
||||||
<string name="home_recommendation_activity_live">ライブ</string>
|
<string name="home_recommendation_activity_live">ライブ</string>
|
||||||
|
|||||||
@@ -311,6 +311,7 @@
|
|||||||
<string name="screen_home_following_recent_news_title">최근 소식</string>
|
<string name="screen_home_following_recent_news_title">최근 소식</string>
|
||||||
<string name="screen_home_following_on_air">On Air</string>
|
<string name="screen_home_following_on_air">On Air</string>
|
||||||
<string name="screen_home_following_photo_content">화보</string>
|
<string name="screen_home_following_photo_content">화보</string>
|
||||||
|
<string name="screen_home_following_creator_ranking_news_message">%1$s님이 이번 주 랭킹 %2$s에 올랐어요!</string>
|
||||||
<string name="screen_home_following_empty">표시할 팔로잉 소식이 없습니다.</string>
|
<string name="screen_home_following_empty">표시할 팔로잉 소식이 없습니다.</string>
|
||||||
<string name="screen_home_following_error">팔로잉 소식을 불러오지 못했습니다.</string>
|
<string name="screen_home_following_error">팔로잉 소식을 불러오지 못했습니다.</string>
|
||||||
<string name="home_recommendation_activity_live">라이브</string>
|
<string name="home_recommendation_activity_live">라이브</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user