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 2018/02/14 03:32:28 UTC

[GitHub] vnnw closed pull request #4420: 20180214

vnnw closed pull request #4420: 20180214
URL: https://github.com/apache/incubator-superset/pull/4420
 
 
   

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/translations/zh/LC_MESSAGES/messages.json b/superset/translations/zh/LC_MESSAGES/messages.json
deleted file mode 100644
index 62d7e8efaf..0000000000
--- a/superset/translations/zh/LC_MESSAGES/messages.json
+++ /dev/null
@@ -1 +0,0 @@
-{"domain":"superset","locale_data":{"superset":{"":{"domain":"superset","plural_forms":"nplurals=1; plural=0","lang":"zh"},"Time Column":["????"],"second":["?"],"minute":["?"],"hour":["??"],"day":["?"],"week":["?"],"month":["?"],"quarter":["??"],"year":["?"],"week_start_monday":["???????"],"week_ending_saturday":["???????"],"week_start_sunday":["???????"],"5 minute":["5 ??"],"half hour":["???"],"10 minute":["10 ??"],"[Superset] Access to the datasource %(name)s was granted":["[Superset] ??????? %(name)s "],"Viz is missing a datasource":[""],"From date cannot be larger than to date":[""],"Table View":["???"],"Pick a granularity in the Time section or uncheck 'Include Time'":[""],"Choose either fields to [Group By] and [Metrics] or [Columns], not both":[""],"Pivot Table":["???"],"Please choose at least one \"Group by\" field ":[""],"Please choose at least one metric":[""],"'Group By' and 'Columns' can't overlap":[""],"Markup":["??"],"Separator":["???"],"Word Cloud":["???"],"Treemap":["???"],"Calendar Heatmap":["?????"],"Box Plot":["???"],"Bubble Chart":["???"],"Pick a metric for x, y and size":[""],"Bullet Chart":["???"],"Pick a metric to display":[""],"Big Number with Trendline":["??????"],"Pick a metric!":[""],"Big Number":["??"],"Time Series - Line Chart":["????-???"],"Pick a time granularity for your time series":[""],"Time Series - Dual Axis Line Chart":["????-????"],"Pick a metric for left axis!":[""],"Pick a metric for right axis!":[""],"Please choose different metrics on left and right axis":[""],"Time Series - Bar Chart":["????-???"],"Time Series - Percent Change":["????-?????"],"Time Series - Stacked":["????-???"],"Distribution - NVD3 - Pie Chart":["??-??"],"Histogram":["???"],"Must have one numeric column specified":[""],"Distribution - Bar Chart":["??-???"],"Can't have overlap between Series and Breakdowns":[""],"Pick at least one metric":[""],"Pick at least one field for [Series]":[""],"Sunburst":["?????"],"Sankey":["???"],"Pick exactly 2 columns as [Source / Target]":[""],"There's a loop in your Sankey, please provide a tree. Here's a faulty link: {}":[""],"Directed Force Layout":["???"],"Pick exactly 2 columns to 'Group By'":[""],"Country Map":["????"],"World Map":["????"],"Filters":["??"],"Pick at least one filter field":[""],"iFrame":["????"],"Parallel Coordinates":["????"],"Heatmap":["???"],"Horizon Charts":["???"],"Mapbox":["??"],"Must have a [Group By] column to have 'count' as the [Label]":[""],"Choice of [Label] must be present in [Group By]":[""],"Choice of [Point Radius] must be present in [Group By]":[""],"[Longitude] and [Latitude] columns must be present in [Group By]":[""],"Event flow":["???"],"Time Series - Paired t-test":[""],"No data was returned.":["????"],"List Druid Column":["Druid????"],"Show Druid Column":["??Druid?"],"Add Druid Column":["??Druid?"],"Edit Druid Column":["??Druid?"],"Column":["?"],"Type":["??"],"Datasource":["???"],"Groupable":["???"],"Filterable":["???"],"Count Distinct":["??"],"Sum":["??"],"Min":["???"],"Max":["???"],"Whether this column is exposed in the `Filters` section of the explore view.":["??????????`???`?????"],"List Druid Metric":["Druid????"],"Show Druid Metric":["??Druid??"],"Add Druid Metric":["??Druid??"],"Edit Druid Metric":["??Druid??"],"Whether the access to this metric is restricted to certain roles. Only roles with the permission 'metric access on XXX (the name of this metric)' are allowed to access this metric":["????????????????????"],"Metric":["??"],"Description":["??"],"Verbose Name":["??"],"JSON":["JSON"],"Druid Datasource":["Druid???"],"Warning Message":[""],"List Druid Cluster":["Druid????"],"Show Druid Cluster":["??Druid??"],"Add Druid Cluster":["??Druid??"],"Edit Druid Cluster":["??Druid??"],"Cluster":["??"],"Coordinator Host":["?????"],"Coordinator Port":["?????"],"Coordinator Endpoint":["?????"],"Broker Host":["????"],"Broker Port":["????"],"Broker Endpoint":["????"],"Druid Clusters":["Druid??"],"Sources":["???"],"List Druid Datasource":["Druid?????"],"Show Druid Datasource":["??Druid???"],"Add Druid Datasource":["??Druid???"],"Edit Druid Datasource":["??Druid???"],"The list of slices associated with this table. By altering this datasource, you may change how these associated slices behave. Also note that slices need to point to a datasource, so this form will fail at saving if removing slices from a datasource. If you want to change the datasource for a slice, overwrite the slice from the 'explore view'":["????????????????????????????????????????????????????????????????????????????????????`????`?????"],"Timezone offset (in hours) for this datasource":["??????(?????)"],"Time expression to use as a predicate when retrieving distinct values to populate the filter component. Only applies when `Enable Filter Select` is on. If you enter `7 days ago`, the distinct list of values in the filter will be populated based on the distinct value over the past week":["???????????????????????????????`???????`??????`7??`???????????????ilter???????"],"Whether to populate the filter's dropdown in the explore view's filter section with a list of distinct values fetched from the backend on the fly":["????????????????????????????????????????"],"Redirects to this endpoint when clicking on the datasource from the datasource list":["????????????????????"],"Associated Slices":["????"],"Data Source":["???"],"Owner":["???"],"Is Hidden":["??"],"Enable Filter Select":["???????"],"Default Endpoint":["????"],"Time Offset":["????"],"Cache Timeout":["????"],"Druid Datasources":["Druid???"],"Scan New Datasources":[""],"Refresh Druid Metadata":["??Druid???"],"Datetime column not provided as part table configuration and is required by this type of chart":["??????"],"Empty query?":[""],"Metric '{}' is not valid":["'{}'????"],"Table [{}] doesn't seem to exist in the specified database, couldn't fetch column information":[""],"List Columns":["???"],"Show Column":["???"],"Add Column":["???"],"Edit Column":["???"],"Whether to make this column available as a [Time Granularity] option, column has to be DATETIME or DATETIME-like":["???????[????]??, ??????????DATETIME"],"The data type that was inferred by the database. It may be necessary to input a type manually for expression-defined columns in some cases. In most case users should not need to alter this.":["??????????????????????????????????????????????????????????????"],"Table":["?"],"Expression":["???"],"Is temporal":["????"],"Datetime Format":["????"],"Database Expression":["??????"],"List Metrics":["???"],"Show Metric":["????"],"Add Metric":["????"],"Edit Metric":["????"],"SQL Expression":["SQL???"],"D3 Format":[""],"Is Restricted":[""],"List Tables":["???"],"Show Table":["???"],"Add Table":["???"],"Edit Table":["???"],"Name of the table that exists in the source database":["????????????"],"Schema, as used only in some databases like Postgres, Redshift and DB2":["????????????????Postgres?Redshift?DB2"],"This fields acts a Superset view, meaning that Superset will run a query against this string as a subquery.":["??????Superset???????Superset?????????????????"],"Predicate applied when fetching distinct value to populate the filter control component. Supports jinja template syntax. Applies only when `Enable Filter Select` is on.":["?????????????????????jinja????????`???????`????"],"Redirects to this endpoint when clicking on the table from the table list":["?????????????????"],"Changed By":["???"],"Database":["???"],"Last Changed":["????"],"Schema":["??"],"Offset":["??"],"Table Name":[""],"Fetch Values Predicate":[""],"Main Datetime Column":[""],"Table [{}] could not be found, please double check your database connection, schema, and table name":[""],"The table was created. As part of this two phase configuration process, you should now click the edit button by the new table to configure it.":["????????????????????????????????????????"],"Tables":["???"],"Profile":["????"],"Logout":["??"],"Login":["??"],"Record Count":[""],"No records found":[""],"Add Filter":["??????"],"Import":["??"],"No Access!":["????!"],"You do not have permissions to access the datasource(s): %(name)s.":["??????????(s): %(name)s"],"Request Permissions":["????"],"Cancel":["??"],"Welcome!":["???"],"Dashboards":["??"],"Test Connection":["????"],"Annotation Layers":[""],"Manage":["??"],"Annotations":[""],"Datasource %(name)s already exists":["???%(name)s ???"],"json isn't valid":[""],"Delete":["??"],"Delete all Really?":["???????"],"This endpoint requires the `all_datasource_access` permission":["???????all_datasource_access????"],"The datasource seems to have been deleted":["????????"],"The access requests seem to have been deleted":["????????"],"The user seems to have been deleted":["???????"],"You don't have access to this datasource":["??????????"],"This view requires the database %(name)s or `all_datasource_access` permission":["???????? %(name)s??all_datasource_access???"],"This endpoint requires the datasource %(name)s, database or `all_datasource_access` permission":["???????? %(name)s??????all_datasource_access???"],"List Databases":["?????"],"Show Database":["?????"],"Add Database":["?????"],"Edit Database":["?????"],"Expose this DB in SQL Lab":["?SQL???????????"],"Allow users to run synchronous queries, this is the default and should work well for queries that can be executed within a web request scope (<~1 minute)":["?????????????????????????web??????????(<~1??)"],"Allow users to run queries, against an async backend. This assumes that you have a Celery worker setup as well as a results backend.":["?????????????? ??????Celery????????????"],"Allow CREATE TABLE AS option in SQL Lab":["?SQL??????CREATE TABLE AS??"],"Allow users to run non-SELECT statements (UPDATE, DELETE, CREATE, ...) in SQL Lab":["?????SQL???????SELECT???UPDATE?DELETE?CREATE?...?"],"When allowing CREATE TABLE AS option in SQL Lab, this option forces the table to be created in this schema":["??SQL??????CREATE TABLE AS??????????????????"],"All the queries in Sql Lab are going to be executed on behalf of currently authorized user.":[""],"Expose in SQL Lab":["?SQL??????"],"Allow CREATE TABLE AS":["?? CREATE TABLE AS"],"Allow DML":["?? DML"],"CTAS Schema":["CTAS??"],"Creator":["??"],"SQLAlchemy URI":["SQLAlchemy URI"],"Extra":["??"],"Allow Run Sync":[""],"Allow Run Async":[""],"Impersonate queries to the database":[""],"Import Dashboards":["?????"],"Databases":["???"],"User":["??"],"User Roles":["????"],"Database URL":["???URL"],"Roles to grant":["????"],"Created On":["????"],"Access requests":["????"],"Security":["??"],"List Slices":["????"],"Show Slice":["????"],"Add Slice":["????"],"Edit Slice":["????"],"These parameters are generated dynamically when clicking the save or overwrite button in the explore view. This JSON object is exposed here for reference and for power users who may want to alter specific parameters.":["???????????????????????????????????????????????"],"Duration (in seconds) of the caching timeout for this slice.":["????????(?)"],"Last Modified":["????"],"Owners":["???"],"Parameters":["??"],"Slice":["??"],"Name":["??"],"Visualization Type":["????"],"Slices":["??"],"List Dashboards":["?????"],"Show Dashboard":["?????"],"Add Dashboard":["?????"],"Edit Dashboard":["?????"],"This json object describes the positioning of the widgets in the dashboard. It is dynamically generated when adjusting the widgets size and positions by using drag & drop in the dashboard view":["??JSON??????????????????????????????????????????????"],"The css for individual dashboards can be altered here, or in the dashboard view where changes are immediately visible":["???????????????????CSS??"],"To get a readable URL for your dashboard":["??????????URL"],"This JSON object is generated dynamically when clicking the save or overwrite button in the dashboard view. It is exposed here for reference and for power users who may want to alter specific parameters.":["?????????????????????????????????????????????????????"],"Owners is a list of users who can alter the dashboard.":["???????????????????"],"Dashboard":["??"],"Title":["??"],"Slug":["Slug"],"Modified":["???"],"Position JSON":["????"],"CSS":["CSS"],"JSON Metadata":["JSON??"],"Underlying Tables":["???"],"Export":["??"],"Export dashboards?":["??????"],"Action":["??"],"dttm":["DTTM"],"Action Log":["????"],"Access was requested":["????"],"%(user)s was granted the role %(role)s that gives access to the %(datasource)s":["?? %(user)s %(role)s ????? %(datasource)s ???"],"Role %(r)s was extended to provide the access to the datasource %(ds)s":["???? %(r)s????datasource %(ds)s???"],"You have no permission to approve this request":["??????????"],"Malformed request. slice_id or table_name and db_name arguments are expected":["????????????slice_id?table_name?db_name??"],"Slice %(id)s not found":["?? %(id)s ????"],"Table %(t)s wasn't found in the database %(d)s":["???? %(d)s????? %(t)s"],"Can't find User '%(name)s', please ask your admin to create one.":["?????'%(name)'????????????"],"Can't find DruidCluster with cluster_name = '%(name)s'":["??????cluster_name = '%(name)s'?Druid??"],"Query record was not created as expected.":[""],"Template Name":[""],"CSS Templates":["CSS??"],"SQL Editor":["SQL???"],"SQL Lab":["SQL???"],"Query Search":["????"],"Status":[""],"Start Time":[""],"End Time":[""],"Queries":["??"],"List Saved Query":["???????"],"Show Saved Query":["???????"],"Add Saved Query":["???????"],"Edit Saved Query":["???????"],"Label":["??"],"Pop Tab Link":[""],"Changed on":[""],"Saved Queries":["?????"]}}}
\ No newline at end of file
diff --git a/superset/translations/zh/LC_MESSAGES/messages.json.gz b/superset/translations/zh/LC_MESSAGES/messages.json.gz
new file mode 100644
index 0000000000..95c2cb8036
--- /dev/null
+++ b/superset/translations/zh/LC_MESSAGES/messages.json.gz
@@ -0,0 +1 @@
+{"domain":"superset","locale_data":{"superset":{"":{"domain":"superset","plural_forms":"nplurals=1; plural=0","lang":"zh"},"Time Column":["????"],"second":["?"],"minute":["?"],"hour":["??"],"day":["?"],"week":["?"],"month":["?"],"quarter":["??"],"year":["?"],"week_start_monday":["???????"],"week_ending_saturday":["???????"],"week_start_sunday":["???????"],"5 minute":["5 ??"],"half hour":["???"],"10 minute":["10 ??"],"[Superset] Access to the datasource %(name)s was granted":["[Superset] ??????? %(name)s "],"Viz is missing a datasource":["Viz?????"],"From date cannot be larger than to date":["????????????"],"Table View":["???"],"Pick a granularity in the Time section or uncheck 'Include Time'":["???????????'????'"],"Choose either fields to [Group By] and [Metrics] or [Columns], not both":[""],"Pivot Table":["???"],"Please choose at least one \"Group by\" field ":[""],"Please choose at least one metric":["??????????"],"'Group By' and 'Columns' can't overlap":[""],"Markup":["??"],"Separator":["???"],"Word Cloud":["???"],"Treemap":["???"],"Calendar Heatmap":["?????"],"Box Plot":["???"],"Bubble Chart":["???"],"Pick a metric for x, y and size":[""],"Bullet Chart":["???"],"Pick a metric to display":["???????????"],"Big Number with Trendline":["??????"],"Pick a metric!":["???????"],"Big Number":["??"],"Time Series - Line Chart":["????-???"],"Pick a time granularity for your time series":[""],"Time Series - Dual Axis Line Chart":["????-????"],"Pick a metric for left axis!":[""],"Pick a metric for right axis!":[""],"Please choose different metrics on left and right axis":[""],"Time Series - Bar Chart":["????-???"],"Time Series - Percent Change":["????-?????"],"Time Series - Stacked":["????-???"],"Distribution - NVD3 - Pie Chart":["??-??"],"Histogram":["???"],"Must have one numeric column specified":[""],"Distribution - Bar Chart":["??-???"],"Can't have overlap between Series and Breakdowns":[""],"Pick at least one metric":[""],"Pick at least one field for [Series]":[""],"Sunburst":["?????"],"Sankey":["???"],"Pick exactly 2 columns as [Source / Target]":[""],"There's a loop in your Sankey, please provide a tree. Here's a faulty link: {}":[""],"Directed Force Layout":["???"],"Pick exactly 2 columns to 'Group By'":[""],"Country Map":["????"],"World Map":["????"],"Filters":["??"],"Pick at least one filter field":[""],"iFrame":["????"],"Parallel Coordinates":["????"],"Heatmap":["???"],"Horizon Charts":["???"],"Mapbox":["??"],"Must have a [Group By] column to have 'count' as the [Label]":[""],"Choice of [Label] must be present in [Group By]":[""],"Choice of [Point Radius] must be present in [Group By]":[""],"[Longitude] and [Latitude] columns must be present in [Group By]":[""],"Event flow":["???"],"Time Series - Paired t-test":[""],"No data was returned.":["????"],"List Druid Column":["Druid????"],"Show Druid Column":["??Druid?"],"Add Druid Column":["??Druid?"],"Edit Druid Column":["??Druid?"],"Column":["?"],"Type":["??"],"Datasource":["???"],"Groupable":["???"],"Filterable":["???"],"Count Distinct":["??"],"Sum":["??"],"Min":["???"],"Max":["???"],"Whether this column is exposed in the `Filters` section of the explore view.":["??????????`???`?????"],"List Druid Metric":["Druid????"],"Show Druid Metric":["??Druid??"],"Add Druid Metric":["??Druid??"],"Edit Druid Metric":["??Druid??"],"Whether the access to this metric is restricted to certain roles. Only roles with the permission 'metric access on XXX (the name of this metric)' are allowed to access this metric":["????????????????????"],"Metric":["??"],"Description":["??"],"Verbose Name":["??"],"JSON":["JSON"],"Druid Datasource":["Druid???"],"Warning Message":["????"],"List Druid Cluster":["Druid????"],"Show Druid Cluster":["??Druid??"],"Add Druid Cluster":["??Druid??"],"Edit Druid Cluster":["??Druid??"],"Cluster":["??"],"Coordinator Host":["?????"],"Coordinator Port":["?????"],"Coordinator Endpoint":["?????"],"Broker Host":["????"],"Broker Port":["????"],"Broker Endpoint":["????"],"Druid Clusters":["Druid??"],"Sources":["???"],"List Druid Datasource":["Druid?????"],"Show Druid Datasource":["??Druid???"],"Add Druid Datasource":["??Druid???"],"Edit Druid Datasource":["??Druid???"],"The list of slices associated with this table. By altering this datasource, you may change how these associated slices behave. Also note that slices need to point to a datasource, so this form will fail at saving if removing slices from a datasource. If you want to change the datasource for a slice, overwrite the slice from the 'explore view'":["????????????????????????????????????????????????????????????????????????????????????`????`?????"],"Timezone offset (in hours) for this datasource":["??????(?????)"],"Time expression to use as a predicate when retrieving distinct values to populate the filter component. Only applies when `Enable Filter Select` is on. If you enter `7 days ago`, the distinct list of values in the filter will be populated based on the distinct value over the past week":["???????????????????????????????`???????`??????`7??`???????????????ilter???????"],"Whether to populate the filter's dropdown in the explore view's filter section with a list of distinct values fetched from the backend on the fly":["????????????????????????????????????????"],"Redirects to this endpoint when clicking on the datasource from the datasource list":["????????????????????"],"Associated Slices":["????"],"Data Source":["???"],"Owner":["???"],"Is Hidden":["??"],"Enable Filter Select":["???????"],"Default Endpoint":["????"],"Time Offset":["????"],"Cache Timeout":["????"],"Druid Datasources":["Druid???"],"Scan New Datasources":[""],"Refresh Druid Metadata":["??Druid???"],"Datetime column not provided as part table configuration and is required by this type of chart":["??????"],"Empty query?":["?????"],"Metric '{}' is not valid":["'{}'????"],"Table [{}] doesn't seem to exist in the specified database, couldn't fetch column information":[""],"List Columns":["???"],"Show Column":["???"],"Add Column":["???"],"Edit Column":["???"],"Whether to make this column available as a [Time Granularity] option, column has to be DATETIME or DATETIME-like":["???????[????]??, ??????????DATETIME"],"The data type that was inferred by the database. It may be necessary to input a type manually for expression-defined columns in some cases. In most case users should not need to alter this.":["??????????????????????????????????????????????????????????????"],"Table":["?"],"Expression":["???"],"Is temporal":["????"],"Datetime Format":["????"],"Database Expression":["??????"],"List Metrics":["???"],"Show Metric":["????"],"Add Metric":["????"],"Edit Metric":["????"],"SQL Expression":["SQL???"],"D3 Format":[""],"Is Restricted":["????"],"List Tables":["???"],"Show Table":["???"],"Add Table":["???"],"Edit Table":["???"],"Name of the table that exists in the source database":["????????????"],"Schema, as used only in some databases like Postgres, Redshift and DB2":["????????????????Postgres?Redshift?DB2"],"This fields acts a Superset view, meaning that Superset will run a query against this string as a subquery.":["??????Superset???????Superset?????????????????"],"Predicate applied when fetching distinct value to populate the filter control component. Supports jinja template syntax. Applies only when `Enable Filter Select` is on.":["?????????????????????jinja????????`???????`????"],"Redirects to this endpoint when clicking on the table from the table list":["?????????????????"],"Changed By":["???"],"Database":["???"],"Last Changed":["????"],"Schema":["??"],"Offset":["??"],"Table Name":["???"],"Fetch Values Predicate":[""],"Main Datetime Column":["?????"],"Table [{}] could not be found, please double check your database connection, schema, and table name":[""],"The table was created. As part of this two phase configuration process, you should now click the edit button by the new table to configure it.":["????????????????????????????????????????"],"Tables":["???"],"Profile":["????"],"Logout":["??"],"Login":["??"],"Record Count":["???"],"No records found":["?????"],"Add Filter":["??????"],"Import":["??"],"No Access!":["????!"],"You do not have permissions to access the datasource(s): %(name)s.":["??????????(s): %(name)s"],"Request Permissions":["????"],"Cancel":["??"],"Welcome!":["???"],"Dashboards":["??"],"Test Connection":["????"],"Annotation Layers":["???"],"Manage":["??"],"Annotations":["??"],"Datasource %(name)s already exists":["???%(name)s ???"],"json isn't valid":[""],"Delete":["??"],"Delete all Really?":["???????"],"This endpoint requires the `all_datasource_access` permission":["???????all_datasource_access????"],"The datasource seems to have been deleted":["????????"],"The access requests seem to have been deleted":["????????"],"The user seems to have been deleted":["???????"],"You don't have access to this datasource":["??????????"],"This view requires the database %(name)s or `all_datasource_access` permission":["???????? %(name)s??all_datasource_access???"],"This endpoint requires the datasource %(name)s, database or `all_datasource_access` permission":["???????? %(name)s??????all_datasource_access???"],"List Databases":["?????"],"Show Database":["?????"],"Add Database":["?????"],"Edit Database":["?????"],"Expose this DB in SQL Lab":["?SQL???????????"],"Allow users to run synchronous queries, this is the default and should work well for queries that can be executed within a web request scope (<~1 minute)":["?????????????????????????web??????????(<~1??)"],"Allow users to run queries, against an async backend. This assumes that you have a Celery worker setup as well as a results backend.":["?????????????? ??????Celery????????????"],"Allow CREATE TABLE AS option in SQL Lab":["?SQL??????CREATE TABLE AS??"],"Allow users to run non-SELECT statements (UPDATE, DELETE, CREATE, ...) in SQL Lab":["?????SQL???????SELECT???UPDATE?DELETE?CREATE?...?"],"When allowing CREATE TABLE AS option in SQL Lab, this option forces the table to be created in this schema":["??SQL??????CREATE TABLE AS??????????????????"],"All the queries in Sql Lab are going to be executed on behalf of currently authorized user.":[""],"Expose in SQL Lab":["?SQL??????"],"Allow CREATE TABLE AS":["?? CREATE TABLE AS"],"Allow DML":["?? DML"],"CTAS Schema":["CTAS??"],"Creator":["??"],"SQLAlchemy URI":["SQLAlchemy URI"],"Extra":["??"],"Allow Run Sync":[""],"Allow Run Async":[""],"Impersonate queries to the database":[""],"Import Dashboards":["?????"],"Databases":["???"],"User":["??"],"User Roles":["????"],"Database URL":["???URL"],"Roles to grant":["????"],"Created On":["????"],"Access requests":["????"],"Security":["??"],"List Slices":["????"],"Show Slice":["????"],"Add Slice":["????"],"Edit Slice":["????"],"These parameters are generated dynamically when clicking the save or overwrite button in the explore view. This JSON object is exposed here for reference and for power users who may want to alter specific parameters.":["???????????????????????????????????????????????"],"Duration (in seconds) of the caching timeout for this slice.":["????????(?)"],"Last Modified":["????"],"Owners":["???"],"Parameters":["??"],"Slice":["??"],"Name":["??"],"Visualization Type":["????"],"Slices":["??"],"List Dashboards":["?????"],"Show Dashboard":["?????"],"Add Dashboard":["?????"],"Edit Dashboard":["?????"],"This json object describes the positioning of the widgets in the dashboard. It is dynamically generated when adjusting the widgets size and positions by using drag & drop in the dashboard view":["??JSON??????????????????????????????????????????????"],"The css for individual dashboards can be altered here, or in the dashboard view where changes are immediately visible":["???????????????????CSS??"],"To get a readable URL for your dashboard":["??????????URL"],"This JSON object is generated dynamically when clicking the save or overwrite button in the dashboard view. It is exposed here for reference and for power users who may want to alter specific parameters.":["?????????????????????????????????????????????????????"],"Owners is a list of users who can alter the dashboard.":["???????????????????"],"Dashboard":["??"],"Title":["??"],"Slug":["Slug"],"Modified":["???"],"Position JSON":["????"],"CSS":["CSS"],"JSON Metadata":["JSON??"],"Underlying Tables":["???"],"Export":["??"],"Export dashboards?":["??????"],"Action":["??"],"dttm":["DTTM"],"Action Log":["????"],"Access was requested":["????"],"%(user)s was granted the role %(role)s that gives access to the %(datasource)s":["?? %(user)s %(role)s ????? %(datasource)s ???"],"Role %(r)s was extended to provide the access to the datasource %(ds)s":["???? %(r)s????datasource %(ds)s???"],"You have no permission to approve this request":["??????????"],"Malformed request. slice_id or table_name and db_name arguments are expected":["????????????slice_id?table_name?db_name??"],"Slice %(id)s not found":["?? %(id)s ????"],"Table %(t)s wasn't found in the database %(d)s":["???? %(d)s????? %(t)s"],"Can't find User '%(name)s', please ask your admin to create one.":["?????'%(name)'????????????"],"Can't find DruidCluster with cluster_name = '%(name)s'":["??????cluster_name = '%(name)s'?Druid??"],"Query record was not created as expected.":["???????????"],"Template Name":["????"],"CSS Templates":["CSS??"],"SQL Editor":["SQL???"],"SQL Lab":["SQL???"],"Query Search":["????"],"Status":["??"],"Start Time":["????"],"End Time":["????"],"Queries":["??"],"List Saved Query":["???????"],"Show Saved Query":["???????"],"Add Saved Query":["???????"],"Edit Saved Query":["???????"],"Label":["??"],"Pop Tab Link":[""],"Changed on":["????"],"Saved Queries":["?????"],"Time":["??"], "Since":["??"], "Until":["??"], "Time Grain":["????"],"Options":["??"], "Query":["??"], "Datasource & Chart Type":["????????"], "GROUP BY":["????"], "Run Query":["????"], "Save":["??"], "Include Time":["????"], "Group by":["????"], "Metrics":["???"],"Sort By":["??"], "Sort Descending":["??"], "NOT GROUPED BY":["????"], "Columns":["??"],"Ordering":["??"], "Table Timestamp Format":["??????"],"Row limit":["????"],"Page Length":["????"],"Search Box":["???"], "Table Filter":["?????"]}}}
diff --git a/superset/views/core.py b/superset/views/core.py
index 8cd9a57e07..0610cfc7ec 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -2291,8 +2291,11 @@ def welcome(self):
         """Personalized welcome page"""
         if not g.user or not g.user.get_id():
             return redirect(appbuilder.get_url_for_login)
-        return self.render_template(
-            'superset/welcome.html', entry='welcome', utils=utils)
+        else:
+            username = g.user.username
+            return redirect('/superset/profile/{}/'.format(username))
+        #return self.render_template(
+        #    'superset/welcome.html', entry='welcome', utils=utils)
 
     @has_access
     @expose("/profile/<username>/")


 

----------------------------------------------------------------
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