Add fr translation and fix some translation on the go

This commit is contained in:
Louis Delbosc
2022-12-19 19:53:26 +01:00
parent c18c6cb264
commit 78a1c2d890
7 changed files with 637 additions and 653 deletions

View File

@@ -93,13 +93,13 @@ RecordLayoutEditor.prototype.buildEditorDom = function() {
};
return cssControls(
basicButton(t('AddField'), cssCollapseIcon('Collapse'),
basicButton(t('Add Field'), cssCollapseIcon('Collapse'),
menu((ctl) => [
menuItem(() => addNewField(), t('CreateNewField')),
menuItem(() => addNewField(), t('Create New Field')),
dom.maybe((use) => use(this._hiddenColumns).length > 0,
() => menuDivider()),
dom.forEach(this._hiddenColumns, (col) =>
menuItem(() => showField(col), t("ShowField", {label:col.label()}))
menuItem(() => showField(col), t("Show field {{- label}}", {label:col.label()}))
),
testId('edit-layout-add-menu'),
]),
@@ -113,7 +113,7 @@ RecordLayoutEditor.prototype.buildEditorDom = function() {
RecordLayoutEditor.prototype.buildFinishButtons = function() {
return [
primaryButton(t('SaveLayout'),
primaryButton(t('Save Layout'),
dom.on('click', () => commands.allCommands.accept.run()),
),
basicButton(t('Cancel'),