Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CB-5746 rename buttons #2959

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions webapp/packages/core-blocks/src/Clickable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
* you may not use this file except in compliance with the License.
*/
import { observer } from 'mobx-react-lite';
import { type ClickableOptions, Clickable as MantineClickable } from 'reakit';
import { type ClickableOptions, Clickable as ReakitClickable } from 'reakit';

import type { ReakitProxyComponent, ReakitProxyComponentOptions } from './Menu/ReakitProxyComponent.js';

export const Clickable: ReakitProxyComponent<'button', ClickableOptions> = observer<ReakitProxyComponentOptions<'button', ClickableOptions>>(
function Clickable({ children, ...rest }) {
const Component = MantineClickable;
const Component = ReakitClickable;

return <Component {...rest}>{children}</Component>;
},
Expand Down
1 change: 1 addition & 0 deletions webapp/packages/core-localization/src/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export default [
['ui_error_message', 'Error:'],
['ui_error_close', 'Close'],
['ui_clear', 'Clear'],
['ui_clean', 'Clean'],
['ui_remove', 'Remove'],
['ui_close', 'Close'],
['ui_open', 'Open'],
Expand Down
1 change: 1 addition & 0 deletions webapp/packages/core-localization/src/locales/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export default [
['ui_error_message', 'Erreur :'],
['ui_error_close', 'Fermer'],
['ui_clear', 'Effacer'],
['ui_clean', 'Clean'],
['ui_remove', 'Supprimer'],
['ui_close', 'Fermer'],
['ui_open', 'Ouvrir'],
Expand Down
1 change: 1 addition & 0 deletions webapp/packages/core-localization/src/locales/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default [
['ui_error_message', 'Errore:'],
['ui_error_close', 'Chiudi'],
['ui_clear', 'Clear'],
['ui_clean', 'Clean'],
['ui_remove', 'Remove'],
['ui_close', 'Chiudi'],
['ui_open', 'Open'],
Expand Down
1 change: 1 addition & 0 deletions webapp/packages/core-localization/src/locales/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default [
['ui_error_message', 'Ошибка:'],
['ui_error_close', 'Закрыть'],
['ui_clear', 'Очистить'],
['ui_clean', 'Очистить'],
['ui_remove', 'Убрать'],
['ui_close', 'Закрыть'],
['ui_open', 'Открыть'],
Expand Down
1 change: 1 addition & 0 deletions webapp/packages/core-localization/src/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default [
['ui_error_message', '错误:'],
['ui_error_close', '关闭'],
['ui_clear', '清除'],
['ui_clean', 'Clean'],
['ui_remove', '移除'],
['ui_close', '关闭'],
['ui_open', '打开'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import { createAction } from '@cloudbeaver/core-view';

export const ACTION_DATA_VIEWER_GROUPING_CLEAR = createAction('data-viewer-grouping-clear', {
label: 'ui_clear',
tooltip: 'ui_clear',
label: 'ui_clean',
tooltip: 'ui_clean',
icon: 'erase',
});