From b87b95e2d00e2f72d9e76a86adb5df465167a0c6 Mon Sep 17 00:00:00 2001 From: hojat Date: Sun, 20 Oct 2024 17:56:43 -0400 Subject: [PATCH] The website "Wikia" is renamed to "fandom". --- .../core/data/api/igdb/games/entities/ApiWebsiteCategory.kt | 2 +- .../core/data/database/games/entities/DbWebsiteCategory.kt | 2 +- .../ca/hojat/gamehub/core/domain/entities/WebsiteCategory.kt | 2 +- .../java/ca/hojat/gamehub/core/providers/WebsiteIconProvider.kt | 2 +- .../java/ca/hojat/gamehub/core/providers/WebsiteNameProvider.kt | 2 +- .../presentation/widgets/links/InfoScreenLinkUiModelMapper.kt | 2 +- app/src/main/res/values-fa/strings.xml | 2 +- app/src/main/res/values-ru/strings.xml | 2 +- app/src/main/res/values/strings.xml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/src/main/java/ca/hojat/gamehub/core/data/api/igdb/games/entities/ApiWebsiteCategory.kt b/app/src/main/java/ca/hojat/gamehub/core/data/api/igdb/games/entities/ApiWebsiteCategory.kt index 558a6249..2c5d272a 100644 --- a/app/src/main/java/ca/hojat/gamehub/core/data/api/igdb/games/entities/ApiWebsiteCategory.kt +++ b/app/src/main/java/ca/hojat/gamehub/core/data/api/igdb/games/entities/ApiWebsiteCategory.kt @@ -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), diff --git a/app/src/main/java/ca/hojat/gamehub/core/data/database/games/entities/DbWebsiteCategory.kt b/app/src/main/java/ca/hojat/gamehub/core/data/database/games/entities/DbWebsiteCategory.kt index 774988e3..28b37e22 100644 --- a/app/src/main/java/ca/hojat/gamehub/core/data/database/games/entities/DbWebsiteCategory.kt +++ b/app/src/main/java/ca/hojat/gamehub/core/data/database/games/entities/DbWebsiteCategory.kt @@ -3,7 +3,7 @@ package ca.hojat.gamehub.core.data.database.games.entities enum class DbWebsiteCategory { UNKNOWN, OFFICIAL, - WIKIA, + FANDOM, WIKIPEDIA, FACEBOOK, TWITTER, diff --git a/app/src/main/java/ca/hojat/gamehub/core/domain/entities/WebsiteCategory.kt b/app/src/main/java/ca/hojat/gamehub/core/domain/entities/WebsiteCategory.kt index 822e390e..8878a914 100644 --- a/app/src/main/java/ca/hojat/gamehub/core/domain/entities/WebsiteCategory.kt +++ b/app/src/main/java/ca/hojat/gamehub/core/domain/entities/WebsiteCategory.kt @@ -3,7 +3,7 @@ package ca.hojat.gamehub.core.domain.entities enum class WebsiteCategory { UNKNOWN, OFFICIAL, - WIKIA, + FANDOM, WIKIPEDIA, FACEBOOK, TWITTER, diff --git a/app/src/main/java/ca/hojat/gamehub/core/providers/WebsiteIconProvider.kt b/app/src/main/java/ca/hojat/gamehub/core/providers/WebsiteIconProvider.kt index b135642d..b49f49f8 100644 --- a/app/src/main/java/ca/hojat/gamehub/core/providers/WebsiteIconProvider.kt +++ b/app/src/main/java/ca/hojat/gamehub/core/providers/WebsiteIconProvider.kt @@ -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 } } } diff --git a/app/src/main/java/ca/hojat/gamehub/core/providers/WebsiteNameProvider.kt b/app/src/main/java/ca/hojat/gamehub/core/providers/WebsiteNameProvider.kt index 4ddd5f18..b1efacb1 100644 --- a/app/src/main/java/ca/hojat/gamehub/core/providers/WebsiteNameProvider.kt +++ b/app/src/main/java/ca/hojat/gamehub/core/providers/WebsiteNameProvider.kt @@ -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 diff --git a/app/src/main/java/ca/hojat/gamehub/feature_info/presentation/widgets/links/InfoScreenLinkUiModelMapper.kt b/app/src/main/java/ca/hojat/gamehub/feature_info/presentation/widgets/links/InfoScreenLinkUiModelMapper.kt index 2e1640cc..c6e06cc5 100644 --- a/app/src/main/java/ca/hojat/gamehub/feature_info/presentation/widgets/links/InfoScreenLinkUiModelMapper.kt +++ b/app/src/main/java/ca/hojat/gamehub/feature_info/presentation/widgets/links/InfoScreenLinkUiModelMapper.kt @@ -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 } } diff --git a/app/src/main/res/values-fa/strings.xml b/app/src/main/res/values-fa/strings.xml index 5a04fc5c..a81155f0 100644 --- a/app/src/main/res/values-fa/strings.xml +++ b/app/src/main/res/values-fa/strings.xml @@ -97,7 +97,7 @@ اینستاگرام فیسبوک ویکی پدیا - ویکیا + فندوم دیسکورد اشتراک گذاری با … diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 114fb6cd..eeb5607f 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -99,7 +99,7 @@ Инстагра́м Фе́йсбу́к Википедия - Викия + Fandom Discord Поделиться с помощью… diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6f4f3eee..63c2cadb 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -110,7 +110,7 @@ Instagram Facebook Wikipedia - Wikia + Fandom Discord Share via…