mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
Make a good part of the app localizable and add French translations (#325)
Co-authored-by: Yohan Boniface <yohanboniface@free.fr>
This commit is contained in:
@@ -14,6 +14,9 @@ import {TableData} from "app/common/TableData";
|
||||
import {BaseFormatter} from 'app/common/ValueFormatter';
|
||||
import ko from 'knockout';
|
||||
import {Computed, Disposable, dom, makeTestId, Observable, styled, subscribe} from 'grainjs';
|
||||
import {makeT} from 'app/client/lib/localization';
|
||||
|
||||
const t = makeT('components.SelectionSummary');
|
||||
|
||||
/**
|
||||
* A beginning and end index for a range of columns or rows.
|
||||
@@ -263,7 +266,7 @@ export class SelectionSummary extends Disposable {
|
||||
|
||||
async function doCopy(value: string, elem: Element) {
|
||||
await copyToClipboard(value);
|
||||
showTransientTooltip(elem, 'Copied to clipboard', {key: 'copy-selection-summary'});
|
||||
showTransientTooltip(elem, t('CopiedClipboard'), {key: 'copy-selection-summary'});
|
||||
}
|
||||
|
||||
const cssSummary = styled('div', `
|
||||
|
||||
Reference in New Issue
Block a user