mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Rename all references of 'Execute query' to 'Execute script' to be more relevant. #6842
This commit is contained in:
parent
4e2aa82ddd
commit
4b71519b80
@ -73,11 +73,11 @@ key combination to select from a popup menu of autocomplete options.
|
|||||||
:alt: Query tool autocomplete feature
|
:alt: Query tool autocomplete feature
|
||||||
:align: center
|
:align: center
|
||||||
|
|
||||||
After entering a query, select the *Execute/Refresh* icon from the toolbar. The
|
After entering a query, select the *Execute script* icon from the toolbar. The
|
||||||
complete contents of the SQL editor panel will be sent to the database server
|
complete contents of the SQL editor panel will be sent to the database server
|
||||||
for execution. To execute only a section of the code that is displayed in the
|
for execution. To execute only a section of the code that is displayed in the
|
||||||
SQL editor, highlight the text that you want the server to execute, and click
|
SQL editor, highlight the text that you want the server to execute, and click
|
||||||
the *Execute/Refresh* icon.
|
the *Execute script* icon.
|
||||||
|
|
||||||
.. image:: images/query_execute_section.png
|
.. image:: images/query_execute_section.png
|
||||||
:alt: Query tool execute query section
|
:alt: Query tool execute query section
|
||||||
@ -159,7 +159,7 @@ The *Data Output* tab displays the result set of the query in a table format.
|
|||||||
You can:
|
You can:
|
||||||
|
|
||||||
* Select and copy from the displayed result set.
|
* Select and copy from the displayed result set.
|
||||||
* Use the *Execute/Refresh* options to retrieve query execution information and
|
* Use the *Execute script* options to retrieve query execution information and
|
||||||
set query execution options.
|
set query execution options.
|
||||||
* Use the *Save results to file* icon to save the content of the *Data Output*
|
* Use the *Save results to file* icon to save the content of the *Data Output*
|
||||||
tab as a comma-delimited file.
|
tab as a comma-delimited file.
|
||||||
|
@ -116,7 +116,7 @@ Query Execution
|
|||||||
+======================+===================================================================================================+================+
|
+======================+===================================================================================================+================+
|
||||||
| *Stop* | Click the *Stop* icon to cancel the execution of the currently running query. | Accesskey + Q |
|
| *Stop* | Click the *Stop* icon to cancel the execution of the currently running query. | Accesskey + Q |
|
||||||
+----------------------+---------------------------------------------------------------------------------------------------+----------------+
|
+----------------------+---------------------------------------------------------------------------------------------------+----------------+
|
||||||
| *Execute/Refresh* | Click the *Execute/Refresh* icon to either execute or refresh the query highlighted in the SQL | F5 |
|
| *Execute script* | Click the *Execute script* icon to either execute or refresh the query highlighted in the SQL | F5 |
|
||||||
| | editor panel. Click the down arrow to access other execution options: | |
|
| | editor panel. Click the down arrow to access other execution options: | |
|
||||||
| | | |
|
| | | |
|
||||||
| | * Add a check next to *Auto rollback on error?* to instruct the server to automatically roll back| |
|
| | * Add a check next to *Auto rollback on error?* to instruct the server to automatically roll back| |
|
||||||
|
@ -537,7 +537,7 @@ export function MainToolBar({containerRef, onFilterClick, onManageMacros}) {
|
|||||||
<PgButtonGroup size="small">
|
<PgButtonGroup size="small">
|
||||||
<PgIconButton title={gettext('Cancel query')} icon={<StopRoundedIcon style={{height: 'unset'}} />}
|
<PgIconButton title={gettext('Cancel query')} icon={<StopRoundedIcon style={{height: 'unset'}} />}
|
||||||
onClick={cancelQuery} disabled={buttonsDisabled['cancel']} accesskey={shortcut_key(queryToolPref.btn_cancel_query)} />
|
onClick={cancelQuery} disabled={buttonsDisabled['cancel']} accesskey={shortcut_key(queryToolPref.btn_cancel_query)} />
|
||||||
<PgIconButton title={gettext('Execute/Refresh')} icon={<PlayArrowRoundedIcon style={{height: 'unset'}} />}
|
<PgIconButton title={gettext('Execute script')} icon={<PlayArrowRoundedIcon style={{height: 'unset'}} />}
|
||||||
onClick={executeQuery} disabled={buttonsDisabled['execute']} shortcut={queryToolPref.execute_query}/>
|
onClick={executeQuery} disabled={buttonsDisabled['execute']} shortcut={queryToolPref.execute_query}/>
|
||||||
<PgIconButton title={gettext('Execute options')} icon={<KeyboardArrowDownIcon />} splitButton
|
<PgIconButton title={gettext('Execute options')} icon={<KeyboardArrowDownIcon />} splitButton
|
||||||
name="menu-autocommit" ref={autoCommitMenuRef} accesskey={shortcut_key(queryToolPref.btn_delete_row)}
|
name="menu-autocommit" ref={autoCommitMenuRef} accesskey={shortcut_key(queryToolPref.btn_delete_row)}
|
||||||
|
@ -357,7 +357,7 @@ def register_query_tool_preferences(self):
|
|||||||
self.preference.register(
|
self.preference.register(
|
||||||
'keyboard_shortcuts',
|
'keyboard_shortcuts',
|
||||||
'execute_query',
|
'execute_query',
|
||||||
gettext('Execute query'),
|
gettext('Execute script'),
|
||||||
'keyboardshortcut',
|
'keyboardshortcut',
|
||||||
{
|
{
|
||||||
'alt': False,
|
'alt': False,
|
||||||
|
@ -213,7 +213,7 @@ class QueryToolLocators:
|
|||||||
|
|
||||||
btn_load_file_css = "button[data-label='Open File']"
|
btn_load_file_css = "button[data-label='Open File']"
|
||||||
|
|
||||||
btn_execute_query_css = "button[data-label='Execute/Refresh']"
|
btn_execute_query_css = "button[data-label='Execute script']"
|
||||||
|
|
||||||
folder_path_css = \
|
folder_path_css = \
|
||||||
"div[data-label='file-path'] input"
|
"div[data-label='file-path'] input"
|
||||||
|
Loading…
Reference in New Issue
Block a user