You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by GitBox <gi...@apache.org> on 2017/11/04 07:10:51 UTC
[GitHub] mistercrunch closed pull request #3774: [sql-lab] Fixing Run Query tooltip
mistercrunch closed pull request #3774: [sql-lab] Fixing Run Query tooltip
URL: https://github.com/apache/incubator-superset/pull/3774
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/superset/assets/javascripts/SqlLab/components/RunQueryActionButton.jsx b/superset/assets/javascripts/SqlLab/components/RunQueryActionButton.jsx
index 60437d3913..a3ee7a9f84 100644
--- a/superset/assets/javascripts/SqlLab/components/RunQueryActionButton.jsx
+++ b/superset/assets/javascripts/SqlLab/components/RunQueryActionButton.jsx
@@ -19,7 +19,6 @@ export default function RunQueryActionButton(props) {
const runBtnText = props.selectedText ? t('Run Selected Query') : t('Run Query');
const btnStyle = props.selectedText ? 'warning' : 'primary';
const shouldShowStopBtn = ['running', 'pending'].indexOf(props.queryState) > -1;
- const asyncToolTip = t('Run query asynchronously');
const commonBtnProps = {
bsSize: 'small',
@@ -32,7 +31,7 @@ export default function RunQueryActionButton(props) {
{...commonBtnProps}
onClick={() => props.runQuery(false)}
key="run-btn"
- tooltip={asyncToolTip}
+ tooltip={t('Run query synchronously')}
>
<i className="fa fa-refresh" /> {runBtnText}
</Button>
@@ -43,7 +42,7 @@ export default function RunQueryActionButton(props) {
{...commonBtnProps}
onClick={() => props.runQuery(true)}
key="run-async-btn"
- tooltip={asyncToolTip}
+ tooltip={t('Run query asynchronously')}
>
<i className="fa fa-table" /> {runBtnText}
</Button>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services