I18n home page fixes (#4369)

* Fix missing dots in descriptions

* Fix untranslatable "our own app"

* Make full-width main header

* Fix missing space
This commit is contained in:
Jerozgen
2025-09-15 18:10:34 +03:00
committed by GitHub
parent 7bc2c1dd4d
commit 1491642209
2 changed files with 10 additions and 6 deletions

View File

@@ -567,7 +567,7 @@
"message": "Failed to load random projects :(" "message": "Failed to load random projects :("
}, },
"landing.feature.follow.description": { "landing.feature.follow.description": {
"message": "Get notified every time your favorite projects update and stay in the loop" "message": "Get notified every time your favorite projects update and stay in the loop."
}, },
"landing.feature.follow.heading": { "landing.feature.follow.heading": {
"message": "Follow projects you love" "message": "Follow projects you love"
@@ -642,7 +642,7 @@
"message": "Sort by" "message": "Sort by"
}, },
"landing.section.for-creators.description": { "landing.section.for-creators.description": {
"message": "Give an online home to your creations and reach a massive audience of dedicated players" "message": "Give an online home to your creations and reach a massive audience of dedicated players."
}, },
"landing.section.for-creators.label": { "landing.section.for-creators.label": {
"message": "For Creators" "message": "For Creators"

View File

@@ -204,8 +204,10 @@
<h3>{{ formatMessage(messages.playWithLauncherHeading) }}</h3> <h3>{{ formatMessage(messages.playWithLauncherHeading) }}</h3>
<p> <p>
<IntlFormatted :message-id="messages.playWithLauncherDescription"> <IntlFormatted :message-id="messages.playWithLauncherDescription">
<template #link> <template #link="{ children }">
<nuxt-link class="title-link" to="/app">our own app</nuxt-link> <nuxt-link class="title-link" to="/app">
<component :is="() => children" />
</nuxt-link>
</template> </template>
</IntlFormatted> </IntlFormatted>
</p> </p>
@@ -531,7 +533,7 @@ const messages = defineMessages({
creatorsDescription: { creatorsDescription: {
id: 'landing.section.for-creators.description', id: 'landing.section.for-creators.description',
defaultMessage: defaultMessage:
'Give an online home to your creations and reach a massive audience of dedicated players', 'Give an online home to your creations and reach a massive audience of dedicated players.',
}, },
findWhatYouWantHeading: { findWhatYouWantHeading: {
id: 'landing.feature.search.heading', id: 'landing.feature.search.heading',
@@ -548,7 +550,7 @@ const messages = defineMessages({
}, },
followProjectsDescription: { followProjectsDescription: {
id: 'landing.feature.follow.description', id: 'landing.feature.follow.description',
defaultMessage: 'Get notified every time your favorite projects update and stay in the loop', defaultMessage: 'Get notified every time your favorite projects update and stay in the loop.',
}, },
playWithLauncherHeading: { playWithLauncherHeading: {
id: 'landing.feature.launcher.heading', id: 'landing.feature.launcher.heading',
@@ -1287,6 +1289,7 @@ const creatorFeatureMessages = defineMessages({
font-weight: 600; font-weight: 600;
line-height: 100%; line-height: 100%;
margin: 0 0 0.25rem; margin: 0 0 0.25rem;
width: 100%;
} }
.main-header-strong { .main-header-strong {
@@ -1298,6 +1301,7 @@ const creatorFeatureMessages = defineMessages({
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
-moz-text-fill-color: transparent; -moz-text-fill-color: transparent;
color: transparent; color: transparent;
white-space: nowrap;
} }
.animate-strong { .animate-strong {