mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
Add fr translation and fix some translation on the go
This commit is contained in:
@@ -293,8 +293,8 @@ function buildOtherSites(home: HomeModel) {
|
||||
const siteName = home.app.currentOrgName;
|
||||
return [
|
||||
dom('div',
|
||||
personal ? t("You are on the {{siteName}} site. You also have access to the following sites:", {siteName}) :
|
||||
t("You are on your personal site. You also have access to the following sites:"),
|
||||
personal ? t("You are on your personal site. You also have access to the following sites:") :
|
||||
t("You are on the {{siteName}} site. You also have access to the following sites:", {siteName}),
|
||||
testId('other-sites-message')
|
||||
),
|
||||
css.otherSitesButtons(
|
||||
@@ -306,7 +306,7 @@ function buildOtherSites(home: HomeModel) {
|
||||
)
|
||||
),
|
||||
testId('other-sites-buttons')
|
||||
)
|
||||
),
|
||||
];
|
||||
})
|
||||
);
|
||||
|
||||
@@ -47,7 +47,7 @@ export async function replaceTrunkWithFork(user: FullUser|null, doc: Document, a
|
||||
buttonText = t("Overwrite");
|
||||
warningText = `${warningText} ${t("It will be overwritten, losing any content not in this document.")}`;
|
||||
} else if (cmp.summary === 'same') {
|
||||
titleText = 'Original Looks Identical';
|
||||
titleText = t('Original Looks Identical');
|
||||
warningText = `${warningText} ${t("However, it appears to be already identical.")}`;
|
||||
}
|
||||
confirmModal(titleText, buttonText,
|
||||
|
||||
@@ -65,16 +65,16 @@ export function showWelcomeQuestions(userPrefsObs: Observable<UserPrefs>): boole
|
||||
}
|
||||
|
||||
const choices: Array<{icon: IconName, color: string, textKey: string}> = [
|
||||
{icon: 'UseProduct', color: `${colors.lightGreen}`, textKey: 'ProductDevelopment' },
|
||||
{icon: 'UseFinance', color: '#0075A2', textKey: 'FinanceAccounting' },
|
||||
{icon: 'UseMedia', color: '#F7B32B', textKey: 'MediaProduction' },
|
||||
{icon: 'UseMonitor', color: '#F2545B', textKey: 'ITTechnology' },
|
||||
{icon: 'UseChart', color: '#7141F9', textKey: 'Marketing' },
|
||||
{icon: 'UseScience', color: '#231942', textKey: 'Research' },
|
||||
{icon: 'UseSales', color: '#885A5A', textKey: 'Sales' },
|
||||
{icon: 'UseEducate', color: '#4A5899', textKey: 'Education' },
|
||||
{icon: 'UseHr', color: '#688047', textKey: 'HRManagement' },
|
||||
{icon: 'UseOther', color: '#929299', textKey: 'Other' },
|
||||
{icon: 'UseProduct', color: `${colors.lightGreen}`, textKey: 'Product Development' },
|
||||
{icon: 'UseFinance', color: '#0075A2', textKey: 'Finance & Accounting' },
|
||||
{icon: 'UseMedia', color: '#F7B32B', textKey: 'Media Production' },
|
||||
{icon: 'UseMonitor', color: '#F2545B', textKey: 'IT & Technology' },
|
||||
{icon: 'UseChart', color: '#7141F9', textKey: 'Marketing' },
|
||||
{icon: 'UseScience', color: '#231942', textKey: 'Research' },
|
||||
{icon: 'UseSales', color: '#885A5A', textKey: 'Sales' },
|
||||
{icon: 'UseEducate', color: '#4A5899', textKey: 'Education' },
|
||||
{icon: 'UseHr', color: '#688047', textKey: 'HR & Management' },
|
||||
{icon: 'UseOther', color: '#929299', textKey: 'Other' },
|
||||
];
|
||||
|
||||
function buildInfoForm(selection: Observable<boolean>[], otherText: Observable<string>) {
|
||||
|
||||
Reference in New Issue
Block a user