Change translation keys for simple context keys

This commit is contained in:
Louis Delbosc
2022-12-06 16:36:14 +01:00
parent b76fe50bf9
commit 37dc0cc9fb
5 changed files with 24 additions and 23 deletions

View File

@@ -20,34 +20,34 @@ interface WelcomeCard {
export const buildExamples = (): IExampleInfo[] => [{
id: 1, // Identifies the example in UserPrefs.seenExamples
urlId: 'lightweight-crm',
title: t('Title', {context: "CRM"}),
title: t('Lightweight CRM'),
imgUrl: 'https://www.getgrist.com/themes/grist/assets/images/use-cases/lightweight-crm.png',
tutorialUrl: 'https://support.getgrist.com/lightweight-crm/',
welcomeCard: {
title: t('WelcomeTitle', {context: "CRM"}),
text: t('WelcomeText', {context: "CRM"}),
tutorialName: t('WelcomeTutorialName', {context: "CRM"}),
title: t('Welcome to the Lightweight CRM template'),
text: t('Check out our related tutorial for how to link data, and create high-productivity layouts.'),
tutorialName: t("Tutorial: Create a CRM"),
},
}, {
id: 2, // Identifies the example in UserPrefs.seenExamples
urlId: 'investment-research',
title: t('Title', {context: "investmentResearch"}),
title: t('Investment Research'),
imgUrl: 'https://www.getgrist.com/themes/grist/assets/images/use-cases/data-visualization.png',
tutorialUrl: 'https://support.getgrist.com/investment-research/',
welcomeCard: {
title: t('WelcomeTitle', {context: "investmentResearch"}),
text: t('WelcomeText', {context: "investmentResearch"}),
tutorialName: t('WelcomeTutorialName', {context: "investmentResearch"}),
title: t("Welcome to the Investment Research template"),
text: t("Check out our related tutorial to learn how to create summary tables and charts, and to link charts dynamically."),
tutorialName: t("Tutorial: Analyze & Visualize"),
},
}, {
id: 3, // Identifies the example in UserPrefs.seenExamples
urlId: 'afterschool-program',
title: t('Title', {context: "afterschool"}),
title: t('Afterschool Program'),
imgUrl: 'https://www.getgrist.com/themes/grist/assets/images/use-cases/business-management.png',
tutorialUrl: 'https://support.getgrist.com/afterschool-program/',
welcomeCard: {
title: t('WelcomeTitle', {context: "afterschool"}),
text: t('WelcomeText', {context: "afterschool"}),
tutorialName: t('WelcomeTutorialName', {context: "afterschool"}),
title: t("Welcome to the Afterschool Program template"),
text: t("Check out our related tutorial for how to model business data, use formulas, and manage complexity."),
tutorialName: t("Tutorial: Manage Business Data"),
},
}];