Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes game dashboard #7166

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion newIDE/app/src/GameDashboard/PublicGameProperties.js
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ export function PublicGameProperties({
>
<SelectOption
value="visible"
label={t`Visible on your profile page`}
label={t`Visible in the search and your profile`}
/>
<SelectOption value="hidden" label={t`Hidden`} />
</SelectField>
Expand Down
2 changes: 1 addition & 1 deletion newIDE/app/src/MarketingPlans/MarketingPlanUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const getRequirementsErrors = (
);
}
if (!!marketingPlanGameRequirements.isDiscoverable && !game.discoverable) {
requirementsErrors.push(<Trans>Your game is not discoverable</Trans>);
requirementsErrors.push(<Trans>Your game is hidden on gd.games</Trans>);
}

return requirementsErrors;
Expand Down
27 changes: 14 additions & 13 deletions newIDE/app/src/MarketingPlans/UsePurchaseMarketingPlan.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,20 @@ const usePurchaseMarketingPlan = ({
) : (
<Trans>Get Featuring</Trans>
),
message: canExtend ? (
<Trans>
You are about to use {planCreditsAmount} credits to extend the game
featuring {translatedName} for your game {game.gameName} and push it
to the top of gd.games. Continue?
</Trans>
) : (
<Trans>
You are about to use {planCreditsAmount} credits to purchase the
game featuring {translatedName} for your game {game.gameName}.
Continue?
</Trans>
),
message:
isPlanActive && canExtend ? (
<Trans>
You are about to use {planCreditsAmount} credits to extend the
game featuring {translatedName} for your game {game.gameName} and
push it to the top of gd.games. Continue?
</Trans>
) : (
<Trans>
You are about to use {planCreditsAmount} credits to purchase the
game featuring {translatedName} for your game {game.gameName}.
Continue?
</Trans>
),
onConfirm: async () => {
await buyGameFeaturing(getAuthorizationHeader, {
gameId: game.id,
Expand Down
Loading