Replace trans tag with the t function in templates
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
b6eda64b43
commit
b1cb1c8129
@ -28,17 +28,17 @@
|
||||
<input id="field_{{ column_number }}_{{ ci - ci_offset }}" type="text" name="field_length[{{ column_number }}]" size="
|
||||
{{- length_values_input_size }}" value="{{ length }}" class="textfield">
|
||||
<p class="enum_notice" id="enum_notice_{{ column_number }}_{{ ci - ci_offset }}">
|
||||
<a href="#" class="open_enum_editor">{% trans 'Edit ENUM/SET values' %}</a>
|
||||
<a href="#" class="open_enum_editor">{{ t('Edit ENUM/SET values') }}</a>
|
||||
</p>
|
||||
{% set ci = ci + 1 %}
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<select name="field_default_type[{{ column_number }}]" id="field_{{ column_number }}_{{ ci - ci_offset }}" class="default_type">
|
||||
<option value="NONE"{{ column_meta['DefaultType'] is defined and column_meta['DefaultType'] == 'NONE' ? ' selected' }}>
|
||||
{% trans %}None{% context %}for default{% endtrans %}
|
||||
{{ t('None', context = 'for default') }}
|
||||
</option>
|
||||
<option value="USER_DEFINED"{{ column_meta['DefaultType'] is defined and column_meta['DefaultType'] == 'USER_DEFINED' ? ' selected' }}>
|
||||
{% trans 'As defined:' %}
|
||||
{{ t('As defined:') }}
|
||||
</option>
|
||||
<option value="NULL"{{ column_meta['DefaultType'] is defined and column_meta['DefaultType'] == 'NULL' ? ' selected' }}>
|
||||
NULL
|
||||
@ -99,7 +99,7 @@
|
||||
<td class="text-center">
|
||||
<input name="field_adjust_privileges[{{ column_number }}]" id="field_{{ column_number }}_{{ ci - ci_offset }}" type="checkbox" value="NULL" class="allow_null"
|
||||
{%- if privs_available %} checked>
|
||||
{%- else %} title="{% trans "You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details" %}" disabled>
|
||||
{%- else %} title="{{ t("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details") }}" disabled>
|
||||
{%- endif %}
|
||||
{% set ci = ci + 1 %}
|
||||
</td>
|
||||
@ -109,23 +109,23 @@
|
||||
<td class="text-center">
|
||||
<select name="field_key[{{ column_number }}]" id="field_{{ column_number }}_{{ ci - ci_offset }}" data-index="">
|
||||
<option value="none_{{ column_number }}">---</option>
|
||||
<option value="primary_{{ column_number }}" title="{% trans "Primary" %}"
|
||||
<option value="primary_{{ column_number }}" title="{{ t('Primary') }}"
|
||||
{{- column_meta['Key'] is defined and column_meta['Key'] == 'PRI' ? ' selected' }}>
|
||||
PRIMARY
|
||||
</option>
|
||||
<option value="unique_{{ column_number }}" title="{% trans "Unique" %}"
|
||||
<option value="unique_{{ column_number }}" title="{{ t('Unique') }}"
|
||||
{{- column_meta['Key'] is defined and column_meta['Key'] == 'UNI' ? ' selected' }}>
|
||||
UNIQUE
|
||||
</option>
|
||||
<option value="index_{{ column_number }}" title="{% trans "Index" %}"
|
||||
<option value="index_{{ column_number }}" title="{{ t('Index') }}"
|
||||
{{- column_meta['Key'] is defined and column_meta['Key'] == 'MUL' ? ' selected' }}>
|
||||
INDEX
|
||||
</option>
|
||||
<option value="fulltext_{{ column_number }}" title="{% trans "Fulltext" %}"
|
||||
<option value="fulltext_{{ column_number }}" title="{{ t('Fulltext') }}"
|
||||
{{- column_meta['Key'] is defined and column_meta['Key'] == 'FULLTEXT' ? ' selected' }}>
|
||||
FULLTEXT
|
||||
</option>
|
||||
<option value="spatial_{{ column_number }}" title="{% trans "Spatial" %}"
|
||||
<option value="spatial_{{ column_number }}" title="{{ t('Spatial') }}"
|
||||
{{- column_meta['Key'] is defined and column_meta['Key'] == 'SPATIAL' ? ' selected' }}>
|
||||
SPATIAL
|
||||
</option>
|
||||
@ -162,7 +162,7 @@
|
||||
{% if char_editing == 'textarea' %}
|
||||
<textarea name="field_expression[{{ column_number }}]" cols="15" class="textfield expression">{{ column_meta['Expression'] is defined ? column_meta['Expression'] }}</textarea>
|
||||
{% else %}
|
||||
<input type="text" name="field_expression[{{ column_number }}]" size="12" value="{{ column_meta['Expression'] is defined ? column_meta['Expression'] }}" placeholder="{% trans 'Expression' %}" class="textfield expression">
|
||||
<input type="text" name="field_expression[{{ column_number }}]" size="12" value="{{ column_meta['Expression'] is defined ? column_meta['Expression'] }}" placeholder="{{ t('Expression') }}" class="textfield expression">
|
||||
{% endif %}
|
||||
{% set ci = ci + 1 %}
|
||||
</td>
|
||||
@ -182,7 +182,7 @@
|
||||
<select id="field_{{ column_number }}_{{ ci - ci_offset }}" name="field_move_to[{{ column_number }}]" size="1" width="5em">
|
||||
<option value="" selected="selected"> </option>
|
||||
<option value="-first"{{ current_index == 0 ? ' disabled="disabled"' }}>
|
||||
{% trans 'first' %}
|
||||
{{ t('first') }}
|
||||
</option>
|
||||
{% for move_column in move_columns %}
|
||||
<option value="{{ move_column.name }}"
|
||||
@ -213,7 +213,7 @@
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<select id="field_{{ column_number }}_{{ ci - ci_offset }}" size="1" name="field_transformation[{{ column_number }}]">
|
||||
<option value="" title="{% trans 'None' %}"></option>
|
||||
<option value="" title="{{ t('None') }}"></option>
|
||||
{% if available_mime['transformation'] is defined and available_mime['transformation'] is iterable %}
|
||||
{% for mimekey, transform in available_mime['transformation'] %}
|
||||
{% set parts = transform|split(':') %}
|
||||
@ -236,7 +236,7 @@
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<select id="field_{{ column_number }}_{{ ci - ci_offset }}" size="1" name="field_input_transformation[{{ column_number }}]">
|
||||
<option value="" title="{% trans 'None' %}"></option>
|
||||
<option value="" title="{{ t('None') }}"></option>
|
||||
{% if available_mime['input_transformation'] is defined and available_mime['input_transformation'] is iterable %}
|
||||
{% for mimekey, transform in available_mime['input_transformation'] %}
|
||||
{% set parts = transform|split(':') %}
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
<div id="table_name_col_no_outer">
|
||||
<table id="table_name_col_no" class="table table-borderless tdblock">
|
||||
<tr class="align-middle float-start">
|
||||
<td>{% trans 'Table name' %}:
|
||||
<td>{{ t('Table name') }}:
|
||||
<input type="text"
|
||||
name="table"
|
||||
size="40"
|
||||
@ -28,7 +28,7 @@
|
||||
class="textfield" autofocus required>
|
||||
</td>
|
||||
<td>
|
||||
{% trans 'Add' %}
|
||||
{{ t('Add') }}
|
||||
<input type="number"
|
||||
id="added_fields"
|
||||
name="added_fields"
|
||||
@ -36,10 +36,10 @@
|
||||
value="1"
|
||||
min="1"
|
||||
onfocus="this.select()">
|
||||
{% trans 'column(s)' %}
|
||||
{{ t('column(s)') }}
|
||||
<input class="btn btn-secondary" type="button"
|
||||
name="submit_num_fields"
|
||||
value="{% trans 'Go' %}">
|
||||
value="{{ t('Go') }}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -68,17 +68,17 @@
|
||||
<div class="responsivetable">
|
||||
<table class="table table-borderless w-auto align-middle mb-0">
|
||||
<tr class="align-top">
|
||||
<th>{% trans 'Table comments:' %}</th>
|
||||
<th>{{ t('Table comments:') }}</th>
|
||||
<td width="25"> </td>
|
||||
<th>{% trans 'Collation:' %}</th>
|
||||
<th>{{ t('Collation:') }}</th>
|
||||
<td width="25"> </td>
|
||||
<th>
|
||||
{% trans 'Storage Engine:' %}
|
||||
{{ t('Storage Engine:') }}
|
||||
{{ show_mysql_docu('Storage_engines') }}
|
||||
</th>
|
||||
<td width="25"> </td>
|
||||
<th id="storage-engine-connection">
|
||||
{% trans 'Connection:' %}
|
||||
{{ t('Connection:') }}
|
||||
{{ show_mysql_docu('federated-create-connection') }}
|
||||
</th>
|
||||
</tr>
|
||||
@ -109,7 +109,7 @@
|
||||
</td>
|
||||
<td width="25"> </td>
|
||||
<td>
|
||||
<select class="form-select" name="tbl_storage_engine" aria-label="{% trans 'Storage engine' %}">
|
||||
<select class="form-select" name="tbl_storage_engine" aria-label="{{ t('Storage engine') }}">
|
||||
{% for engine in storage_engines %}
|
||||
<option value="{{ engine.name }}"{% if engine.comment is not empty %} title="{{ engine.comment }}"{% endif %}
|
||||
{{- engine.name|lower == tbl_storage_engine|lower or (tbl_storage_engine is empty and engine.is_default) ? ' selected' }}>
|
||||
@ -132,7 +132,7 @@
|
||||
{% if have_partitioning %}
|
||||
<tr class="align-top">
|
||||
<th colspan="5">
|
||||
{% trans 'PARTITION definition:' %}
|
||||
{{ t('PARTITION definition:') }}
|
||||
{{ show_mysql_docu('Partitioning') }}
|
||||
</th>
|
||||
</tr>
|
||||
@ -151,20 +151,20 @@
|
||||
<div class="card mt-3">
|
||||
<div class="card-body">
|
||||
{% if action == '/table/add-field' or action == '/table/structure/save' %}
|
||||
<input type="checkbox" name="online_transaction" value="ONLINE_TRANSACTION_ENABLED" />{% trans %}Online transaction{% context %}Online transaction part of the SQL DDL for InnoDB{% endtrans %}{{ show_mysql_docu('innodb-online-ddl') }}
|
||||
<input type="checkbox" name="online_transaction" value="ONLINE_TRANSACTION_ENABLED" />{{ t('Online transaction', context = 'Online transaction part of the SQL DDL for InnoDB') }}{{ show_mysql_docu('innodb-online-ddl') }}
|
||||
{% endif %}
|
||||
<input class="btn btn-secondary preview_sql" type="button"
|
||||
value="{% trans 'Preview SQL' %}">
|
||||
value="{{ t('Preview SQL') }}">
|
||||
<input class="btn btn-primary" type="submit"
|
||||
name="do_save_data"
|
||||
value="{% trans 'Save' %}">
|
||||
value="{{ t('Save') }}">
|
||||
</div>
|
||||
</div>
|
||||
<div id="properties_message"></div>
|
||||
{% if is_integers_length_restricted %}
|
||||
<div class="alert alert-primary" id="length_not_allowed" role="alert">
|
||||
{{ get_image('s_notice') }}
|
||||
{% trans %}The column width of integer types is ignored in your MySQL version unless defining a TINYINT(1) column{% endtrans %}
|
||||
{{ t('The column width of integer types is ignored in your MySQL version unless defining a TINYINT(1) column') }}
|
||||
{{ show_mysql_docu('', false, 'https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-19.html') }}
|
||||
</div>
|
||||
{% endif %}
|
||||
@ -173,13 +173,13 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="previewSqlModalLabel">{% trans 'Loading' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="previewSqlModalLabel">{{ t('Loading') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" id="previewSQLCloseButton" data-bs-dismiss="modal">{% trans 'Close' %}</button>
|
||||
<button type="button" class="btn btn-secondary" id="previewSQLCloseButton" data-bs-dismiss="modal">{{ t('Close') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
<a data-maxrows="{{ max_rows }}"
|
||||
href="#"
|
||||
class="central_columns_dialog">
|
||||
{% trans 'Pick from Central Columns' %}
|
||||
{{ t('Pick from Central Columns') }}
|
||||
</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
<table class="table table-borderless w-auto align-middle mb-0" id="partition_table">
|
||||
<tr class="align-middle">
|
||||
<td><label for="partition_by">{% trans 'Partition by:' %}</label></td>
|
||||
<td><label for="partition_by">{{ t('Partition by:') }}</label></td>
|
||||
<td>
|
||||
<select name="partition_by" id="partition_by">
|
||||
{% for option in partition_options %}
|
||||
@ -29,12 +29,12 @@
|
||||
</td>
|
||||
<td>
|
||||
(<input name="partition_expr" type="text"
|
||||
placeholder="{% trans 'Expression or column list' %}"
|
||||
placeholder="{{ t('Expression or column list') }}"
|
||||
value="{{ partition_details['partition_expr'] }}">)
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="align-middle">
|
||||
<td><label for="partition_count">{% trans 'Partitions:' %}</label></td>
|
||||
<td><label for="partition_count">{{ t('Partitions:') }}</label></td>
|
||||
<td colspan="2">
|
||||
<input name="partition_count" type="number" min="2"
|
||||
value="{{ partition_details['partition_count'] ?: '' }}">
|
||||
@ -42,7 +42,7 @@
|
||||
</tr>
|
||||
{% if partition_details['can_have_subpartitions'] %}
|
||||
<tr class="align-middle">
|
||||
<td><label for="subpartition_by">{% trans 'Subpartition by:' %}</label></td>
|
||||
<td><label for="subpartition_by">{{ t('Subpartition by:') }}</label></td>
|
||||
<td>
|
||||
<select name="subpartition_by" id="subpartition_by">
|
||||
{% for option in sub_partition_options %}
|
||||
@ -57,12 +57,12 @@
|
||||
</td>
|
||||
<td>
|
||||
(<input name="subpartition_expr" type="text"
|
||||
placeholder="{% trans 'Expression or column list' %}"
|
||||
placeholder="{{ t('Expression or column list') }}"
|
||||
value="{{ partition_details['subpartition_expr'] }}">)
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="align-middle">
|
||||
<td><label for="subpartition_count">{% trans 'Subpartitions:' %}</label></td>
|
||||
<td><label for="subpartition_count">{{ t('Subpartitions:') }}</label></td>
|
||||
<td colspan="2">
|
||||
<input name="subpartition_count" type="number" min="2"
|
||||
value="{{ partition_details['subpartition_count'] ?: '' }}">
|
||||
@ -73,22 +73,22 @@
|
||||
{% if partition_details['partition_count'] > 1 %}
|
||||
<table class="table align-middle" id="partition_definition_table">
|
||||
<thead><tr>
|
||||
<th>{% trans 'Partition' %}</th>
|
||||
<th>{{ t('Partition') }}</th>
|
||||
{% if partition_details['value_enabled'] %}
|
||||
<th>{% trans 'Values' %}</th>
|
||||
<th>{{ t('Values') }}</th>
|
||||
{% endif %}
|
||||
{% if partition_details['can_have_subpartitions']
|
||||
and partition_details['subpartition_count'] > 1 %}
|
||||
<th>{% trans 'Subpartition' %}</th>
|
||||
<th>{{ t('Subpartition') }}</th>
|
||||
{% endif %}
|
||||
<th>{% trans 'Engine' %}</th>
|
||||
<th>{% trans 'Comment' %}</th>
|
||||
<th>{% trans 'Data directory' %}</th>
|
||||
<th>{% trans 'Index directory' %}</th>
|
||||
<th>{% trans 'Max rows' %}</th>
|
||||
<th>{% trans 'Min rows' %}</th>
|
||||
<th>{% trans 'Table space' %}</th>
|
||||
<th>{% trans 'Node group' %}</th>
|
||||
<th>{{ t('Engine') }}</th>
|
||||
<th>{{ t('Comment') }}</th>
|
||||
<th>{{ t('Data directory') }}</th>
|
||||
<th>{{ t('Index directory') }}</th>
|
||||
<th>{{ t('Max rows') }}</th>
|
||||
<th>{{ t('Min rows') }}</th>
|
||||
<th>{{ t('Table space') }}</th>
|
||||
<th>{{ t('Node group') }}</th>
|
||||
</tr></thead>
|
||||
{% for partition in partition_details['partitions'] %}
|
||||
{% set rowspan = partition['subpartition_count'] is not empty
|
||||
@ -134,7 +134,7 @@
|
||||
</td>
|
||||
{% endif %}
|
||||
<td>
|
||||
<select name="{{ subpartition['prefix'] }}[engine]" aria-label="{% trans 'Storage engine' %}">
|
||||
<select name="{{ subpartition['prefix'] }}[engine]" aria-label="{{ t('Storage engine') }}">
|
||||
<option value=""></option>
|
||||
{% for engine in storage_engines %}
|
||||
<option value="{{ engine.name }}"{% if engine.comment is not empty %} title="{{ engine.comment }}"{% endif %}
|
||||
|
||||
@ -1,39 +1,39 @@
|
||||
<div class="responsivetable">
|
||||
<table id="table_columns" class="table table-striped caption-top align-middle mb-0 noclick">
|
||||
<caption>
|
||||
{% trans 'Structure' %}
|
||||
{{ t('Structure') }}
|
||||
{{ show_mysql_docu('CREATE_TABLE') }}
|
||||
</caption>
|
||||
<tr>
|
||||
<th>
|
||||
{% trans 'Name' %}
|
||||
{{ t('Name') }}
|
||||
</th>
|
||||
<th>
|
||||
{% trans 'Type' %}
|
||||
{{ t('Type') }}
|
||||
{{ show_mysql_docu('data-types') }}
|
||||
</th>
|
||||
<th>
|
||||
{% trans 'Length/Values' %}
|
||||
{{ t('Length/Values') }}
|
||||
{{ show_hint(t('If column type is "enum" or "set", please enter the values using this format: \'a\',\'b\',\'c\'…<br>If you ever need to put a backslash ("\\") or a single quote ("\'") amongst those values, precede it with a backslash (for example \'\\\\xyz\' or \'a\\\'b\').')) }}
|
||||
</th>
|
||||
<th>
|
||||
{% trans 'Default' %}
|
||||
{{ t('Default') }}
|
||||
{{ show_hint(t('For default values, please enter just a single value, without backslash escaping or quotes, using this format: a')) }}
|
||||
</th>
|
||||
<th>
|
||||
{% trans 'Collation' %}
|
||||
{{ t('Collation') }}
|
||||
</th>
|
||||
<th>
|
||||
{% trans 'Attributes' %}
|
||||
{{ t('Attributes') }}
|
||||
</th>
|
||||
<th>
|
||||
{% trans 'Null' %}
|
||||
{{ t('Null') }}
|
||||
</th>
|
||||
|
||||
{# Only for 'Edit' Column(s) #}
|
||||
{% if change_column is defined and change_column is not empty %}
|
||||
<th>
|
||||
{% trans 'Adjust privileges' %}
|
||||
{{ t('Adjust privileges') }}
|
||||
{{ show_docu('faq', 'faq6-39') }}
|
||||
</th>
|
||||
{% endif %}
|
||||
@ -43,7 +43,7 @@
|
||||
modified to use the key fields, as tbl_addfield does. #}
|
||||
{% if not is_backup %}
|
||||
<th>
|
||||
{% trans 'Index' %}
|
||||
{{ t('Index') }}
|
||||
</th>
|
||||
{% endif %}
|
||||
|
||||
@ -51,45 +51,45 @@
|
||||
<abbr title="AUTO_INCREMENT">A_I</abbr>
|
||||
</th>
|
||||
<th>
|
||||
{% trans 'Comments' %}
|
||||
{{ t('Comments') }}
|
||||
</th>
|
||||
|
||||
{% if is_virtual_columns_supported %}
|
||||
<th>
|
||||
{% trans 'Virtuality' %}
|
||||
{{ t('Virtuality') }}
|
||||
</th>
|
||||
{% endif %}
|
||||
|
||||
{% if fields_meta is defined %}
|
||||
<th>
|
||||
{% trans 'Move column' %}
|
||||
{{ t('Move column') }}
|
||||
</th>
|
||||
{% endif %}
|
||||
|
||||
{% if relation_parameters.browserTransformationFeature is not null and browse_mime %}
|
||||
<th>
|
||||
{% trans 'Media type' %}
|
||||
{{ t('Media type') }}
|
||||
</th>
|
||||
<th>
|
||||
<a href="{{ url('/transformation/overview') }}#transformation" title="
|
||||
{%- trans 'List of available transformations and their options' -%}
|
||||
{{- t('List of available transformations and their options') -}}
|
||||
" target="_blank">
|
||||
{% trans 'Browser display transformation' %}
|
||||
{{ t('Browser display transformation') }}
|
||||
</a>
|
||||
</th>
|
||||
<th>
|
||||
{% trans 'Browser display transformation options' %}
|
||||
{{ t('Browser display transformation options') }}
|
||||
{{ show_hint(t('Please enter the values for transformation options using this format: \'a\', 100, b,\'c\'…<br>If you ever need to put a backslash ("\\") or a single quote ("\'") amongst those values, precede it with a backslash (for example \'\\\\xyz\' or \'a\\\'b\').')) }}
|
||||
</th>
|
||||
<th>
|
||||
<a href="{{ url('/transformation/overview') }}#input_transformation"
|
||||
title="{% trans 'List of available transformations and their options' %}"
|
||||
title="{{ t('List of available transformations and their options') }}"
|
||||
target="_blank">
|
||||
{% trans 'Input transformation' %}
|
||||
{{ t('Input transformation') }}
|
||||
</a>
|
||||
</th>
|
||||
<th>
|
||||
{% trans 'Input transformation options' %}
|
||||
{{ t('Input transformation options') }}
|
||||
{{ show_hint(t('Please enter the values for transformation options using this format: \'a\', 100, b,\'c\'…<br>If you ever need to put a backslash ("\\") or a single quote ("\'") amongst those values, precede it with a backslash (for example \'\\\\xyz\' or \'a\\\'b\').')) }}
|
||||
</th>
|
||||
{% endif %}
|
||||
|
||||
@ -43,8 +43,8 @@
|
||||
|
||||
{% if show_buttons %}
|
||||
<div class="card-footer">
|
||||
<input class="btn btn-primary" type="submit" name="submit_save" value="{% trans 'Apply' %}">
|
||||
<input class="btn btn-secondary" type="button" name="submit_reset" value="{% trans 'Reset' %}">
|
||||
<input class="btn btn-primary" type="submit" name="submit_save" value="{{ t('Apply') }}">
|
||||
<input class="btn btn-secondary" type="button" name="submit_reset" value="{{ t('Reset') }}">
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@ -12,8 +12,8 @@
|
||||
{% endif %}
|
||||
|
||||
{% if option_is_disabled %}
|
||||
<span class="disabled-notice" title="{% trans 'This setting is disabled, it will not be applied to your configuration.' %}">
|
||||
{% trans 'Disabled' %}
|
||||
<span class="disabled-notice" title="{{ t('This setting is disabled, it will not be applied to your configuration.') }}">
|
||||
{{ t('Disabled') }}
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
@ -60,7 +60,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% if show_restore_default %}
|
||||
<a class="restore-default hide" href="#{{ path }}" title="{% trans 'Restore default value' %}">
|
||||
<a class="restore-default hide" href="#{{ path }}" title="{{ t('Restore default value') }}">
|
||||
{{- get_image('s_reload', t('Restore default value')) -}}
|
||||
</a>
|
||||
{% endif %}
|
||||
@ -76,8 +76,8 @@
|
||||
</td>
|
||||
|
||||
{% if is_setup and allows_customization is not null %}
|
||||
<td class="userprefs-allow" title="{% trans 'Allow users to customize this value' %}">
|
||||
<input type="checkbox" name="{{ path }}-userprefs-allow"{{ allows_customization ? ' checked' }} aria-label="{% trans 'Allow users to customize this value' %}">
|
||||
<td class="userprefs-allow" title="{{ t('Allow users to customize this value') }}">
|
||||
<input type="checkbox" name="{{ path }}-userprefs-allow"{{ allows_customization ? ' checked' }} aria-label="{{ t('Allow users to customize this value') }}">
|
||||
</td>
|
||||
{% elseif is_setup %}
|
||||
<td> </td>
|
||||
|
||||
@ -40,8 +40,8 @@
|
||||
<div class="content{{ settings.DarkTheme ? ' console_dark_theme' }}">
|
||||
<div class="console_message_container">
|
||||
<div class="message welcome">
|
||||
<span id="instructions-0">{% trans 'Press Ctrl+Enter to execute query' %}</span>
|
||||
<span class="hide" id="instructions-1">{% trans 'Press Enter to execute query' %}</span>
|
||||
<span id="instructions-0">{{ t('Press Ctrl+Enter to execute query') }}</span>
|
||||
<span class="hide" id="instructions-1">{{ t('Press Enter to execute query') }}</span>
|
||||
</div>
|
||||
{% if sql_history is not empty %}
|
||||
{% for record in sql_history|reverse %}
|
||||
@ -151,15 +151,15 @@
|
||||
<div class="content add_bookmark">
|
||||
<div class="options">
|
||||
<label>
|
||||
{% trans 'Label' %}: <input type="text" name="label">
|
||||
{{ t('Label') }}: <input type="text" name="label">
|
||||
</label>
|
||||
<label>
|
||||
{% trans 'Target database' %}: <input type="text" name="targetdb">
|
||||
{{ t('Target database') }}: <input type="text" name="targetdb">
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" name="shared">{% trans 'Share this bookmark' %}
|
||||
<input type="checkbox" name="shared">{{ t('Share this bookmark') }}
|
||||
</label>
|
||||
<button class="btn btn-primary" type="submit" name="submit">{% trans 'OK' %}</button>
|
||||
<button class="btn btn-primary" type="submit" name="submit">{{ t('OK') }}</button>
|
||||
</div> <!-- options -->
|
||||
<div class="query_input">
|
||||
<span class="bookmark_add_input"></span>
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
<div class="card-body">
|
||||
<input type="hidden" name="version" value="{{ last_version + 1 }}">
|
||||
<p>{% trans 'Track these data definition statements:' %}</p>
|
||||
<p>{{ t('Track these data definition statements:') }}</p>
|
||||
|
||||
{% if type == 'both' or type == 'table' %}
|
||||
<input type="checkbox" name="alter_table" value="true"
|
||||
@ -57,7 +57,7 @@
|
||||
{{- 'DROP INDEX' in default_statements ? ' checked="checked"' }}>
|
||||
DROP INDEX<br>
|
||||
|
||||
<p>{% trans 'Track these data manipulation statements:' %}</p>
|
||||
<p>{{ t('Track these data manipulation statements:') }}</p>
|
||||
<input type="checkbox" name="insert" value="true"
|
||||
{{- 'INSERT' in default_statements ? ' checked="checked"' }}>
|
||||
INSERT<br>
|
||||
@ -74,7 +74,7 @@
|
||||
|
||||
<div class="card-footer">
|
||||
<input type="hidden" name="submit_create_version" value="1">
|
||||
<input class="btn btn-primary" type="submit" value="{% trans 'Create version' %}">
|
||||
<input class="btn btn-primary" type="submit" value="{{ t('Create version') }}">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@ -1,25 +1,25 @@
|
||||
<form id="multi_edit_central_columns">
|
||||
<div class="card">
|
||||
<div class="card-header">{% trans 'Structure' %}</div>
|
||||
<div class="card-header">{{ t('Structure') }}</div>
|
||||
<div class="card-body">
|
||||
<table id="table_columns" class="table align-middle mb-0 noclick">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans 'Name' %}</th>
|
||||
<th>{% trans 'Type' %}</th>
|
||||
<th>{% trans 'Length/Values' %}</th>
|
||||
<th>{% trans 'Default' %}</th>
|
||||
<th>{% trans 'Collation' %}</th>
|
||||
<th>{% trans 'Attributes' %}</th>
|
||||
<th>{% trans 'Null' %}</th>
|
||||
<th>{% trans %}A_I{% context %}Auto Increment{% endtrans %}</th>
|
||||
<th>{{ t('Name') }}</th>
|
||||
<th>{{ t('Type') }}</th>
|
||||
<th>{{ t('Length/Values') }}</th>
|
||||
<th>{{ t('Default') }}</th>
|
||||
<th>{{ t('Collation') }}</th>
|
||||
<th>{{ t('Attributes') }}</th>
|
||||
<th>{{ t('Null') }}</th>
|
||||
<th>{{ t('A_I', context = 'Auto Increment') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{{ rows|raw }}
|
||||
</table>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<input class="btn btn-primary" type="submit" name="save_multi_central_column_edit" value="{% trans 'Save' %}">
|
||||
<input class="btn btn-primary" type="submit" name="save_multi_central_column_edit" value="{{ t('Save') }}">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@ -20,17 +20,17 @@
|
||||
<td class="text-nowrap" name="col_length">
|
||||
<input id="field_{{ row_num }}_2" type="text" name="field_length[{{ row_num }}]" size="8" value="{{ row['col_length'] }}" class="textfield">
|
||||
<p class="enum_notice" id="enum_notice_{{ row_num }}_2">
|
||||
<a href="#" class="open_enum_editor">{% trans 'Edit ENUM/SET values' %}</a>
|
||||
<a href="#" class="open_enum_editor">{{ t('Edit ENUM/SET values') }}</a>
|
||||
</p>
|
||||
</td>
|
||||
|
||||
<td class="text-nowrap" name="col_default">
|
||||
<select name="field_default_type[{{ row_num }}]" id="field_{{ row_num }}_3" class="default_type">
|
||||
<option value="NONE"{{ meta['DefaultType'] is defined and meta['DefaultType'] == 'NONE' ? ' selected' }}>
|
||||
{% trans %}None{% context %}for default{% endtrans %}
|
||||
{{ t('None', context = 'for default') }}
|
||||
</option>
|
||||
<option value="USER_DEFINED"{{ meta['DefaultType'] is defined and meta['DefaultType'] == 'USER_DEFINED' ? ' selected' }}>
|
||||
{% trans 'As defined:' %}
|
||||
{{ t('As defined:') }}
|
||||
</option>
|
||||
<option value="NULL"{{ meta['DefaultType'] is defined and meta['DefaultType'] == 'NULL' ? ' selected' }}>
|
||||
NULL
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{# getHtmlForAddNewColumn #}
|
||||
<div id="add_col_div" class="topmargin">
|
||||
<a href="#">
|
||||
<span>{{ (total_rows > 0) ? '+' : '-' }}</span>{% trans 'Add new column' %}
|
||||
<span>{{ (total_rows > 0) ? '+' : '-' }}</span>{{ t('Add new column') }}
|
||||
</a>
|
||||
<form id="add_new" class="new_central_col{{ (total_rows != 0) ? ' hide' : '' }}"
|
||||
method="post" action="{{ url('/database/central-columns') }}">
|
||||
@ -13,35 +13,35 @@
|
||||
<tr>
|
||||
<th></th>
|
||||
<th class="" title="" data-column="name">
|
||||
{% trans 'Name' %}
|
||||
{{ t('Name') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th class="" title="" data-column="type">
|
||||
{% trans 'Type' %}
|
||||
{{ t('Type') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th class="" title="" data-column="length">
|
||||
{% trans 'Length/Value' %}
|
||||
{{ t('Length/Value') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th class="" title="" data-column="default">
|
||||
{% trans 'Default' %}
|
||||
{{ t('Default') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th class="" title="" data-column="collation">
|
||||
{% trans 'Collation' %}
|
||||
{{ t('Collation') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th class="" title="" data-column="attribute">
|
||||
{% trans 'Attribute' %}
|
||||
{{ t('Attribute') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th class="" title="" data-column="isnull">
|
||||
{% trans 'Null' %}
|
||||
{{ t('Null') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th class="" title="" data-column="extra">
|
||||
{% trans 'A_I' %}
|
||||
{{ t('A_I') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th></th>
|
||||
@ -68,13 +68,13 @@
|
||||
<td class="text-nowrap" name="col_length">
|
||||
<input id="field_0_2" type="text" name="field_length[0]" size="8" value="" class="textfield">
|
||||
<p class="enum_notice" id="enum_notice_0_2">
|
||||
<a href="#" class="open_enum_editor">{% trans 'Edit ENUM/SET values' %}</a>
|
||||
<a href="#" class="open_enum_editor">{{ t('Edit ENUM/SET values') }}</a>
|
||||
</p>
|
||||
</td>
|
||||
<td class="text-nowrap" name="col_default">
|
||||
<select name="field_default_type[0]" id="field_0_3" class="default_type">
|
||||
<option value="NONE">{% trans %}None{% context %}for default{% endtrans %}</option>
|
||||
<option value="USER_DEFINED">{% trans 'As defined:' %}</option>
|
||||
<option value="NONE">{{ t('None', context = 'for default') }}</option>
|
||||
<option value="USER_DEFINED">{{ t('As defined:') }}</option>
|
||||
<option value="NULL">NULL</option>
|
||||
<option value="CURRENT_TIMESTAMP">CURRENT_TIMESTAMP</option>
|
||||
</select>
|
||||
@ -116,7 +116,7 @@
|
||||
<input name="col_extra[0]" id="field_0_7" type="checkbox" value="auto_increment">
|
||||
</td>
|
||||
<td>
|
||||
<input id="add_column_save" class="btn btn-primary" type="submit" value="{% trans 'Save' %}">
|
||||
<input id="add_column_save" class="btn btn-primary" type="submit" value="{{ t('Save') }}">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -126,7 +126,7 @@
|
||||
</div>
|
||||
{% if total_rows <= 0 %}
|
||||
<div class="alert alert-info" role="alert">
|
||||
{% trans 'The central list of columns for the current database is empty' %}
|
||||
{{ t('The central list of columns for the current database is empty') }}
|
||||
</div>
|
||||
{% else %}
|
||||
<table class="table table-borderless table-sm w-auto d-inline-block navigation">
|
||||
@ -165,10 +165,10 @@
|
||||
<td>
|
||||
<div class="row align-items-center">
|
||||
<div class="col-auto">
|
||||
<label for="filterRows" class="col-form-label">{% trans 'Filter rows:' %}</label>
|
||||
<label for="filterRows" class="col-form-label">{{ t('Filter rows:') }}</label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input type="text" id="filterRows" class="filter_rows form-control" placeholder="{% trans 'Search this table' %}">
|
||||
<input type="text" id="filterRows" class="filter_rows form-control" placeholder="{{ t('Search this table') }}">
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
@ -190,16 +190,16 @@
|
||||
{# getHtmlForTableDropdown #}
|
||||
<select name="table-select" id="table-select">
|
||||
<option value="" disabled="disabled" selected="selected">
|
||||
{% trans 'Select a table' %}
|
||||
{{ t('Select a table') }}
|
||||
</option>
|
||||
{% for table in tables %}
|
||||
<option value="{{ table|e }}">{{ table|e }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<select name="column-select" id="column-select">
|
||||
<option value="" selected="selected">{% trans 'Select a column.' %}</option>
|
||||
<option value="" selected="selected">{{ t('Select a column.') }}</option>
|
||||
</select>
|
||||
<input class="btn btn-primary" type="submit" value="{% trans 'Add' %}">
|
||||
<input class="btn btn-primary" type="submit" value="{{ t('Add') }}">
|
||||
</form>
|
||||
</td>
|
||||
<td class="navigation_separator largescreenonly"></td>
|
||||
@ -221,37 +221,37 @@
|
||||
<tr>
|
||||
<th class="{{ class }}"></th>
|
||||
<th class="hide"></th>
|
||||
<th class="column_action" colspan="2">{% trans 'Action' %}</th>
|
||||
<th class="column_action" colspan="2">{{ t('Action') }}</th>
|
||||
<th class="{{ class }}" title="{{ title }}" data-column="name">
|
||||
{% trans 'Name' %}
|
||||
{{ t('Name') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th class="{{ class }}" title="{{ title }}" data-column="type">
|
||||
{% trans 'Type' %}
|
||||
{{ t('Type') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th class="{{ class }}" title="{{ title }}" data-column="length">
|
||||
{% trans 'Length/Value' %}
|
||||
{{ t('Length/Value') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th class="{{ class }}" title="{{ title }}" data-column="default">
|
||||
{% trans 'Default' %}
|
||||
{{ t('Default') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th class="{{ class }}" title="{{ title }}" data-column="collation">
|
||||
{% trans 'Collation' %}
|
||||
{{ t('Collation') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th class="{{ class }}" title="{{ title }}" data-column="attribute">
|
||||
{% trans 'Attribute' %}
|
||||
{{ t('Attribute') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th class="{{ class }}" title="{{ title }}" data-column="isnull">
|
||||
{% trans 'Null' %}
|
||||
{{ t('Null') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
<th class="{{ class }}" title="{{ title }}" data-column="extra">
|
||||
{% trans 'A_I' %}
|
||||
{{ t('A_I') }}
|
||||
<div class="sorticon"></div>
|
||||
</th>
|
||||
</tr>
|
||||
@ -301,21 +301,21 @@
|
||||
<span>{{ (row['col_length'] ? (row['col_length']) : '') }}</span>
|
||||
<input id="field_{{ row_num }}_2" type="text" name="field_length[{{ row_num }}]" size="8" value="{{ row['col_length'] }}" class="textfield">
|
||||
<p class="enum_notice" id="enum_notice_{{ row_num }}_2">
|
||||
<a href="#" class="open_enum_editor">{% trans 'Edit ENUM/SET values' %}</a>
|
||||
<a href="#" class="open_enum_editor">{{ t('Edit ENUM/SET values') }}</a>
|
||||
</p>
|
||||
</td>
|
||||
<td class="text-nowrap" name="col_default">
|
||||
{% if row['col_default'] is defined %}
|
||||
<span>{{ row['col_default'] }}</span>
|
||||
{% else %}
|
||||
<span>{% trans 'None' %}</span>
|
||||
<span>{{ t('None') }}</span>
|
||||
{% endif %}
|
||||
<select name="field_default_type[{{ row_num }}]" id="field_{{ row_num }}_3" class="default_type">
|
||||
<option value="NONE"{{ rows_meta[row_num]['DefaultType'] is defined and rows_meta[row_num]['DefaultType'] == 'NONE' ? ' selected' }}>
|
||||
{% trans %}None{% context %}for default{% endtrans %}
|
||||
{{ t('None', context = 'for default') }}
|
||||
</option>
|
||||
<option value="USER_DEFINED"{{ rows_meta[row_num]['DefaultType'] is defined and rows_meta[row_num]['DefaultType'] == 'USER_DEFINED' ? ' selected' }}>
|
||||
{% trans 'As defined:' %}
|
||||
{{ t('As defined:') }}
|
||||
</option>
|
||||
<option value="NULL"{{ rows_meta[row_num]['DefaultType'] is defined and rows_meta[row_num]['DefaultType'] == 'NULL' ? ' selected' }}>
|
||||
NULL
|
||||
@ -379,11 +379,11 @@
|
||||
'form_name': 'tableslistcontainer',
|
||||
} only %}
|
||||
<button class="btn btn-link mult_submit change_central_columns" type="submit" name="edit_central_columns"
|
||||
value="edit central columns" title="{% trans 'Edit' %}">
|
||||
value="edit central columns" title="{{ t('Edit') }}">
|
||||
{{ get_icon('b_edit', t('Edit')) }}
|
||||
</button>
|
||||
<button class="btn btn-link mult_submit" type="submit" name="delete_central_columns"
|
||||
value="remove_from_central_columns" title="{% trans 'Delete' %}">
|
||||
value="remove_from_central_columns" title="{{ t('Delete') }}">
|
||||
{{ get_icon('b_drop', t('Delete')) }}
|
||||
</button>
|
||||
</form>
|
||||
|
||||
@ -3,15 +3,15 @@
|
||||
<div class="card-header">{{ get_icon('b_table_add', t('Create new table'), true) }}</div>
|
||||
<div class="card-body row row-cols-lg-auto g-3">
|
||||
<div class="col-12">
|
||||
<label for="createTableNameInput" class="form-label">{% trans 'Table name' %}</label>
|
||||
<label for="createTableNameInput" class="form-label">{{ t('Table name') }}</label>
|
||||
<input type="text" class="form-control" name="table" id="createTableNameInput" maxlength="64" required>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<label for="createTableNumFieldsInput" class="form-label">{% trans 'Number of columns' %}</label>
|
||||
<label for="createTableNumFieldsInput" class="form-label">{{ t('Number of columns') }}</label>
|
||||
<input type="number" class="form-control" name="num_fields" id="createTableNumFieldsInput" min="1" value="4" required>
|
||||
</div>
|
||||
<div class="col-12 align-self-lg-end">
|
||||
<input class="btn btn-primary" type="submit" value="{% trans 'Create' %}">
|
||||
<input class="btn btn-primary" type="submit" value="{{ t('Create') }}">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<div class="container-fluid">
|
||||
<h1>{{ database }}</h1>
|
||||
{% if comment is not empty %}
|
||||
<p>{% trans 'Database comment:' %} <em>{{ comment }}</em></p>
|
||||
<p>{{ t('Database comment:') }} <em>{{ comment }}</em></p>
|
||||
{% endif %}
|
||||
|
||||
<p class="d-print-none">
|
||||
@ -13,22 +13,22 @@
|
||||
<div>
|
||||
<h2>{{ table.name }}</h2>
|
||||
{% if table.comment is not empty %}
|
||||
<p>{% trans 'Table comments:' %} <em>{{ table.comment }}</em></p>
|
||||
<p>{{ t('Table comments:') }} <em>{{ table.comment }}</em></p>
|
||||
{% endif %}
|
||||
|
||||
<table class="table table-striped align-middle">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans 'Column' %}</th>
|
||||
<th>{% trans 'Type' %}</th>
|
||||
<th>{% trans 'Null' %}</th>
|
||||
<th>{% trans 'Default' %}</th>
|
||||
<th>{{ t('Column') }}</th>
|
||||
<th>{{ t('Type') }}</th>
|
||||
<th>{{ t('Null') }}</th>
|
||||
<th>{{ t('Default') }}</th>
|
||||
{% if table.has_relation %}
|
||||
<th>{% trans 'Links to' %}</th>
|
||||
<th>{{ t('Links to') }}</th>
|
||||
{% endif %}
|
||||
<th>{% trans 'Comments' %}</th>
|
||||
<th>{{ t('Comments') }}</th>
|
||||
{% if table.has_mime %}
|
||||
<th>{% trans 'Media type' %}</th>
|
||||
<th>{{ t('Media type') }}</th>
|
||||
{% endif %}
|
||||
</tr>
|
||||
</thead>
|
||||
@ -38,7 +38,7 @@
|
||||
<td class="text-nowrap">
|
||||
{{ column.name }}
|
||||
{% if column.has_primary_key %}
|
||||
<em>({% trans 'Primary' %})</em>
|
||||
<em>({{ t('Primary') }})</em>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td lang="en" dir="ltr"{{ 'set' != column.type and 'enum' != column.type ? ' class="text-nowrap"' }}>
|
||||
@ -65,20 +65,20 @@
|
||||
</table>
|
||||
|
||||
{% if table.indexes is not empty %}
|
||||
<h3>{% trans 'Indexes' %}</h3>
|
||||
<h3>{{ t('Indexes') }}</h3>
|
||||
|
||||
<table class="table table-striped align-middle">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans 'Keyname' %}</th>
|
||||
<th>{% trans 'Type' %}</th>
|
||||
<th>{% trans 'Unique' %}</th>
|
||||
<th>{% trans 'Packed' %}</th>
|
||||
<th>{% trans 'Column' %}</th>
|
||||
<th>{% trans 'Cardinality' %}</th>
|
||||
<th>{% trans 'Collation' %}</th>
|
||||
<th>{% trans 'Null' %}</th>
|
||||
<th>{% trans 'Comment' %}</th>
|
||||
<th>{{ t('Keyname') }}</th>
|
||||
<th>{{ t('Type') }}</th>
|
||||
<th>{{ t('Unique') }}</th>
|
||||
<th>{{ t('Packed') }}</th>
|
||||
<th>{{ t('Column') }}</th>
|
||||
<th>{{ t('Cardinality') }}</th>
|
||||
<th>{{ t('Collation') }}</th>
|
||||
<th>{{ t('Null') }}</th>
|
||||
<th>{{ t('Comment') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@ -114,7 +114,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<p>{% trans 'No index defined!' %}</p>
|
||||
<p>{{ t('No index defined!') }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
@ -28,13 +28,13 @@
|
||||
style="margin: 0;"
|
||||
value="select_all_{{ t_n_url }}"
|
||||
id="select_all_{{ i }}"
|
||||
title="{% trans 'Select all' %}"
|
||||
title="{{ t('Select all') }}"
|
||||
table_name="{{ table_name }}"
|
||||
db_name="{{ db }}">
|
||||
</td>
|
||||
{% endif %}
|
||||
<td class="small_tab"
|
||||
title="{% trans 'Show/hide columns' %}"
|
||||
title="{{ t('Show/hide columns') }}"
|
||||
id="id_hide_tbody_{{ t_n_url }}"
|
||||
table_name="{{ t_n_url }}">{{ tab_pos[t_n] is not defined or tab_pos[t_n]['V'] is not empty ? 'v' : '>' }}</td>
|
||||
<td class="small_tab_pref small_tab_pref_1"
|
||||
@ -43,7 +43,7 @@
|
||||
table_name="{{ designerTable.getTableName() }}"
|
||||
table_name_url="{{ designerTable.getTableName()|escape('url') }}">
|
||||
<img src="{{ image('designer/exec_small.png') }}"
|
||||
title="{% trans 'See table structure' %}">
|
||||
title="{{ t('See table structure') }}">
|
||||
</td>
|
||||
<td id="id_zag_{{ t_n_url }}"
|
||||
class="tab_zag text-nowrap tab_zag_noquery"
|
||||
@ -113,7 +113,7 @@
|
||||
table_name="{{ table_name }}"
|
||||
col_name="{{ col_name }}"
|
||||
db_table_name_url="{{ t_n_url }}">
|
||||
<img src="{{ image('designer/exec_small.png') }}" title="{% trans 'Options' %}" />
|
||||
<img src="{{ image('designer/exec_small.png') }}" title="{{ t('Options') }}" />
|
||||
</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
|
||||
@ -16,149 +16,149 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
{% endif %}
|
||||
<div class="designer_header side-menu" id="side_menu">
|
||||
<a class="M_butt" id="key_Show_left_menu" href="#">
|
||||
<img title="{% trans 'Show/Hide tables list' %}"
|
||||
<img title="{{ t('Show/Hide tables list') }}"
|
||||
alt="v"
|
||||
src="{{ image('designer/downarrow2_m.png') }}"
|
||||
data-down="{{ image('designer/downarrow2_m.png') }}"
|
||||
data-up="{{ image('designer/uparrow2_m.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Show/Hide tables list' %}
|
||||
{{ t('Show/Hide tables list') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="#" id="toggleFullscreen" class="M_butt">
|
||||
<img title="{% trans 'View in fullscreen' %}"
|
||||
<img title="{{ t('View in fullscreen') }}"
|
||||
src="{{ image('designer/viewInFullscreen.png') }}"
|
||||
data-enter="{{ image('designer/viewInFullscreen.png') }}"
|
||||
data-exit="{{ image('designer/exitFullscreen.png') }}">
|
||||
<span class="hide hidable"
|
||||
data-exit="{% trans 'Exit fullscreen' %}"
|
||||
data-enter="{% trans 'View in fullscreen' %}">
|
||||
{% trans 'View in fullscreen' %}
|
||||
data-exit="{{ t('Exit fullscreen') }}"
|
||||
data-enter="{{ t('View in fullscreen') }}">
|
||||
{{ t('View in fullscreen') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="#" id="addOtherDbTables" class="M_butt">
|
||||
<img title="{% trans 'Add tables from other databases' %}"
|
||||
<img title="{{ t('Add tables from other databases') }}"
|
||||
src="{{ image('designer/other_table.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Add tables from other databases' %}
|
||||
{{ t('Add tables from other databases') }}
|
||||
</span>
|
||||
</a>
|
||||
{% if not has_query %}
|
||||
<a id="newPage" href="#" class="M_butt">
|
||||
<img title="{% trans 'New page' %}"
|
||||
<img title="{{ t('New page') }}"
|
||||
alt=""
|
||||
src="{{ image('designer/page_add.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'New page' %}
|
||||
{{ t('New page') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="#" id="editPage" class="M_butt ajax">
|
||||
<img title="{% trans 'Open page' %}"
|
||||
<img title="{{ t('Open page') }}"
|
||||
src="{{ image('designer/page_edit.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Open page' %}
|
||||
{{ t('Open page') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="#" id="savePos" class="M_butt">
|
||||
<img title="{% trans 'Save page' %}"
|
||||
<img title="{{ t('Save page') }}"
|
||||
src="{{ image('designer/save.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Save page' %}
|
||||
{{ t('Save page') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="#" id="SaveAs" class="M_butt ajax">
|
||||
<img title="{% trans 'Save page as' %}"
|
||||
<img title="{{ t('Save page as') }}"
|
||||
src="{{ image('designer/save_as.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Save page as' %}
|
||||
{{ t('Save page as') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="#" id="delPages" class="M_butt ajax">
|
||||
<img title="{% trans 'Delete pages' %}"
|
||||
<img title="{{ t('Delete pages') }}"
|
||||
src="{{ image('designer/page_delete.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Delete pages' %}
|
||||
{{ t('Delete pages') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="#" id="StartTableNew" class="M_butt">
|
||||
<img title="{% trans 'Create table' %}"
|
||||
<img title="{{ t('Create table') }}"
|
||||
src="{{ image('designer/table.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Create table' %}
|
||||
{{ t('Create table') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="#" class="M_butt" id="rel_button">
|
||||
<img title="{% trans 'Create relationship' %}"
|
||||
<img title="{{ t('Create relationship') }}"
|
||||
src="{{ image('designer/relation.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Create relationship' %}
|
||||
{{ t('Create relationship') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="#" class="M_butt" id="display_field_button">
|
||||
<img title="{% trans 'Choose column to display' %}"
|
||||
<img title="{{ t('Choose column to display') }}"
|
||||
src="{{ image('designer/display_field.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Choose column to display' %}
|
||||
{{ t('Choose column to display') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="#" id="reloadPage" class="M_butt">
|
||||
<img title="{% trans 'Reload' %}"
|
||||
<img title="{{ t('Reload') }}"
|
||||
src="{{ image('designer/reload.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Reload' %}
|
||||
{{ t('Reload') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="{{ get_docu_link('faq', 'faq6-31') }}" target="_blank" rel="noopener noreferrer" class="M_butt">
|
||||
<img title="{% trans 'Help' %}"
|
||||
<img title="{{ t('Help') }}"
|
||||
src="{{ image('designer/help.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Help' %}
|
||||
{{ t('Help') }}
|
||||
</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
<a href="#" class="{{ params_array['angular_direct'] }}" id="angular_direct_button">
|
||||
<img title="{% trans 'Angular links' %} / {% trans 'Direct links' %}"
|
||||
<img title="{{ t('Angular links') }} / {{ t('Direct links') }}"
|
||||
src="{{ image('designer/ang_direct.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Angular links' %} / {% trans 'Direct links' %}
|
||||
{{ t('Angular links') }} / {{ t('Direct links') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="#" class="{{ params_array['snap_to_grid'] }}" id="grid_button">
|
||||
<img title="{% trans 'Snap to grid' %}" src="{{ image('designer/grid.png') }}">
|
||||
<img title="{{ t('Snap to grid') }}" src="{{ image('designer/grid.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Snap to grid' %}
|
||||
{{ t('Snap to grid') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="#" class="{{ params_array['small_big_all'] }}" id="key_SB_all">
|
||||
<img title="{% trans 'Small/Big All' %}"
|
||||
<img title="{{ t('Small/Big All') }}"
|
||||
alt="v"
|
||||
src="{{ image('designer/downarrow1.png') }}"
|
||||
data-down="{{ image('designer/downarrow1.png') }}"
|
||||
data-right="{{ image('designer/rightarrow1.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Small/Big All' %}
|
||||
{{ t('Small/Big All') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="#" id="SmallTabInvert" class="M_butt">
|
||||
<img title="{% trans 'Toggle small/big' %}"
|
||||
<img title="{{ t('Toggle small/big') }}"
|
||||
src="{{ image('designer/bottom.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Toggle small/big' %}
|
||||
{{ t('Toggle small/big') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="#" id="relLineInvert" class="{{ params_array['relation_lines'] }}" >
|
||||
<img title="{% trans 'Toggle relationship lines' %}"
|
||||
<img title="{{ t('Toggle relationship lines') }}"
|
||||
src="{{ image('designer/toggle_lines.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Toggle relationship lines' %}
|
||||
{{ t('Toggle relationship lines') }}
|
||||
</span>
|
||||
</a>
|
||||
{% if not visual_builder %}
|
||||
<a href="#" id="exportPages" class="M_butt" >
|
||||
<img title="{% trans 'Export schema' %}"
|
||||
<img title="{{ t('Export schema') }}"
|
||||
src="{{ image('designer/export.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Export schema' %}
|
||||
{{ t('Export schema') }}
|
||||
</span>
|
||||
</a>
|
||||
{% else %}
|
||||
@ -166,28 +166,28 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
class="M_butt"
|
||||
href="#"
|
||||
class="M_butt">
|
||||
<img title="{% trans 'Build Query' %}"
|
||||
<img title="{{ t('Build Query') }}"
|
||||
src="{{ image('designer/query_builder.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Build Query' %}
|
||||
{{ t('Build Query') }}
|
||||
</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
<a href="#" class="{{ params_array['side_menu'] }}" id="key_Left_Right">
|
||||
<img title="{% trans 'Move Menu' %}" alt=">"
|
||||
<img title="{{ t('Move Menu') }}" alt=">"
|
||||
data-right="{{ image('designer/2leftarrow_m.png') }}"
|
||||
src="{{ image('designer/2rightarrow_m.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Move Menu' %}
|
||||
{{ t('Move Menu') }}
|
||||
</span>
|
||||
</a>
|
||||
<a href="#" class="{{ params_array['pin_text'] }}" id="pin_Text">
|
||||
<img title="{% trans 'Pin text' %}"
|
||||
<img title="{{ t('Pin text') }}"
|
||||
alt=">"
|
||||
data-right="{{ image('designer/anchor.png') }}"
|
||||
src="{{ image('designer/anchor.png') }}">
|
||||
<span class="hide hidable">
|
||||
{% trans 'Pin text' %}
|
||||
{{ t('Pin text') }}
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
@ -199,7 +199,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<div id="layer_menu" class="hide">
|
||||
<div class="text-center">
|
||||
<a href="#" class="M_butt" target="_self" >
|
||||
<img title="{% trans 'Hide/Show all' %}"
|
||||
<img title="{{ t('Hide/Show all') }}"
|
||||
alt="v"
|
||||
id="key_HS_all"
|
||||
src="{{ image('designer/downarrow1.png') }}"
|
||||
@ -209,7 +209,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<a href="#" class="M_butt" target="_self" >
|
||||
<img alt="v"
|
||||
id="key_HS"
|
||||
title="{% trans 'Hide/Show tables with no relationship' %}"
|
||||
title="{{ t('Hide/Show tables with no relationship') }}"
|
||||
src="{{ image('designer/downarrow2.png') }}"
|
||||
data-down="{{ image('designer/downarrow2.png') }}"
|
||||
data-right="{{ image('designer/rightarrow2.png') }}">
|
||||
@ -220,7 +220,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
</div>
|
||||
{# end id_scroll_tab #}
|
||||
<div class="text-center">
|
||||
{% trans 'Number of tables:' %} <span id="tables_counter">0</span>
|
||||
{{ t('Number of tables:') }} <span id="tables_counter">0</span>
|
||||
</div>
|
||||
<div id="layer_menu_sizer">
|
||||
<img class="icon float-start"
|
||||
@ -266,7 +266,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tr>
|
||||
<td colspan="2" class="text-center text-nowrap">
|
||||
<strong>
|
||||
{% trans 'Create relationship' %}
|
||||
{{ t('Create relationship') }}
|
||||
</strong>
|
||||
</td>
|
||||
</tr>
|
||||
@ -332,9 +332,9 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tr>
|
||||
<td colspan="2" class="text-center text-nowrap">
|
||||
<input type="button" id="ok_new_rel_panel" class="btn btn-secondary butt"
|
||||
name="Button" value="{% trans 'OK' %}">
|
||||
name="Button" value="{{ t('OK') }}">
|
||||
<input type="button" id="cancel_new_rel_panel"
|
||||
class="btn btn-secondary butt" name="Button" value="{% trans 'Cancel' %}">
|
||||
class="btn btn-secondary butt" name="Button" value="{{ t('Cancel') }}">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -376,16 +376,16 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tr>
|
||||
<td colspan="3" class="text-center text-nowrap">
|
||||
<strong>
|
||||
{% trans 'Delete relationship' %}
|
||||
{{ t('Delete relationship') }}
|
||||
</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" class="text-center text-nowrap">
|
||||
<input id="del_button" name="Button" type="button"
|
||||
class="btn btn-secondary butt" value="{% trans 'Delete' %}">
|
||||
class="btn btn-secondary butt" value="{{ t('Delete') }}">
|
||||
<input id="cancel_button" type="button" class="btn btn-secondary butt"
|
||||
name="Button" value="{% trans 'Cancel' %}">
|
||||
name="Button" value="{{ t('Cancel') }}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -440,7 +440,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="58" class="text-nowrap">
|
||||
{% trans 'Relationship operator' %}
|
||||
{{ t('Relationship operator') }}
|
||||
</td>
|
||||
<td width="102">
|
||||
<select name="rel_opt" id="rel_opt">
|
||||
@ -469,7 +469,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
IN
|
||||
</option>
|
||||
<option value="EXCEPT">
|
||||
{% trans 'Except' %}
|
||||
{{ t('Except') }}
|
||||
</option>
|
||||
<option value="NOT IN">
|
||||
NOT IN
|
||||
@ -479,9 +479,9 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap">
|
||||
{% trans 'Value' %}
|
||||
{{ t('Value') }}
|
||||
<br>
|
||||
{% trans 'subquery' %}
|
||||
{{ t('subquery') }}
|
||||
</td>
|
||||
<td>
|
||||
<textarea id="Query" cols="18"></textarea>
|
||||
@ -490,13 +490,13 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tr>
|
||||
<td class="text-center text-nowrap">
|
||||
<b>
|
||||
{% trans 'Rename to' %}
|
||||
{{ t('Rename to') }}
|
||||
</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="58" class="text-nowrap">
|
||||
{% trans 'New name' %}
|
||||
{{ t('New name') }}
|
||||
</td>
|
||||
<td width="102">
|
||||
<input type="text" id="new_name">
|
||||
@ -505,13 +505,13 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tr>
|
||||
<td class="text-center text-nowrap">
|
||||
<b>
|
||||
{% trans 'Aggregate' %}
|
||||
{{ t('Aggregate') }}
|
||||
</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="58" class="text-nowrap">
|
||||
{% trans 'Operator' %}
|
||||
{{ t('Operator') }}
|
||||
</td>
|
||||
<td width="102">
|
||||
<select name="operator" id="operator">
|
||||
@ -575,7 +575,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="58" class="text-nowrap">
|
||||
{% trans 'Operator' %}
|
||||
{{ t('Operator') }}
|
||||
</td>
|
||||
<td width="102">
|
||||
<select name="h_operator" id="h_operator">
|
||||
@ -583,7 +583,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
---
|
||||
</option>
|
||||
<option value="None" >
|
||||
{% trans 'None' %}
|
||||
{{ t('None') }}
|
||||
</option>
|
||||
<option value="sum" >
|
||||
SUM
|
||||
@ -605,7 +605,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="58" class="text-nowrap">
|
||||
{% trans 'Relationship operator' %}
|
||||
{{ t('Relationship operator') }}
|
||||
</td>
|
||||
<td width="102">
|
||||
<select name="h_rel_opt" id="h_rel_opt">
|
||||
@ -634,7 +634,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
IN
|
||||
</option>
|
||||
<option value="EXCEPT">
|
||||
{% trans 'Except' %}
|
||||
{{ t('Except') }}
|
||||
</option>
|
||||
<option value="NOT IN">
|
||||
NOT IN
|
||||
@ -644,9 +644,9 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="58" class="text-nowrap">
|
||||
{% trans 'Value' %}
|
||||
{{ t('Value') }}
|
||||
<br>
|
||||
{% trans 'subquery' %}
|
||||
{{ t('subquery') }}
|
||||
</td>
|
||||
<td width="102">
|
||||
<textarea id="having" cols="18"></textarea>
|
||||
@ -661,9 +661,9 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<input type="hidden" id="ok_add_object_table_name" />
|
||||
<input type="hidden" id="ok_add_object_col_name" />
|
||||
<input type="button" id="ok_add_object" class="btn btn-secondary butt"
|
||||
name="Button" value="{% trans 'OK' %}">
|
||||
name="Button" value="{{ t('OK') }}">
|
||||
<input type="button" id="cancel_close_option" class="btn btn-secondary butt"
|
||||
name="Button" value="{% trans 'Cancel' %}">
|
||||
name="Button" value="{{ t('Cancel') }}">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -706,7 +706,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tr>
|
||||
<td colspan="2" class="text-center text-nowrap">
|
||||
<strong>
|
||||
{% trans 'Rename to' %}
|
||||
{{ t('Rename to') }}
|
||||
</strong>
|
||||
</td>
|
||||
</tr>
|
||||
@ -714,7 +714,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tbody id="rename_to">
|
||||
<tr>
|
||||
<td width="58" class="text-nowrap">
|
||||
{% trans 'New name' %}
|
||||
{{ t('New name') }}
|
||||
</td>
|
||||
<td width="102">
|
||||
<input type="text" id="e_rename">
|
||||
@ -725,11 +725,11 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tr>
|
||||
<td colspan="2" class="text-center text-nowrap">
|
||||
<input type="button" id="ok_edit_rename" class="btn btn-secondary butt"
|
||||
name="Button" value="{% trans 'OK' %}">
|
||||
name="Button" value="{{ t('OK') }}">
|
||||
<input id="query_rename_to_button" type="button"
|
||||
class="btn btn-secondary butt"
|
||||
name="Button"
|
||||
value="{% trans 'Cancel' %}">
|
||||
value="{{ t('Cancel') }}">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -780,7 +780,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tbody id="rename_to">
|
||||
<tr>
|
||||
<td width="58" class="text-nowrap">
|
||||
{% trans 'Operator' %}
|
||||
{{ t('Operator') }}
|
||||
</td>
|
||||
<td width="102">
|
||||
<select name="hoperator" id="hoperator">
|
||||
@ -811,7 +811,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tr>
|
||||
<tr>
|
||||
<td width="58" class="text-nowrap">
|
||||
{% trans 'Operator' %}
|
||||
{{ t('Operator') }}
|
||||
</td>
|
||||
<td width="102">
|
||||
<select name="hrel_opt" id="hrel_opt">
|
||||
@ -840,7 +840,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
IN
|
||||
</option>
|
||||
<option value="EXCEPT">
|
||||
{% trans 'Except' %}
|
||||
{{ t('Except') }}
|
||||
</option>
|
||||
<option value="NOT IN">
|
||||
NOT IN
|
||||
@ -850,9 +850,9 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap">
|
||||
{% trans 'Value' %}
|
||||
{{ t('Value') }}
|
||||
<br>
|
||||
{% trans 'subquery' %}
|
||||
{{ t('subquery') }}
|
||||
</td>
|
||||
<td>
|
||||
<textarea id="hQuery" cols="18">
|
||||
@ -864,11 +864,11 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tr>
|
||||
<td colspan="2" class="text-center text-nowrap">
|
||||
<input type="button" id="ok_edit_having" class="btn btn-secondary butt"
|
||||
name="Button" value="{% trans 'OK' %}">
|
||||
name="Button" value="{{ t('OK') }}">
|
||||
<input id="query_having_button" type="button"
|
||||
class="btn btn-secondary butt"
|
||||
name="Button"
|
||||
value="{% trans 'Cancel' %}">
|
||||
value="{{ t('Cancel') }}">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -911,7 +911,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tr>
|
||||
<td colspan="2" class="text-center text-nowrap">
|
||||
<strong>
|
||||
{% trans 'Aggregate' %}
|
||||
{{ t('Aggregate') }}
|
||||
</strong>
|
||||
</td>
|
||||
</tr>
|
||||
@ -919,7 +919,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="58" class="text-nowrap">
|
||||
{% trans 'Operator' %}
|
||||
{{ t('Operator') }}
|
||||
</td>
|
||||
<td width="102">
|
||||
<select name="operator" id="e_operator">
|
||||
@ -949,11 +949,11 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tr>
|
||||
<td colspan="2" class="text-center text-nowrap">
|
||||
<input type="button" id="ok_edit_Aggr" class="btn btn-secondary butt"
|
||||
name="Button" value="{% trans 'OK' %}">
|
||||
name="Button" value="{{ t('OK') }}">
|
||||
<input id="query_Aggregate_Button" type="button"
|
||||
class="btn btn-secondary butt"
|
||||
name="Button"
|
||||
value="{% trans 'Cancel' %}">
|
||||
value="{{ t('Cancel') }}">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1004,7 +1004,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tbody id="rename_to">
|
||||
<tr>
|
||||
<td width="58" class="text-nowrap">
|
||||
{% trans 'Operator' %}
|
||||
{{ t('Operator') }}
|
||||
</td>
|
||||
<td width="102">
|
||||
<select name="erel_opt" id="erel_opt">
|
||||
@ -1033,7 +1033,7 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
IN
|
||||
</option>
|
||||
<option value="EXCEPT">
|
||||
{% trans 'Except' %}
|
||||
{{ t('Except') }}
|
||||
</option>
|
||||
<option value="NOT IN">
|
||||
NOT IN
|
||||
@ -1043,9 +1043,9 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap">
|
||||
{% trans 'Value' %}
|
||||
{{ t('Value') }}
|
||||
<br>
|
||||
{% trans 'subquery' %}
|
||||
{{ t('subquery') }}
|
||||
</td>
|
||||
<td>
|
||||
<textarea id="eQuery" cols="18"></textarea>
|
||||
@ -1056,9 +1056,9 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<tr>
|
||||
<td colspan="2" class="text-center text-nowrap">
|
||||
<input type="button" id="ok_edit_where" class="btn btn-secondary butt"
|
||||
name="Button" value="{% trans 'OK' %}">
|
||||
name="Button" value="{{ t('OK') }}">
|
||||
<input id="query_where_button" type="button" class="btn btn-secondary butt" name="Button"
|
||||
value="{% trans 'Cancel' %}">
|
||||
value="{{ t('Cancel') }}">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1085,20 +1085,20 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<div id="ab"></div>
|
||||
<div class="clearfloat"></div>
|
||||
</div>
|
||||
<a class="trigger" href="#">{% trans 'Active options' %}</a>
|
||||
<a class="trigger" href="#">{{ t('Active options') }}</a>
|
||||
{% endif %}
|
||||
<div id="PMA_disable_floating_menubar"></div>
|
||||
<div class="modal fade" id="designerGoModal" tabindex="-1" aria-labelledby="designerGoModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-dialog-scrollable">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="designerGoModalLabel">{% trans 'Loading' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Cancel' %}"></button>
|
||||
<h5 class="modal-title" id="designerGoModalLabel">{{ t('Loading') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Cancel') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" id="designerModalGoButton">{% trans 'Go' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Cancel' %}</button>
|
||||
<button type="button" class="btn btn-secondary" id="designerModalGoButton">{{ t('Go') }}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Cancel') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1107,14 +1107,14 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<div class="modal-dialog modal-dialog-scrollable">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="designerPromptModalLabel">{% trans 'Loading' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Cancel' %}"></button>
|
||||
<h5 class="modal-title" id="designerPromptModalLabel">{{ t('Loading') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Cancel') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" id="designerModalYesButton">{% trans 'Yes' %}</button>
|
||||
<button type="button" class="btn btn-secondary" id="designerModalNoButton">{% trans 'No' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Cancel' %}</button>
|
||||
<button type="button" class="btn btn-secondary" id="designerModalYesButton">{{ t('Yes') }}</button>
|
||||
<button type="button" class="btn btn-secondary" id="designerModalNoButton">{{ t('No') }}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Cancel') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1124,8 +1124,8 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="buildQueryModalLabel">{% trans 'Loading' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="buildQueryModalLabel">{{ t('Loading') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div id="box" class="modal-body">
|
||||
<form method="post" action="{{ url('/database/qbe') }}" id="vqb_form">
|
||||
@ -1135,8 +1135,8 @@ window.designerConfig = {{ designer_config|raw }};
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Close' %}</button>
|
||||
<button type="button" class="btn btn-secondary" id="buildQuerySubmitButton">{% trans 'Submit' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Close') }}</button>
|
||||
<button type="button" class="btn btn-secondary" id="buildQuerySubmitButton">{{ t('Submit') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -15,17 +15,17 @@
|
||||
<td>
|
||||
<div>
|
||||
<input type="radio" name="save_page" id="savePageSameRadio" value="same" checked>
|
||||
<label for="savePageSameRadio">{% trans 'Save to selected page' %}</label>
|
||||
<label for="savePageSameRadio">{{ t('Save to selected page') }}</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="radio" name="save_page" id="savePageNewRadio" value="new">
|
||||
<label for="savePageNewRadio">{% trans 'Create a page and save to it' %}</label>
|
||||
<label for="savePageNewRadio">{{ t('Create a page and save to it') }}</label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="selected_value">{% trans 'New page name' %}</label>
|
||||
<label for="selected_value">{{ t('New page name') }}</label>
|
||||
<input type="text" name="selected_value" id="selected_value">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<select name="selected_page" id="selected_page">
|
||||
<option value="0">-- {% trans 'Select page' %} --</option>
|
||||
<option value="0">-- {{ t('Select page') }} --</option>
|
||||
{% if pdfwork %}
|
||||
{% for nr, desc in pages %}
|
||||
<option value="{{ nr }}">
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<input type="hidden" name="page_number" value="{{ page }}">
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="plugins">{% trans 'Select export relational type:' %}</label>
|
||||
<label class="form-label" for="plugins">{{ t('Select export relational type:') }}</label>
|
||||
<select class="form-select" id="plugins" name="export_type">
|
||||
{% for option in plugins_choice %}
|
||||
<option value="{{ option.name }}"{{ option.is_selected ? ' selected' }}>{{ option.text }}</option>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
{% trans 'Details' %}
|
||||
{{ t('Details') }}
|
||||
{% if mode != 'edit' %}
|
||||
{{ show_mysql_docu('CREATE_EVENT') }}
|
||||
{% endif %}
|
||||
@ -21,13 +21,13 @@
|
||||
</colgroup>
|
||||
|
||||
<tr>
|
||||
<td>{% trans 'Event name' %}</td>
|
||||
<td>{{ t('Event name') }}</td>
|
||||
<td>
|
||||
<input type="text" name="item_name" value="{{ event.item_name }}" maxlength="64">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap">{% trans 'Status' %}</td>
|
||||
<td class="text-nowrap">{{ t('Status') }}</td>
|
||||
<td>
|
||||
<select name="item_status">
|
||||
{% for status in status_display %}
|
||||
@ -37,7 +37,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="text-nowrap">
|
||||
<td>{% trans 'Event type' %}</td>
|
||||
<td>{{ t('Event type') }}</td>
|
||||
<td>
|
||||
{% if is_ajax %}
|
||||
<select name="item_type">
|
||||
@ -55,13 +55,13 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="onetime_event_row{{ event.item_type != 'ONE TIME' ? ' hide' }}">
|
||||
<td class="text-nowrap">{% trans 'Execute at' %}</td>
|
||||
<td class="text-nowrap">{{ t('Execute at') }}</td>
|
||||
<td class="text-nowrap">
|
||||
<input type="text" name="item_execute_at" value="{{ event.item_execute_at }}" class="datetimefield">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="recurring_event_row{{ event.item_type != 'RECURRING' ? ' hide' }}">
|
||||
<td class="text-nowrap">{% trans 'Execute every' %}</td>
|
||||
<td class="text-nowrap">{{ t('Execute every') }}</td>
|
||||
<td>
|
||||
<input class="w-50" type="text" name="item_interval_value" value="{{ event.item_interval_value }}">
|
||||
<select class="w-50" name="item_interval_field">
|
||||
@ -72,19 +72,19 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="recurring_event_row{{ event.item_type != 'RECURRING' ? ' hide' }}">
|
||||
<td class="text-nowrap">{% trans %}Start{% context %}Start of recurring event{% endtrans %}</td>
|
||||
<td class="text-nowrap">{{ t('Start', context = 'Start of recurring event') }}</td>
|
||||
<td class="text-nowrap">
|
||||
<input type="text" name="item_starts" value="{{ event.item_starts }}" class="datetimefield">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="recurring_event_row{{ event.item_type != 'RECURRING' ? ' hide' }}">
|
||||
<td class="text-nowrap">{% trans %}End{% context %}End of recurring event{% endtrans %}</td>
|
||||
<td class="text-nowrap">{{ t('End', context = 'End of recurring event') }}</td>
|
||||
<td class="text-nowrap">
|
||||
<input type="text" name="item_ends" value="{{ event.item_ends }}" class="datetimefield">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap">{% trans 'Definition' %}</td>
|
||||
<td class="text-nowrap">{{ t('Definition') }}</td>
|
||||
<td>
|
||||
<textarea name="item_definition" rows="15" cols="40">
|
||||
{{- event.item_definition -}}
|
||||
@ -93,19 +93,19 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap">{% trans 'On completion preserve' %}</td>
|
||||
<td class="text-nowrap">{{ t('On completion preserve') }}</td>
|
||||
<td>
|
||||
<input type="checkbox" name="item_preserve"{{ event.item_preserve|raw }}>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap">{% trans 'Definer' %}</td>
|
||||
<td class="text-nowrap">{{ t('Definer') }}</td>
|
||||
<td>
|
||||
<input type="text" name="item_definer" value="{{ event.item_definer }}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap">{% trans 'Comment' %}</td>
|
||||
<td class="text-nowrap">{{ t('Comment') }}</td>
|
||||
<td>
|
||||
<input type="text" name="item_comment" value="{{ event.item_comment }}" maxlength="64">
|
||||
</td>
|
||||
@ -118,7 +118,7 @@
|
||||
<input type="hidden" name="ajax_request" value="true">
|
||||
{% else %}
|
||||
<div class="card-footer">
|
||||
<input class="btn btn-primary" type="submit" name="editor_process_{{ mode }}" value="{% trans 'Go' %}">
|
||||
<input class="btn btn-primary" type="submit" name="editor_process_{{ mode }}" value="{{ t('Go') }}">
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@ -11,13 +11,13 @@
|
||||
<div class="input-group-text">
|
||||
<div class="form-check mb-0">
|
||||
<input class="form-check-input checkall_box" type="checkbox" value="" id="checkAllCheckbox" form="rteListForm">
|
||||
<label class="form-check-label" for="checkAllCheckbox">{% trans 'Check all' %}</label>
|
||||
<label class="form-check-label" for="checkAllCheckbox">{{ t('Check all') }}</label>
|
||||
</div>
|
||||
</div>
|
||||
<button class="btn btn-outline-secondary" id="bulkActionExportButton" type="submit" name="submit_mult" value="export" form="rteListForm" title="{% trans 'Export' %}">
|
||||
<button class="btn btn-outline-secondary" id="bulkActionExportButton" type="submit" name="submit_mult" value="export" form="rteListForm" title="{{ t('Export') }}">
|
||||
{{ get_icon('b_export', t('Export')) }}
|
||||
</button>
|
||||
<button class="btn btn-outline-secondary" id="bulkActionDropButton" type="submit" name="submit_mult" value="drop" form="rteListForm" title="{% trans 'Drop' %}">
|
||||
<button class="btn btn-outline-secondary" id="bulkActionDropButton" type="submit" name="submit_mult" value="drop" form="rteListForm" title="{{ t('Drop') }}">
|
||||
{{ get_icon('b_drop', t('Drop')) }}
|
||||
</button>
|
||||
</div>
|
||||
@ -42,9 +42,9 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>{% trans 'Name' %}</th>
|
||||
<th>{% trans 'Status' %}</th>
|
||||
<th>{% trans 'Type' %}</th>
|
||||
<th>{{ t('Name') }}</th>
|
||||
<th>{{ t('Status') }}</th>
|
||||
<th>{{ t('Type') }}</th>
|
||||
<th colspan="3"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -111,12 +111,12 @@
|
||||
</form>
|
||||
|
||||
<div class="card mt-3">
|
||||
<div class="card-header">{% trans 'Event scheduler status' %}</div>
|
||||
<div class="card-header">{{ t('Event scheduler status') }}</div>
|
||||
<div class="card-body">
|
||||
<div class="wrap">
|
||||
<div class="wrapper toggleAjax hide">
|
||||
<div class="toggleButton">
|
||||
<div title="{% trans 'Click to toggle' %}" class="toggle-container {{ scheduler_state ? 'on' : 'off' }}">
|
||||
<div title="{{ t('Click to toggle') }}" class="toggle-container {{ scheduler_state ? 'on' : 'off' }}">
|
||||
<img src="{{ image('toggle-' ~ text_dir ~ '.png') }}">
|
||||
<table>
|
||||
<tbody>
|
||||
@ -129,7 +129,7 @@
|
||||
'sql_query': 'SET GLOBAL event_scheduler="ON"',
|
||||
}) -}}
|
||||
</span>
|
||||
<div>{% trans 'ON' %}</div>
|
||||
<div>{{ t('ON') }}</div>
|
||||
</td>
|
||||
<td><div> </div></td>
|
||||
<td class="toggleOff">
|
||||
@ -140,7 +140,7 @@
|
||||
'sql_query': 'SET GLOBAL event_scheduler="OFF"',
|
||||
}) -}}
|
||||
</span>
|
||||
<div>{% trans 'OFF' %}</div>
|
||||
<div>{{ t('OFF') }}</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
{% block title %}
|
||||
{% if export_type == 'raw' %}
|
||||
{% trans %}Exporting a raw query{% notes %}A query that the user has written freely{% endtrans %}
|
||||
{{ t('Exporting a raw query', notes = 'A query that the user has written freely') }}
|
||||
{% else %}
|
||||
{{ t('Exporting tables from "%s" database')|format(db) }}
|
||||
{% endif %}
|
||||
@ -11,7 +11,7 @@
|
||||
{% block selection_options %}
|
||||
{% if export_type != 'raw' %}
|
||||
<div class="card mb-3 d-none" id="databases_and_tables">
|
||||
<div class="card-header">{% trans 'Tables:' %}</div>
|
||||
<div class="card-header">{{ t('Tables:') }}</div>
|
||||
<div class="card-body" style="overflow-y: scroll; max-height: 20em;">
|
||||
<input type="hidden" name="structure_or_data_forced" value="{{ structure_or_data_forced }}">
|
||||
|
||||
@ -19,18 +19,18 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>{% trans 'Tables' %}</th>
|
||||
<th class="export_structure text-center">{% trans 'Structure' %}</th>
|
||||
<th class="export_data text-center">{% trans 'Data' %}</th>
|
||||
<th>{{ t('Tables') }}</th>
|
||||
<th class="export_structure text-center">{{ t('Structure') }}</th>
|
||||
<th class="export_data text-center">{{ t('Data') }}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="align-middle">{% trans 'Select all' %}</td>
|
||||
<td class="align-middle">{{ t('Select all') }}</td>
|
||||
<td class="export_structure text-center">
|
||||
<input type="checkbox" id="table_structure_all" aria-label="{% trans 'Export the structure of all tables.' %}">
|
||||
<input type="checkbox" id="table_structure_all" aria-label="{{ t('Export the structure of all tables.') }}">
|
||||
</td>
|
||||
<td class="export_data text-center">
|
||||
<input type="checkbox" id="table_data_all" aria-label="{% trans 'Export the data of all tables.' %}">
|
||||
<input type="checkbox" id="table_data_all" aria-label="{{ t('Export the data of all tables.') }}">
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -58,5 +58,5 @@
|
||||
{% endblock %}
|
||||
|
||||
{% set filename_hint %}
|
||||
{% trans '@SERVER@ will become the server name and @DATABASE@ will become the database name.' %}
|
||||
{{ t('@SERVER@ will become the server name and @DATABASE@ will become the database name.') }}
|
||||
{% endset %}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<div class="mb-3">
|
||||
<button class="btn btn-sm btn-secondary" type="button" data-bs-toggle="collapse" data-bs-target="#queryWindow" aria-expanded="true" aria-controls="queryWindow">
|
||||
{% trans 'Query window' %}
|
||||
{{ t('Query window') }}
|
||||
</button>
|
||||
</div>
|
||||
<div class="collapse show mb-3" id="queryWindow">
|
||||
@ -24,28 +24,28 @@
|
||||
<div class="card">
|
||||
<fieldset class="card-body">
|
||||
<select class="tableNameSelect">
|
||||
<option value="">{% trans 'select table' %}</option>
|
||||
<option value="">{{ t('select table') }}</option>
|
||||
{% for keyTableName, table in tables %}
|
||||
<option data-hash="{{ table.hash }}" value="{{ keyTableName }}">{{ keyTableName }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<span>.</span>
|
||||
<select class="columnNameSelect">
|
||||
<option value="">{% trans 'select column' %}</option>
|
||||
<option value="">{{ t('select column') }}</option>
|
||||
</select>
|
||||
<br>
|
||||
<input type="checkbox" checked="checked" class="show_col">
|
||||
<span>{% trans 'Show' %}</span>
|
||||
<span>{{ t('Show') }}</span>
|
||||
<br>
|
||||
<input type="text" placeholder="{% trans 'Table alias' %}" class="table_alias">
|
||||
<input type="text" placeholder="{% trans 'Column alias' %}" class="col_alias">
|
||||
<input type="text" placeholder="{{ t('Table alias') }}" class="table_alias">
|
||||
<input type="text" placeholder="{{ t('Column alias') }}" class="col_alias">
|
||||
<br>
|
||||
<input type="checkbox"
|
||||
title="{% trans 'Use this column in criteria' %}"
|
||||
title="{{ t('Use this column in criteria') }}"
|
||||
class="criteria_col">
|
||||
|
||||
<button class="btn btn-link p-0 jsCriteriaButton" type="button" data-bs-toggle="collapse" data-bs-target="#criteriaOptions{{ id }}" aria-expanded="false" aria-controls="criteriaOptions{{ id }}">
|
||||
{% trans 'criteria' %}
|
||||
{{ t('criteria') }}
|
||||
</button>
|
||||
<div class="collapse jsCriteriaOptions" id="criteriaOptions{{ id }}">
|
||||
|
||||
@ -53,13 +53,13 @@
|
||||
<table class="table table-sm table-borderless align-middle w-auto">
|
||||
|
||||
<tr class="sort_order">
|
||||
<td>{% trans 'Sort' %}</td>
|
||||
<td><input type="radio" name="sort[{{ id }}]">{% trans 'Ascending' %}</td>
|
||||
<td><input type="radio" name="sort[{{ id }}]">{% trans 'Descending' %}</td>
|
||||
<td>{{ t('Sort') }}</td>
|
||||
<td><input type="radio" name="sort[{{ id }}]">{{ t('Ascending') }}</td>
|
||||
<td><input type="radio" name="sort[{{ id }}]">{{ t('Descending') }}</td>
|
||||
</tr>
|
||||
|
||||
<tr class="logical_operator">
|
||||
<td>{% trans 'Add as' %}</td>
|
||||
<td>{{ t('Add as') }}</td>
|
||||
<td>
|
||||
<input type="radio"
|
||||
name="logical_op[{{ id }}]"
|
||||
@ -104,8 +104,8 @@
|
||||
</td>
|
||||
<td>
|
||||
<select class="criteria_rhs">
|
||||
<option value="text">{% trans 'Text' %}</option>
|
||||
<option value="anotherColumn">{% trans 'Another column' %}</option>
|
||||
<option value="text">{{ t('Text') }}</option>
|
||||
<option value="anotherColumn">{{ t('Another column') }}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
@ -114,7 +114,7 @@
|
||||
<td></td>
|
||||
<td>
|
||||
<select class="tableNameSelect">
|
||||
<option value="">{% trans 'select table' %}</option>
|
||||
<option value="">{{ t('select table') }}</option>
|
||||
{% for keyTableName, table in tables %}
|
||||
<option data-hash="{{ table.hash }}" value="{{ keyTableName }}">{{ keyTableName }}</option>
|
||||
{% endfor %}
|
||||
@ -122,7 +122,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<select class="columnNameSelect">
|
||||
<option value="">{% trans 'select column' %}</option>
|
||||
<option value="">{{ t('select column') }}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
@ -132,14 +132,14 @@
|
||||
<td colspan="2">
|
||||
<input type="text"
|
||||
class="rhs_text_val"
|
||||
placeholder="{% trans 'Enter criteria as free text' %}">
|
||||
placeholder="{{ t('Enter criteria as free text') }}">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<button type="button" class="btn-close position-absolute top-0 end-0 jsRemoveColumn" aria-label="{% trans 'Remove this column' %}"></button>
|
||||
<button type="button" class="btn-close position-absolute top-0 end-0 jsRemoveColumn" aria-label="{{ t('Remove this column') }}"></button>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
@ -147,7 +147,7 @@
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<input class="btn btn-secondary" type="button" value="{% trans '+ Add column' %}" id="add_column_button">
|
||||
<input class="btn btn-secondary" type="button" value="{{ t('+ Add column') }}" id="add_column_button">
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@ -162,8 +162,8 @@
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<input class="btn btn-secondary" type="button" id="update_query_button" value="{% trans 'Update query' %}">
|
||||
<input class="btn btn-primary" type="button" id="submit_query" value="{% trans 'Submit query' %}">
|
||||
<input class="btn btn-secondary" type="button" id="update_query_button" value="{{ t('Update query') }}">
|
||||
<input class="btn btn-primary" type="button" id="submit_query" value="{{ t('Submit query') }}">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@ -11,13 +11,13 @@
|
||||
<div class="card-body">
|
||||
<div class="row g-3">
|
||||
<div class="col-auto">
|
||||
<label class="visually-hidden" for="databaseCommentInput">{% trans 'Database comment' %}</label>
|
||||
<label class="visually-hidden" for="databaseCommentInput">{{ t('Database comment') }}</label>
|
||||
<input class="form-control textfield" id="databaseCommentInput" type="text" name="comment" value="{{ db_comment }}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer text-end">
|
||||
<input class="btn btn-primary" type="submit" value="{% trans 'Go' %}">
|
||||
<input class="btn btn-primary" type="submit" value="{{ t('Go') }}">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@ -28,16 +28,16 @@
|
||||
<div class="card-header">{{ get_icon('b_table_add', t('Create new table'), true) }}</div>
|
||||
<div class="card-body row row-cols-lg-auto g-3">
|
||||
<div class="col-md-6">
|
||||
<label for="createTableNameInput" class="form-label">{% trans 'Table name' %}</label>
|
||||
<label for="createTableNameInput" class="form-label">{{ t('Table name') }}</label>
|
||||
<input type="text" class="form-control" name="table" id="createTableNameInput" maxlength="64" required>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label for="createTableNumFieldsInput" class="form-label">{% trans 'Number of columns' %}</label>
|
||||
<label for="createTableNumFieldsInput" class="form-label">{{ t('Number of columns') }}</label>
|
||||
<input type="number" class="form-control" name="num_fields" id="createTableNumFieldsInput" min="1" value="4" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer text-end">
|
||||
<input class="btn btn-primary" type="submit" value="{% trans 'Create' %}">
|
||||
<input class="btn btn-primary" type="submit" value="{{ t('Create') }}">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@ -56,7 +56,7 @@
|
||||
<div class="card-body">
|
||||
<div class="mb-3 row g-3">
|
||||
<div class="col-auto">
|
||||
<label class="visually-hidden" for="new_db_name">{% trans 'New database name' %}</label>
|
||||
<label class="visually-hidden" for="new_db_name">{{ t('New database name') }}</label>
|
||||
<input class="form-control textfield" id="new_db_name" type="text" name="newname" maxlength="64" value="{{ db }}" required>
|
||||
</div>
|
||||
</div>
|
||||
@ -64,16 +64,16 @@
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="adjust_privileges" value="1" id="checkbox_adjust_privileges"
|
||||
{%- if has_adjust_privileges %} checked{% else %} title="
|
||||
{%- trans 'You don\'t have sufficient privileges to perform this operation; Please refer to the documentation for more details.' %}" disabled{% endif %}>
|
||||
{{- t("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details.") }}" disabled{% endif %}>
|
||||
<label class="form-check-label" for="checkbox_adjust_privileges">
|
||||
{% trans 'Adjust privileges' %}
|
||||
{{ t('Adjust privileges') }}
|
||||
{{ show_docu('faq', 'faq6-39') }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-footer text-end">
|
||||
<input class="btn btn-primary" type="submit" value="{% trans 'Go' %}">
|
||||
<input class="btn btn-primary" type="submit" value="{{ t('Go') }}">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@ -120,7 +120,7 @@
|
||||
<div class="card-body">
|
||||
<div class="mb-3 row g-3">
|
||||
<div class="col-auto">
|
||||
<label class="visually-hidden" for="renameDbNameInput">{% trans 'Database name' %}</label>
|
||||
<label class="visually-hidden" for="renameDbNameInput">{{ t('Database name') }}</label>
|
||||
<input class="form-control textfield" id="renameDbNameInput" type="text" name="newname" maxlength="64" value="{{ db }}" required>
|
||||
</div>
|
||||
</div>
|
||||
@ -129,26 +129,26 @@
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="what" id="whatRadio1" value="structure">
|
||||
<label class="form-check-label" for="whatRadio1">
|
||||
{% trans 'Structure only' %}
|
||||
{{ t('Structure only') }}
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="what" id="whatRadio2" value="data" checked>
|
||||
<label class="form-check-label" for="whatRadio2">
|
||||
{% trans 'Structure and data' %}
|
||||
{{ t('Structure and data') }}
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="what" id="whatRadio3" value="dataonly">
|
||||
<label class="form-check-label" for="whatRadio3">
|
||||
{% trans 'Data only' %}
|
||||
{{ t('Data only') }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="create_database_before_copying" value="1" id="checkbox_create_database_before_copying" checked>
|
||||
<label class="form-check-label" for="checkbox_create_database_before_copying">{% trans 'CREATE DATABASE before copying' %}</label>
|
||||
<label class="form-check-label" for="checkbox_create_database_before_copying">{{ t('CREATE DATABASE before copying') }}</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
@ -158,32 +158,32 @@
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="sql_auto_increment" value="1" id="checkbox_auto_increment" checked>
|
||||
<label class="form-check-label" for="checkbox_auto_increment">{% trans 'Add AUTO_INCREMENT value' %}</label>
|
||||
<label class="form-check-label" for="checkbox_auto_increment">{{ t('Add AUTO_INCREMENT value') }}</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="add_constraints" value="1" id="checkbox_constraints" checked>
|
||||
<label class="form-check-label" for="checkbox_constraints">{% trans 'Add constraints' %}</label>
|
||||
<label class="form-check-label" for="checkbox_constraints">{{ t('Add constraints') }}</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="adjust_privileges" value="1" id="checkbox_privileges"
|
||||
{%- if has_adjust_privileges %} checked{% else %} title="
|
||||
{%- trans 'You don\'t have sufficient privileges to perform this operation; Please refer to the documentation for more details.' %}" disabled{% endif %}>
|
||||
{{- t("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details.") }}" disabled{% endif %}>
|
||||
<label class="form-check-label" for="checkbox_privileges">
|
||||
{% trans 'Adjust privileges' %}
|
||||
{{ t('Adjust privileges') }}
|
||||
{{ show_docu('faq', 'faq6-39') }}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="switch_to_new" value="true" id="checkbox_switch"{{ switch_to_new ? ' checked' }}>
|
||||
<label class="form-check-label" for="checkbox_switch">{% trans 'Switch to copied database' %}</label>
|
||||
<label class="form-check-label" for="checkbox_switch">{{ t('Switch to copied database') }}</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-footer text-end">
|
||||
<input class="btn btn-primary" type="submit" name="submit_copy" value="{% trans 'Go' %}">
|
||||
<input class="btn btn-primary" type="submit" name="submit_copy" value="{{ t('Go') }}">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@ -196,7 +196,7 @@
|
||||
<div class="card-body">
|
||||
<div class="mb-3 row g-3">
|
||||
<div class="col-auto">
|
||||
<label class="visually-hidden" for="select_db_collation">{% trans 'Collation' %}</label>
|
||||
<label class="visually-hidden" for="select_db_collation">{{ t('Collation') }}</label>
|
||||
<select class="form-select" lang="en" dir="ltr" name="db_collation" id="select_db_collation">
|
||||
<option value=""></option>
|
||||
{% for charset in charsets %}
|
||||
@ -214,16 +214,16 @@
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="change_all_tables_collations" id="checkbox_change_all_tables_collations">
|
||||
<label class="form-check-label" for="checkbox_change_all_tables_collations">{% trans 'Change all tables collations' %}</label>
|
||||
<label class="form-check-label" for="checkbox_change_all_tables_collations">{{ t('Change all tables collations') }}</label>
|
||||
</div>
|
||||
<div class="form-check" id="span_change_all_tables_columns_collations">
|
||||
<input class="form-check-input" type="checkbox" name="change_all_tables_columns_collations" id="checkbox_change_all_tables_columns_collations">
|
||||
<label class="form-check-label" for="checkbox_change_all_tables_columns_collations">{% trans 'Change all tables columns collations' %}</label>
|
||||
<label class="form-check-label" for="checkbox_change_all_tables_columns_collations">{{ t('Change all tables columns collations') }}</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-footer text-end">
|
||||
<input class="btn btn-primary" type="submit" value="{% trans 'Go' %}">
|
||||
<input class="btn btn-primary" type="submit" value="{{ t('Go') }}">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@ -14,12 +14,12 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th scope="col">{% trans 'User name' %}</th>
|
||||
<th scope="col">{% trans 'Host name' %}</th>
|
||||
<th scope="col">{% trans 'Type' %}</th>
|
||||
<th scope="col">{% trans 'Privileges' %}</th>
|
||||
<th scope="col">{% trans 'Grant' %}</th>
|
||||
<th scope="col" colspan="2">{% trans 'Action' %}</th>
|
||||
<th scope="col">{{ t('User name') }}</th>
|
||||
<th scope="col">{{ t('Host name') }}</th>
|
||||
<th scope="col">{{ t('Type') }}</th>
|
||||
<th scope="col">{{ t('Privileges') }}</th>
|
||||
<th scope="col">{{ t('Grant') }}</th>
|
||||
<th scope="col" colspan="2">{{ t('Action') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
</td>
|
||||
<td{% if privileges_amount > 1 %} class="align-middle" rowspan="{{ privileges_amount }}"{% endif %}>
|
||||
{% if privilege.user is empty %}
|
||||
<span class="text-danger">{% trans 'Any' %}</span>
|
||||
<span class="text-danger">{{ t('Any') }}</span>
|
||||
{% else %}
|
||||
{{ privilege.user }}
|
||||
{% endif %}
|
||||
@ -44,15 +44,15 @@
|
||||
{% for priv in privilege.privileges %}
|
||||
<td>
|
||||
{% if priv.type == 'g' %}
|
||||
{% trans 'global' %}
|
||||
{{ t('global') }}
|
||||
{% elseif priv.type == 'd' %}
|
||||
{% if priv.database == db|replace({'_': '\\_', '%': '\\%'}) %}
|
||||
{% trans 'database-specific' %}
|
||||
{{ t('database-specific') }}
|
||||
{% else %}
|
||||
{% trans 'wildcard' %}: <code>{{ priv.database }}</code>
|
||||
{{ t('wildcard') }}: <code>{{ priv.database }}</code>
|
||||
{% endif %}
|
||||
{% elseif priv.type == 'r' %}
|
||||
{% trans 'routine' %}
|
||||
{{ t('routine') }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
@ -99,7 +99,7 @@
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan="7">
|
||||
{% trans 'No user found.' %}
|
||||
{{ t('No user found.') }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
@ -109,10 +109,10 @@
|
||||
|
||||
<div>
|
||||
{{ get_image('select_all_arrow', t('With selected:'), {'dir': text_dir, 'width': '38', 'height': '22'}) }}
|
||||
<input type="checkbox" id="usersForm_checkall" class="checkall_box" title="{% trans 'Check all' %}">
|
||||
<label for="usersForm_checkall">{% trans 'Check all' %}</label>
|
||||
<em class="with-selected">{% trans 'With selected:' %}</em>
|
||||
<button class="btn btn-link mult_submit" type="submit" name="submit_mult" value="export" title="{% trans 'Export' %}">
|
||||
<input type="checkbox" id="usersForm_checkall" class="checkall_box" title="{{ t('Check all') }}">
|
||||
<label for="usersForm_checkall">{{ t('Check all') }}</label>
|
||||
<em class="with-selected">{{ t('With selected:') }}</em>
|
||||
<button class="btn btn-link mult_submit" type="submit" name="submit_mult" value="export" title="{{ t('Export') }}">
|
||||
{{ get_icon('b_tblexport', t('Export')) }}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
{% trans 'Details' %}
|
||||
{{ t('Details') }}
|
||||
{% if not is_edit_mode %}
|
||||
{{ show_mysql_docu('CREATE_PROCEDURE') }}
|
||||
{% endif %}
|
||||
@ -22,13 +22,13 @@
|
||||
</colgroup>
|
||||
|
||||
<tr>
|
||||
<td class="text-nowrap">{% trans 'Routine name' %}</td>
|
||||
<td class="text-nowrap">{{ t('Routine name') }}</td>
|
||||
<td>
|
||||
<input type="text" name="item_name" maxlength="64" value="{{ routine.item_name }}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap">{% trans 'Type' %}</td>
|
||||
<td class="text-nowrap">{{ t('Type') }}</td>
|
||||
<td>
|
||||
{% if is_ajax %}
|
||||
<select name="item_type">
|
||||
@ -45,17 +45,17 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap">{% trans 'Parameters' %}</td>
|
||||
<td class="text-nowrap">{{ t('Parameters') }}</td>
|
||||
<td>
|
||||
<table class="routine_params_table table table-borderless table-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
<td></td>
|
||||
<th class="routine_direction_cell{{ routine.item_type == 'FUNCTION' ? ' hide' }}">{% trans 'Direction' %}</th>
|
||||
<th>{% trans 'Name' %}</th>
|
||||
<th>{% trans 'Type' %}</th>
|
||||
<th>{% trans 'Length/Values' %}</th>
|
||||
<th colspan="2">{% trans 'Options' %}</th>
|
||||
<th class="routine_direction_cell{{ routine.item_type == 'FUNCTION' ? ' hide' }}">{{ t('Direction') }}</th>
|
||||
<th>{{ t('Name') }}</th>
|
||||
<th>{{ t('Type') }}</th>
|
||||
<th>{{ t('Length/Values') }}</th>
|
||||
<th colspan="2">{{ t('Options') }}</th>
|
||||
<th class="routine_param_remove hide"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -69,15 +69,15 @@
|
||||
<td></td>
|
||||
<td>
|
||||
{% if is_ajax %}
|
||||
<button type="button" class="btn btn-primary" id="addRoutineParameterButton">{% trans 'Add parameter' %}</button>
|
||||
<button type="button" class="btn btn-primary" id="addRoutineParameterButton">{{ t('Add parameter') }}</button>
|
||||
{% else %}
|
||||
<input type="submit" class="btn btn-primary" name="routine_addparameter" value="{% trans 'Add parameter' %}">
|
||||
<input type="submit" class="btn btn-secondary" name="routine_removeparameter" value="{% trans 'Remove last parameter' %}"{{ not routine.item_num_params ? ' disabled' }}>
|
||||
<input type="submit" class="btn btn-primary" name="routine_addparameter" value="{{ t('Add parameter') }}">
|
||||
<input type="submit" class="btn btn-secondary" name="routine_removeparameter" value="{{ t('Remove last parameter') }}"{{ not routine.item_num_params ? ' disabled' }}>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="routine_return_row{{ routine.item_type == 'PROCEDURE' ? ' hide' }}">
|
||||
<td class="text-nowrap">{% trans 'Return type' %}</td>
|
||||
<td class="text-nowrap">{{ t('Return type') }}</td>
|
||||
<td>
|
||||
<select name="item_returntype">
|
||||
{{ get_supported_datatypes(routine.item_returntype) }}
|
||||
@ -85,18 +85,18 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="routine_return_row{{ routine.item_type == 'PROCEDURE' ? ' hide' }}">
|
||||
<td class="text-nowrap">{% trans 'Return length/values' %}</td>
|
||||
<td class="text-nowrap">{{ t('Return length/values') }}</td>
|
||||
<td>
|
||||
<input type="text" name="item_returnlength" value="{{ routine.item_returnlength }}">
|
||||
</td>
|
||||
<td class="hide no_len">---</td>
|
||||
</tr>
|
||||
<tr class="routine_return_row{{ routine.item_type == 'PROCEDURE' ? ' hide' }}">
|
||||
<td class="text-nowrap">{% trans 'Return options' %}</td>
|
||||
<td class="text-nowrap">{{ t('Return options') }}</td>
|
||||
<td>
|
||||
<div>
|
||||
<select lang="en" dir="ltr" name="item_returnopts_text">
|
||||
<option value="">{% trans 'Charset' %}</option>
|
||||
<option value="">{{ t('Charset') }}</option>
|
||||
<option value=""></option>
|
||||
{% for charset in charsets %}
|
||||
<option value="{{ charset.getName() }}" title="{{ charset.getDescription() }}"{{ routine.item_returnopts_text == charset.getName() ? ' selected' }}>{{ charset.getName() }}</option>
|
||||
@ -115,14 +115,14 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap">{% trans 'Definition' %}</td>
|
||||
<td class="text-nowrap">{{ t('Definition') }}</td>
|
||||
<td>
|
||||
<textarea name="item_definition" rows="15" cols="40">{{ routine.item_definition }}</textarea><br>
|
||||
<input type="button" value="{{ t('Format') }}" id="format" class="btn btn-secondary button sqlbutton">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap">{% trans 'Is deterministic' %}</td>
|
||||
<td class="text-nowrap">{{ t('Is deterministic') }}</td>
|
||||
<td>
|
||||
<input type="checkbox" name="item_isdeterministic"{{ routine.item_isdeterministic|raw }}>
|
||||
</td>
|
||||
@ -131,27 +131,27 @@
|
||||
{% if is_edit_mode %}
|
||||
<tr>
|
||||
<td class="text-nowrap">
|
||||
{% trans 'Adjust privileges' %}
|
||||
{{ t('Adjust privileges') }}
|
||||
{{ show_docu('faq', 'faq6-39') }}
|
||||
</td>
|
||||
<td>
|
||||
{% if has_privileges %}
|
||||
<input type="checkbox" name="item_adjust_privileges" value="1" checked>
|
||||
{% else %}
|
||||
<input type="checkbox" name="item_adjust_privileges" value="1" title="{% trans 'You do not have sufficient privileges to perform this operation; Please refer to the documentation for more details.' %}" disabled>
|
||||
<input type="checkbox" name="item_adjust_privileges" value="1" title="{{ t('You do not have sufficient privileges to perform this operation; Please refer to the documentation for more details.') }}" disabled>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
||||
<tr>
|
||||
<td class="text-nowrap">{% trans 'Definer' %}</td>
|
||||
<td class="text-nowrap">{{ t('Definer') }}</td>
|
||||
<td>
|
||||
<input type="text" name="item_definer" value="{{ routine.item_definer }}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap">{% trans 'Security type' %}</td>
|
||||
<td class="text-nowrap">{{ t('Security type') }}</td>
|
||||
<td>
|
||||
<select name="item_securitytype">
|
||||
<option value="DEFINER"{{ routine.item_securitytype_definer|raw }}>DEFINER</option>
|
||||
@ -160,7 +160,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap">{% trans 'SQL data access' %}</td>
|
||||
<td class="text-nowrap">{{ t('SQL data access') }}</td>
|
||||
<td>
|
||||
<select name="item_sqldataaccess">
|
||||
{% for value in sql_data_access %}
|
||||
@ -170,7 +170,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-nowrap">{% trans 'Comment' %}</td>
|
||||
<td class="text-nowrap">{{ t('Comment') }}</td>
|
||||
<td>
|
||||
<input type="text" name="item_comment" maxlength="64" value="{{ routine.item_comment }}">
|
||||
</td>
|
||||
@ -183,7 +183,7 @@
|
||||
<input type="hidden" name="ajax_request" value="true">
|
||||
{% else %}
|
||||
<div class="card-footer">
|
||||
<input class="btn btn-primary" type="submit" name="{{ is_edit_mode ? 'editor_process_edit' : 'editor_process_add' }}" value="{% trans 'Go' %}">
|
||||
<input class="btn btn-primary" type="submit" name="{{ is_edit_mode ? 'editor_process_edit' : 'editor_process_add' }}" value="{{ t('Go') }}">
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@ -9,15 +9,15 @@
|
||||
<div class="card-body">
|
||||
<table class="table w-auto rte_table{{ not ajax ? ' caption-top' }}">
|
||||
{% if not ajax %}
|
||||
<caption>{% trans 'Routine parameters' %}</caption>
|
||||
<caption>{{ t('Routine parameters') }}</caption>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<th>{% trans 'Name' %}</th>
|
||||
<th>{% trans 'Type' %}</th>
|
||||
<th>{{ t('Name') }}</th>
|
||||
<th>{{ t('Type') }}</th>
|
||||
{% if show_function_fields %}
|
||||
<th>{% trans 'Function' %}</th>
|
||||
<th>{{ t('Function') }}</th>
|
||||
{% endif %}
|
||||
<th>{% trans 'Value' %}</th>
|
||||
<th>{{ t('Value') }}</th>
|
||||
</tr>
|
||||
{% for i in 0..routine['item_num_params'] - 1 %}
|
||||
<tr>
|
||||
@ -52,7 +52,7 @@
|
||||
|
||||
{% if not ajax %}
|
||||
<div class="card-footer">
|
||||
<input class="btn btn-primary" type="submit" name="execute_routine" value="{% trans 'Go' %}">
|
||||
<input class="btn btn-primary" type="submit" name="execute_routine" value="{{ t('Go') }}">
|
||||
</div>
|
||||
{% else %}
|
||||
<input type="hidden" name="execute_routine" value="true">
|
||||
|
||||
@ -11,13 +11,13 @@
|
||||
<div class="input-group-text">
|
||||
<div class="form-check mb-0">
|
||||
<input class="form-check-input checkall_box" type="checkbox" value="" id="checkAllCheckbox" form="rteListForm">
|
||||
<label class="form-check-label" for="checkAllCheckbox">{% trans 'Check all' %}</label>
|
||||
<label class="form-check-label" for="checkAllCheckbox">{{ t('Check all') }}</label>
|
||||
</div>
|
||||
</div>
|
||||
<button class="btn btn-outline-secondary" id="bulkActionExportButton" type="submit" name="submit_mult" value="export" form="rteListForm" title="{% trans 'Export' %}">
|
||||
<button class="btn btn-outline-secondary" id="bulkActionExportButton" type="submit" name="submit_mult" value="export" form="rteListForm" title="{{ t('Export') }}">
|
||||
{{ get_icon('b_export', t('Export')) }}
|
||||
</button>
|
||||
<button class="btn btn-outline-secondary" id="bulkActionDropButton" type="submit" name="submit_mult" value="drop" form="rteListForm" title="{% trans 'Drop' %}">
|
||||
<button class="btn btn-outline-secondary" id="bulkActionDropButton" type="submit" name="submit_mult" value="drop" form="rteListForm" title="{{ t('Drop') }}">
|
||||
{{ get_icon('b_drop', t('Drop')) }}
|
||||
</button>
|
||||
</div>
|
||||
@ -26,7 +26,7 @@
|
||||
<div class="ms-auto">
|
||||
<div class="input-group">
|
||||
<span class="input-group-text">{{ get_image('b_search', t('Search')) }}</span>
|
||||
<input class="form-control" name="filterText" type="text" id="filterText" value="" placeholder="{% trans 'Search' %}" aria-label="{% trans 'Search' %}">
|
||||
<input class="form-control" name="filterText" type="text" id="filterText" value="" placeholder="{{ t('Search') }}" aria-label="{{ t('Search') }}">
|
||||
</div>
|
||||
</div>
|
||||
{%- endif %}
|
||||
@ -49,9 +49,9 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>{% trans 'Name' %}</th>
|
||||
<th>{% trans 'Type' %}</th>
|
||||
<th>{% trans 'Returns' %}</th>
|
||||
<th>{{ t('Name') }}</th>
|
||||
<th>{{ t('Type') }}</th>
|
||||
<th>{{ t('Returns') }}</th>
|
||||
<th colspan="4"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
<td class="hide no_len">---</td>
|
||||
<td class="routine_param_opts_text">
|
||||
<select lang="en" dir="ltr" name="item_param_opts_text[{{ index }}]">
|
||||
<option value="">{% trans 'Charset' %}</option>
|
||||
<option value="">{{ t('Charset') }}</option>
|
||||
<option value=""></option>
|
||||
{% for charset in charsets %}
|
||||
<option value="{{ charset.name }}" title="{{ charset.description }}"{{ charset.is_selected ? ' selected' }}>
|
||||
|
||||
@ -1,46 +1,46 @@
|
||||
<div class="container">
|
||||
<h2>{% trans 'Search in database' %}</h2>
|
||||
<h2>{{ t('Search in database') }}</h2>
|
||||
|
||||
<a id="db_search"></a>
|
||||
<form id="db_search_form" method="post" action="{{ url('/database/search') }}" name="db_search" class="card mb-3 ajax lock-page">
|
||||
{{ get_hidden_inputs(db) }}
|
||||
<div class="card-body">
|
||||
<div class="mb-3">
|
||||
<label for="criteriaSearchString" class="form-label">{% trans 'Words or values to search for (wildcard: "%"):' %}</label>
|
||||
<label for="criteriaSearchString" class="form-label">{{ t('Words or values to search for (wildcard: "%"):') }}</label>
|
||||
<input type="text" class="form-control" id="criteriaSearchString" name="criteriaSearchString" value="{{ criteria_search_string }}">
|
||||
</div>
|
||||
|
||||
<fieldset class="mb-3">
|
||||
<legend>{% trans 'Find:' %}</legend>
|
||||
<legend>{{ t('Find:') }}</legend>
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="criteriaSearchType" id="criteriaSearchTypeRadio1" value="1"{{ criteria_search_type == '1' ? ' checked' }}>
|
||||
<label class="form-check-label" for="criteriaSearchTypeRadio1">{% trans 'at least one of the words' %} {{ show_hint(t('Words are separated by a space character (" ").')) }}</label>
|
||||
<label class="form-check-label" for="criteriaSearchTypeRadio1">{{ t('at least one of the words') }} {{ show_hint(t('Words are separated by a space character (" ").')) }}</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="criteriaSearchType" id="criteriaSearchTypeRadio2" value="2"{{ criteria_search_type == '2' ? ' checked' }}>
|
||||
<label class="form-check-label" for="criteriaSearchTypeRadio2">{% trans 'all of the words' %} {{ show_hint(t('Words are separated by a space character (" ").')) }}</label>
|
||||
<label class="form-check-label" for="criteriaSearchTypeRadio2">{{ t('all of the words') }} {{ show_hint(t('Words are separated by a space character (" ").')) }}</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="criteriaSearchType" id="criteriaSearchTypeRadio3" value="3"{{ criteria_search_type == '3' ? ' checked' }}>
|
||||
<label class="form-check-label" for="criteriaSearchTypeRadio3">{% trans 'the exact phrase as substring' %}</label>
|
||||
<label class="form-check-label" for="criteriaSearchTypeRadio3">{{ t('the exact phrase as substring') }}</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="criteriaSearchType" id="criteriaSearchTypeRadio4" value="4"{{ criteria_search_type == '4' ? ' checked' }}>
|
||||
<label class="form-check-label" for="criteriaSearchTypeRadio4">{% trans 'the exact phrase as whole field' %}</label>
|
||||
<label class="form-check-label" for="criteriaSearchTypeRadio4">{{ t('the exact phrase as whole field') }}</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="criteriaSearchType" id="criteriaSearchTypeRadio5" value="5"{{ criteria_search_type == '5' ? ' checked' }}>
|
||||
<label class="form-check-label" for="criteriaSearchTypeRadio5">{% trans 'as regular expression' %} {{ show_mysql_docu('Regexp') }}</label>
|
||||
<label class="form-check-label" for="criteriaSearchTypeRadio5">{{ t('as regular expression') }} {{ show_mysql_docu('Regexp') }}</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="mb-3">
|
||||
<legend>{% trans 'Inside tables:' %}</legend>
|
||||
<legend>{{ t('Inside tables:') }}</legend>
|
||||
|
||||
<div>
|
||||
<button type="button" class="btn btn-link" id="select_all">{% trans 'Select all' %}</button>
|
||||
<button type="button" class="btn btn-link" id="unselect_all">{% trans 'Unselect all' %}</button>
|
||||
<button type="button" class="btn btn-link" id="select_all">{{ t('Select all') }}</button>
|
||||
<button type="button" class="btn btn-link" id="unselect_all">{{ t('Unselect all') }}</button>
|
||||
</div>
|
||||
<select class="form-select" id="criteriaTables" name="criteriaTables[]" multiple>
|
||||
{% for each_table in tables_names_only %}
|
||||
@ -58,12 +58,12 @@
|
||||
</fieldset>
|
||||
|
||||
<div>
|
||||
<label for="criteriaColumnName" class="form-label">{% trans 'Inside column:' %}</label>
|
||||
<label for="criteriaColumnName" class="form-label">{{ t('Inside column:') }}</label>
|
||||
<input type="text" class="form-control" id="criteriaColumnName" name="criteriaColumnName" value="{{ criteria_column_name is not empty ? criteria_column_name }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<input id="buttonGo" class="btn btn-primary" type="submit" name="submit_search" value="{% trans 'Search' %}">
|
||||
<input id="buttonGo" class="btn btn-primary" type="submit" name="submit_search" value="{{ t('Search') }}">
|
||||
</div>
|
||||
</form>
|
||||
<div id="togglesearchformdiv">
|
||||
|
||||
@ -8,14 +8,7 @@
|
||||
{% for row in rows %}
|
||||
<tr class="noclick">
|
||||
<td>
|
||||
{%- set result_message -%}
|
||||
{% trans %}
|
||||
%1$s match in <strong>%2$s</strong>
|
||||
{% plural row.result_count %}
|
||||
%1$s matches in <strong>%2$s</strong>
|
||||
{% endtrans %}
|
||||
{%- endset -%}
|
||||
{{- result_message|format(row.result_count, row.table|e)|raw -}}
|
||||
{{ t('%1$s match in <strong>%2$s</strong>', '%1$s matches in <strong>%2$s</strong>', row.result_count)|format(row.result_count, row.table|e)|raw }}
|
||||
</td>
|
||||
{%- if row.result_count > 0 -%}
|
||||
{%- set url_params = {
|
||||
@ -29,13 +22,13 @@
|
||||
class="btn btn-link p-0 ajax browse_results"
|
||||
data-href="{{ url('/sql', url_params) }}"
|
||||
data-browse-sql="{{ row.new_search_sqls.select_columns }}"
|
||||
data-table-name="{{ row.table }}">{% trans 'Browse' %}</button>
|
||||
data-table-name="{{ row.table }}">{{ t('Browse') }}</button>
|
||||
</td>
|
||||
<td><button
|
||||
class="btn btn-link p-0 ajax delete_results"
|
||||
data-href="{{ url('/sql', url_params) }}"
|
||||
data-delete-sql="{{ row.new_search_sqls.delete }}"
|
||||
data-table-name="{{ row.table }}">{% trans 'Delete' %}</button>
|
||||
data-table-name="{{ row.table }}">{{ t('Delete') }}</button>
|
||||
</td>
|
||||
{%- else -%}
|
||||
<td></td>
|
||||
@ -47,10 +40,6 @@
|
||||
|
||||
{% if criteria_tables|length > 1 %}
|
||||
<p>
|
||||
{% trans %}
|
||||
<strong>Total:</strong> <em>{{ count }}</em> match
|
||||
{% plural result_total %}
|
||||
<strong>Total:</strong> <em>{{ count }}</em> matches
|
||||
{% endtrans %}
|
||||
{{ t('<strong>Total:</strong> <em>%s</em> match', '<strong>Total:</strong> <em>%s</em> matches', result_total)|format(count)|raw }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<form id="ajax_form" action="{{ url('/database/structure/add-prefix-table') }}" method="post">
|
||||
{{ get_hidden_inputs(url_params) }}
|
||||
<div>
|
||||
<label for="addTablePrefixInput" class="form-label">{% trans 'Add prefix' %}</label>
|
||||
<label for="addTablePrefixInput" class="form-label">{{ t('Add prefix') }}</label>
|
||||
<input type="text" class="form-control" id="addTablePrefixInput" name="add_prefix">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@ -2,19 +2,16 @@
|
||||
<tr>
|
||||
<th class="d-print-none"></th>
|
||||
<th class="tbl_num text-nowrap">
|
||||
{% set num_tables_trans -%}
|
||||
{% trans %}%s table{% plural num_tables %}%s tables{% endtrans %}
|
||||
{%- endset %}
|
||||
{{ num_tables_trans|format(format_number(num_tables, 0)) }}
|
||||
{{ t('%s table', '%s tables', num_tables)|format(format_number(num_tables, 0)) }}
|
||||
</th>
|
||||
{% if server_replica_status %}
|
||||
<th>{% trans 'Replication' %}</th>
|
||||
<th>{{ t('Replication') }}</th>
|
||||
{% endif %}
|
||||
{% set sum_colspan = db_is_system_schema ? 4 : 7 %}
|
||||
{% if num_favorite_tables == 0 %}
|
||||
{% set sum_colspan = sum_colspan - 1 %}
|
||||
{% endif %}
|
||||
<th colspan="{{ sum_colspan }}" class="d-print-none">{% trans 'Sum' %}</th>
|
||||
<th colspan="{{ sum_colspan }}" class="d-print-none">{{ t('Sum') }}</th>
|
||||
{% set row_count_sum = format_number(sum_entries, 0) %}
|
||||
{# If a table shows approximate rows count, display update-all-real-count anchor. #}
|
||||
{% set row_sum_url = [] %}
|
||||
@ -43,7 +40,7 @@
|
||||
</th>
|
||||
<th>
|
||||
{% if database_collation is not empty %}
|
||||
<dfn title="{{ database_collation.description }} ({% trans 'Default' %})">
|
||||
<dfn title="{{ database_collation.description }} ({{ t('Default') }})">
|
||||
{{ database_collation.name }}
|
||||
</dfn>
|
||||
{% endif %}
|
||||
|
||||
@ -4,12 +4,12 @@
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="bulkActionLabel"></h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Cancel' %}"></button>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Cancel') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Cancel' %}</button>
|
||||
<button type="button" class="btn btn-primary" id="bulkActionContinue">{% trans 'Continue' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Cancel') }}</button>
|
||||
<button type="button" class="btn btn-primary" id="bulkActionContinue">{{ t('Continue') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
<form id="ajax_form" action="{{ url(route) }}" method="post">
|
||||
{{ get_hidden_inputs(url_params) }}
|
||||
<div class="mb-3">
|
||||
<label for="initialPrefixInput" class="form-label">{% trans 'From' %}</label>
|
||||
<label for="initialPrefixInput" class="form-label">{{ t('From') }}</label>
|
||||
<input type="text" class="form-control" id="initialPrefixInput" name="from_prefix">
|
||||
</div>
|
||||
<div>
|
||||
<label for="newPrefixInput" class="form-label">{% trans 'To' %}</label>
|
||||
<label for="newPrefixInput" class="form-label">{{ t('To') }}</label>
|
||||
<input type="text" class="form-control" id="newPrefixInput" name="to_prefix">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@ -1,38 +1,38 @@
|
||||
<div class="clearfloat d-print-none">
|
||||
{{ get_image('select_all_arrow', t('With selected:'), {'dir': text_dir, 'width': '38', 'height': '22'}) }}
|
||||
<input type="checkbox" id="tablesForm_checkall" class="checkall_box" title="{% trans 'Check all' %}">
|
||||
<label for="tablesForm_checkall">{% trans 'Check all' %}</label>
|
||||
<input type="checkbox" id="tablesForm_checkall" class="checkall_box" title="{{ t('Check all') }}">
|
||||
<label for="tablesForm_checkall">{{ t('Check all') }}</label>
|
||||
{% if overhead_check != '' %}
|
||||
/ <a href="#" class="checkall-filter" data-checkall-selector=".tbl-overhead">{% trans 'Check tables having overhead' %}</a>
|
||||
/ <a href="#" class="checkall-filter" data-checkall-selector=".tbl-overhead">{{ t('Check tables having overhead') }}</a>
|
||||
{% endif %}
|
||||
<select name="submit_mult" class="mx-5 my-0">
|
||||
<option value="{% trans 'With selected:' %}" selected="selected">{% trans 'With selected:' %}</option>
|
||||
<option value="copy_tbl">{% trans 'Copy table' %}</option>
|
||||
<option value="show_create">{% trans 'Show create' %}</option>
|
||||
<option value="export">{% trans 'Export' %}</option>
|
||||
<option value="{{ t('With selected:') }}" selected="selected">{{ t('With selected:') }}</option>
|
||||
<option value="copy_tbl">{{ t('Copy table') }}</option>
|
||||
<option value="show_create">{{ t('Show create') }}</option>
|
||||
<option value="export">{{ t('Export') }}</option>
|
||||
{% if not db_is_system_schema and not disable_multi_table %}
|
||||
<optgroup label="{% trans 'Delete data or table' %}">
|
||||
<option value="empty_tbl">{% trans 'Empty' %}</option>
|
||||
<option value="drop_tbl">{% trans 'Drop' %}</option>
|
||||
<optgroup label="{{ t('Delete data or table') }}">
|
||||
<option value="empty_tbl">{{ t('Empty') }}</option>
|
||||
<option value="drop_tbl">{{ t('Drop') }}</option>
|
||||
</optgroup>
|
||||
<optgroup label="{% trans 'Table maintenance' %}">
|
||||
<option value="analyze_tbl">{% trans 'Analyze table' %}</option>
|
||||
<option value="check_tbl">{% trans 'Check table' %}</option>
|
||||
<option value="checksum_tbl">{% trans 'Checksum table' %}</option>
|
||||
<option value="optimize_tbl">{% trans 'Optimize table' %}</option>
|
||||
<option value="repair_tbl">{% trans 'Repair table' %}</option>
|
||||
<optgroup label="{{ t('Table maintenance') }}">
|
||||
<option value="analyze_tbl">{{ t('Analyze table') }}</option>
|
||||
<option value="check_tbl">{{ t('Check table') }}</option>
|
||||
<option value="checksum_tbl">{{ t('Checksum table') }}</option>
|
||||
<option value="optimize_tbl">{{ t('Optimize table') }}</option>
|
||||
<option value="repair_tbl">{{ t('Repair table') }}</option>
|
||||
</optgroup>
|
||||
<optgroup label="{% trans 'Prefix' %}">
|
||||
<option value="add_prefix_tbl">{% trans 'Add prefix to table' %}</option>
|
||||
<option value="replace_prefix_tbl">{% trans 'Replace table prefix' %}</option>
|
||||
<option value="copy_tbl_change_prefix">{% trans 'Copy table with prefix' %}</option>
|
||||
<optgroup label="{{ t('Prefix') }}">
|
||||
<option value="add_prefix_tbl">{{ t('Add prefix to table') }}</option>
|
||||
<option value="replace_prefix_tbl">{{ t('Replace table prefix') }}</option>
|
||||
<option value="copy_tbl_change_prefix">{{ t('Copy table with prefix') }}</option>
|
||||
</optgroup>
|
||||
{% endif %}
|
||||
{% if central_columns_work is defined and central_columns_work %}
|
||||
<optgroup label="{% trans 'Central columns' %}">
|
||||
<option value="sync_unique_columns_central_list">{% trans 'Add columns to central list' %}</option>
|
||||
<option value="delete_unique_columns_central_list">{% trans 'Remove columns from central list' %}</option>
|
||||
<option value="make_consistent_with_central_list">{% trans 'Make consistent with central list' %}</option>
|
||||
<optgroup label="{{ t('Central columns') }}">
|
||||
<option value="sync_unique_columns_central_list">{{ t('Add columns to central list') }}</option>
|
||||
<option value="delete_unique_columns_central_list">{{ t('Remove columns from central list') }}</option>
|
||||
<option value="make_consistent_with_central_list">{{ t('Make consistent with central list') }}</option>
|
||||
</optgroup>
|
||||
{% endif %}
|
||||
</select>
|
||||
@ -45,15 +45,15 @@
|
||||
<div class="modal-dialog modal-dialog-centered">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="makeConsistentWithCentralListModalLabel">{% trans 'Are you sure?' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Cancel' %}"></button>
|
||||
<h5 class="modal-title" id="makeConsistentWithCentralListModalLabel">{{ t('Are you sure?') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Cancel') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
{{ t('This action may change some of the columns definition.[br]Are you sure you want to continue?')|sanitize }}
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Cancel' %}</button>
|
||||
<button type="button" class="btn btn-primary" id="makeConsistentWithCentralListContinue">{% trans 'Continue' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Cancel') }}</button>
|
||||
<button type="button" class="btn btn-primary" id="makeConsistentWithCentralListContinue">{{ t('Continue') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
{{ get_hidden_inputs(url_params) }}
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="databaseNameSelect" class="form-label">{% trans 'Database:' %}</label>
|
||||
<label for="databaseNameSelect" class="form-label">{{ t('Database:') }}</label>
|
||||
<select class="form-select" id="databaseNameSelect" name="target_db">
|
||||
{% for each_db in options %}
|
||||
<option value="{{ each_db.name }}"{{ each_db.is_selected ? ' selected' }}>{{ each_db.name }}</option>
|
||||
@ -11,38 +11,38 @@
|
||||
</div>
|
||||
|
||||
<fieldset class="mb-3">
|
||||
<legend class="col-form-label">{% trans 'Options:' %}</legend>
|
||||
<legend class="col-form-label">{{ t('Options:') }}</legend>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="what" id="whatDataRadio" value="data" checked>
|
||||
<label class="form-check-label" for="whatDataRadio">{% trans 'Structure and data' %}</label>
|
||||
<label class="form-check-label" for="whatDataRadio">{{ t('Structure and data') }}</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="what" id="whatStructureRadio" value="structure">
|
||||
<label class="form-check-label" for="whatStructureRadio">{% trans 'Structure only' %}</label>
|
||||
<label class="form-check-label" for="whatStructureRadio">{{ t('Structure only') }}</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="what" id="whatDataOnlyRadio" value="dataonly">
|
||||
<label class="form-check-label" for="whatDataOnlyRadio">{% trans 'Data only' %}</label>
|
||||
<label class="form-check-label" for="whatDataOnlyRadio">{{ t('Data only') }}</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" value="true" name="drop_if_exists" id="addDropTableCheckbox">
|
||||
<label class="form-check-label" for="addDropTableCheckbox">{% trans 'Add DROP TABLE' %}</label>
|
||||
<label class="form-check-label" for="addDropTableCheckbox">{{ t('Add DROP TABLE') }}</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" value="1" name="sql_auto_increment" id="addAutoIncrementCheckbox">
|
||||
<label class="form-check-label" for="addAutoIncrementCheckbox">{% trans 'Add AUTO INCREMENT value' %}</label>
|
||||
<label class="form-check-label" for="addAutoIncrementCheckbox">{{ t('Add AUTO INCREMENT value') }}</label>
|
||||
</div>
|
||||
<div class="form-check mb-3">
|
||||
<input class="form-check-input" type="checkbox" value="1" name="add_constraints" id="addConstraintsCheckbox" checked>
|
||||
<label class="form-check-label" for="addConstraintsCheckbox">{% trans 'Add constraints' %}</label>
|
||||
<label class="form-check-label" for="addConstraintsCheckbox">{{ t('Add constraints') }}</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" value="1" name="adjust_privileges" id="adjustPrivilegesCheckbox">
|
||||
<label class="form-check-label" for="adjustPrivilegesCheckbox">
|
||||
{% trans 'Adjust privileges' %}
|
||||
{{ t('Adjust privileges') }}
|
||||
{{ show_docu('faq', 'faq6-39') }}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
{{ get_hidden_inputs(url_params) }}
|
||||
<input type="hidden" name="fk_checks" value="0">
|
||||
|
||||
<div class="card-header">{% trans 'Do you really want to execute the following query?' %}</div>
|
||||
<div class="card-header">{{ t('Do you really want to execute the following query?') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="card mb-3">
|
||||
@ -12,13 +12,13 @@
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="fk_checks" id="checkForeignKeyCheckbox" value="1"{{ is_foreign_key_check ? ' checked' }}>
|
||||
<label class="form-check-label" for="checkForeignKeyCheckbox">{% trans 'Enable foreign key checks' %}</label>
|
||||
<label class="form-check-label" for="checkForeignKeyCheckbox">{{ t('Enable foreign key checks') }}</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<input id="buttonYes" class="btn btn-danger" type="submit" name="mult_btn" value="{% trans 'Yes' %}">
|
||||
<input id="buttonNo" class="btn btn-secondary" type="submit" name="mult_btn" value="{% trans 'No' %}">
|
||||
<input id="buttonYes" class="btn btn-danger" type="submit" name="mult_btn" value="{{ t('Yes') }}">
|
||||
<input id="buttonNo" class="btn btn-secondary" type="submit" name="mult_btn" value="{{ t('No') }}">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
{{ get_hidden_inputs(url_params) }}
|
||||
<input type="hidden" name="fk_checks" value="0">
|
||||
|
||||
<div class="card-header">{% trans 'Do you really want to execute the following query?' %}</div>
|
||||
<div class="card-header">{{ t('Do you really want to execute the following query?') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="card mb-3">
|
||||
@ -12,13 +12,13 @@
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="fk_checks" id="checkForeignKeyCheckbox" value="1"{{ is_foreign_key_check ? ' checked' }}>
|
||||
<label class="form-check-label" for="checkForeignKeyCheckbox">{% trans 'Enable foreign key checks' %}</label>
|
||||
<label class="form-check-label" for="checkForeignKeyCheckbox">{{ t('Enable foreign key checks') }}</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<input id="buttonYes" class="btn btn-danger" type="submit" name="mult_btn" value="{% trans 'Yes' %}">
|
||||
<input id="buttonNo" class="btn btn-secondary" type="submit" name="mult_btn" value="{% trans 'No' %}">
|
||||
<input id="buttonYes" class="btn btn-danger" type="submit" name="mult_btn" value="{{ t('Yes') }}">
|
||||
<input id="buttonNo" class="btn btn-secondary" type="submit" name="mult_btn" value="{{ t('No') }}">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
<div class="container">
|
||||
<h2>{% trans 'Showing create queries' %}</h2>
|
||||
<h2>{{ t('Showing create queries') }}</h2>
|
||||
|
||||
{% if tables.tables is not empty %}
|
||||
<div class="card mb-3">
|
||||
<div class="card-header">{% trans 'Tables' %}</div>
|
||||
<div class="card-header">{{ t('Tables') }}</div>
|
||||
<div class="card-body">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans 'Table' %}</th>
|
||||
<th>{% trans 'Create table' %}</th>
|
||||
<th>{{ t('Table') }}</th>
|
||||
<th>{{ t('Create table') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -27,13 +27,13 @@
|
||||
|
||||
{% if tables.views is not empty %}
|
||||
<div class="card">
|
||||
<div class="card-header">{% trans 'Views' %}</div>
|
||||
<div class="card-header">{{ t('Views') }}</div>
|
||||
<div class="card-body">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans 'View' %}</th>
|
||||
<th>{% trans 'Create view' %}</th>
|
||||
<th>{{ t('View') }}</th>
|
||||
<th>{{ t('Create view') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@ -119,7 +119,7 @@
|
||||
{% if current_table['ENGINE'] is not empty %}
|
||||
{{ current_table['ENGINE'] }}
|
||||
{% elseif table_is_view %}
|
||||
{% trans 'View' %}
|
||||
{{ t('View') }}
|
||||
{% endif %}
|
||||
</td>
|
||||
{% if collation|length > 0 %}
|
||||
@ -183,7 +183,7 @@
|
||||
{% elseif table_is_view %}
|
||||
<td class="value tbl_rows font-monospace text-end">-</td>
|
||||
<td class="text-nowrap">
|
||||
{% trans 'View' %}
|
||||
{{ t('View') }}
|
||||
</td>
|
||||
<td class="text-nowrap">---</td>
|
||||
{% if is_show_stats %}
|
||||
@ -234,7 +234,7 @@
|
||||
|
||||
<td colspan="{{ action_colspan }}"
|
||||
class="text-center">
|
||||
{% trans 'in use' %}
|
||||
{{ t('in use') }}
|
||||
</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<th class="d-print-none"></th>
|
||||
<th>{{ sortable_table_header(t('Table'), 'table') }}</th>
|
||||
{% if replication %}
|
||||
<th>{% trans 'Replication' %}</th>
|
||||
<th>{{ t('Replication') }}</th>
|
||||
{% endif %}
|
||||
|
||||
{% if db_is_system_schema %}
|
||||
@ -19,7 +19,7 @@
|
||||
{% set action_colspan = action_colspan + 1 %}
|
||||
{% endif %}
|
||||
<th colspan="{{ action_colspan }}" class="d-print-none">
|
||||
{% trans 'Action' %}
|
||||
{{ t('Action') }}
|
||||
</th>
|
||||
{# larger values are more interesting so default sort order is DESC #}
|
||||
<th>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{# Tracked tables exists #}
|
||||
{% if head_version_exists %}
|
||||
<div id="tracked_tables">
|
||||
<h3>{% trans 'Tracked tables' %}</h3>
|
||||
<h3>{{ t('Tracked tables') }}</h3>
|
||||
|
||||
<form method="post" action="{{ url('/database/tracking') }}" name="trackedForm"
|
||||
id="trackedForm" class="ajax">
|
||||
@ -10,13 +10,13 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>{% trans 'Table' %}</th>
|
||||
<th>{% trans 'Last version' %}</th>
|
||||
<th>{% trans 'Created' %}</th>
|
||||
<th>{% trans 'Updated' %}</th>
|
||||
<th>{% trans 'Status' %}</th>
|
||||
<th>{% trans 'Action' %}</th>
|
||||
<th>{% trans 'Show' %}</th>
|
||||
<th>{{ t('Table') }}</th>
|
||||
<th>{{ t('Last version') }}</th>
|
||||
<th>{{ t('Created') }}</th>
|
||||
<th>{{ t('Updated') }}</th>
|
||||
<th>{{ t('Status') }}</th>
|
||||
<th>{{ t('Action') }}</th>
|
||||
<th>{{ t('Show') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -44,7 +44,7 @@
|
||||
<td>
|
||||
<div class="wrapper toggleAjax hide">
|
||||
<div class="toggleButton">
|
||||
<div title="{% trans 'Click to toggle' %}" class="toggle-container {{ version.tracking_active == 1 ? 'on' : 'off' }}">
|
||||
<div title="{{ t('Click to toggle') }}" class="toggle-container {{ version.tracking_active == 1 ? 'on' : 'off' }}">
|
||||
<img src="{{ image('toggle-' ~ text_dir ~ '.png') }}">
|
||||
<table>
|
||||
<tbody>
|
||||
@ -58,7 +58,7 @@
|
||||
'toggle_activation': 'activate_now',
|
||||
}) -}}
|
||||
</span>
|
||||
<div>{% trans 'active' %}</div>
|
||||
<div>{{ t('active') }}</div>
|
||||
</td>
|
||||
<td><div> </div></td>
|
||||
<td class="toggleOff">
|
||||
@ -70,7 +70,7 @@
|
||||
'toggle_activation': 'deactivate_now',
|
||||
}) -}}
|
||||
</span>
|
||||
<div>{% trans 'not active' %}</div>
|
||||
<div>{{ t('not active') }}</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -135,14 +135,14 @@
|
||||
'form_name': 'trackedForm'
|
||||
} only %}
|
||||
<button class="btn btn-link mult_submit" type="submit" name="submit_mult" value="delete_tracking"
|
||||
title="{% trans 'Delete tracking' %}">
|
||||
title="{{ t('Delete tracking') }}">
|
||||
{{ get_icon('b_drop', t('Delete tracking')) }}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if untracked_tables_exists %}
|
||||
<h3>{% trans 'Untracked tables' %}</h3>
|
||||
<h3>{{ t('Untracked tables') }}</h3>
|
||||
<form method="post" action="{{ url('/database/tracking') }}" name="untrackedForm"
|
||||
id="untrackedForm" class="ajax">
|
||||
{{ get_hidden_inputs(db) }}
|
||||
@ -150,8 +150,8 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>{% trans 'Table' %}</th>
|
||||
<th>{% trans 'Action' %}</th>
|
||||
<th>{{ t('Table') }}</th>
|
||||
<th>{{ t('Action') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -183,7 +183,7 @@
|
||||
'text_dir': text_dir,
|
||||
'form_name': 'untrackedForm'
|
||||
} only %}
|
||||
<button class="btn btn-link mult_submit" type="submit" name="submit_mult" value="track" title="{% trans 'Track table' %}">
|
||||
<button class="btn btn-link mult_submit" type="submit" name="submit_mult" value="track" title="{{ t('Track table') }}">
|
||||
{{ get_icon('eye', t('Track table')) }}
|
||||
</button>
|
||||
</form>
|
||||
|
||||
@ -15,10 +15,10 @@
|
||||
{% set begin_text %}
|
||||
{{- show_icons('TableNavigationLinksMode') ? '<<' }}
|
||||
{%- if show_text('TableNavigationLinksMode') -%}
|
||||
{% trans %}Begin{% context %}First page{% endtrans %}
|
||||
{{ t('Begin', context = 'First page') }}
|
||||
{%- endif -%}
|
||||
{% endset %}
|
||||
<input type="submit" name="navig" class="btn btn-secondary ajax" value="{{ begin_text }}" title="{% trans %}Begin{% context %}First page{% endtrans %}">
|
||||
<input type="submit" name="navig" class="btn btn-secondary ajax" value="{{ begin_text }}" title="{{ t('Begin', context = 'First page') }}">
|
||||
</form>
|
||||
</td>
|
||||
|
||||
@ -32,10 +32,10 @@
|
||||
{% set previous_text %}
|
||||
{{- show_icons('TableNavigationLinksMode') ? '<' }}
|
||||
{%- if show_text('TableNavigationLinksMode') -%}
|
||||
{% trans %}Previous{% context %}Previous page{% endtrans %}
|
||||
{{ t('Previous', context = 'Previous page') }}
|
||||
{%- endif -%}
|
||||
{% endset %}
|
||||
<input type="submit" name="navig" class="btn btn-secondary ajax" value="{{ previous_text }}" title="{% trans %}Previous{% context %}Previous page{% endtrans %}">
|
||||
<input type="submit" name="navig" class="btn btn-secondary ajax" value="{{ previous_text }}" title="{{ t('Previous', context = 'Previous page') }}">
|
||||
</form>
|
||||
</td>
|
||||
{% endif %}
|
||||
@ -52,11 +52,11 @@
|
||||
<input type="hidden" name="goto" value="{{ goto }}">
|
||||
{% set next_text %}
|
||||
{%- if show_text('TableNavigationLinksMode') -%}
|
||||
{% trans %}Next{% context %}Next page{% endtrans %}
|
||||
{{ t('Next', context = 'Next page') }}
|
||||
{%- endif -%}
|
||||
{{ show_icons('TableNavigationLinksMode') ? '>' -}}
|
||||
{% endset %}
|
||||
<input type="submit" name="navig" class="btn btn-secondary ajax" value="{{ next_text }}" title="{% trans %}Next{% context %}Next page{% endtrans %}">
|
||||
<input type="submit" name="navig" class="btn btn-secondary ajax" value="{{ next_text }}" title="{{ t('Next', context = 'Next page') }}">
|
||||
</form>
|
||||
</td>
|
||||
|
||||
@ -70,11 +70,11 @@
|
||||
<input type="hidden" name="goto" value="{{ goto }}">
|
||||
{% set end_text %}
|
||||
{%- if show_text('TableNavigationLinksMode') -%}
|
||||
{% trans %}End{% context %}Last page{% endtrans %}
|
||||
{{ t('End', context = 'Last page') }}
|
||||
{%- endif -%}
|
||||
{{ show_icons('TableNavigationLinksMode') ? '>>' -}}
|
||||
{% endset %}
|
||||
<input type="submit" name="navig" class="btn btn-secondary ajax" value="{{ end_text }}" title="{% trans %}End{% context %}Last page{% endtrans %}">
|
||||
<input type="submit" name="navig" class="btn btn-secondary ajax" value="{{ end_text }}" title="{{ t('End', context = 'Last page') }}">
|
||||
</form>
|
||||
</td>
|
||||
{% endif %}
|
||||
@ -93,7 +93,7 @@
|
||||
})) }}
|
||||
<input type="checkbox" name="navig" id="showAll_{{ unique_id }}" class="showAllRows" value="all"
|
||||
{{- navigation.is_showing_all ? ' checked' }}>
|
||||
<label for="showAll_{{ unique_id }}">{% trans 'Show all' %}</label>
|
||||
<label for="showAll_{{ unique_id }}">{{ t('Show all') }}</label>
|
||||
</form>
|
||||
</td>
|
||||
<td><div class="navigation_separator">|</div></td>
|
||||
@ -101,13 +101,13 @@
|
||||
|
||||
<td>
|
||||
<div class="save_edited hide">
|
||||
<input class="btn btn-link" type="submit" value="{% trans 'Save edited data' %}">
|
||||
<input class="btn btn-link" type="submit" value="{{ t('Save edited data') }}">
|
||||
<div class="navigation_separator">|</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="restore_column hide">
|
||||
<input class="btn btn-link" type="submit" value="{% trans 'Restore column order' %}">
|
||||
<input class="btn btn-link" type="submit" value="{{ t('Restore column order') }}">
|
||||
<div class="navigation_separator">|</div>
|
||||
</div>
|
||||
</td>
|
||||
@ -118,10 +118,10 @@
|
||||
'unlim_num_rows': unlim_num_rows
|
||||
})) }}
|
||||
|
||||
<label for="sessionMaxRowsSelect">{% trans 'Number of rows:' %}</label>
|
||||
<label for="sessionMaxRowsSelect">{{ t('Number of rows:') }}</label>
|
||||
<select class="autosubmit" name="session_max_rows" id="sessionMaxRowsSelect">
|
||||
{% if navigation.is_showing_all %}
|
||||
<option value="" disabled selected>{% trans 'All' %}</option>
|
||||
<option value="" disabled selected>{{ t('All') }}</option>
|
||||
{% endif %}
|
||||
{% for option in ['25', '50', '100', '250', '500'] %}
|
||||
<option value="{{ option }}"{{ navigation.max_rows == option ? ' selected' }}>{{ option }}</option>
|
||||
@ -133,11 +133,11 @@
|
||||
<td class="largescreenonly">
|
||||
<div class="row g-1 p-1 align-items-center">
|
||||
<div class="col-auto">
|
||||
<label for="filterRows" class="col-form-label">{% trans 'Filter rows:' %}</label>
|
||||
<label for="filterRows" class="col-form-label">{{ t('Filter rows:') }}</label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input type="text" id="filterRows" class="filter_rows form-control"
|
||||
placeholder="{% trans 'Search this table' %}" data-for="{{ unique_id }}">
|
||||
placeholder="{{ t('Search this table') }}" data-for="{{ unique_id }}">
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
@ -145,7 +145,7 @@
|
||||
{% if navigation.sort_by_key is not empty %}
|
||||
<form action="{{ url('/sql') }}" method="post" class="d-print-none">
|
||||
{{ get_hidden_fields(navigation.sort_by_key.hidden_fields) }}
|
||||
{% trans 'Sort by key:' %}
|
||||
{{ t('Sort by key:') }}
|
||||
<select name="sql_query" class="autosubmit">
|
||||
{% for option in navigation.sort_by_key.options %}
|
||||
<option value="{{ option.value }}"{{ option.is_selected ? ' selected' }}>{{ option.content }}</option>
|
||||
@ -194,7 +194,7 @@
|
||||
{% if default_sliders_state != 'disabled' %}
|
||||
<div class="mb-3">
|
||||
<button class="btn btn-sm btn-secondary" type="button" id="extraOptionsButton" data-bs-toggle="collapse" data-bs-target="#extraOptions" aria-expanded="{{ default_sliders_state == 'open' ? 'true' : 'false' }}" aria-controls="extraOptions">
|
||||
{% trans 'Extra options' %}
|
||||
{{ t('Extra options') }}
|
||||
</button>
|
||||
</div>
|
||||
<div class="collapse mb-3{{ default_sliders_state == 'open' ? ' show' }}" id="extraOptions">
|
||||
@ -206,11 +206,11 @@
|
||||
<fieldset class="col-auto">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="pftext" id="partialFulltextRadioP{{ unique_id }}" value="P"{{ headers.options.pftext == 'P' ? ' checked' }}>
|
||||
<label class="form-check-label" for="partialFulltextRadioP{{ unique_id }}">{% trans 'Partial texts' %}</label>
|
||||
<label class="form-check-label" for="partialFulltextRadioP{{ unique_id }}">{{ t('Partial texts') }}</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="pftext" id="partialFulltextRadioF{{ unique_id }}" value="F"{{ headers.options.pftext == 'F' ? ' checked' }}>
|
||||
<label class="form-check-label" for="partialFulltextRadioF{{ unique_id }}">{% trans 'Full texts' %}</label>
|
||||
<label class="form-check-label" for="partialFulltextRadioF{{ unique_id }}">{{ t('Full texts') }}</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
@ -218,11 +218,11 @@
|
||||
<fieldset class="col-auto">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="relational_display" id="relationalDisplayRadioK{{ unique_id }}" value="K"{{ headers.options.relational_display == 'K' ? ' checked' }}>
|
||||
<label class="form-check-label" for="relationalDisplayRadioK{{ unique_id }}">{% trans 'Relational key' %}</label>
|
||||
<label class="form-check-label" for="relationalDisplayRadioK{{ unique_id }}">{{ t('Relational key') }}</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="relational_display" id="relationalDisplayRadioD{{ unique_id }}" value="D"{{ headers.options.relational_display == 'D' ? ' checked' }}>
|
||||
<label class="form-check-label" for="relationalDisplayRadioD{{ unique_id }}">{% trans 'Display column for relationships' %}</label>
|
||||
<label class="form-check-label" for="relationalDisplayRadioD{{ unique_id }}">{{ t('Display column for relationships') }}</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
{% endif %}
|
||||
@ -231,13 +231,13 @@
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="display_binary" id="display_binary_{{ unique_id }}"
|
||||
{{- headers.options.display_binary is not empty ? ' checked' }}>
|
||||
<label class="form-check-label" for="display_binary_{{ unique_id }}">{% trans 'Show binary contents' %}</label>
|
||||
<label class="form-check-label" for="display_binary_{{ unique_id }}">{{ t('Show binary contents') }}</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="display_blob" id="display_blob_{{ unique_id }}"
|
||||
{{- headers.options.display_blob is not empty ? ' checked' }}>
|
||||
<label class="form-check-label" for="display_blob_{{ unique_id }}">{% trans 'Show BLOB contents' %}</label>
|
||||
<label class="form-check-label" for="display_blob_{{ unique_id }}">{{ t('Show BLOB contents') }}</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
@ -249,7 +249,7 @@
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="hide_transformation" id="hide_transformation_{{ unique_id }}"
|
||||
{{- headers.options.hide_transformation is not empty ? ' checked' }}>
|
||||
<label class="form-check-label" for="hide_transformation_{{ unique_id }}">{% trans 'Hide browser transformation' %}</label>
|
||||
<label class="form-check-label" for="hide_transformation_{{ unique_id }}">{{ t('Hide browser transformation') }}</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -257,23 +257,23 @@
|
||||
{% if headers.options.possible_as_geometry %}
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="geoOption" id="geoOptionRadioGeom{{ unique_id }}" value="GEOM"{{ headers.options.geo_option == 'GEOM' ? ' checked' }}>
|
||||
<label class="form-check-label" for="geoOptionRadioGeom{{ unique_id }}">{% trans 'Geometry' %}</label>
|
||||
<label class="form-check-label" for="geoOptionRadioGeom{{ unique_id }}">{{ t('Geometry') }}</label>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="geoOption" id="geoOptionRadioWkt{{ unique_id }}" value="WKT"{{ headers.options.geo_option == 'WKT' ? ' checked' }}>
|
||||
<label class="form-check-label" for="geoOptionRadioWkt{{ unique_id }}">{% trans 'Well Known Text' %}</label>
|
||||
<label class="form-check-label" for="geoOptionRadioWkt{{ unique_id }}">{{ t('Well Known Text') }}</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="geoOption" id="geoOptionRadioWkb{{ unique_id }}" value="WKB"{{ headers.options.geo_option == 'WKB' ? ' checked' }}>
|
||||
<label class="form-check-label" for="geoOptionRadioWkb{{ unique_id }}">{% trans 'Well Known Binary' %}</label>
|
||||
<label class="form-check-label" for="geoOptionRadioWkb{{ unique_id }}">{{ t('Well Known Binary') }}</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<input class="btn btn-primary" type="submit" value="{% trans 'Go' %}">
|
||||
<input class="btn btn-primary" type="submit" value="{{ t('Go') }}">
|
||||
</div>
|
||||
</div>
|
||||
{% if default_sliders_state != 'disabled' %}
|
||||
@ -309,24 +309,24 @@
|
||||
{% if has_bulk_links is defined and has_bulk_links %}
|
||||
<div class="d-print-none">
|
||||
{{ get_image('select_all_arrow', t('With selected:'), {'dir': text_dir, 'width': '38', 'height': '22'}) }}
|
||||
<input type="checkbox" id="resultsForm_{{ unique_id }}_checkall" class="checkall_box" title="{% trans 'Check all' %}">
|
||||
<label for="resultsForm_{{ unique_id }}_checkall">{% trans 'Check all' %}</label>
|
||||
<em class="with-selected">{% trans 'With selected:' %}</em>
|
||||
<input type="checkbox" id="resultsForm_{{ unique_id }}_checkall" class="checkall_box" title="{{ t('Check all') }}">
|
||||
<label for="resultsForm_{{ unique_id }}_checkall">{{ t('Check all') }}</label>
|
||||
<em class="with-selected">{{ t('With selected:') }}</em>
|
||||
|
||||
<button class="btn btn-link mult_submit" type="submit" name="submit_mult" value="edit" title="{% trans 'Edit' %}">
|
||||
<button class="btn btn-link mult_submit" type="submit" name="submit_mult" value="edit" title="{{ t('Edit') }}">
|
||||
{{ get_icon('b_edit', t('Edit')) }}
|
||||
</button>
|
||||
|
||||
<button class="btn btn-link mult_submit" type="submit" name="submit_mult" value="copy" title="{% trans 'Copy' %}">
|
||||
<button class="btn btn-link mult_submit" type="submit" name="submit_mult" value="copy" title="{{ t('Copy') }}">
|
||||
{{ get_icon('b_insrow', t('Copy')) }}
|
||||
</button>
|
||||
|
||||
<button class="btn btn-link mult_submit" type="submit" name="submit_mult" value="delete" title="{% trans 'Delete' %}">
|
||||
<button class="btn btn-link mult_submit" type="submit" name="submit_mult" value="delete" title="{{ t('Delete') }}">
|
||||
{{ get_icon('b_drop', t('Delete')) }}
|
||||
</button>
|
||||
|
||||
{% if has_export_button %}
|
||||
<button class="btn btn-link mult_submit" type="submit" name="submit_mult" value="export" title="{% trans 'Export' %}">
|
||||
<button class="btn btn-link mult_submit" type="submit" name="submit_mult" value="export" title="{{ t('Export') }}">
|
||||
{{ get_icon('b_tblexport', t('Export')) }}
|
||||
</button>
|
||||
{% endif %}
|
||||
@ -341,7 +341,7 @@
|
||||
|
||||
{% if operations is not empty %}
|
||||
<div class="card mb-3 d-print-none">
|
||||
<div class="card-header">{% trans 'Query results operations' %}</div>
|
||||
<div class="card-header">{{ t('Query results operations') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
{% if operations.has_print_link %}
|
||||
|
||||
@ -2,8 +2,7 @@
|
||||
<li>
|
||||
<input type="radio" name="knjenc" value="" checked="checked" id="kj-none">
|
||||
<label for="kj-none">
|
||||
{# l10n: This is currently used only in Japanese locales #}
|
||||
{% trans %}None{% context %}None encoding conversion{% endtrans %}
|
||||
{{ t('None', context = 'None encoding conversion', notes = 'This is currently used only in Japanese locales') }}
|
||||
</label>
|
||||
<input type="radio" name="knjenc" value="EUC-JP" id="kj-euc">
|
||||
<label for="kj-euc">EUC</label>
|
||||
@ -13,8 +12,7 @@
|
||||
<li>
|
||||
<input type="checkbox" name="xkana" value="kana" id="kj-kana">
|
||||
<label for="kj-kana">
|
||||
{# l10n: This is currently used only in Japanese locales #}
|
||||
{% trans 'Convert to Kana' %}
|
||||
{{ t('Convert to Kana', notes = 'This is currently used only in Japanese locales') }}
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>phpMyAdmin - {% trans 'Error' %}</h1>
|
||||
<h1>phpMyAdmin - {{ t('Error') }}</h1>
|
||||
<p>{{ error_message|raw }}</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -1,28 +1,26 @@
|
||||
{% if allowed_to_send_error_reports %}
|
||||
<p>
|
||||
{% trans %}
|
||||
This report automatically includes data about the error and information about relevant configuration settings. It will be sent to the phpMyAdmin team for debugging the error.
|
||||
{% endtrans %}
|
||||
{{ t('This report automatically includes data about the error and information about relevant configuration settings. It will be sent to the phpMyAdmin team for debugging the error.') }}
|
||||
</p>
|
||||
<form action="{{ url('/error-report') }}" method="post" id="errorReportForm" class="ajax">
|
||||
<div class="mb-3">
|
||||
<label for="errorReportDescription">
|
||||
<strong>
|
||||
{% trans "Can you tell us the steps leading to this error? It decisively helps in debugging:" %}
|
||||
{{ t('Can you tell us the steps leading to this error? It decisively helps in debugging:') }}
|
||||
</strong>
|
||||
</label>
|
||||
<textarea class="form-control" name="description" id="errorReportDescription"></textarea>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
{% trans "You may examine the data in the error report:" %}
|
||||
{{ t('You may examine the data in the error report:') }}
|
||||
<pre class="pre-scrollable">{{ report_data|json_encode(constant('JSON_PRETTY_PRINT') b-or constant('JSON_UNESCAPED_SLASHES')) }}</pre>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" name="always_send" id="errorReportAlwaysSendCheckbox">
|
||||
<label class="form-check-label" for="errorReportAlwaysSendCheckbox">
|
||||
{% trans "Automatically send report next time" %}
|
||||
{{ t('Automatically send report next time') }}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
|
||||
@ -2,16 +2,16 @@
|
||||
<div class="modal-dialog modal-dialog-scrollable modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="errorReportModalLabel">{% trans 'Submit error report' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Cancel' %}"></button>
|
||||
<h5 class="modal-title" id="errorReportModalLabel">{{ t('Submit error report') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Cancel') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
{% if allowed_to_send_error_reports %}
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Cancel' %}</button>
|
||||
<button type="button" class="btn btn-primary" id="errorReportModalConfirm">{% trans 'Send error report' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Cancel') }}</button>
|
||||
<button type="button" class="btn btn-primary" id="errorReportModalConfirm">{{ t('Send error report') }}</button>
|
||||
{% else %}
|
||||
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">{% trans 'Close' %}</button>
|
||||
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">{{ t('Close') }}</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -19,20 +19,20 @@
|
||||
|
||||
{% if templates.is_enabled %}
|
||||
<div class="card mb-3">
|
||||
<div class="card-header">{% trans 'Export templates:' %}</div>
|
||||
<div class="card-header">{{ t('Export templates:') }}</div>
|
||||
<div class="card-body row gy-3">
|
||||
<form method="post" action="{{ url('/export/template/create') }}" class="col-12 col-md ajax">
|
||||
<fieldset>
|
||||
<legend>{% trans 'New template:' %}</legend>
|
||||
<legend>{{ t('New template:') }}</legend>
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-auto">
|
||||
<label for="templateName" class="col-form-label">{% trans 'Template name' %}</label>
|
||||
<label for="templateName" class="col-form-label">{{ t('Template name') }}</label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input class="form-control" type="text" name="templateName" id="templateName" maxlength="64" placeholder="{% trans 'Template name' %}" required>
|
||||
<input class="form-control" type="text" name="templateName" id="templateName" maxlength="64" placeholder="{{ t('Template name') }}" required>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input class="btn btn-secondary" type="submit" name="createTemplate" id="createTemplate" value="{% trans 'Create' %}">
|
||||
<input class="btn btn-secondary" type="submit" name="createTemplate" id="createTemplate" value="{{ t('Create') }}">
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
@ -40,14 +40,14 @@
|
||||
|
||||
<form method="post" id="existingTemplatesForm" class="col-12 col-md ajax">
|
||||
<fieldset>
|
||||
<legend>{% trans 'Existing templates:' %}</legend>
|
||||
<legend>{{ t('Existing templates:') }}</legend>
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-auto">
|
||||
<label for="template" class="col-form-label">{% trans 'Template:' %}</label>
|
||||
<label for="template" class="col-form-label">{{ t('Template:') }}</label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<select class="form-select" name="template" id="template" required>
|
||||
<option value="">-- {% trans 'Select a template' %} --</option>
|
||||
<option value="">-- {{ t('Select a template') }} --</option>
|
||||
{% for template in templates.templates %}
|
||||
<option value="{{ template.getId() }}"{{ template.getId() == templates.selected ? ' selected' }}>
|
||||
{{ template.getName() }}
|
||||
@ -56,10 +56,10 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input class="btn btn-secondary" type="submit" formaction="{{ url('/export/template/update') }}" name="updateTemplate" id="updateTemplate" value="{% trans 'Update' %}">
|
||||
<input class="btn btn-secondary" type="submit" formaction="{{ url('/export/template/update') }}" name="updateTemplate" id="updateTemplate" value="{{ t('Update') }}">
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input class="btn btn-secondary" type="submit" formaction="{{ url('/export/template/delete') }}" name="deleteTemplate" id="deleteTemplate" value="{% trans 'Delete' %}">
|
||||
<input class="btn btn-secondary" type="submit" formaction="{{ url('/export/template/delete') }}" name="deleteTemplate" id="deleteTemplate" value="{{ t('Delete') }}">
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
@ -71,13 +71,11 @@
|
||||
{% if sql_query is not empty %}
|
||||
<div class="card mb-3">
|
||||
<div class="card-header">
|
||||
{# l10n: Title of the option on the Export page #}
|
||||
{% trans 'SQL query:' %}
|
||||
{{ t('SQL query:', notes = 'Title of the option on the Export page') }}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div id="sqlqueryform">
|
||||
{# l10n: Button to show the SQL query on the export page #}
|
||||
<input class="btn btn-secondary" type="submit" id="showsqlquery" value="{% trans 'Show SQL query' %}">
|
||||
<input class="btn btn-secondary" type="submit" id="showsqlquery" value="{{ t('Show SQL query', notes = 'Button to show the SQL query on the export page') }}">
|
||||
</div>
|
||||
<div class="d-none"></div>
|
||||
</div>
|
||||
@ -86,8 +84,8 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="showSqlQueryModalLabel">{% trans 'Loading' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="showSqlQueryModalLabel">{{ t('Loading') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="export_sql_modal_content">
|
||||
@ -97,7 +95,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Close' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Close') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -109,24 +107,24 @@
|
||||
|
||||
{% if export_method != 'custom-no-form' %}
|
||||
<div class="card mb-3" id="quick_or_custom">
|
||||
<div class="card-header">{% trans 'Export method:' %}</div>
|
||||
<div class="card-header">{{ t('Export method:') }}</div>
|
||||
<div class="card-body">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="quick_or_custom" value="quick" id="radio_quick_export"{{ export_method == 'quick' ? ' checked' }}>
|
||||
<label class="form-check-label" for="radio_quick_export">{% trans 'Quick - display only the minimal options' %}</label>
|
||||
<label class="form-check-label" for="radio_quick_export">{{ t('Quick - display only the minimal options') }}</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="quick_or_custom" value="custom" id="radio_custom_export"{{ export_method == 'custom' ? ' checked' }}>
|
||||
<label class="form-check-label" for="radio_custom_export">{% trans 'Custom - display all possible options' %}</label>
|
||||
<label class="form-check-label" for="radio_custom_export">{{ t('Custom - display all possible options') }}</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="card mb-3" id="format">
|
||||
<div class="card-header">{% trans 'Format:' %}</div>
|
||||
<div class="card-header">{{ t('Format:') }}</div>
|
||||
<div class="card-body">
|
||||
<select class="form-select" id="plugins" name="what" aria-label="{% trans 'File format to export' %}">
|
||||
<select class="form-select" id="plugins" name="what" aria-label="{{ t('File format to export') }}">
|
||||
{% for option in plugins_choice %}
|
||||
<option value="{{ option.name }}"{{ option.is_selected ? ' selected' }} data-is-binary="{{ option.is_binary ? 'true' : 'false' }}">{{ option.text }}</option>
|
||||
{% endfor %}
|
||||
@ -138,19 +136,19 @@
|
||||
|
||||
{% if rows is not empty %}
|
||||
<div class="card mb-3 d-none" id="rows">
|
||||
<div class="card-header">{% trans 'Rows:' %}</div>
|
||||
<div class="card-header">{{ t('Rows:') }}</div>
|
||||
<div class="card-body">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="allrows" value="1" id="radio_allrows_1"{{ rows.allrows is null or rows.allrows == 1 ? ' checked' }}>
|
||||
<label class="form-check-label" for="radio_allrows_1">{% trans 'Dump all rows' %}</label>
|
||||
<label class="form-check-label" for="radio_allrows_1">{{ t('Dump all rows') }}</label>
|
||||
</div>
|
||||
<div class="form-check mb-2">
|
||||
<input class="form-check-input" type="radio" name="allrows" value="0" id="radio_allrows_0"{{ rows.allrows is not null and rows.allrows == 0 ? ' checked' }}>
|
||||
<label class="form-check-label" for="radio_allrows_0">{% trans 'Dump some row(s)' %}</label>
|
||||
<label class="form-check-label" for="radio_allrows_0">{{ t('Dump some row(s)') }}</label>
|
||||
</div>
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
<label class="form-label" for="limit_to">{% trans 'Number of rows:' %}</label>
|
||||
<label class="form-label" for="limit_to">{{ t('Number of rows:') }}</label>
|
||||
<input class="form-control" type="text" id="limit_to" name="limit_to" size="5" value="
|
||||
{%- if rows.limit_to is not null -%}
|
||||
{{- rows.limit_to -}}
|
||||
@ -161,7 +159,7 @@
|
||||
{%- endif -%}" onfocus="this.select()">
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<label class="form-label" for="limit_from">{% trans 'Row to begin at:' %}</label>
|
||||
<label class="form-label" for="limit_from">{{ t('Row to begin at:') }}</label>
|
||||
<input class="form-control" type="text" id="limit_from" name="limit_from" size="5" value="{{ rows.limit_from is not null ? rows.limit_from : 0 }}" onfocus="this.select()">
|
||||
</li>
|
||||
</ul>
|
||||
@ -171,7 +169,7 @@
|
||||
|
||||
{% if has_save_dir %}
|
||||
<div class="card mb-3 d-none" id="output_quick_export">
|
||||
<div class="card-header">{% trans 'Output:' %}</div>
|
||||
<div class="card-header">{{ t('Output:') }}</div>
|
||||
<div class="card-body">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" role="switch" name="quick_export_onserver" value="saveit" id="checkbox_quick_dump_onserver"{{ export_is_checked ? ' checked' }}>
|
||||
@ -183,7 +181,7 @@
|
||||
<input class="form-check-input" type="checkbox" role="switch" name="quick_export_onserver_overwrite" value="saveitover" id="checkbox_quick_dump_onserver_overwrite"
|
||||
{{- export_overwrite_is_checked ? ' checked' }}>
|
||||
<label class="form-check-label" for="checkbox_quick_dump_onserver_overwrite">
|
||||
{% trans 'Overwrite existing file(s)' %}
|
||||
{{ t('Overwrite existing file(s)') }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@ -194,15 +192,15 @@
|
||||
<div class="modal-dialog modal-xl">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="renameExportModalLabel">{% trans 'Rename exported databases/tables/columns' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="renameExportModalLabel">{{ t('Rename exported databases/tables/columns') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body overflow-auto">
|
||||
<table class="table align-middle mb-3" id="alias_data">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="4">
|
||||
{% trans 'Defined aliases' %}
|
||||
{{ t('Defined aliases') }}
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -211,13 +209,13 @@
|
||||
{% for db, db_data in aliases %}
|
||||
{% if db_data.alias is defined and db_data.alias is not null %}
|
||||
<tr>
|
||||
<th>{% trans %}Database{% context %}Alias{% endtrans %}</th>
|
||||
<th>{{ t('Database', context = 'Alias') }}</th>
|
||||
<td>{{ db }}</td>
|
||||
<td>
|
||||
<input name="aliases[{{ db }}][alias]" value="{{ db_data.alias }}" type="text">
|
||||
</td>
|
||||
<td>
|
||||
<button class="alias_remove btn btn-secondary">{% trans 'Remove' %}</button>
|
||||
<button class="alias_remove btn btn-secondary">{{ t('Remove') }}</button>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
@ -225,26 +223,26 @@
|
||||
{% for table, table_data in db_data.tables ?? [] %}
|
||||
{% if table_data.alias is defined and table_data.alias is not null %}
|
||||
<tr>
|
||||
<th>{% trans %}Table{% context %}Alias{% endtrans %}</th>
|
||||
<th>{{ t('Table', context = 'Alias') }}</th>
|
||||
<td>{{ db }}.{{ table }}</td>
|
||||
<td>
|
||||
<input name="aliases[{{ db }}][tables][{{ table }}][alias]" value="{{ table_data.alias }}" type="text">
|
||||
</td>
|
||||
<td>
|
||||
<button class="alias_remove btn btn-secondary">{% trans 'Remove' %}</button>
|
||||
<button class="alias_remove btn btn-secondary">{{ t('Remove') }}</button>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
||||
{% for column, column_name in table_data.columns ?? [] %}
|
||||
<tr>
|
||||
<th>{% trans %}Column{% context %}Alias{% endtrans %}</th>
|
||||
<th>{{ t('Column', context = 'Alias') }}</th>
|
||||
<td>{{ db }}.{{ table }}.{{ column }}</td>
|
||||
<td>
|
||||
<input name="aliases[{{ db }}][tables][{{ table }}][colums][{{ column }}]" value="{{ column_name }}" type="text">
|
||||
</td>
|
||||
<td>
|
||||
<button class="alias_remove btn btn-secondary">{% trans 'Remove' %}</button>
|
||||
<button class="alias_remove btn btn-secondary">{{ t('Remove') }}</button>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
@ -261,7 +259,7 @@
|
||||
<input name="aliases_new" value="" type="text">
|
||||
</td>
|
||||
<td>
|
||||
<button class="alias_remove btn btn-secondary">{% trans 'Remove' %}</button>
|
||||
<button class="alias_remove btn btn-secondary">{{ t('Remove') }}</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
@ -270,12 +268,12 @@
|
||||
<table class="table align-middle">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="4">{% trans 'Define new aliases' %}</th>
|
||||
<th colspan="4">{{ t('Define new aliases') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{% trans 'Select database:' %}</label>
|
||||
<label>{{ t('Select database:') }}</label>
|
||||
</td>
|
||||
<td>
|
||||
<select id="db_alias_select">
|
||||
@ -283,15 +281,15 @@
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<input id="db_alias_name" placeholder="{% trans 'New database name' %}" disabled="1">
|
||||
<input id="db_alias_name" placeholder="{{ t('New database name') }}" disabled="1">
|
||||
</td>
|
||||
<td>
|
||||
<button id="db_alias_button" class="btn btn-secondary" disabled="1">{% trans 'Add' %}</button>
|
||||
<button id="db_alias_button" class="btn btn-secondary" disabled="1">{{ t('Add') }}</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{% trans 'Select table:' %}</label>
|
||||
<label>{{ t('Select table:') }}</label>
|
||||
</td>
|
||||
<td>
|
||||
<select id="table_alias_select">
|
||||
@ -299,15 +297,15 @@
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<input id="table_alias_name" placeholder="{% trans 'New table name' %}" disabled="1">
|
||||
<input id="table_alias_name" placeholder="{{ t('New table name') }}" disabled="1">
|
||||
</td>
|
||||
<td>
|
||||
<button id="table_alias_button" class="btn btn-secondary" disabled="1">{% trans 'Add' %}</button>
|
||||
<button id="table_alias_button" class="btn btn-secondary" disabled="1">{{ t('Add') }}</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{% trans 'Select column:' %}</label>
|
||||
<label>{{ t('Select column:') }}</label>
|
||||
</td>
|
||||
<td>
|
||||
<select id="column_alias_select">
|
||||
@ -315,17 +313,17 @@
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<input id="column_alias_name" placeholder="{% trans 'New column name' %}" disabled="1">
|
||||
<input id="column_alias_name" placeholder="{{ t('New column name') }}" disabled="1">
|
||||
</td>
|
||||
<td>
|
||||
<button id="column_alias_button" class="btn btn-secondary" disabled="1">{% trans 'Add' %}</button>
|
||||
<button id="column_alias_button" class="btn btn-secondary" disabled="1">{{ t('Add') }}</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" id="saveAndCloseBtn" data-bs-dismiss="modal">
|
||||
{% trans 'Save & close' %}
|
||||
{{ t('Save & close') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@ -333,12 +331,12 @@
|
||||
</div>
|
||||
|
||||
<div class="card mb-3 d-none" id="output">
|
||||
<div class="card-header">{% trans 'Output:' %}</div>
|
||||
<div class="card-header">{{ t('Output:') }}</div>
|
||||
<ul class="list-group list-group-flush">
|
||||
<li class="list-group-item">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" role="switch" id="btn_alias_config"{{ has_aliases ? ' checked' }}>
|
||||
<label class="form-check-label" for="btn_alias_config">{% trans 'Rename exported databases/tables/columns' %}</label>
|
||||
<label class="form-check-label" for="btn_alias_config">{{ t('Rename exported databases/tables/columns') }}</label>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@ -357,11 +355,11 @@
|
||||
<li class="list-group-item">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" id="radio_view_as_text" name="output_format" value="astext"{{ repopulate or export_asfile == false ? ' checked' }}>
|
||||
<label class="form-check-label" for="radio_view_as_text">{% trans 'View output as text' %}</label>
|
||||
<label class="form-check-label" for="radio_view_as_text">{{ t('View output as text') }}</label>
|
||||
</div>
|
||||
<div class="form-check mb-2">
|
||||
<input class="form-check-input" type="radio" name="output_format" value="sendit" id="radio_dump_asfile"{{ not repopulate and is_checked_asfile ? ' checked' }}>
|
||||
<label class="form-check-label" for="radio_dump_asfile">{% trans 'Save output to a file' %}</label>
|
||||
<label class="form-check-label" for="radio_dump_asfile">{{ t('Save output to a file') }}</label>
|
||||
</div>
|
||||
<div class="hstack gap-3">
|
||||
<div class="vr"></div>
|
||||
@ -378,7 +376,7 @@
|
||||
<input class="form-check-input" type="checkbox" role="switch" name="onserver_overwrite" value="saveitover" id="checkbox_dump_onserver_overwrite"
|
||||
{{- is_checked_export_overwrite ? ' checked' }}>
|
||||
<label class="form-check-label" for="checkbox_dump_onserver_overwrite">
|
||||
{% trans 'Overwrite existing file(s)' %}
|
||||
{{ t('Overwrite existing file(s)') }}
|
||||
</label>
|
||||
</div>
|
||||
</li>
|
||||
@ -388,7 +386,7 @@
|
||||
<div class="row g-3 align-items-center">
|
||||
<div class="col-auto">
|
||||
<label for="filename_template" class="col-form-label">
|
||||
{% trans 'File name template:' %}
|
||||
{{ t('File name template:') }}
|
||||
{{ show_hint(t('This value is interpreted using the \'strftime\' function, so you can use time formatting strings. Additionally the following transformations will happen: %s Other text will be kept as is. See the FAQ 6.27 for details.')|format(filename_hint)) }}
|
||||
</label>
|
||||
</div>
|
||||
@ -399,7 +397,7 @@
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" role="switch" name="remember_template" id="checkbox_remember_template"{{ is_checked_remember_file_template ? ' checked' }}>
|
||||
<label class="form-check-label" for="checkbox_remember_template">
|
||||
{% trans 'Use this for future exports' %}
|
||||
{{ t('Use this for future exports') }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@ -410,7 +408,7 @@
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-auto">
|
||||
<label for="select_charset" class="col-form-label">{% trans 'Character set of the file:' %}</label>
|
||||
<label for="select_charset" class="col-form-label">{{ t('Character set of the file:') }}</label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<select class="form-select" id="select_charset" name="charset">
|
||||
@ -430,21 +428,21 @@
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-auto">
|
||||
<label for="compression" class="col-form-label">{% trans 'Compression:' %}</label>
|
||||
<label for="compression" class="col-form-label">{{ t('Compression:') }}</label>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<select class="form-select" id="compression" name="compression">
|
||||
<option value="none">{% trans 'None' %}</option>
|
||||
<option value="none">{{ t('None') }}</option>
|
||||
{% if has_zip %}
|
||||
<option value="zip"
|
||||
{{- selected_compression == 'zip' ? ' selected' }}>
|
||||
{% trans 'zipped' %}
|
||||
{{ t('zipped') }}
|
||||
</option>
|
||||
{% endif %}
|
||||
{% if has_gzip %}
|
||||
<option value="gzip"
|
||||
{{- selected_compression == 'gzip' ? ' selected' }}>
|
||||
{% trans 'gzipped' %}
|
||||
{{ t('gzipped') }}
|
||||
</option>
|
||||
{% endif %}
|
||||
</select>
|
||||
@ -462,9 +460,9 @@
|
||||
{{- is_checked_as_separate_files ? ' checked' }}>
|
||||
<label class="form-check-label" for="checkbox_as_separate_files">
|
||||
{% if export_type == 'server' %}
|
||||
{% trans 'Export databases as separate files' %}
|
||||
{{ t('Export databases as separate files') }}
|
||||
{% elseif export_type == 'database' %}
|
||||
{% trans 'Export tables as separate files' %}
|
||||
{{ t('Export tables as separate files') }}
|
||||
{% endif %}
|
||||
</label>
|
||||
</div>
|
||||
@ -475,15 +473,15 @@
|
||||
</li>
|
||||
|
||||
<li class="list-group-item">
|
||||
<label for="maxsize" class="form-label">{% trans 'Skip tables larger than:' %}</label>
|
||||
<label for="maxsize" class="form-label">{{ t('Skip tables larger than:') }}</label>
|
||||
<input class="form-control" type="number" id="maxsize" name="maxsize" aria-describedby="maxsizeHelp">
|
||||
<div id="maxsizeHelp" class="form-text">{% trans 'The size is measured in MiB.' %}</div>
|
||||
<div id="maxsizeHelp" class="form-text">{{ t('The size is measured in MiB.') }}</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="card mb-3 d-none" id="format_specific_opts">
|
||||
<div class="card-header">{% trans 'Format-specific options:' %}</div>
|
||||
<div class="card-header">{{ t('Format-specific options:') }}</div>
|
||||
<div class="card-body">
|
||||
{{ options|raw }}
|
||||
</div>
|
||||
@ -492,7 +490,7 @@
|
||||
{% if can_convert_kanji %}
|
||||
{# Japanese encoding setting #}
|
||||
<div class="card mb-3" id="kanji_encoding">
|
||||
<div class="card-header">{% trans 'Encoding Conversion:' %}</div>
|
||||
<div class="card-header">{{ t('Encoding Conversion:') }}</div>
|
||||
<div class="card-body">
|
||||
{% include 'encoding/kanji_encoding_form.twig' %}
|
||||
</div>
|
||||
@ -500,7 +498,7 @@
|
||||
{% endif %}
|
||||
|
||||
<div id="submit">
|
||||
<input id="buttonGo" class="btn btn-primary" type="submit" value="{% trans 'Export' %}" data-exec-time-limit="{{ exec_time_limit }}">
|
||||
<input id="buttonGo" class="btn btn-primary" type="submit" value="{{ t('Export') }}" data-exec-time-limit="{{ exec_time_limit }}">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<option value="">-- {% trans 'Select a template' %} --</option>
|
||||
<option value="">-- {{ t('Select a template') }} --</option>
|
||||
|
||||
{% for template in templates %}
|
||||
<option value="{{ template.getId() }}"{{ template.getId() == selected_template ? ' selected' }}>
|
||||
|
||||
@ -2,12 +2,12 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="exportPrivilegesModalLabel">{% trans 'Loading' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="exportPrivilegesModalLabel">{{ t('Loading') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Close' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Close') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<div class="card mb-3" id="tableFilter">
|
||||
<div class="card-header">{% trans 'Filters' %}</div>
|
||||
<div class="card-header">{{ t('Filters') }}</div>
|
||||
<div class="card-body row row-cols-lg-auto gy-1 gx-3 align-items-center">
|
||||
<label class="col-12 col-form-label" for="filterText">{% trans 'Containing the word:' %}</label>
|
||||
<label class="col-12 col-form-label" for="filterText">{{ t('Containing the word:') }}</label>
|
||||
<div class="col-12">
|
||||
<input class="form-control" name="filterText" type="text" id="filterText" value="{{ filter_value }}">
|
||||
</div>
|
||||
|
||||
@ -7,11 +7,11 @@
|
||||
{% if not is_ajax and not is_minimal %}
|
||||
{% if self_url is not empty %}
|
||||
<div id="selflink" class="d-print-none">
|
||||
<a href="{{ self_url }}" title="{% trans 'Open new phpMyAdmin window' %}" target="_blank" rel="noopener noreferrer">
|
||||
<a href="{{ self_url }}" title="{{ t('Open new phpMyAdmin window') }}" target="_blank" rel="noopener noreferrer">
|
||||
{% if show_icons('TabsMode') %}
|
||||
{{ get_image('window-new', t('Open new phpMyAdmin window')) }}
|
||||
{% else %}
|
||||
{% trans 'Open new phpMyAdmin window' %}
|
||||
{{ t('Open new phpMyAdmin window') }}
|
||||
{% endif %}
|
||||
</a>
|
||||
</div>
|
||||
@ -26,7 +26,7 @@
|
||||
{% if is_demo %}
|
||||
<div id="pma_demo" class="d-print-none">
|
||||
{% apply notice %}
|
||||
<a href="{{ url('/') }}">{% trans 'phpMyAdmin Demo Server' %}:</a>
|
||||
<a href="{{ url('/') }}">{{ t('phpMyAdmin Demo Server') }}:</a>
|
||||
{% if git_revision_info is not empty %}
|
||||
{% set revision_info -%}
|
||||
<a target="_blank" rel="noopener noreferrer" href="{{ git_revision_info.revisionUrl|link }}">{{ git_revision_info.revision }}</a>
|
||||
@ -36,7 +36,7 @@
|
||||
{%- endset %}
|
||||
{{ t('Currently running Git revision %1$s from the %2$s branch.')|format(revision_info, branch_info)|raw }}
|
||||
{% else %}
|
||||
{% trans 'Git information missing!' %}
|
||||
{{ t('Git information missing!') }}
|
||||
{% endif %}
|
||||
{% endapply %}
|
||||
</div>
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
<div class="choice form-switch mt-1">
|
||||
<input type="checkbox" id="choice" class="form-check-input" value="useBaseLayer"{{ srid != 0 ? ' checked="checked"' }}>
|
||||
<label for="choice">{% trans "Use OpenStreetMaps as Base Layer" %}</label>
|
||||
<label for="choice">{{ t('Use OpenStreetMaps as Base Layer') }}</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -47,7 +47,7 @@
|
||||
{% endfor %}
|
||||
</select>
|
||||
|
||||
<label for="srid">{% trans %}SRID:{% context %}Spatial Reference System Identifier{% endtrans %}</label>
|
||||
<label for="srid">{{ t('SRID:', context = 'Spatial Reference System Identifier') }}</label>
|
||||
<input id="srid" name="gis_data[srid]" type="text" value="{{ srid }}">
|
||||
</div>
|
||||
{# End of header section #}
|
||||
@ -56,7 +56,7 @@
|
||||
{# End of data section #}
|
||||
|
||||
<div class="gis_data_output">
|
||||
<h3>{% trans 'Output' %}</h3>
|
||||
<h3>{{ t('Output') }}</h3>
|
||||
<textarea id="gis_data_textarea" class="mb-3" rows="5">{{ result }}</textarea>
|
||||
|
||||
<button type="button" class="btn btn-primary gis-copy-data">{{ t('Copy') }}</button>
|
||||
|
||||
@ -77,9 +77,9 @@
|
||||
{% for color_mode in theme_color_modes %}
|
||||
<option value="{{ color_mode }}"{{ theme_color_mode == color_mode ? ' selected' }}>
|
||||
{%- if color_mode == 'light' -%}
|
||||
{% trans %}Light{% context %}Light color mode of the theme{% endtrans %}
|
||||
{{ t('Light', context = 'Light color mode of the theme') }}
|
||||
{%- elseif color_mode == 'dark' -%}
|
||||
{% trans %}Dark{% context %}Dark color mode of the theme{% endtrans %}
|
||||
{{ t('Dark', context = 'Dark color mode of the theme') }}
|
||||
{%- else -%}
|
||||
{{ color_mode|title }}
|
||||
{%- endif -%}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<li id="li_pma_version_git" class="list-group-item">
|
||||
{% trans 'Git revision:' %}
|
||||
{{ t('Git revision:') }}
|
||||
|
||||
{% if is_remote_commit %}
|
||||
<a href="{{ 'https://github.com/phpmyadmin/phpmyadmin/commit/%s'|format(hash|e)|link }}" rel="noopener noreferrer" target="_blank">
|
||||
@ -10,7 +10,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% if branch is same as(false) %}
|
||||
({% trans 'no branch' %})
|
||||
({{ t('no branch') }})
|
||||
{% elseif is_remote_branch %}
|
||||
{{ t('from %s branch')|format(
|
||||
'<a href="%s" rel="noopener noreferrer" target="_blank">%s</a>'|format(
|
||||
|
||||
@ -15,13 +15,11 @@
|
||||
{% if is_demo %}
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">
|
||||
{% trans 'phpMyAdmin Demo Server' %}
|
||||
{{ t('phpMyAdmin Demo Server') }}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{% apply format('<a href="' ~ url('/url', {'url': 'https://demo.phpmyadmin.net/'}) ~ '" target="_blank" rel="noopener noreferrer">demo.phpmyadmin.net</a>')|raw %}
|
||||
{% trans %}
|
||||
You are using the demo server. You can do anything here, but please do not change root, debian-sys-maint and pma users. More information is available at %s.
|
||||
{% endtrans %}
|
||||
{{ t('You are using the demo server. You can do anything here, but please do not change root, debian-sys-maint and pma users. More information is available at %s.') }}
|
||||
{% endapply %}
|
||||
</div>
|
||||
</div>
|
||||
@ -29,7 +27,7 @@
|
||||
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">
|
||||
{% trans 'General settings' %}
|
||||
{{ t('General settings') }}
|
||||
</div>
|
||||
<ul class="list-group list-group-flush">
|
||||
{% if has_server_selection %}
|
||||
@ -55,14 +53,14 @@
|
||||
<div class="col-12">
|
||||
<label for="collationConnectionSelect" class="col-form-label">
|
||||
{{ get_image('s_asci') }}
|
||||
{% trans 'Server connection collation:' %}
|
||||
{{ t('Server connection collation:') }}
|
||||
{{ show_mysql_docu('charset-connection') }}
|
||||
</label>
|
||||
</div>
|
||||
{% if charsets is not empty %}
|
||||
<div class="col-12">
|
||||
<select lang="en" dir="ltr" name="collation_connection" id="collationConnectionSelect" class="form-select autosubmit">
|
||||
<option value="">{% trans 'Collation' %}</option>
|
||||
<option value="">{{ t('Collation') }}</option>
|
||||
<option value=""></option>
|
||||
{% for charset in charsets %}
|
||||
<optgroup label="{{ charset.name }}" title="{{ charset.description }}">
|
||||
@ -92,7 +90,7 @@
|
||||
{% if available_languages is not empty or has_theme_manager %}
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">
|
||||
{% trans 'Appearance settings' %}
|
||||
{{ t('Appearance settings') }}
|
||||
</div>
|
||||
<ul class="list-group list-group-flush">
|
||||
{% if available_languages is not empty %}
|
||||
@ -102,7 +100,7 @@
|
||||
<div class="col-12">
|
||||
<label for="languageSelect" class="col-form-label text-nowrap">
|
||||
{{ get_image('s_lang') }}
|
||||
{% trans 'Language' %}
|
||||
{{ t('Language') }}
|
||||
{% if t('Language') != 'Language' %}
|
||||
{# For non-English, display "Language" with emphasis because it's not a proper word
|
||||
in the current language; we show it to help people recognize the dialog #}
|
||||
@ -141,7 +139,7 @@
|
||||
{% endfor %}
|
||||
</select>
|
||||
<button type="button" class="btn btn-outline-secondary" data-bs-toggle="modal" data-bs-target="#themesModal">
|
||||
{% trans %}View all{% context %}View all themes{% endtrans %}
|
||||
{{ t('View all', context = 'View all themes') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@ -153,9 +151,9 @@
|
||||
{% for color_mode in theme.color_modes %}
|
||||
<option value="{{ color_mode }}"{{ theme.color_mode == color_mode ? ' selected' }}>
|
||||
{%- if color_mode == 'light' -%}
|
||||
{% trans %}Light{% context %}Light color mode of the theme{% endtrans %}
|
||||
{{ t('Light', context = 'Light color mode of the theme') }}
|
||||
{%- elseif color_mode == 'dark' -%}
|
||||
{% trans %}Dark{% context %}Dark color mode of the theme{% endtrans %}
|
||||
{{ t('Dark', context = 'Dark color mode of the theme') }}
|
||||
{%- else -%}
|
||||
{{ color_mode|title }}
|
||||
{%- endif -%}
|
||||
@ -177,35 +175,35 @@
|
||||
{% if database_server is not empty %}
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">
|
||||
{% trans 'Database server' %}
|
||||
{{ t('Database server') }}
|
||||
</div>
|
||||
<ul class="list-group list-group-flush">
|
||||
<li class="list-group-item">
|
||||
{% trans 'Server:' %}
|
||||
{{ t('Server:') }}
|
||||
{{ database_server.host }}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
{% trans 'Server type:' %}
|
||||
{{ t('Server type:') }}
|
||||
{{ database_server.type }}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
{% trans 'Server connection:' %}
|
||||
{{ t('Server connection:') }}
|
||||
{{ database_server.connection|raw }}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
{% trans 'Server version:' %}
|
||||
{{ t('Server version:') }}
|
||||
{{ database_server.version }}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
{% trans 'Protocol version:' %}
|
||||
{{ t('Protocol version:') }}
|
||||
{{ database_server.protocol }}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
{% trans 'User:' %}
|
||||
{{ t('User:') }}
|
||||
{{ database_server.user }}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
{% trans 'Server charset:' %}
|
||||
{{ t('Server charset:') }}
|
||||
<span lang="en" dir="ltr">
|
||||
{{ database_server.charset }}
|
||||
</span>
|
||||
@ -217,7 +215,7 @@
|
||||
{% if web_server is not empty or show_php_info %}
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">
|
||||
{% trans 'Web server' %}
|
||||
{{ t('Web server') }}
|
||||
</div>
|
||||
<ul class="list-group list-group-flush">
|
||||
{% if web_server is not empty %}
|
||||
@ -227,25 +225,25 @@
|
||||
</li>
|
||||
{% endif %}
|
||||
<li class="list-group-item" id="li_mysql_client_version">
|
||||
{% trans 'Database client version:' %}
|
||||
{{ t('Database client version:') }}
|
||||
{{ web_server.database }}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
{% trans 'PHP extension:' %}
|
||||
{{ t('PHP extension:') }}
|
||||
{% for extension in web_server.php_extensions %}
|
||||
{{ extension }}
|
||||
{{ show_php_docu('book.' ~ extension ~ '.php') }}
|
||||
{% endfor %}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
{% trans 'PHP version:' %}
|
||||
{{ t('PHP version:') }}
|
||||
{{ web_server.php_version }}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if show_php_info %}
|
||||
<li class="list-group-item">
|
||||
<a href="{{ url('/phpinfo') }}" target="_blank" rel="noopener noreferrer">
|
||||
{% trans 'Show PHP information' %}
|
||||
{{ t('Show PHP information') }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
@ -259,37 +257,37 @@
|
||||
</div>
|
||||
<ul class="list-group list-group-flush">
|
||||
<li id="li_pma_version" class="list-group-item{{ is_version_checked ? ' jsversioncheck' }}">
|
||||
{% trans 'Version information:' %}
|
||||
{{ t('Version information:') }}
|
||||
<span class="version">{{ phpmyadmin_version }}</span>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<a href="{{ get_docu_link('index') }}" target="_blank" rel="noopener noreferrer">
|
||||
{% trans 'Documentation' %}
|
||||
{{ t('Documentation') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<a href="{{ 'https://www.phpmyadmin.net/'|link }}" target="_blank" rel="noopener noreferrer">
|
||||
{% trans 'Official Homepage' %}
|
||||
{{ t('Official Homepage') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<a href="{{ 'https://www.phpmyadmin.net/contribute/'|link }}" target="_blank" rel="noopener noreferrer">
|
||||
{% trans 'Contribute' %}
|
||||
{{ t('Contribute') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<a href="{{ 'https://www.phpmyadmin.net/support/'|link }}" target="_blank" rel="noopener noreferrer">
|
||||
{% trans 'Get support' %}
|
||||
{{ t('Get support') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<a href="{{ url('/changelog') }}" target="_blank">
|
||||
{% trans 'List of changes' %}
|
||||
{{ t('List of changes') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<a href="{{ url('/license') }}" target="_blank">
|
||||
{% trans 'License' %}
|
||||
{{ t('License') }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@ -315,18 +313,18 @@
|
||||
<div class="modal-dialog modal-xl">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="themesModalLabel">{% trans 'phpMyAdmin Themes' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="themesModalLabel">{{ t('phpMyAdmin Themes') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="spinner-border" role="status">
|
||||
<span class="visually-hidden">{% trans 'Loading…' %}</span>
|
||||
<span class="visually-hidden">{{ t('Loading…') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Close' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Close') }}</button>
|
||||
<a href="{{ 'https://www.phpmyadmin.net/themes/'|link }}#pma_{{ phpmyadmin_major_version|replace({'.': '_'}) }}" class="btn btn-primary" rel="noopener noreferrer" target="_blank">
|
||||
{% trans 'Get more themes!' %}
|
||||
{{ t('Get more themes!') }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
<h5 class="card-title">{{ theme.name }} <small>({{ theme.version }})</small></h5>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<button type="submit" class="btn btn-primary" name="set_theme" value="{{ theme.id }}">{% trans %}Take it{% notes %}Choose the theme button in the themes list modal{% endtrans %}</button>
|
||||
<button type="submit" class="btn btn-primary" name="set_theme" value="{{ theme.id }}">{{ t('Take it', notes = 'Choose the theme button in the themes list modal') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -20,13 +20,13 @@
|
||||
{{ get_hidden_inputs(hidden_inputs) }}
|
||||
|
||||
<div class="card mb-3">
|
||||
<div class="card-header">{% trans 'File to import:' %}</div>
|
||||
<div class="card-header">{{ t('File to import:') }}</div>
|
||||
<div class="card-body">
|
||||
{# We don't have show anything about compression, when no supported #}
|
||||
{% if compressions is not empty %}
|
||||
<p class="card-text">
|
||||
{{ t('File may be compressed (%s) or uncompressed.')|format(compressions|join(', ')) }}<br>
|
||||
{% trans 'A compressed file\'s name must end in <strong>.[format].[compression]</strong>. Example: <strong>.sql.zip</strong>' %}
|
||||
{{ t("A compressed file's name must end in <strong>.[format].[compression]</strong>. Example: <strong>.sql.zip</strong>")|raw }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
@ -34,21 +34,21 @@
|
||||
{% set use_local_file_import = timeout_passed_global is not empty and local_import_file is not empty %}
|
||||
<ul class="nav nav-pills mb-3" id="importFileTab" role="tablist">
|
||||
<li class="nav-item" role="presentation">
|
||||
<button class="nav-link{{ not use_local_file_import ? ' active' }}" id="uploadFileTab" data-bs-toggle="tab" data-bs-target="#uploadFile" type="button" role="tab" aria-controls="uploadFile" aria-selected="{{ not use_local_file_import ? 'true' : 'false' }}">{% trans 'Upload a file' %}</button>
|
||||
<button class="nav-link{{ not use_local_file_import ? ' active' }}" id="uploadFileTab" data-bs-toggle="tab" data-bs-target="#uploadFile" type="button" role="tab" aria-controls="uploadFile" aria-selected="{{ not use_local_file_import ? 'true' : 'false' }}">{{ t('Upload a file') }}</button>
|
||||
</li>
|
||||
<li class="nav-item" role="presentation">
|
||||
<button class="nav-link{{ use_local_file_import ? ' active' }}" id="localFileTab" data-bs-toggle="tab" data-bs-target="#localFile" type="button" role="tab" aria-controls="localFile" aria-selected="{{ use_local_file_import ? 'true' : 'false' }}">{% trans 'Select file to import' %}</button>
|
||||
<button class="nav-link{{ use_local_file_import ? ' active' }}" id="localFileTab" data-bs-toggle="tab" data-bs-target="#localFile" type="button" role="tab" aria-controls="localFile" aria-selected="{{ use_local_file_import ? 'true' : 'false' }}">{{ t('Select file to import') }}</button>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tab-content mb-3" id="importFileTabContent">
|
||||
<div class="tab-pane fade{{ not use_local_file_import ? ' show active' }}" id="uploadFile" role="tabpanel" aria-labelledby="uploadFileTab">
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="input_import_file">{% trans 'Browse your computer:' %} <small>{{ formatted_maximum_upload_size }}</small></label>
|
||||
<label class="form-label" for="input_import_file">{{ t('Browse your computer:') }} <small>{{ formatted_maximum_upload_size }}</small></label>
|
||||
<input class="form-control" type="file" name="import_file" id="input_import_file">
|
||||
</div>
|
||||
<div id="upload_form_status" class="hide"></div>
|
||||
<div id="upload_form_status_info" class="hide"></div>
|
||||
<p class="card-text">{% trans 'You may also drag and drop a file on any page.' %}</p>
|
||||
<p class="card-text">{{ t('You may also drag and drop a file on any page.') }}</p>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade{{ use_local_file_import ? ' show active' }}" id="localFile" role="tabpanel" aria-labelledby="localFileTab">
|
||||
@ -62,19 +62,19 @@
|
||||
</select>
|
||||
{% else %}
|
||||
<div class="alert alert-info" role="alert">
|
||||
{% trans 'There are no files to import!' %}
|
||||
{{ t('There are no files to import!') }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% elseif is_upload %}
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="input_import_file">{% trans 'Browse your computer:' %} <small>{{ formatted_maximum_upload_size }}</small></label>
|
||||
<label class="form-label" for="input_import_file">{{ t('Browse your computer:') }} <small>{{ formatted_maximum_upload_size }}</small></label>
|
||||
<input class="form-control" type="file" name="import_file" id="input_import_file">
|
||||
</div>
|
||||
<div id="upload_form_status" class="hide"></div>
|
||||
<div id="upload_form_status_info" class="hide"></div>
|
||||
<p class="card-text">{% trans 'You may also drag and drop a file on any page.' %}</p>
|
||||
<p class="card-text">{{ t('You may also drag and drop a file on any page.') }}</p>
|
||||
{% elseif upload_dir is not empty %}
|
||||
{% if local_files is same as(false) %}
|
||||
{{ t('The directory you set for upload work cannot be reached.')|error }}
|
||||
@ -88,14 +88,14 @@
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="alert alert-info" role="alert">
|
||||
{% trans 'There are no files to import!' %}
|
||||
{{ t('There are no files to import!') }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{{ t('File uploads are not allowed on this server.')|notice }}
|
||||
{% endif %}
|
||||
|
||||
<label class="form-label" for="charset_of_file">{% trans 'Character set of the file:' %}</label>
|
||||
<label class="form-label" for="charset_of_file">{{ t('Character set of the file:') }}</label>
|
||||
{% if is_encoding_supported %}
|
||||
<select class="form-select" id="charset_of_file" name="charset_of_file" size="1">
|
||||
{% for charset in encodings %}
|
||||
@ -118,7 +118,7 @@
|
||||
</div>
|
||||
|
||||
<div class="card mb-3">
|
||||
<div class="card-header">{% trans 'Partial import:' %}</div>
|
||||
<div class="card-header">{{ t('Partial import:') }}</div>
|
||||
<div class="card-body">
|
||||
{% if timeout_passed is defined and timeout_passed %}
|
||||
<input type="hidden" name="skip" value="{{ offset }}">
|
||||
@ -130,13 +130,13 @@
|
||||
<div class="form-check form-switch mb-3">
|
||||
<input class="form-check-input" type="checkbox" role="switch" name="allow_interrupt" value="yes" id="checkbox_allow_interrupt"{{ is_allow_interrupt_checked|raw }} aria-describedby="allowInterruptHelp">
|
||||
<label class="form-check-label" for="checkbox_allow_interrupt">
|
||||
{% trans 'Allow the interruption of an import in case the script detects it is close to the PHP timeout limit.' %}
|
||||
{{ t('Allow the interruption of an import in case the script detects it is close to the PHP timeout limit.') }}
|
||||
</label>
|
||||
<div id="allowInterruptHelp" class="form-text">{% trans 'This might be a good way to import large files, however it can break transactions.' %}</div>
|
||||
<div id="allowInterruptHelp" class="form-text">{{ t('This might be a good way to import large files, however it can break transactions.') }}</div>
|
||||
</div>
|
||||
|
||||
{% if not (timeout_passed is defined and timeout_passed) %}
|
||||
<label class="form-label" for="text_skip_queries">{% trans 'Skip this number of queries (for SQL) starting from the first one:' %}</label>
|
||||
<label class="form-label" for="text_skip_queries">{{ t('Skip this number of queries (for SQL) starting from the first one:') }}</label>
|
||||
<input class="form-control" type="number" name="skip_queries" value="{{ skip_queries_default|raw }}" id="text_skip_queries" min="0">
|
||||
{% else %}
|
||||
{# If timeout has passed, do not show the Skip dialog to avoid the risk of someone entering a value here that would interfere with "skip" #}
|
||||
@ -146,20 +146,20 @@
|
||||
</div>
|
||||
|
||||
<div class="card mb-3">
|
||||
<div class="card-header">{% trans 'Other options' %}</div>
|
||||
<div class="card-header">{{ t('Other options') }}</div>
|
||||
<div class="card-body">
|
||||
<input type="hidden" name="fk_checks" value="0">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" role="switch" name="fk_checks" id="fk_checks" value="1"{{ is_foreign_key_check ? ' checked' }}>
|
||||
<label class="form-check-label" for="fk_checks">{% trans 'Enable foreign key checks' %}</label>
|
||||
<label class="form-check-label" for="fk_checks">{{ t('Enable foreign key checks') }}</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card mb-3">
|
||||
<div class="card-header">{% trans 'Format' %}</div>
|
||||
<div class="card-header">{{ t('Format') }}</div>
|
||||
<div class="card-body">
|
||||
<select class="form-select" id="plugins" name="format" aria-label="{% trans 'Format' %}">
|
||||
<select class="form-select" id="plugins" name="format" aria-label="{{ t('Format') }}">
|
||||
{% for option in plugins_choice %}
|
||||
<option value="{{ option.name }}"{{ option.is_selected ? ' selected' }}>{{ option.text }}</option>
|
||||
{% endfor %}
|
||||
@ -170,7 +170,7 @@
|
||||
</div>
|
||||
|
||||
<div class="card mb-3" id="format_specific_opts">
|
||||
<div class="card-header">{% trans 'Format-specific options:' %}</div>
|
||||
<div class="card-header">{{ t('Format-specific options:') }}</div>
|
||||
<div class="card-body">
|
||||
{{ options|raw }}
|
||||
</div>
|
||||
@ -179,7 +179,7 @@
|
||||
{# Japanese encoding setting #}
|
||||
{% if can_convert_kanji %}
|
||||
<div class="card mb-3" id="kanji_encoding">
|
||||
<div class="card-header">{% trans 'Encoding Conversion:' %}</div>
|
||||
<div class="card-header">{{ t('Encoding Conversion:') }}</div>
|
||||
<div class="card-body">
|
||||
{% include 'encoding/kanji_encoding_form.twig' %}
|
||||
</div>
|
||||
@ -187,7 +187,7 @@
|
||||
{% endif %}
|
||||
|
||||
<div id="submit">
|
||||
<input id="buttonGo" class="btn btn-primary" type="submit" value="{% trans 'Import' %}">
|
||||
<input id="buttonGo" class="btn btn-primary" type="submit" value="{{ t('Import') }}">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
<div class="card"><div class="card-body">
|
||||
[ <a href="{{ go_back_url }}">{% trans 'Back' %}</a> ]
|
||||
[ <a href="{{ go_back_url }}">{{ t('Back') }}</a> ]
|
||||
</div></div>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<div class="card index_info">
|
||||
<div class="card-header" id="index_header">
|
||||
{% trans 'Indexes' %}
|
||||
{{ t('Indexes') }}
|
||||
{{ show_mysql_docu('optimizing-database-structure') }}
|
||||
</div>
|
||||
|
||||
@ -13,16 +13,16 @@
|
||||
<table class="table table-striped table-hover table-sm w-auto align-middle" id="table_index">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="3" class="d-print-none">{% trans 'Action' %}</th>
|
||||
<th>{% trans 'Keyname' %}</th>
|
||||
<th>{% trans 'Type' %}</th>
|
||||
<th>{% trans 'Unique' %}</th>
|
||||
<th>{% trans 'Packed' %}</th>
|
||||
<th>{% trans 'Column' %}</th>
|
||||
<th>{% trans 'Cardinality' %}</th>
|
||||
<th>{% trans 'Collation' %}</th>
|
||||
<th>{% trans 'Null' %}</th>
|
||||
<th>{% trans 'Comment' %}</th>
|
||||
<th colspan="3" class="d-print-none">{{ t('Action') }}</th>
|
||||
<th>{{ t('Keyname') }}</th>
|
||||
<th>{{ t('Type') }}</th>
|
||||
<th>{{ t('Unique') }}</th>
|
||||
<th>{{ t('Packed') }}</th>
|
||||
<th>{{ t('Column') }}</th>
|
||||
<th>{{ t('Cardinality') }}</th>
|
||||
<th>{{ t('Collation') }}</th>
|
||||
<th>{{ t('Null') }}</th>
|
||||
<th>{{ t('Comment') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
||||
@ -1,24 +1,24 @@
|
||||
{% if max_count < count %}
|
||||
<div class="{{ classes|join(' ') }}">
|
||||
{% if frame != 'frame_navigation' %}
|
||||
{% trans 'Page number:' %}
|
||||
{{ t('Page number:') }}
|
||||
{% endif %}
|
||||
|
||||
{% if position > 0 %}
|
||||
<a href="{{ script|raw }}" data-post="{{ get_common(url_params|merge({(param_name): 0}), '', false) }}"{{ frame == 'frame_navigation' ? ' class="ajax"' }} title="{% trans %}Begin{% context %}First page{% endtrans %}">
|
||||
<a href="{{ script|raw }}" data-post="{{ get_common(url_params|merge({(param_name): 0}), '', false) }}"{{ frame == 'frame_navigation' ? ' class="ajax"' }} title="{{ t('Begin', context = 'First page') }}">
|
||||
{% if show_icons('TableNavigationLinksMode') %}
|
||||
<<
|
||||
{% endif %}
|
||||
{% if show_text('TableNavigationLinksMode') %}
|
||||
{% trans %}Begin{% context %}First page{% endtrans %}
|
||||
{{ t('Begin', context = 'First page') }}
|
||||
{% endif %}
|
||||
</a>
|
||||
<a href="{{ script|raw }}" data-post="{{ get_common(url_params|merge({(param_name): position - max_count}), '', false) }}"{{ frame == 'frame_navigation' ? ' class="ajax"' }} title="{% trans %}Previous{% context %}Previous page{% endtrans %}">
|
||||
<a href="{{ script|raw }}" data-post="{{ get_common(url_params|merge({(param_name): position - max_count}), '', false) }}"{{ frame == 'frame_navigation' ? ' class="ajax"' }} title="{{ t('Previous', context = 'Previous page') }}">
|
||||
{% if show_icons('TableNavigationLinksMode') %}
|
||||
<
|
||||
{% endif %}
|
||||
{% if show_text('TableNavigationLinksMode') %}
|
||||
{% trans %}Previous{% context %}Previous page{% endtrans %}
|
||||
{{ t('Previous', context = 'Previous page') }}
|
||||
{% endif %}
|
||||
</a>
|
||||
{% endif %}
|
||||
@ -30,18 +30,18 @@
|
||||
</form>
|
||||
|
||||
{% if position + max_count < count %}
|
||||
<a href="{{ script|raw }}" data-post="{{ get_common(url_params|merge({(param_name): position + max_count}), '', false) }}"{{ frame == 'frame_navigation' ? ' class="ajax"' }} title="{% trans %}Next{% context %}Next page{% endtrans %}">
|
||||
<a href="{{ script|raw }}" data-post="{{ get_common(url_params|merge({(param_name): position + max_count}), '', false) }}"{{ frame == 'frame_navigation' ? ' class="ajax"' }} title="{{ t('Next', context = 'Next page') }}">
|
||||
{% if show_text('TableNavigationLinksMode') %}
|
||||
{% trans %}Next{% context %}Next page{% endtrans %}
|
||||
{{ t('Next', context = 'Next page') }}
|
||||
{% endif %}
|
||||
{% if show_icons('TableNavigationLinksMode') %}
|
||||
>
|
||||
{% endif %}
|
||||
</a>
|
||||
{% set last_pos = (count // max_count) * max_count %}
|
||||
<a href="{{ script|raw }}" data-post="{{ get_common(url_params|merge({(param_name): (last_pos == count ? count - max_count : last_pos)}), '', false) }}"{{ frame == 'frame_navigation' ? ' class="ajax"' }} title="{% trans %}End{% context %}Last page{% endtrans %}">
|
||||
<a href="{{ script|raw }}" data-post="{{ get_common(url_params|merge({(param_name): (last_pos == count ? count - max_count : last_pos)}), '', false) }}"{{ frame == 'frame_navigation' ? ' class="ajax"' }} title="{{ t('End', context = 'Last page') }}">
|
||||
{% if show_text('TableNavigationLinksMode') %}
|
||||
{% trans %}End{% context %}Last page{% endtrans %}
|
||||
{{ t('End', context = 'Last page') }}
|
||||
{% endif %}
|
||||
{% if show_icons('TableNavigationLinksMode') %}
|
||||
>>
|
||||
|
||||
@ -2,12 +2,10 @@
|
||||
|
||||
{% if is_demo %}
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">{% trans 'phpMyAdmin Demo Server' %}</div>
|
||||
<div class="card-header">{{ t('phpMyAdmin Demo Server') }}</div>
|
||||
<div class="card-body">
|
||||
{% apply format('<a href="' ~ url('/url', {'url': 'https://demo.phpmyadmin.net/'}) ~ '" target="_blank" rel="noopener noreferrer">demo.phpmyadmin.net</a>')|raw %}
|
||||
{% trans %}
|
||||
You are using the demo server. You can do anything here, but please do not change root, debian-sys-maint and pma users. More information is available at %s.
|
||||
{% endtrans %}
|
||||
{{ t('You are using the demo server. You can do anything here, but please do not change root, debian-sys-maint and pma users. More information is available at %s.') }}
|
||||
{% endapply %}
|
||||
</div>
|
||||
</div>
|
||||
@ -20,7 +18,7 @@
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">
|
||||
<span id="languageSelectLabel">
|
||||
{% trans 'Language' %}
|
||||
{{ t('Language') }}
|
||||
{% if t('Language') != 'Language' %}
|
||||
{# For non-English, display "Language" with emphasis because it's not a proper word
|
||||
in the current language; we show it to help people recognize the dialog #}
|
||||
@ -55,25 +53,25 @@
|
||||
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">
|
||||
{% trans 'Log in' %}
|
||||
{{ t('Log in') }}
|
||||
{{ show_docu('index', '', false, true) }}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{% if is_arbitrary_server_allowed %}
|
||||
<div class="row mb-3">
|
||||
<label for="serverNameInput" class="col-sm-4 col-form-label" title="{% trans 'You can enter hostname/IP address and port separated by space.' %}">
|
||||
{% trans 'Server:' %}
|
||||
<label for="serverNameInput" class="col-sm-4 col-form-label" title="{{ t('You can enter hostname/IP address and port separated by space.') }}">
|
||||
{{ t('Server:') }}
|
||||
</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="text" name="pma_servername" id="serverNameInput" value="{{ default_server }}" class="form-control" title="
|
||||
{%- trans 'You can enter hostname/IP address and port separated by space.' %}">
|
||||
{{- t('You can enter hostname/IP address and port separated by space.') }}">
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="input_username" class="col-sm-4 col-form-label">
|
||||
{% trans 'Username:' %}
|
||||
{{ t('Username:') }}
|
||||
</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="text" name="pma_username" id="input_username" value="{{ default_user }}" class="form-control" autocomplete="username" spellcheck="false" autofocus>
|
||||
@ -82,7 +80,7 @@
|
||||
|
||||
<div class="row">
|
||||
<label for="input_password" class="col-sm-4 col-form-label">
|
||||
{% trans 'Password:' %}
|
||||
{{ t('Password:') }}
|
||||
</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="password" name="pma_password" id="input_password" value="" class="form-control" autocomplete="current-password" spellcheck="false">
|
||||
@ -92,7 +90,7 @@
|
||||
{% if has_servers %}
|
||||
<div class="row mt-3">
|
||||
<label for="select_server" class="col-sm-4 col-form-label">
|
||||
{% trans 'Server choice:' %}
|
||||
{{ t('Server choice:') }}
|
||||
</label>
|
||||
<div class="col-sm-8">
|
||||
<select name="server" id="select_server" class="form-select"
|
||||
@ -114,14 +112,14 @@
|
||||
<div class="{{ captcha_req }}" data-sitekey="{{ captcha_key }}"></div>
|
||||
</div>
|
||||
<div class="col align-self-center text-end">
|
||||
<input class="btn btn-primary" value="{% trans 'Log in' %}" type="submit" id="input_go">
|
||||
<input class="btn btn-primary" value="{{ t('Log in') }}" type="submit" id="input_go">
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<input class="btn btn-primary {{ captcha_req }}" data-sitekey="{{ captcha_key }}" data-callback="recaptchaCallback" value="{% trans 'Log in' %}" type="submit" id="input_go">
|
||||
<input class="btn btn-primary {{ captcha_req }}" data-sitekey="{{ captcha_key }}" data-callback="recaptchaCallback" value="{{ t('Log in') }}" type="submit" id="input_go">
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<input class="btn btn-primary" value="{% trans 'Log in' %}" type="submit" id="input_go">
|
||||
<input class="btn btn-primary" value="{{ t('Log in') }}" type="submit" id="input_go">
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
{% if show_submit %}
|
||||
<input class="btn btn-primary" type="submit" value="{% trans "Verify" %}">
|
||||
<input class="btn btn-primary" type="submit" value="{{ t('Verify') }}">
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="2faCodeInput">{% trans "Authentication code:" %}</label>
|
||||
<label class="form-label" for="2faCodeInput">{{ t('Authentication code:') }}</label>
|
||||
<input class="form-control" id="2faCodeInput" type="text" name="2fa_code" autocomplete="off" autofocus>
|
||||
</div>
|
||||
{% trans 'Open the two-factor authentication app on your device to view your authentication code and verify your identity.' %}
|
||||
{{ t('Open the two-factor authentication app on your device to view your authentication code and verify your identity.') }}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{{ get_hidden_inputs() }}
|
||||
<p>
|
||||
{% trans "Please scan following QR code into the two-factor authentication app on your device and enter authentication code it generates." %}
|
||||
{{ t('Please scan following QR code into the two-factor authentication app on your device and enter authentication code it generates.') }}
|
||||
</p>
|
||||
<p>
|
||||
{% if has_imagick %}
|
||||
@ -10,8 +10,8 @@
|
||||
{% endif %}
|
||||
</p>
|
||||
<p>
|
||||
{% trans "Secret/key:" %} <strong>{{ secret }}</strong>
|
||||
{{ t('Secret/key:') }} <strong>{{ secret }}</strong>
|
||||
</p>
|
||||
<p>
|
||||
<label>{% trans "Authentication code:" %} <input type="text" name="2fa_code" autocomplete="off"></label>
|
||||
<label>{{ t('Authentication code:') }} <input type="text" name="2fa_code" autocomplete="off"></label>
|
||||
</p>
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
<div class="alert alert-danger" role="alert">
|
||||
{% trans "The configured two factor authentication is not available, please install missing dependencies." %}
|
||||
{{ t('The configured two factor authentication is not available, please install missing dependencies.') }}
|
||||
</div>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{% if not is_https %}
|
||||
<div class="alert alert-danger" role="alert">
|
||||
{% trans "You are not using https to access phpMyAdmin, therefore FIDO U2F device will most likely refuse to authenticate you." %}
|
||||
{{ t('You are not using https to access phpMyAdmin, therefore FIDO U2F device will most likely refuse to authenticate you.') }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
@ -7,6 +7,6 @@
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
{% trans "Please connect your FIDO U2F device into your computer's USB port. Then confirm login on the device." %}
|
||||
{{ t("Please connect your FIDO U2F device into your computer's USB port. Then confirm login on the device.") }}
|
||||
</p>
|
||||
<input id="u2f_authentication_response" name="u2f_authentication_response" value="" type="hidden" data-request="{{ request }}">
|
||||
|
||||
@ -7,6 +7,6 @@
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
{% trans "Please connect your FIDO U2F device into your computer's USB port. Then confirm registration on the device." %}
|
||||
{{ t("Please connect your FIDO U2F device into your computer's USB port. Then confirm registration on the device.") }}
|
||||
</p>
|
||||
<input id="u2f_registration_response" name="u2f_registration_response" value="" type="hidden" data-request="{{ request }}" data-signatures="{{ signatures }}">
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<li class="breadcrumb-item">
|
||||
{{ show_icons('TabsMode') ? get_image('s_host') }}
|
||||
<a href="{{ url(server.url) }}" data-raw-text="{{ server.name }}" draggable="false">
|
||||
{% if show_text('TabsMode') %}{% trans 'Server:' %}{% endif %}
|
||||
{% if show_text('TabsMode') %}{{ t('Server:') }}{% endif %}
|
||||
{{ server.name }}
|
||||
</a>
|
||||
</li>
|
||||
@ -13,7 +13,7 @@
|
||||
<li class="breadcrumb-item">
|
||||
{{ show_icons('TabsMode') ? get_image('s_db') }}
|
||||
<a href="{{ url(database.url, {'db': database.name}) }}" data-raw-text="{{ database.name }}" draggable="false">
|
||||
{% if show_text('TabsMode') %}{% trans 'Database:' %}{% endif %}
|
||||
{% if show_text('TabsMode') %}{{ t('Database:') }}{% endif %}
|
||||
{{ database.name }}
|
||||
</a>
|
||||
</li>
|
||||
@ -24,9 +24,9 @@
|
||||
<a href="{{ url(table.url, {'db': database.name, 'table': table.name}) }}" data-raw-text="{{ table.name }}" draggable="false">
|
||||
{% if show_text('TabsMode') %}
|
||||
{% if table.is_view %}
|
||||
{% trans 'View:' %}
|
||||
{{ t('View:') }}
|
||||
{% else %}
|
||||
{% trans 'Table:' %}
|
||||
{{ t('Table:') }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{{ table.name }}
|
||||
@ -46,7 +46,7 @@
|
||||
<div id="topmenucontainer" class="menucontainer">
|
||||
<nav class="navbar navbar-expand-lg">
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-label="
|
||||
{%- trans %}Toggle navigation{% notes %}Show or hide the menu using the hamburger style button{% endtrans %}" aria-controls="navbarNav" aria-expanded="false">
|
||||
{{- t('Toggle navigation', notes = 'Show or hide the menu using the hamburger style button') }}" aria-controls="navbarNav" aria-expanded="false">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
@ -56,7 +56,7 @@
|
||||
<a class="nav-link text-nowrap disableAjax" href="{{ url(tab.route, url_params|merge(tab.args ?? [])) }}">
|
||||
{{ get_icon(tab.icon, tab.text, false, true, 'TabsMode') }}
|
||||
{% if tab.active %}
|
||||
<span class="visually-hidden">{% trans %}(current){% notes %}Current page{% endtrans %}</span>
|
||||
<span class="visually-hidden">{{ t('(current)', notes = 'Current page') }}</span>
|
||||
{% endif %}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@ -2,13 +2,13 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="addIndexModalLabel">{% trans 'Loading' %}</h5>
|
||||
<button type="button" class="btn-close" id="addIndexModalCloseButton" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="addIndexModalLabel">{{ t('Loading') }}</h5>
|
||||
<button type="button" class="btn-close" id="addIndexModalCloseButton" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" id="addIndexModalGoButton">{% trans 'Go' %}</button>
|
||||
<button type="button" class="btn btn-secondary" id="addIndexModalCancelButton">{% trans 'Cancel' %}</button>
|
||||
<button type="button" class="btn btn-secondary" id="addIndexModalGoButton">{{ t('Go') }}</button>
|
||||
<button type="button" class="btn btn-secondary" id="addIndexModalCancelButton">{{ t('Cancel') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,13 +2,13 @@
|
||||
<div class="modal-dialog modal-lg" id="changePasswordModalDialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="changePasswordModalLabel">{% trans 'Change password' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="changePasswordModalLabel">{{ t('Change password') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" id="changePasswordGoButton">{% trans 'Go' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Cancel' %}</button>
|
||||
<button type="button" class="btn btn-secondary" id="changePasswordGoButton">{{ t('Go') }}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Cancel') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,13 +2,13 @@
|
||||
<div class="modal-dialog modal-lg" id="createViewModalDialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="createViewModalLabel">{% trans 'Create view' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="createViewModalLabel">{{ t('Create view') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" id="createViewModalGoButton">{% trans 'Go' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Close' %}</button>
|
||||
<button type="button" class="btn btn-secondary" id="createViewModalGoButton">{{ t('Go') }}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Close') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,13 +2,13 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="enumEditorModalLabel">{% trans 'ENUM/SET editor' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="enumEditorModalLabel">{{ t('ENUM/SET editor') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" id="enumEditorGoButton" data-bs-dismiss="modal">{% trans 'Go' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Close' %}</button>
|
||||
<button type="button" class="btn btn-secondary" id="enumEditorGoButton" data-bs-dismiss="modal">{{ t('Go') }}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Close') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,13 +2,13 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="functionConfirmModalLabel">{% trans 'Confirm' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="functionConfirmModalLabel">{{ t('Confirm') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" id="functionConfirmOkButton">{% trans 'Ok' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Close' %}</button>
|
||||
<button type="button" class="btn btn-secondary" id="functionConfirmOkButton">{{ t('Ok') }}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Close') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,14 +2,14 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="indexDialogModalLabel">{% trans 'Loading' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="indexDialogModalLabel">{{ t('Loading') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary" id="indexDialogModalGoButton">{% trans 'Go' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-target="#indexDialogPreviewModal" data-bs-toggle="modal">{% trans 'Preview SQL' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Close' %}</button>
|
||||
<button type="button" class="btn btn-primary" id="indexDialogModalGoButton">{{ t('Go') }}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-target="#indexDialogPreviewModal" data-bs-toggle="modal">{{ t('Preview SQL') }}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Close') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -18,16 +18,16 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="indexDialogPreviewModalLabel">{% trans 'Preview SQL' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="indexDialogPreviewModalLabel">{{ t('Preview SQL') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="spinner-border" role="status">
|
||||
<span class="visually-hidden">{% trans 'Loading…' %}</span>
|
||||
<span class="visually-hidden">{{ t('Loading…') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary" data-bs-target="#indexDialogModal" data-bs-toggle="modal">{% trans 'Go back' %}</button>
|
||||
<button class="btn btn-primary" data-bs-target="#indexDialogModal" data-bs-toggle="modal">{{ t('Go back') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,13 +2,13 @@
|
||||
<div class="modal-dialog modal-lg" id="pageSettingsModalDialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="pageSettingsModalLabel">{% trans 'Page-related settings' %}</h5>
|
||||
<button type="button" class="btn-close" id="pageSettingsModalCloseButton" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="pageSettingsModalLabel">{{ t('Page-related settings') }}</h5>
|
||||
<button type="button" class="btn-close" id="pageSettingsModalCloseButton" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" id="pageSettingsModalApplyButton">{% trans 'Apply' %}</button>
|
||||
<button type="button" class="btn btn-secondary" id="pageSettingsModalCancelButton">{% trans 'Cancel' %}</button>
|
||||
<button type="button" class="btn btn-secondary" id="pageSettingsModalApplyButton">{{ t('Apply') }}</button>
|
||||
<button type="button" class="btn btn-secondary" id="pageSettingsModalCancelButton">{{ t('Cancel') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="previewSqlConfirmModalLabel">{% trans 'Loading' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="previewSqlConfirmModalLabel">{{ t('Loading') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body preview_sql">
|
||||
<code class="sql">
|
||||
@ -11,8 +11,8 @@
|
||||
</code>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" id="previewSQLConfirmOkButton">{% trans 'OK' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Close' %}</button>
|
||||
<button type="button" class="btn btn-secondary" id="previewSQLConfirmOkButton">{{ t('OK') }}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Close') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,12 +2,12 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="previewSqlModalLabel">{% trans 'Loading' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="previewSqlModalLabel">{{ t('Loading') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Close' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Close') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,12 +2,12 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="unhideNavItemModalLabel">{% trans 'Show hidden navigation tree items.' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Close' %}"></button>
|
||||
<h5 class="modal-title" id="unhideNavItemModalLabel">{{ t('Show hidden navigation tree items.') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Close') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Close' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Close') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
{% endif %}
|
||||
|
||||
<div id="navipanellinks">
|
||||
<a href="{{ url('/') }}" class="disableAjax" title="{% trans 'Home' %}">
|
||||
<a href="{{ url('/') }}" class="disableAjax" title="{{ t('Home') }}">
|
||||
{{- get_image('b_home', t('Home')) -}}
|
||||
</a>
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<a href="{{ get_docu_link('index') }}" class="disableAjax" title="{% trans 'phpMyAdmin documentation' %}" target="_blank" rel="noopener noreferrer">
|
||||
<a href="{{ get_docu_link('index') }}" class="disableAjax" title="{{ t('phpMyAdmin documentation') }}" target="_blank" rel="noopener noreferrer">
|
||||
{{- get_image('b_docs', t('phpMyAdmin documentation')) -}}
|
||||
</a>
|
||||
|
||||
@ -40,11 +40,11 @@
|
||||
{{- get_image('b_sqlhelp', is_mariadb ? t('MariaDB Documentation') : t('MySQL Documentation')) -}}
|
||||
</a>
|
||||
|
||||
<a id="pma_navigation_settings_icon"{{ not is_navigation_settings_enabled ? ' class="hide"' }} href="#" title="{% trans 'Navigation panel settings' %}">
|
||||
<a id="pma_navigation_settings_icon"{{ not is_navigation_settings_enabled ? ' class="hide"' }} href="#" title="{{ t('Navigation panel settings') }}">
|
||||
{{- get_image('s_cog', t('Navigation panel settings')) -}}
|
||||
</a>
|
||||
|
||||
<a id="pma_navigation_reload" href="#" title="{% trans 'Reload navigation panel' %}">
|
||||
<a id="pma_navigation_reload" href="#" title="{{ t('Reload navigation panel') }}">
|
||||
{{- get_image('s_reload', t('Reload navigation panel')) -}}
|
||||
</a>
|
||||
</div>
|
||||
@ -81,11 +81,11 @@
|
||||
|
||||
{% if is_drag_drop_import_enabled %}
|
||||
<div class="pma_drop_handler">
|
||||
{% trans 'Drop files here' %}
|
||||
{{ t('Drop files here') }}
|
||||
</div>
|
||||
<div class="pma_sql_import_status">
|
||||
<h2>
|
||||
{% trans 'SQL upload' %}
|
||||
{{ t('SQL upload') }}
|
||||
( <span class="pma_import_count">0</span> )
|
||||
<span class="close">x</span>
|
||||
<span class="minimize">-</span>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<form action="{{ database_url }}" method="get">
|
||||
{{ get_hidden_fields({'server': server}) }}
|
||||
|
||||
<select name="db" class="hide" id="navi_db_select" aria-label="{% trans 'Databases' %}">
|
||||
<select name="db" class="hide" id="navi_db_select" aria-label="{{ t('Databases') }}">
|
||||
{% for option in options %}
|
||||
<option value="{{ option.name }}" title="{{ option.title }}"
|
||||
data-apath="{{ option.data.apath }}"
|
||||
|
||||
@ -8,12 +8,12 @@
|
||||
type="text"
|
||||
name="{{ is_root_node ? 'searchClause' : 'searchClause2' }}"
|
||||
accesskey="q"
|
||||
aria-label="{% trans 'Type to filter these, Enter to search all' %}"
|
||||
placeholder="{% trans 'Type to filter these, Enter to search all' %}"
|
||||
aria-label="{{ t('Type to filter these, Enter to search all') }}"
|
||||
placeholder="{{ t('Type to filter these, Enter to search all') }}"
|
||||
>
|
||||
<button
|
||||
class="btn btn-outline-secondary searchClauseClear"
|
||||
type="button" aria-label="{% trans 'Clear fast filter' %}">X</button>
|
||||
type="button" aria-label="{{ t('Clear fast filter') }}">X</button>
|
||||
</div>
|
||||
</form>
|
||||
</li>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
{% if not is_tree %}
|
||||
<span class='hide loaded_db'>{{ parent_name|url_encode }}</span>
|
||||
{% if list_content is empty %}
|
||||
<div>{% trans 'No tables found in database.' %}</div>
|
||||
<div>{{ t('No tables found in database.') }}</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@ -4,12 +4,10 @@
|
||||
<input type="hidden" name="json" value="">
|
||||
<input type="hidden" name="submit_import" value="1">
|
||||
<input type="hidden" name="return_url" value="{{ return_url }}">
|
||||
{% trans %}
|
||||
Your browser has phpMyAdmin configuration for this domain. Would you like to import it for current session?
|
||||
{% endtrans %}
|
||||
{{ t('Your browser has phpMyAdmin configuration for this domain. Would you like to import it for current session?') }}
|
||||
<br>
|
||||
<a href="#yes">{% trans "Yes" %}</a>
|
||||
/ <a href="#no">{% trans "No" %}</a>
|
||||
/ <a href="#delete">{% trans "Delete settings" %}</a>
|
||||
<a href="#yes">{{ t('Yes') }}</a>
|
||||
/ <a href="#no">{{ t('No') }}</a>
|
||||
/ <a href="#delete">{{ t('Delete settings') }}</a>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{{ error|raw }}
|
||||
{% if has_errors %}
|
||||
<div class="alert alert-danger config-form" role="alert">
|
||||
<strong>{% trans 'Cannot save settings, submitted form contains errors!' %}</strong>
|
||||
<strong>{{ t('Cannot save settings, submitted form contains errors!') }}</strong>
|
||||
{{ errors|raw }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
@ -3,13 +3,13 @@
|
||||
<ul id="user_prefs_tabs" class="nav nav-pills m-2">
|
||||
<li class="nav-item my-1">
|
||||
<a href="{{ url('/preferences/manage') }}" class="nav-link{{ route == '/preferences/manage' ? ' active' }} disableAjax">
|
||||
{% trans 'Manage your settings' %}
|
||||
{{ t('Manage your settings') }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item my-1">
|
||||
<a href="{{ url('/preferences/two-factor') }}" class="nav-link{{ route == '/preferences/two-factor' ? ' active' }} disableAjax">
|
||||
{% trans 'Two-factor authentication' %}
|
||||
{{ t('Two-factor authentication') }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@ -57,6 +57,6 @@
|
||||
|
||||
{% if not has_config_storage %}
|
||||
{% apply format('<a href="' ~ get_docu_link('setup', 'linked-tables') ~ '" target="_blank" rel="noopener noreferrer">', '</a>')|notice %}
|
||||
{% trans 'Your preferences will be saved for current session only. Storing them permanently requires %sphpMyAdmin configuration storage%s.' %}
|
||||
{{ t('Your preferences will be saved for current session only. Storing them permanently requires %sphpMyAdmin configuration storage%s.') }}
|
||||
{% endapply %}
|
||||
{% endif %}
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<input type="hidden" name="return_url" value="{{ return_url }}">
|
||||
{% endif %}
|
||||
<p>
|
||||
{% trans 'Do you want to import remaining settings?' %}
|
||||
{{ t('Do you want to import remaining settings?') }}
|
||||
</p>
|
||||
<input class="btn btn-secondary" type="submit" name="submit_import" value="{{ t('Yes') }}">
|
||||
<input class="btn btn-secondary" type="submit" name="submit_ignore" value="{{ t('No') }}">
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
<div class="col-12 col-md-7">
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">
|
||||
{% trans 'Import' %}
|
||||
{{ t('Import') }}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form class="prefs-form disableAjax" name="prefs_import" action="{{ url('/preferences/manage') }}" method="post"
|
||||
@ -16,20 +16,20 @@
|
||||
{{ get_hidden_inputs() }}
|
||||
<input type="hidden" name="json" value="">
|
||||
<input type="radio" id="import_text_file" name="import_type" value="text_file" checked="checked">
|
||||
<label for="import_text_file"> {% trans 'Import from file' %} </label>
|
||||
<label for="import_text_file"> {{ t('Import from file') }} </label>
|
||||
<div id="opts_import_text_file" class="prefsmanage_opts">
|
||||
<label for="input_import_file"> {% trans 'Browse your computer:' %} </label>
|
||||
<label for="input_import_file"> {{ t('Browse your computer:') }} </label>
|
||||
<input type="file" name="import_file" id="input_import_file">
|
||||
</div>
|
||||
<input type="radio" id="import_local_storage" name="import_type" value="local_storage"
|
||||
disabled="disabled">
|
||||
<label for="import_local_storage"> {% trans 'Import from browser\'s storage' %} </label>
|
||||
<label for="import_local_storage">{{ t("Import from browser's storage") }}</label>
|
||||
<div id="opts_import_local_storage" class="prefsmanage_opts disabled">
|
||||
<div class="localStorage-supported">
|
||||
{% trans 'Settings will be imported from your browser\'s local storage.' %}
|
||||
{{ t("Settings will be imported from your browser's local storage.") }}
|
||||
<br>
|
||||
<div class="localStorage-exists">
|
||||
{% trans 'Saved on: @DATE@' %}
|
||||
{{ t('Saved on: @DATE@') }}
|
||||
</div>
|
||||
<div class="localStorage-empty">
|
||||
{{ t('You have no saved settings!')|notice }}
|
||||
@ -40,7 +40,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<input type="checkbox" id="import_merge" name="import_merge">
|
||||
<label for="import_merge"> {% trans 'Merge with current configuration' %} </label>
|
||||
<label for="import_merge"> {{ t('Merge with current configuration') }} </label>
|
||||
<br><br>
|
||||
<input class="btn btn-primary" type="submit" name="submit_import" value="{{ t('Go') }}">
|
||||
</form>
|
||||
@ -52,7 +52,7 @@
|
||||
{# Also do not show in config exists (and setup would refuse to work) #}
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">
|
||||
{% trans 'More settings' %}
|
||||
{{ t('More settings') }}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{{ t('You can set more settings by modifying config.inc.php, eg. by using %sSetup script%s.')|format('<a href="setup/index.php" target="_blank">', '</a>')|raw }}
|
||||
@ -64,7 +64,7 @@
|
||||
<div class="col-12 col-md-5">
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">
|
||||
{% trans 'Export' %}
|
||||
{{ t('Export') }}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="click-hide-message hide">
|
||||
@ -77,25 +77,25 @@
|
||||
<input type="radio" id="export_text_file" name="export_type"
|
||||
value="text_file" checked="checked">
|
||||
<label for="export_text_file">
|
||||
{% trans 'Save as JSON file' %}
|
||||
{{ t('Save as JSON file') }}
|
||||
</label><br>
|
||||
<input type="radio" id="export_php_file" name="export_type" value="php_file">
|
||||
<label for="export_php_file">
|
||||
{% trans 'Save as PHP file' %}
|
||||
{{ t('Save as PHP file') }}
|
||||
</label><br>
|
||||
<input type="radio" id="export_local_storage" name="export_type" value="local_storage"
|
||||
disabled="disabled">
|
||||
<label for="export_local_storage">
|
||||
{% trans 'Save to browser\'s storage' %}
|
||||
{{ t("Save to browser's storage") }}
|
||||
</label>
|
||||
</div>
|
||||
<div id="opts_export_local_storage"
|
||||
class="prefsmanage_opts disabled">
|
||||
<span class="localStorage-supported">
|
||||
{% trans 'Settings will be saved in your browser\'s local storage.' %}
|
||||
{{ t("Settings will be saved in your browser's local storage.") }}
|
||||
<div class="localStorage-exists">
|
||||
<b>
|
||||
{% trans 'Existing settings will be overwritten!' %}
|
||||
{{ t('Existing settings will be overwritten!') }}
|
||||
</b>
|
||||
</div>
|
||||
</span>
|
||||
@ -104,21 +104,21 @@
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<input class="btn btn-primary" type="submit" name="submit_export" value="{% trans 'Go' %}">
|
||||
<input class="btn btn-primary" type="submit" name="submit_export" value="{{ t('Go') }}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">
|
||||
{% trans 'Reset' %}
|
||||
{{ t('Reset') }}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form class="prefs-form disableAjax" name="prefs_reset"
|
||||
action="{{ url('/preferences/manage') }}" method="post">
|
||||
{{ get_hidden_inputs() }}
|
||||
{% trans 'You can reset all your settings and restore them to default values.' %}
|
||||
{{ t('You can reset all your settings and restore them to default values.') }}
|
||||
<br><br>
|
||||
<input class="btn btn-secondary" type="submit" name="submit_clear" value="{% trans 'Reset' %}">
|
||||
<input class="btn btn-secondary" type="submit" name="submit_clear" value="{{ t('Reset') }}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,14 +2,14 @@
|
||||
<div class="col">
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">
|
||||
{% trans "Configure two-factor authentication" %}
|
||||
{{ t('Configure two-factor authentication') }}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form method="post" action="{{ url('/preferences/two-factor') }}">
|
||||
{{ get_hidden_inputs() }}
|
||||
<input type="hidden" name="2fa_configure" value="{{ configure }}">
|
||||
{{ form|raw }}
|
||||
<input class="btn btn-secondary" type="submit" value="{% trans "Enable two-factor authentication" %}">
|
||||
<input class="btn btn-secondary" type="submit" value="{{ t('Enable two-factor authentication') }}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<div class="col">
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">
|
||||
{% trans "Confirm disabling two-factor authentication" %}
|
||||
{{ t('Confirm disabling two-factor authentication') }}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form method="post" action="{{ url('/preferences/two-factor') }}">
|
||||
@ -10,7 +10,7 @@
|
||||
{{ get_hidden_inputs() }}
|
||||
{{ form|raw }}
|
||||
<input type="hidden" name="2fa_remove" value="1">
|
||||
<input class="btn btn-secondary" type="submit" value="{% trans "Disable two-factor authentication" %}">
|
||||
<input class="btn btn-secondary" type="submit" value="{{ t('Disable two-factor authentication') }}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,14 +2,14 @@
|
||||
<div class="col">
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">
|
||||
{% trans "Two-factor authentication status" %}
|
||||
{{ t('Two-factor authentication status') }}
|
||||
{{ show_docu('two_factor') }}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{% if enabled %}
|
||||
{% if num_backends == 0 %}
|
||||
<p>{% trans "Two-factor authentication is not available, please install optional dependencies to enable authentication backends." %}</p>
|
||||
<p>{% trans "Following composer packages are missing:" %}</p>
|
||||
<p>{{ t('Two-factor authentication is not available, please install optional dependencies to enable authentication backends.') }}</p>
|
||||
<p>{{ t('Following composer packages are missing:') }}</p>
|
||||
<ul>
|
||||
{% for item in missing %}
|
||||
<li><code>{{ item.dep }}</code> ({{ item.class }})</li>
|
||||
@ -17,9 +17,9 @@
|
||||
</ul>
|
||||
{% else %}
|
||||
{% if backend_id %}
|
||||
<p>{% trans "Two-factor authentication is available and configured for this account." %}</p>
|
||||
<p>{{ t('Two-factor authentication is available and configured for this account.') }}</p>
|
||||
{% else %}
|
||||
<p>{% trans "Two-factor authentication is available, but not configured for this account." %}</p>
|
||||
<p>{{ t('Two-factor authentication is available, but not configured for this account.') }}</p>
|
||||
{% endif %}
|
||||
{% if missing|length > 0 %}
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<p>{% trans "Two-factor authentication is not available, enable phpMyAdmin configuration storage to use it." %}</p>
|
||||
<p>{{ t('Two-factor authentication is not available, enable phpMyAdmin configuration storage to use it.') }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
@ -49,7 +49,7 @@
|
||||
{{ backend_name }}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p>{% trans "You have enabled two factor authentication." %}</p>
|
||||
<p>{{ t('You have enabled two factor authentication.') }}</p>
|
||||
<p>{{ backend_description }}</p>
|
||||
{% if backend_id == 'key' %}
|
||||
<div class="alert alert-danger" role="alert">
|
||||
@ -63,7 +63,7 @@
|
||||
<form method="post" action="{{ url('/preferences/two-factor') }}">
|
||||
{{ get_hidden_inputs() }}
|
||||
<input class="btn btn-secondary" type="submit" name="2fa_remove" value="
|
||||
{%- trans "Disable two-factor authentication" %}">
|
||||
{{- t('Disable two-factor authentication') }}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@ -74,7 +74,7 @@
|
||||
<div class="col">
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">
|
||||
{% trans "Configure two-factor authentication" %}
|
||||
{{ t('Configure two-factor authentication') }}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form method="post" action="{{ url('/preferences/two-factor') }}">
|
||||
@ -95,7 +95,7 @@
|
||||
</p>
|
||||
</label>
|
||||
{% endfor %}
|
||||
<input class="btn btn-secondary" type="submit" value="{% trans "Configure two-factor authentication" %}">
|
||||
<input class="btn btn-secondary" type="submit" value="{{ t('Configure two-factor authentication') }}">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<div class="preview_sql">
|
||||
{% if query_data is empty %}
|
||||
{% trans 'No change' %}
|
||||
{{ t('No change') }}
|
||||
{% elseif query_data is iterable %}
|
||||
{% for query in query_data %}
|
||||
{{ format_sql(query) }}
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
<a
|
||||
class="ajax favorite_table_anchor me-2"
|
||||
href="{{ url('/database/structure/favorite-table', table.remove_parameters) }}"
|
||||
title="{% trans 'Remove from Favorites' %}"
|
||||
title="{{ t('Remove from Favorites') }}"
|
||||
data-favtargetn="{{ table.table_parameters.md5 }}"
|
||||
>
|
||||
{{ get_icon('b_favorite') }}
|
||||
|
||||
@ -1,34 +1,34 @@
|
||||
<div class="container">
|
||||
<h1 class="my-3">
|
||||
{% trans 'phpMyAdmin configuration storage' %}
|
||||
{{ t('phpMyAdmin configuration storage') }}
|
||||
{{ show_docu('setup', 'phpmyadmin-configuration-storage') }}
|
||||
</h1>
|
||||
|
||||
{% if relation_parameters.db is null %}
|
||||
<p>
|
||||
{% trans 'Configuration of pmadb…' %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
{{ t('Configuration of pmadb…') }}
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{{ show_docu('setup', 'phpmyadmin-configuration-storage') }}
|
||||
</p>
|
||||
<p>
|
||||
{% trans 'General relation features' %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
{{ t('General relation features') }}
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
</p>
|
||||
{% if zero_conf %}
|
||||
{% if db == '' %}
|
||||
{% apply format('<a href="' ~ url('/check-relations') ~ '" data-post="' ~ get_common({'db': db, 'create_pmadb': true, 'goto': url('/database/operations')}) ~ '">', '</a>', config_storage_database_name)|notice %}
|
||||
{% trans '%sCreate%s a database named \'%s\' and setup the phpMyAdmin configuration storage there.' %}
|
||||
{{ t("%sCreate%s a database named '%s' and setup the phpMyAdmin configuration storage there.") }}
|
||||
{% endapply %}
|
||||
{% else %}
|
||||
{% apply format('<a href="' ~ url('/check-relations') ~ '" data-post="' ~ get_common({'db': db, 'fixall_pmadb': true, 'goto': url('/database/operations')}) ~ '">', '</a>')|notice %}
|
||||
{% trans '%sCreate%s the phpMyAdmin configuration storage in the current database.' %}
|
||||
{{ t('%sCreate%s the phpMyAdmin configuration storage in the current database.') }}
|
||||
{% endapply %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if not relation_parameters.allworks and zero_conf and are_config_storage_tables_defined %}
|
||||
{% apply format('<a href="' ~ url('/check-relations') ~ '" data-post="' ~ get_common({'db': db, 'fix_pmadb': true, 'goto': url('/database/operations')}) ~ '">', '</a>')|notice %}
|
||||
{% trans '%sCreate%s missing phpMyAdmin configuration storage tables.' %}
|
||||
{{ t('%sCreate%s missing phpMyAdmin configuration storage tables.') }}
|
||||
{% endapply %}
|
||||
{% endif %}
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
{{ show_docu('config', 'cfg_Servers_pmadb') }}
|
||||
</th>
|
||||
<td class="text-end">
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
@ -51,19 +51,19 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.relation is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'General relation features:' %}
|
||||
{{ t('General relation features:') }}
|
||||
{% if relation_parameters.relwork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -76,19 +76,19 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.table_info is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'Display features:' %}
|
||||
{{ t('Display features:') }}
|
||||
{% if relation_parameters.displaywork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -101,9 +101,9 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.table_coords is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -114,19 +114,19 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.pdf_pages is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'Designer and creation of PDFs:' %}
|
||||
{{ t('Designer and creation of PDFs:') }}
|
||||
{% if relation_parameters.pdfwork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -139,29 +139,29 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.column_info is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'Displaying column comments:' %}
|
||||
{{ t('Displaying column comments:') }}
|
||||
{% if relation_parameters.commwork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'Browser transformation:' %}
|
||||
{{ t('Browser transformation:') }}
|
||||
{% if relation_parameters.mimework %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -169,7 +169,7 @@
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
<span class="text-danger">
|
||||
{% trans 'Please see the documentation on how to update your column_info table.' %}
|
||||
{{ t('Please see the documentation on how to update your column_info table.') }}
|
||||
{{ show_docu('config', 'cfg_Servers_column_info') }}
|
||||
</span>
|
||||
</td>
|
||||
@ -184,19 +184,19 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.bookmark is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'Bookmarked SQL query:' %}
|
||||
{{ t('Bookmarked SQL query:') }}
|
||||
{% if relation_parameters.bookmarkwork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -209,19 +209,19 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.history is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'SQL history:' %}
|
||||
{{ t('SQL history:') }}
|
||||
{% if relation_parameters.historywork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -234,19 +234,19 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.recent is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'Persistent recently used tables:' %}
|
||||
{{ t('Persistent recently used tables:') }}
|
||||
{% if relation_parameters.recentwork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -259,19 +259,19 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.favorite is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'Persistent favorite tables:' %}
|
||||
{{ t('Persistent favorite tables:') }}
|
||||
{% if relation_parameters.favoritework %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -284,19 +284,19 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.table_uiprefs is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'Persistent tables\' UI preferences:' %}
|
||||
{{ t("Persistent tables' UI preferences:") }}
|
||||
{% if relation_parameters.uiprefswork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -309,19 +309,19 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.tracking is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'Tracking:' %}
|
||||
{{ t('Tracking:') }}
|
||||
{% if relation_parameters.trackingwork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -334,19 +334,19 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.userconfig is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'User preferences:' %}
|
||||
{{ t('User preferences:') }}
|
||||
{% if relation_parameters.userconfigwork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -359,9 +359,9 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.users is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -372,19 +372,19 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.usergroups is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'Configurable menus:' %}
|
||||
{{ t('Configurable menus:') }}
|
||||
{% if relation_parameters.menuswork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -397,19 +397,19 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.navigationhiding is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'Hide/show navigation items:' %}
|
||||
{{ t('Hide/show navigation items:') }}
|
||||
{% if relation_parameters.navwork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -422,19 +422,19 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.savedsearches is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'Saving Query-By-Example searches:' %}
|
||||
{{ t('Saving Query-By-Example searches:') }}
|
||||
{% if relation_parameters.savedsearcheswork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -447,19 +447,19 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.central_columns is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'Managing central list of columns:' %}
|
||||
{{ t('Managing central list of columns:') }}
|
||||
{% if relation_parameters.centralcolumnswork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -472,19 +472,19 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.designer_settings is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'Remembering designer settings:' %}
|
||||
{{ t('Remembering designer settings:') }}
|
||||
{% if relation_parameters.designersettingswork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -497,26 +497,26 @@
|
||||
</th>
|
||||
<td class="text-end">
|
||||
{% if relation_parameters.export_templates is not null %}
|
||||
<span class="text-success"><strong>{% trans %}OK{% context %}Correctly working{% endtrans %}</strong></span>
|
||||
<span class="text-success"><strong>{{ t('OK', context = 'Correctly working') }}</strong></span>
|
||||
{% else %}
|
||||
<span class="text-danger"><strong>{% trans 'not OK' %}</strong></span>
|
||||
<span class="text-danger"><strong>{{ t('not OK') }}</strong></span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="text-end">
|
||||
{% trans 'Saving export templates:' %}
|
||||
{{ t('Saving export templates:') }}
|
||||
{% if relation_parameters.exporttemplateswork %}
|
||||
<span class="text-success">{% trans 'Enabled' %}</span>
|
||||
<span class="text-success">{{ t('Enabled') }}</span>
|
||||
{% else %}
|
||||
<span class="text-danger">{% trans 'Disabled' %}</span>
|
||||
<span class="text-danger">{{ t('Disabled') }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{% if not relation_parameters.allworks %}
|
||||
<p>{% trans 'Quick steps to set up advanced features:' %}</p>
|
||||
<p>{{ t('Quick steps to set up advanced features:') }}</p>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
@ -524,15 +524,15 @@
|
||||
{{ show_docu('setup', 'linked-tables') }}
|
||||
</li>
|
||||
<li>
|
||||
{% trans 'Create a pma user and give access to these tables.' %}
|
||||
{{ t('Create a pma user and give access to these tables.') }}
|
||||
{{ show_docu('config', 'cfg_Servers_controluser') }}
|
||||
</li>
|
||||
<li>
|
||||
{% trans 'Enable advanced features in configuration file (<code>config.inc.php</code>), for example by starting from <code>config.sample.inc.php</code>.' %}
|
||||
{{ t('Enable advanced features in configuration file (<code>config.inc.php</code>), for example by starting from <code>config.sample.inc.php</code>.')|raw }}
|
||||
{{ show_docu('setup', 'quick-install') }}
|
||||
</li>
|
||||
<li>
|
||||
{% trans 'Re-login to phpMyAdmin to load the updated configuration file.' %}
|
||||
{{ t('Re-login to phpMyAdmin to load the updated configuration file.') }}
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{{ get_image('select_all_arrow', t('With selected:'), {'dir': text_dir, 'width': '38', 'height': '22'}) }}
|
||||
<input type="checkbox" id="{{ form_name }}_checkall" class="checkall_box"
|
||||
title="{% trans 'Check all' %}">
|
||||
<label for="{{ form_name }}_checkall">{% trans 'Check all' %}</label>
|
||||
<em class="with-selected">{% trans 'With selected:' %}</em>
|
||||
title="{{ t('Check all') }}">
|
||||
<label for="{{ form_name }}_checkall">{{ t('Check all') }}</label>
|
||||
<em class="with-selected">{{ t('With selected:') }}</em>
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
<h2>
|
||||
{{ get_image('s_tbl') }}
|
||||
{% trans 'Binary log' %}
|
||||
{{ t('Binary log') }}
|
||||
</h2>
|
||||
|
||||
<form action="{{ url('/server/binlog') }}" method="post" class="card">
|
||||
{{ get_hidden_inputs(url_params) }}
|
||||
<div class="card-header">{% trans 'Select binary log to view' %}</div>
|
||||
<div class="card-header">{{ t('Select binary log to view') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
{% set full_size = 0 %}
|
||||
@ -22,14 +22,14 @@
|
||||
{% endfor %}
|
||||
</select>
|
||||
{{ binary_logs|length }}
|
||||
{% trans 'Files' %},
|
||||
{{ t('Files') }},
|
||||
{% if full_size > 0 %}
|
||||
{{ format_byte_down(full_size)|join(' ') }}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="card-footer">
|
||||
<input class="btn btn-primary" type="submit" value="{% trans 'Go' %}">
|
||||
<input class="btn btn-primary" type="submit" value="{{ t('Go') }}">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@ -42,24 +42,24 @@
|
||||
{% if has_previous %}
|
||||
{% if has_icons %}
|
||||
<a href="{{ url('/server/binlog') }}" data-post="{{ get_common(previous_params, '', false) }}" title="
|
||||
{%- trans %}Previous{% context %}Previous page{% endtrans %}">
|
||||
{{- t('Previous', context = 'Previous page') }}">
|
||||
«
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="{{ url('/server/binlog') }}" data-post="{{ get_common(previous_params, '', false) }}">
|
||||
{% trans %}Previous{% context %}Previous page{% endtrans %} «
|
||||
{{ t('Previous', context = 'Previous page') }} «
|
||||
</a>
|
||||
{% endif %}
|
||||
-
|
||||
{% endif %}
|
||||
|
||||
{% if is_full_query %}
|
||||
<a href="{{ url('/server/binlog') }}" data-post="{{ get_common(full_queries_params, '', false) }}" title="{% trans 'Truncate shown queries' %}">
|
||||
<img src="{{ image('s_partialtext.png') }}" alt="{% trans 'Truncate shown queries' %}">
|
||||
<a href="{{ url('/server/binlog') }}" data-post="{{ get_common(full_queries_params, '', false) }}" title="{{ t('Truncate shown queries') }}">
|
||||
<img src="{{ image('s_partialtext.png') }}" alt="{{ t('Truncate shown queries') }}">
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="{{ url('/server/binlog') }}" data-post="{{ get_common(full_queries_params, '', false) }}" title="{% trans 'Show full queries' %}">
|
||||
<img src="{{ image('s_fulltext.png') }}" alt="{% trans 'Show full queries' %}">
|
||||
<a href="{{ url('/server/binlog') }}" data-post="{{ get_common(full_queries_params, '', false) }}" title="{{ t('Show full queries') }}">
|
||||
<img src="{{ image('s_fulltext.png') }}" alt="{{ t('Show full queries') }}">
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
@ -67,24 +67,24 @@
|
||||
-
|
||||
{% if has_icons %}
|
||||
<a href="{{ url('/server/binlog') }}" data-post="{{ get_common(next_params, '', false) }}" title="
|
||||
{%- trans %}Next{% context %}Next page{% endtrans %}">
|
||||
{{- t('Next', context = 'Next page') }}">
|
||||
»
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="{{ url('/server/binlog') }}" data-post="{{ get_common(next_params, '', false) }}">
|
||||
{% trans %}Next{% context %}Next page{% endtrans %} »
|
||||
{{ t('Next', context = 'Next page') }} »
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="text-nowrap">
|
||||
<th>{% trans 'Log name' %}</th>
|
||||
<th>{% trans 'Position' %}</th>
|
||||
<th>{% trans 'Event type' %}</th>
|
||||
<th>{% trans 'Server ID' %}</th>
|
||||
<th>{% trans 'Original position' %}</th>
|
||||
<th>{% trans 'Information' %}</th>
|
||||
<th>{{ t('Log name') }}</th>
|
||||
<th>{{ t('Position') }}</th>
|
||||
<th>{{ t('Event type') }}</th>
|
||||
<th>{{ t('Server ID') }}</th>
|
||||
<th>{{ t('Original position') }}</th>
|
||||
<th>{{ t('Information') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<div class=container-fluid>
|
||||
<h2>
|
||||
{{ get_image('s_asci') }}
|
||||
{% trans 'Character sets and collations' %}
|
||||
{{ t('Character sets and collations') }}
|
||||
</h2>
|
||||
|
||||
{% for charset in charsets %}
|
||||
@ -20,7 +20,7 @@
|
||||
</div>
|
||||
<div class="col align-self-center text-end">
|
||||
{% if collation.is_default %}
|
||||
<span class="badge bg-secondary text-dark">{% trans %}default{% context %}The collation is the default one{% endtrans %}</span>
|
||||
<span class="badge bg-secondary text-dark">{{ t('default', context = 'The collation is the default one') }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -21,13 +21,13 @@
|
||||
<div class="col-12">
|
||||
<input type="text" name="new_db" maxlength="64" class="form-control" value="
|
||||
{{- database_to_create }}" id="text_create_db" placeholder="
|
||||
{%- trans 'Database name' %}" aria-label="{% trans 'Database name' %}" required>
|
||||
{{- t('Database name') }}" aria-label="{{ t('Database name') }}" required>
|
||||
</div>
|
||||
|
||||
{% if charsets is not empty %}
|
||||
<div class="col-12">
|
||||
<select lang="en" dir="ltr" name="db_collation" class="form-select" aria-label="{% trans 'Collation' %}">
|
||||
<option value="">{% trans 'Collation' %}</option>
|
||||
<select lang="en" dir="ltr" name="db_collation" class="form-select" aria-label="{{ t('Collation') }}">
|
||||
<option value="">{{ t('Collation') }}</option>
|
||||
<option value=""></option>
|
||||
{% for charset in charsets %}
|
||||
<optgroup label="{{ charset.name }}" title="{{ charset.description }}">
|
||||
@ -43,7 +43,7 @@
|
||||
{% endif %}
|
||||
|
||||
<div class="col-12">
|
||||
<input id="buttonGo" class="btn btn-primary" type="submit" value="{% trans 'Create' %}">
|
||||
<input id="buttonGo" class="btn btn-primary" type="submit" value="{{ t('Create') }}">
|
||||
</div>
|
||||
</form>
|
||||
{% else %}
|
||||
@ -61,10 +61,10 @@
|
||||
<div class="input-group-text">
|
||||
<div class="form-check mb-0">
|
||||
<input class="form-check-input checkall_box" type="checkbox" value="" id="checkAllCheckbox" form="dbStatsForm">
|
||||
<label class="form-check-label" for="checkAllCheckbox">{% trans 'Check all' %}</label>
|
||||
<label class="form-check-label" for="checkAllCheckbox">{{ t('Check all') }}</label>
|
||||
</div>
|
||||
</div>
|
||||
<button class="btn btn-outline-secondary" id="bulkActionDropButton" type="submit" name="submit_mult" value="Drop" form="dbStatsForm" title="{% trans 'Drop' %}">
|
||||
<button class="btn btn-outline-secondary" id="bulkActionDropButton" type="submit" name="submit_mult" value="Drop" form="dbStatsForm" title="{{ t('Drop') }}">
|
||||
{{ get_icon('db_drop', t('Drop')) }}
|
||||
</button>
|
||||
</div>
|
||||
@ -74,7 +74,7 @@
|
||||
<div class="ms-auto">
|
||||
<div class="input-group">
|
||||
<span class="input-group-text">{{ get_image('b_search', t('Search')) }}</span>
|
||||
<input class="form-control" name="filterText" type="text" id="filterText" value="" placeholder="{% trans 'Search' %}" aria-label="{% trans 'Search' %}">
|
||||
<input class="form-control" name="filterText" type="text" id="filterText" value="" placeholder="{{ t('Search') }}" aria-label="{{ t('Search') }}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -103,7 +103,7 @@
|
||||
'sort_order': url_params.sort_by == 'SCHEMA_NAME'
|
||||
and url_params.sort_order == 'asc' ? 'desc' : 'asc'
|
||||
})) }}">
|
||||
{% trans 'Database' %}
|
||||
{{ t('Database') }}
|
||||
{% if url_params.sort_by == 'SCHEMA_NAME' %}
|
||||
{% if url_params.sort_order == 'asc' %}
|
||||
{{ get_image('s_asc', t('Ascending')) }}
|
||||
@ -120,7 +120,7 @@
|
||||
'sort_order': url_params.sort_by == 'DEFAULT_COLLATION_NAME'
|
||||
and url_params.sort_order == 'asc' ? 'desc' : 'asc'
|
||||
})) }}">
|
||||
{% trans 'Collation' %}
|
||||
{{ t('Collation') }}
|
||||
{% if url_params.sort_by == 'DEFAULT_COLLATION_NAME' %}
|
||||
{% if url_params.sort_order == 'asc' %}
|
||||
{{ get_image('s_asc', t('Ascending')) }}
|
||||
@ -153,14 +153,14 @@
|
||||
{% endif %}
|
||||
|
||||
{% if has_primary_replication %}
|
||||
<th>{% trans 'Primary replication' %}</th>
|
||||
<th>{{ t('Primary replication') }}</th>
|
||||
{% endif %}
|
||||
|
||||
{% if has_replica_replication %}
|
||||
<th>{% trans 'Replica replication' %}</th>
|
||||
<th>{{ t('Replica replication') }}</th>
|
||||
{% endif %}
|
||||
|
||||
<th>{% trans 'Action' %}</th>
|
||||
<th>{{ t('Action') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@ -246,7 +246,7 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th colspan="{{ is_drop_allowed ? '3' : '2' }}">
|
||||
{% trans 'Total:' %}
|
||||
{{ t('Total:') }}
|
||||
<span id="filter-rows-count">
|
||||
{{- database_count -}}
|
||||
</span>
|
||||
@ -293,8 +293,8 @@
|
||||
<div class="alert alert-info" role="alert">
|
||||
{{ get_icon('s_notice', t('Note: Enabling the database statistics here might cause heavy traffic between the web server and the MySQL server.')) }}
|
||||
</div>
|
||||
<a class="card-link" href="{{ url('/server/databases') }}" data-post="{{ get_common({'statistics': '1'}, '', false) }}" title="{% trans 'Enable statistics' %}">
|
||||
{% trans 'Enable statistics' %}
|
||||
<a class="card-link" href="{{ url('/server/databases') }}" data-post="{{ get_common({'statistics': '1'}, '', false) }}" title="{{ t('Enable statistics') }}">
|
||||
{{ t('Enable statistics') }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@ -311,13 +311,13 @@
|
||||
<div class="modal-dialog modal-dialog-scrollable">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="dropDatabaseModalLabel">{% trans 'Confirm' %}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{% trans 'Cancel' %}"></button>
|
||||
<h5 class="modal-title" id="dropDatabaseModalLabel">{{ t('Confirm') }}</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ t('Cancel') }}"></button>
|
||||
</div>
|
||||
<div class="modal-body"></div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans 'Cancel' %}</button>
|
||||
<button type="button" class="btn btn-danger" id="dropDatabaseModalDropButton">{% trans 'Drop' %}</button>
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ t('Cancel') }}</button>
|
||||
<button type="button" class="btn btn-danger" id="dropDatabaseModalDropButton">{{ t('Drop') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user