Merge branch 'master' of git://phpmyadmin.git.sourceforge.net/gitroot/phpmyadmin/phpmyadmin

Conflicts:
	po/cs.po
This commit is contained in:
Pootle server 2011-08-15 10:11:54 +02:00
commit 0ff31b439e
68 changed files with 24673 additions and 21120 deletions

View File

@ -260,9 +260,23 @@ $js_messages['strShowSearchCriteria'] = __('Show search criteria');
/* For tbl_zoom_plot.js */
$js_messages['strZoomSearch'] = __('Zoom Search');
$js_messages['strDisplayHelp'] = __('* Each point represents a data row.<br>* Hovering over a point will show its label.<br>* Drag and select an area in the plot to zoom into it.<br>* Click reset zoom link to come back to original state.<br>* Click a data point to view and possibly edit the data row.<br>* The plot can be resized by dragging it along the bottom right corner.<br>* Strings are converted into integer for plotting');
$js_messages['strInputNull'] = __('<b>Select two columns</b>');
$js_messages['strSameInputs'] = __('<b>Select two different columns</b>');
$js_messages['strDisplayHelp'] = '<ul><li>'
. __('Each point represents a data row.')
. '</li><li>'
. __('Hovering over a point will show its label.')
. '</li><li>'
. __('Drag and select an area in the plot to zoom into it.')
. '</li><li>'
. __('Click reset zoom link to come back to original state.')
. '</li><li>'
. __('Click a data point to view and possibly edit the data row.')
. '</li><li>'
. __('The plot can be resized by dragging it along the bottom right corner.')
. '</li><li>'
. __('Strings are converted into integer for plotting')
. '</li></ul>';
$js_messages['strInputNull'] = '<strong>' . __('Select two columns') . '</strong>';
$js_messages['strSameInputs'] = '<strong>' . __('Select two different columns') . '</strong>';
/* For tbl_change.js */
$js_messages['strIgnore'] = __('Ignore');

View File

@ -1185,7 +1185,7 @@ class PMA_Table
*
* returns an array with all columns make use of an index, in fact only
* first columns in an index
*
*
* e.g. index(col1, col2) would only return col1
*
* @param bool $backquoted whether to quote name with backticks ``
@ -1290,7 +1290,10 @@ class PMA_Table
$success = PMA_DBI_try_query($sql_query, $GLOBALS['controllink']);
if (!$success) {
$message = PMA_Message::error(__('Failed to cleanup table UI preferences (see cfg["Server"]["MaxTableUiprefs"] documentation)'));
$message = PMA_Message::error(sprintf(
__('Failed to cleanup table UI preferences (see $cfg[\'Servers\'][$i][\'MaxTableUiprefs\'] %s)'),
PMA_showDocu('cfg_Servers_MaxTableUiprefs')
));
$message->addMessage('<br /><br />');
$message->addMessage(PMA_Message::rawError(PMA_DBI_getError($GLOBALS['controllink'])));
print_r($message);

671
po/af.po

File diff suppressed because it is too large Load Diff

671
po/ar.po

File diff suppressed because it is too large Load Diff

671
po/az.po

File diff suppressed because it is too large Load Diff

671
po/be.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

671
po/bg.po

File diff suppressed because it is too large Load Diff

969
po/bn.po

File diff suppressed because it is too large Load Diff

673
po/br.po

File diff suppressed because it is too large Load Diff

671
po/bs.po

File diff suppressed because it is too large Load Diff

671
po/ca.po

File diff suppressed because it is too large Load Diff

673
po/cs.po

File diff suppressed because it is too large Load Diff

671
po/cy.po

File diff suppressed because it is too large Load Diff

702
po/da.po

File diff suppressed because it is too large Load Diff

773
po/de.po

File diff suppressed because it is too large Load Diff

705
po/el.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

780
po/es.po

File diff suppressed because it is too large Load Diff

671
po/et.po

File diff suppressed because it is too large Load Diff

671
po/eu.po

File diff suppressed because it is too large Load Diff

671
po/fa.po

File diff suppressed because it is too large Load Diff

671
po/fi.po

File diff suppressed because it is too large Load Diff

705
po/fr.po

File diff suppressed because it is too large Load Diff

671
po/gl.po

File diff suppressed because it is too large Load Diff

671
po/he.po

File diff suppressed because it is too large Load Diff

671
po/hi.po

File diff suppressed because it is too large Load Diff

671
po/hr.po

File diff suppressed because it is too large Load Diff

671
po/hu.po

File diff suppressed because it is too large Load Diff

671
po/id.po

File diff suppressed because it is too large Load Diff

677
po/it.po

File diff suppressed because it is too large Load Diff

716
po/ja.po

File diff suppressed because it is too large Load Diff

969
po/ka.po

File diff suppressed because it is too large Load Diff

671
po/ko.po

File diff suppressed because it is too large Load Diff

671
po/lt.po

File diff suppressed because it is too large Load Diff

671
po/lv.po

File diff suppressed because it is too large Load Diff

671
po/mk.po

File diff suppressed because it is too large Load Diff

669
po/ml.po

File diff suppressed because it is too large Load Diff

671
po/mn.po

File diff suppressed because it is too large Load Diff

671
po/ms.po

File diff suppressed because it is too large Load Diff

671
po/nb.po

File diff suppressed because it is too large Load Diff

671
po/nl.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

671
po/pl.po

File diff suppressed because it is too large Load Diff

671
po/pt.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

969
po/ro.po

File diff suppressed because it is too large Load Diff

671
po/ru.po

File diff suppressed because it is too large Load Diff

969
po/si.po

File diff suppressed because it is too large Load Diff

671
po/sk.po

File diff suppressed because it is too large Load Diff

704
po/sl.po

File diff suppressed because it is too large Load Diff

671
po/sq.po

File diff suppressed because it is too large Load Diff

671
po/sr.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

700
po/sv.po

File diff suppressed because it is too large Load Diff

671
po/ta.po

File diff suppressed because it is too large Load Diff

675
po/te.po

File diff suppressed because it is too large Load Diff

671
po/th.po

File diff suppressed because it is too large Load Diff

751
po/tr.po

File diff suppressed because it is too large Load Diff

671
po/tt.po

File diff suppressed because it is too large Load Diff

671
po/ug.po

File diff suppressed because it is too large Load Diff

671
po/uk.po

File diff suppressed because it is too large Load Diff

671
po/ur.po

File diff suppressed because it is too large Load Diff

671
po/uz.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -81,7 +81,7 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
exit(json_encode($ret));
// Data for the monitor
// Data for the monitor
case 'chartgrid':
$ret = json_decode($_REQUEST['requiredData'], true);
$statusVars = array();
@ -92,12 +92,12 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
/* Accumulate all required variables and data */
// For each chart
foreach ($ret as $chart_id => $chartNodes) {
// For each data series
// For each data series
foreach ($chartNodes as $node_id => $nodeDataPoints) {
// For each data point in the series (usually just 1)
foreach ($nodeDataPoints as $point_id => $dataPoint) {
$pName = $dataPoint['name'];
switch ($dataPoint['type']) {
/* We only collect the status and server variables here to
* read them all in one query, and only afterwards assign them.
@ -105,7 +105,7 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
*/
case 'servervar':
if (!preg_match('/[^a-zA-Z_]+/', $pName))
$serverVars[] = $pName;
$serverVars[] = $pName;
break;
case 'statusvar':
@ -157,7 +157,7 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
} else {
$statusVarValues = array();
}
// Retrieve all required server variables
if (count($serverVars)) {
$serverVarValues = PMA_DBI_fetch_result(
@ -803,7 +803,17 @@ echo __('Runtime Information');
<div class="tabInnerContent clearfloat">
</div>
<div id="advisorInstructionsDialog" style="display:none;">
<?php echo __('The Advisor system can provide recommendations on server variables by analyzing the server status variables. <p>Do note however that this system provides recommendations based on simple calculations and by rule of thumb which may not necessarily apply to your system.</p> <p>Prior to changing any of the configuration, be sure to know what you are changing (by reading the documentation) and how to undo the change. Wrong tuning can have a very negative effect on performance.</p> <p>The best way to tune your system would be to change only one setting at a time, observe or benchmark your database, and undo the change if there was no clearly measurable improvement.</p>'); ?>
<?php
echo '<p>';
echo __('The Advisor system can provide recommendations on server variables by analyzing the server status variables.');
echo '</p> <p>';
echo __('Do note however that this system provides recommendations based on simple calculations and by rule of thumb which may not necessarily apply to your system.');
echo '</p> <p>';
echo __('Prior to changing any of the configuration, be sure to know what you are changing (by reading the documentation) and how to undo the change. Wrong tuning can have a very negative effect on performance.');
echo '</p> <p>';
echo __('The best way to tune your system would be to change only one setting at a time, observe or benchmark your database, and undo the change if there was no clearly measurable improvement.');
echo '</p>';
?>
</div>
</div>
</div>
@ -1448,9 +1458,9 @@ function printMonitor()
<a href="#rearrangeCharts"><img class="icon ic_b_tblops" src="themes/dot.gif" width="16" height="16" alt=""> <?php echo __('Rearrange/edit charts'); ?></a>
<div class="clearfloat paddingtop"></div>
<div class="floatleft">
<?php
echo __('Refresh rate') . '<br />';
refreshList('gridChartRefresh', 5, Array(2, 3, 4, 5, 10, 20, 40, 60, 120, 300, 600, 1200));
<?php
echo __('Refresh rate') . '<br />';
refreshList('gridChartRefresh', 5, Array(2, 3, 4, 5, 10, 20, 40, 60, 120, 300, 600, 1200));
?><br>
</div>
<div class="floatleft">
@ -1493,12 +1503,22 @@ function printMonitor()
<div class="monitorUse" style="display:none;">
<p></p>
<?php
echo __('<b>Using the monitor:</b><br/> Ok, you are good to go! Once you click \'Start monitor\' your browser will refresh all displayed charts in a regular interval. You may add charts and change the refresh rate under \'Settings\', or remove any chart using the cog icon on each respective chart. <p>To display queries from the logs, select the relevant time span on any chart by holding down the left mouse button and panning over the chart. Once confirmed, this will load a table of grouped queries, there you may click on any occuring SELECT statements to further analyze them.</p>');
echo '<strong>';
echo __('Using the monitor:');
echo '</strong><p>';
echo __('Ok, you are good to go! Once you click \'Start monitor\' your browser will refresh all displayed charts in a regular interval. You may add charts and change the refresh rate under \'Settings\', or remove any chart using the cog icon on each respective chart.');
echo '</p><p>';
echo __('To display queries from the logs, select the relevant time span on any chart by holding down the left mouse button and panning over the chart. Once confirmed, this will load a table of grouped queries, there you may click on any occuring SELECT statements to further analyze them.');
echo '</p>';
?>
<p>
<img class="icon ic_s_attention" src="themes/dot.gif" alt="">
<?php
echo __('<b>Please note:</b> Enabling the general_log may increase the server load by 5-15%. Also be aware that generating statistics from the logs is a load intensive task, so it is advisable to select only a small time span and to disable the general_log and empty its table once monitoring is not required any more.');
echo '<strong>';
echo __('Please note:');
echo '</strong><p>';
echo __('Enabling the general_log may increase the server load by 5-15%. Also be aware that generating statistics from the logs is a load intensive task, so it is advisable to select only a small time span and to disable the general_log and empty its table once monitoring is not required any more.');
echo '</p>';
?>
</p>
</div>
@ -1508,7 +1528,7 @@ function printMonitor()
<div id="addChartDialog" title="Add chart" style="display:none;">
<div id="tabGridVariables">
<p><input type="text" name="chartTitle" value="<?php echo __('Chart Title'); ?>" /></p>
<input type="radio" name="chartType" value="preset" id="chartPreset">
<label for="chartPreset"><?php echo __('Preset chart'); ?></label>
<select name="presetCharts"></select><br/>
@ -1583,7 +1603,13 @@ function printMonitor()
<?php echo __('Remove variable data in INSERT statements for better grouping'); ?>
</label>
<?php echo __('<p>Choose from which log you want the statistics to be generated from.</p> Results are grouped by query text.'); ?>
<?php
echo '<p>';
echo __('Choose from which log you want the statistics to be generated from.');
echo '</p><p>';
echo __('Results are grouped by query text.');
echo '</p>';
?>
</div>
<div id="queryAnalyzerDialog" title="<?php echo __('Query analyzer'); ?>" style="display:none;">
@ -1656,4 +1682,4 @@ function cleanDeprecated(&$server_status)
* Sends the footer
*/
require './libraries/footer.inc.php';
?>
?>