mostly remove 'world' as a word #237

This commit is contained in:
Jon Eugster
2024-06-06 12:33:04 +02:00
parent 714b4f45b1
commit 80d4b88f5a
5 changed files with 22 additions and 34 deletions
+1 -1
View File
@@ -601,7 +601,7 @@ export function TypewriterInterface({props}) {
<div className="button-row mobile">
{props.level >= props.worldSize ?
<Button to={`/${gameId}`}>
<FontAwesomeIcon icon={faHome} />&nbsp;{t("Leave World")}
<FontAwesomeIcon icon={faHome} />&nbsp;{t("Home")}
</Button>
:
<Button to={`/${gameId}/world/${props.world}/level/${props.level + 1}`}>
+1 -1
View File
@@ -502,7 +502,7 @@ export function LevelWrapper({visible = true}) {
// <div className="button-row">
// {proof?.completed && (lastLevel ?
// <Button to={`/${gameId}`}>
// <FontAwesomeIcon icon={faHome} />&nbsp;{t("Leave World")}
// <FontAwesomeIcon icon={faHome} />&nbsp;{t("Home")}
// </Button> :
// <Button to={`/${gameId}/world/${worldId}/level/${levelId + 1}`}>
// {t("Next")}&nbsp;<FontAwesomeIcon icon={faArrowRight} />
+4 -4
View File
@@ -143,7 +143,7 @@ function DesktopNavigationLevel () {
return <div className="nav-content">
<div className="nav-title-left">
<span className="nav-title">{worldTitle ? `${t("World")}: ${t(worldTitle, {ns: gameId})}` : ''}
<span className="nav-title">{worldTitle ? `${t(worldTitle, {ns: gameId})}` : '' /* ${t("World")}: */ }
</span>
</div>
<div className="nav-title-middle">
@@ -163,7 +163,7 @@ function DesktopNavigationLevel () {
{ levelId == gameInfo.data?.worldSize[worldId] ?
<NavButton
icon={faHome}
text={t("Leave World")}
text={t("Home")}
inverted={true}
disabled={levelId > 0 && difficulty == 2 && !completed}
href={`#/${gameId}`} /> :
@@ -239,7 +239,7 @@ export function Navigation () {
{ gameId && <>
<NavButton
icon={worldId ? faHome : faGlobe}
title={worldId ? t("back to world selection") : t("back to games selection")}
title={worldId ? t("home") : t("back to games selection")}
href={worldId ? `#/${gameId}` : `#`} />
</>}
{ gameId ?
@@ -295,7 +295,7 @@ export function Navigation () {
{ mobile && (levelId == gameInfo.data?.worldSize[worldId] ?
<NavButton
icon={faHome}
text={t("Leave World")}
text={t("Home")}
inverted={true}
disabled={levelId > 0 && difficulty == 2 && !completed}
href={`#/${gameId}`} /> :