superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kri...@apache.org
Subject [incubator-superset] branch master updated: fix(i18n) syntax errors detected by grammarly while translating (#6271)
Date Tue, 08 Jan 2019 17:27:35 GMT
This is an automated email from the ASF dual-hosted git repository.

kristw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 28ca07e  fix(i18n) syntax errors detected by grammarly while translating (#6271)
28ca07e is described below

commit 28ca07e6409b27ab20bba8242abe550b4dbb0e30
Author: Joe Bordes <joe@tsolucio.com>
AuthorDate: Tue Jan 8 18:27:26 2019 +0100

    fix(i18n) syntax errors detected by grammarly while translating (#6271)
---
 superset/assets/backendSync.json         | 4 ++--
 superset/assets/src/explore/controls.jsx | 4 ++--
 superset/connectors/sqla/views.py        | 2 +-
 superset/views/core.py                   | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/superset/assets/backendSync.json b/superset/assets/backendSync.json
index 97d4f2f..8008621 100644
--- a/superset/assets/backendSync.json
+++ b/superset/assets/backendSync.json
@@ -2571,7 +2571,7 @@
       "label": "Search Box",
       "renderTrigger": true,
       "default": false,
-      "description": "Whether to include a client side search box"
+      "description": "Whether to include a client-side search box"
     },
     "table_filter": {
       "type": "CheckboxControl",
@@ -3036,7 +3036,7 @@
       "type": "CheckboxControl",
       "label": "Live render",
       "default": true,
-      "description": "Points and clusters will update as viewport is being changed"
+      "description": "Points and clusters will update as the viewport is being changed"
     },
     "mapbox_color": {
       "type": "SelectControl",
diff --git a/superset/assets/src/explore/controls.jsx b/superset/assets/src/explore/controls.jsx
index 52785f5..3beed8a 100644
--- a/superset/assets/src/explore/controls.jsx
+++ b/superset/assets/src/explore/controls.jsx
@@ -1455,7 +1455,7 @@ export const controls = {
     label: t('Search Box'),
     renderTrigger: true,
     default: false,
-    description: t('Whether to include a client side search box'),
+    description: t('Whether to include a client-side search box'),
   },
 
   table_filter: {
@@ -1858,7 +1858,7 @@ export const controls = {
     type: 'CheckboxControl',
     label: t('Live render'),
     default: true,
-    description: t('Points and clusters will update as viewport is being changed'),
+    description: t('Points and clusters will update as the viewport is being changed'),
   },
 
   mapbox_color: {
diff --git a/superset/connectors/sqla/views.py b/superset/connectors/sqla/views.py
index 734a2c0..bb63ed7 100644
--- a/superset/connectors/sqla/views.py
+++ b/superset/connectors/sqla/views.py
@@ -270,7 +270,7 @@ class TableModelView(DatasourceModelView, DeleteMixin, YamlExportMixin):
 # noqa
         if flash_message:
             flash(_(
                 'The table was created. '
-                'As part of this two phase configuration '
+                'As part of this two-phase configuration '
                 'process, you should now click the edit button by '
                 'the new table to configure it.'), 'info')
 
diff --git a/superset/views/core.py b/superset/views/core.py
index 99cd685..3c3737a 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -61,7 +61,7 @@ QueryStatus = utils.QueryStatus
 
 ALL_DATASOURCE_ACCESS_ERR = __(
     'This endpoint requires the `all_datasource_access` permission')
-DATASOURCE_MISSING_ERR = __('The datasource seems to have been deleted')
+DATASOURCE_MISSING_ERR = __('The data source seems to have been deleted')
 ACCESS_REQUEST_MISSING_ERR = __(
     'The access requests seem to have been deleted')
 USER_MISSING_ERR = __('The user seems to have been deleted')
@@ -568,7 +568,7 @@ class DashboardModelView(SupersetModelView, DeleteMixin):  # noqa
             'the widgets size and positions by using drag & drop in '
             'the dashboard view'),
         'css': _(
-            'The css for individual dashboards can be altered here, or '
+            'The CSS for individual dashboards can be altered here, or '
             'in the dashboard view where changes are immediately '
             'visible'),
         'slug': _('To get a readable URL for your dashboard'),


Mime
View raw message