Skip to content

Commit 6cf6a9e

Browse files
committed
Added missing Hero translations
1 parent 0267e2a commit 6cf6a9e

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

src/i18n/base/pages/HelpMessageFormat.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
export type HelpMessageFormat = {
2+
hero: {
3+
title: string;
4+
subtitle: string;
5+
},
26
tabs: {
37
general: string;
48
gameWontStart: string;

src/i18n/en/pages/HelpTranslation.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import { HelpMessageFormat } from '../../base/pages/HelpMessageFormat';
22

33
export const HelpTranslation: HelpMessageFormat = {
4+
hero: {
5+
title: 'Help',
6+
subtitle: 'Common problems and their potential solutions'
7+
},
48
tabs: {
59
general: 'General',
610
gameWontStart: 'Game not starting',
@@ -11,7 +15,7 @@ export const HelpTranslation: HelpMessageFormat = {
1115
gettingStarted: {
1216
title: 'Get started by installing mods',
1317
whereToFindMods: `
14-
Go to the "Online" tab, find a mod, and hit download.
18+
Go to the "{''}@:translations.pages.manager.navigation.modsActions.online{''}" tab, find a mod, and hit download.
1519
It'll also download the dependencies saving you time.
1620
`,
1721
onceInstalled: 'Once you\'ve installed the mods you\'d like to use, just click {startModdedAction} in the top left.',

src/i18n/fr/pages/HelpTranslation.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import { HelpMessageFormat } from '../../base/pages/HelpMessageFormat';
22

33
export const HelpTranslation: HelpMessageFormat = {
4+
hero: {
5+
title: 'Aide',
6+
subtitle: 'Problèmes courants et leurs solutions potentielles'
7+
},
48
tabs: {
59
general: 'Général',
610
gameWontStart: 'Le jeu ne démarre pas',
@@ -11,7 +15,7 @@ export const HelpTranslation: HelpMessageFormat = {
1115
gettingStarted: {
1216
title: 'Commencez par installer des mods',
1317
whereToFindMods: `
14-
Rendez-vous dans l'onglet "En ligne", trouvez un mod et cliquez sur télécharger.
18+
Rendez-vous dans l'onglet "{''}@:translations.pages.manager.navigation.modsActions.online{''}", trouvez un mod et cliquez sur télécharger.
1519
Il téléchargera également les dépendances, ce qui vous fera gagner du temps.
1620
`,
1721
onceInstalled: 'Une fois que vous avez installé les mods que vous souhaitez utiliser, cliquez simplement sur {startModdedAction} en haut à gauche.',

src/pages/Help.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div id="help-view">
3-
<Hero title="Help" subtitle="Common problems and their potential solutions" hero-type="primary"/>
3+
<Hero :title="t('translations.pages.help.hero.title')" :subtitle="t('translations.pages.help.hero.subtitle')" hero-type="primary"/>
44
<div
55
class="tabs sticky-top sticky-top--opaque sticky-top--no-shadow sticky-top--no-padding has-background-">
66
<ul>

0 commit comments

Comments
 (0)