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:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user