This is an automated email from the ASF dual-hosted git repository.
kasiazjc pushed a commit to branch fix-sentence-case-buttons
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/fix-sentence-case-buttons by
this push:
new 2bebf377a20 fix: revert Ok → OK (initialism, always fully capitalised)
2bebf377a20 is described below
commit 2bebf377a208841e18de89d27ebd65f0bd87b092
Author: kasiazjc <[email protected]>
AuthorDate: Tue May 26 13:00:14 2026 +0000
fix: revert Ok → OK (initialism, always fully capitalised)
---
superset-frontend/src/SqlLab/components/ResultSet/index.tsx | 2 +-
superset-frontend/src/components/Datasource/DatasourceModal/index.tsx | 2 +-
.../components/controls/AnnotationLayerControl/AnnotationLayer.tsx | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/superset-frontend/src/SqlLab/components/ResultSet/index.tsx
b/superset-frontend/src/SqlLab/components/ResultSet/index.tsx
index 18b3cd0398f..5637e3c940a 100644
--- a/superset-frontend/src/SqlLab/components/ResultSet/index.tsx
+++ b/superset-frontend/src/SqlLab/components/ResultSet/index.tsx
@@ -380,7 +380,7 @@ const ResultSet = ({
onConfirm: () => {
window.location.href = getExportCsvUrl(query.id);
},
- confirmText: t('Ok'),
+ confirmText: t('OK'),
cancelText: t('Close'),
});
}
diff --git
a/superset-frontend/src/components/Datasource/DatasourceModal/index.tsx
b/superset-frontend/src/components/Datasource/DatasourceModal/index.tsx
index ddc82c5d5b3..4049268c3e5 100644
--- a/superset-frontend/src/components/Datasource/DatasourceModal/index.tsx
+++ b/superset-frontend/src/components/Datasource/DatasourceModal/index.tsx
@@ -395,7 +395,7 @@ const DatasourceModal:
FunctionComponent<DatasourceModalProps> = ({
show={confirmModalOpen}
onHide={handleConfirmModalClose}
onHandledPrimaryAction={handleConfirmSave}
- primaryButtonName={t('Ok')}
+ primaryButtonName={t('OK')}
primaryButtonLoading={isSaving}
>
{getSaveDialog()}
diff --git
a/superset-frontend/src/explore/components/controls/AnnotationLayerControl/AnnotationLayer.tsx
b/superset-frontend/src/explore/components/controls/AnnotationLayerControl/AnnotationLayer.tsx
index ca2e2dde3ae..76de0d526d2 100644
---
a/superset-frontend/src/explore/components/controls/AnnotationLayerControl/AnnotationLayer.tsx
+++
b/superset-frontend/src/explore/components/controls/AnnotationLayerControl/AnnotationLayer.tsx
@@ -1147,7 +1147,7 @@ class AnnotationLayer extends PureComponent<
disabled={!isValid}
onClick={this.submitAnnotation}
>
- {t('Ok')}
+ {t('OK')}
</Button>
</div>
</div>