mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
Change translation keys for ui directory
This commit is contained in:
@@ -19,14 +19,14 @@ export function RowContextMenu({ disableInsert, disableDelete, isViewSorted, num
|
||||
// bottom. It could be very confusing for users who might expect the record to stay above or
|
||||
// below the active row. Thus in this case we show a single `insert row` command.
|
||||
result.push(
|
||||
menuItemCmd(allCommands.insertRecordAfter, t('InsertRow'),
|
||||
menuItemCmd(allCommands.insertRecordAfter, t("Insert row"),
|
||||
dom.cls('disabled', disableInsert)),
|
||||
);
|
||||
} else {
|
||||
result.push(
|
||||
menuItemCmd(allCommands.insertRecordBefore, t('InsertRowAbove'),
|
||||
menuItemCmd(allCommands.insertRecordBefore, t("Insert row above"),
|
||||
dom.cls('disabled', disableInsert)),
|
||||
menuItemCmd(allCommands.insertRecordAfter, t('InsertRowBelow'),
|
||||
menuItemCmd(allCommands.insertRecordAfter, t("Insert row below"),
|
||||
dom.cls('disabled', disableInsert)),
|
||||
);
|
||||
}
|
||||
@@ -37,11 +37,11 @@ export function RowContextMenu({ disableInsert, disableDelete, isViewSorted, num
|
||||
result.push(
|
||||
menuDivider(),
|
||||
// TODO: should show `Delete ${num} rows` when multiple are selected
|
||||
menuItemCmd(allCommands.deleteRecords, t('Delete'),
|
||||
menuItemCmd(allCommands.deleteRecords, t("Delete"),
|
||||
dom.cls('disabled', disableDelete)),
|
||||
);
|
||||
result.push(
|
||||
menuDivider(),
|
||||
menuItemCmd(allCommands.copyLink, t('CopyAnchorLink')));
|
||||
menuItemCmd(allCommands.copyLink, t("Copy anchor link")));
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user