Skip to content

Commit

Permalink
The website "Wikia" is renamed to "fandom".
Browse files Browse the repository at this point in the history
hojat72elect committed Oct 20, 2024
1 parent 4156389 commit b87b95e
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ import kotlinx.serialization.encoding.Encoder
enum class ApiWebsiteCategory(val rawValue: Int) {
UNKNOWN(rawValue = -1),
OFFICIAL(rawValue = 1),
WIKIA(rawValue = 2),
FANDOM(rawValue = 2),
WIKIPEDIA(rawValue = 3),
FACEBOOK(rawValue = 4),
TWITTER(rawValue = 5),
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ package ca.hojat.gamehub.core.data.database.games.entities
enum class DbWebsiteCategory {
UNKNOWN,
OFFICIAL,
WIKIA,
FANDOM,
WIKIPEDIA,
FACEBOOK,
TWITTER,
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ package ca.hojat.gamehub.core.domain.entities
enum class WebsiteCategory {
UNKNOWN,
OFFICIAL,
WIKIA,
FANDOM,
WIKIPEDIA,
FACEBOOK,
TWITTER,
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ class WebsiteIconProviderImpl @Inject constructor() : WebsiteIconProvider {
WebsiteCategory.SUBREDDIT -> R.drawable.reddit
WebsiteCategory.GOG -> R.drawable.gog
WebsiteCategory.DISCORD -> R.drawable.discord
WebsiteCategory.UNKNOWN, WebsiteCategory.OFFICIAL, WebsiteCategory.WIKIA, WebsiteCategory.EPIC_GAMES -> R.drawable.web
WebsiteCategory.UNKNOWN, WebsiteCategory.OFFICIAL, WebsiteCategory.FANDOM, WebsiteCategory.EPIC_GAMES -> R.drawable.web
}
}
}
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ class WebsiteNameProviderImpl @Inject constructor(
when (website.category) {
WebsiteCategory.UNKNOWN -> R.string.website_unknown
WebsiteCategory.OFFICIAL -> R.string.website_official
WebsiteCategory.WIKIA -> R.string.website_wikia
WebsiteCategory.FANDOM -> R.string.website_fandom
WebsiteCategory.WIKIPEDIA -> R.string.website_wikipedia
WebsiteCategory.FACEBOOK -> R.string.website_facebook
WebsiteCategory.TWITTER -> R.string.website_twitter
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ class InfoScreenLinkUiModelMapperImpl @Inject constructor(
WebsiteCategory.INSTAGRAM -> 10
WebsiteCategory.FACEBOOK -> 11
WebsiteCategory.WIKIPEDIA -> 12
WebsiteCategory.WIKIA -> 13
WebsiteCategory.FANDOM -> 13
WebsiteCategory.DISCORD -> 14
}
}
2 changes: 1 addition & 1 deletion app/src/main/res/values-fa/strings.xml
Original file line number Diff line number Diff line change
@@ -97,7 +97,7 @@
<string name="website_instagram">اینستاگرام</string>
<string name="website_facebook">فیسبوک</string>
<string name="website_wikipedia">ویکی پدیا</string>
<string name="website_wikia">ویکیا</string>
<string name="website_fandom">فندوم</string>
<string name="website_discord">دیسکورد</string>

<string name="action_share_via">اشتراک گذاری با …</string>
2 changes: 1 addition & 1 deletion app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
@@ -99,7 +99,7 @@
<string name="website_instagram">Инстагра́м</string>
<string name="website_facebook">Фе́йсбу́к</string>
<string name="website_wikipedia">Википедия</string>
<string name="website_wikia">Викия</string>
<string name="website_fandom">Fandom</string>
<string name="website_discord">Discord</string>

<string name="action_share_via">Поделиться с помощью…</string>
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -110,7 +110,7 @@
<string name="website_instagram">Instagram</string>
<string name="website_facebook">Facebook</string>
<string name="website_wikipedia">Wikipedia</string>
<string name="website_wikia">Wikia</string>
<string name="website_fandom">Fandom</string>
<string name="website_discord">Discord</string>

<string name="action_share_via">Share via…</string>

0 comments on commit b87b95e

Please sign in to comment.