Translated using Weblate (Slovenian)
[phpmyadmin.git] / js / messages.php
blobd2e5fc3d6b9c0a35fe65bf07e60e00cca2f426bc
1 <?php
2 /**
3 * Exporting of translated messages from PHP to Javascript
4 */
5 declare(strict_types=1);
7 use PhpMyAdmin\OutputBuffering;
8 use PhpMyAdmin\Sanitize;
10 global $cfg, $PMA_Theme;
12 if (! defined('ROOT_PATH')) {
13 // phpcs:disable PSR1.Files.SideEffects
14 define('ROOT_PATH', dirname(__DIR__) . DIRECTORY_SEPARATOR);
15 // phpcs:enable
18 if (! defined('TESTSUITE')) {
19 chdir('..');
21 // Send correct type:
22 header('Content-Type: text/javascript; charset=UTF-8');
24 // Cache output in client - the nocache query parameter makes sure that this
25 // file is reloaded when config changes
26 header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT');
28 // Avoid loading the full common.inc.php because this would add many
29 // non-js-compatible stuff like DOCTYPE
30 // phpcs:disable PSR1.Files.SideEffects
31 define('PMA_MINIMUM_COMMON', true);
32 define('PMA_PATH_TO_BASEDIR', '../');
33 define('PMA_NO_SESSION', true);
34 // phpcs:enable
36 require_once ROOT_PATH . 'libraries/common.inc.php';
39 $buffer = OutputBuffering::getInstance();
40 $buffer->start();
41 if (! defined('TESTSUITE')) {
42 register_shutdown_function(
43 function () {
44 echo OutputBuffering::getInstance()->getContents();
49 $javascriptMessages = [
50 /* For confirmations */
51 'strConfirm' => __('Confirm'),
52 'strDoYouReally' => __('Do you really want to execute "%s"?'),
53 'strDropDatabaseStrongWarning' => __('You are about to DESTROY a complete database!'),
54 'strDatabaseRenameToSameName' => __('Cannot rename database to the same name. Change the name and try again'),
55 'strDropTableStrongWarning' => __('You are about to DESTROY a complete table!'),
56 'strTruncateTableStrongWarning' => __('You are about to TRUNCATE a complete table!'),
57 'strDeleteTrackingData' => __('Delete tracking data for this table?'),
58 'strDeleteTrackingDataMultiple' => __('Delete tracking data for these tables?'),
59 'strDeleteTrackingVersion' => __('Delete tracking data for this version?'),
60 'strDeleteTrackingVersionMultiple' => __('Delete tracking data for these versions?'),
61 'strDeletingTrackingEntry' => __('Delete entry from tracking report?'),
62 'strDeletingTrackingData' => __('Deleting tracking data'),
63 'strDroppingPrimaryKeyIndex' => __('Dropping Primary Key/Index'),
64 'strDroppingForeignKey' => __('Dropping Foreign key.'),
65 'strOperationTakesLongTime' => __('This operation could take a long time. Proceed anyway?'),
66 'strDropUserGroupWarning' => __('Do you really want to delete user group "%s"?'),
67 'strConfirmDeleteQBESearch' => __('Do you really want to delete the search "%s"?'),
68 'strConfirmNavigation' => __('You have unsaved changes; are you sure you want to leave this page?'),
69 'strConfirmRowChange' => __('You are trying to reduce the number of rows, but have already entered data in those rows which will be lost. Do you wish to continue?'),
70 'strDropUserWarning' => __('Do you really want to revoke the selected user(s) ?'),
71 'strDeleteCentralColumnWarning' => __('Do you really want to delete this central column?'),
72 'strDropRTEitems' => __('Do you really want to delete the selected items?'),
73 'strDropPartitionWarning' => __(
74 'Do you really want to DROP the selected partition(s)? This will also DELETE ' .
75 'the data related to the selected partition(s)!'
77 'strTruncatePartitionWarning' => __('Do you really want to TRUNCATE the selected partition(s)?'),
78 'strRemovePartitioningWarning' => __('Do you really want to remove partitioning?'),
79 'strResetSlaveWarning' => __('Do you really want to RESET SLAVE?'),
80 'strChangeColumnCollation' => __(
81 'This operation will attempt to convert your data to the new collation. In '
82 . 'rare cases, especially where a character doesn\'t exist in the new '
83 . 'collation, this process could cause the data to appear incorrectly under '
84 . 'the new collation; in this case we suggest you revert to the original '
85 . 'collation and refer to the tips at '
87 . '<a href="%s" target="garbled_data_wiki">' . __('Garbled Data') . '</a>.'
88 . '<br><br>'
89 . __('Are you sure you wish to change the collation and convert the data?'),
91 'strChangeAllColumnCollationsWarning' => __(
92 'Through this operation, MySQL attempts to map the data values between '
93 . 'collations. If the character sets are incompatible, there may be data loss '
94 . 'and this lost data may <b>NOT</b> be recoverable simply by changing back the '
95 . 'column collation(s). <b>To convert existing data, it is suggested to use the '
96 . 'column(s) editing feature (the "Change" Link) on the table structure page. '
97 . '</b>'
99 . '<br><br>'
100 . __(
101 'Are you sure you wish to change all the column collations and convert the data?'
104 /* For modal dialog buttons */
105 'strSaveAndClose' => __('Save & close'),
106 'strReset' => __('Reset'),
107 'strResetAll' => __('Reset all'),
109 /* For indexes */
110 'strFormEmpty' => __('Missing value in the form!'),
111 'strRadioUnchecked' => __('Select at least one of the options!'),
112 'strEnterValidNumber' => __('Please enter a valid number!'),
113 'strEnterValidLength' => __('Please enter a valid length!'),
114 'strAddIndex' => __('Add index'),
115 'strEditIndex' => __('Edit index'),
116 'strAddToIndex' => __('Add %s column(s) to index'),
117 'strCreateSingleColumnIndex' => __('Create single-column index'),
118 'strCreateCompositeIndex' => __('Create composite index'),
119 'strCompositeWith' => __('Composite with:'),
120 'strMissingColumn' => __('Please select column(s) for the index.'),
122 /* For Preview SQL*/
123 'strPreviewSQL' => __('Preview SQL'),
125 /* For Simulate DML*/
126 'strSimulateDML' => __('Simulate query'),
127 'strMatchedRows' => __('Matched rows:'),
128 'strSQLQuery' => __('SQL query:'),
130 /* Charts */
131 /* l10n: Default label for the y-Axis of Charts */
132 'strYValues' => __('Y values'),
134 /* Database multi-table query */
135 'strEmptyQuery' => __('Please enter the SQL query first.'),
137 /* For server/privileges.js */
138 'strHostEmpty' => __('The host name is empty!'),
139 'strUserEmpty' => __('The user name is empty!'),
140 'strPasswordEmpty' => __('The password is empty!'),
141 'strPasswordNotSame' => __('The passwords aren\'t the same!'),
142 'strRemovingSelectedUsers' => __('Removing Selected Users'),
143 'strClose' => __('Close'),
145 /* For export.js */
146 'strTemplateCreated' => __('Template was created.'),
147 'strTemplateLoaded' => __('Template was loaded.'),
148 'strTemplateUpdated' => __('Template was updated.'),
149 'strTemplateDeleted' => __('Template was deleted.'),
151 /* l10n: Other, small valued, queries */
152 'strOther' => __('Other'),
153 /* l10n: Thousands separator */
154 'strThousandsSeparator' => __(','),
155 /* l10n: Decimal separator */
156 'strDecimalSeparator' => __('.'),
158 'strChartConnectionsTitle' => __('Connections / Processes'),
160 /* server status monitor */
161 'strIncompatibleMonitorConfig' => __('Local monitor configuration incompatible!'),
162 'strIncompatibleMonitorConfigDescription' => __(
163 'The chart arrangement configuration in your browsers local storage is not '
164 . 'compatible anymore to the newer version of the monitor dialog. It is very '
165 . 'likely that your current configuration will not work anymore. Please reset '
166 . 'your configuration to default in the <i>Settings</i> menu.'
169 'strQueryCacheEfficiency' => __('Query cache efficiency'),
170 'strQueryCacheUsage' => __('Query cache usage'),
171 'strQueryCacheUsed' => __('Query cache used'),
173 'strSystemCPUUsage' => __('System CPU usage'),
174 'strSystemMemory' => __('System memory'),
175 'strSystemSwap' => __('System swap'),
177 'strAverageLoad' => __('Average load'),
178 'strTotalMemory' => __('Total memory'),
179 'strCachedMemory' => __('Cached memory'),
180 'strBufferedMemory' => __('Buffered memory'),
181 'strFreeMemory' => __('Free memory'),
182 'strUsedMemory' => __('Used memory'),
184 'strTotalSwap' => __('Total swap'),
185 'strCachedSwap' => __('Cached swap'),
186 'strUsedSwap' => __('Used swap'),
187 'strFreeSwap' => __('Free swap'),
189 'strBytesSent' => __('Bytes sent'),
190 'strBytesReceived' => __('Bytes received'),
191 'strConnections' => __('Connections'),
192 'strProcesses' => __('Processes'),
194 /* summary row */
195 'strB' => __('B'),
196 'strKiB' => __('KiB'),
197 'strMiB' => __('MiB'),
198 'strGiB' => __('GiB'),
199 'strTiB' => __('TiB'),
200 'strPiB' => __('PiB'),
201 'strEiB' => __('EiB'),
202 'strNTables' => __('%d table(s)'),
204 /* l10n: Questions is the name of a MySQL Status variable */
205 'strQuestions' => __('Questions'),
206 'strTraffic' => __('Traffic'),
207 'strSettings' => __('Settings'),
208 'strAddChart' => __('Add chart to grid'),
209 'strAddOneSeriesWarning' => __('Please add at least one variable to the series!'),
210 'strNone' => __('None'),
211 'strResumeMonitor' => __('Resume monitor'),
212 'strPauseMonitor' => __('Pause monitor'),
213 'strStartRefresh' => __('Start auto refresh'),
214 'strStopRefresh' => __('Stop auto refresh'),
215 /* Monitor: Instructions Dialog */
216 'strBothLogOn' => __('general_log and slow_query_log are enabled.'),
217 'strGenLogOn' => __('general_log is enabled.'),
218 'strSlowLogOn' => __('slow_query_log is enabled.'),
219 'strBothLogOff' => __('slow_query_log and general_log are disabled.'),
220 'strLogOutNotTable' => __('log_output is not set to TABLE.'),
221 'strLogOutIsTable' => __('log_output is set to TABLE.'),
222 'strSmallerLongQueryTimeAdvice' => __(
223 'slow_query_log is enabled, but the server logs only queries that take longer '
224 . 'than %d seconds. It is advisable to set this long_query_time 0-2 seconds, '
225 . 'depending on your system.'
227 'strLongQueryTimeSet' => __('long_query_time is set to %d second(s).'),
228 'strSettingsAppliedGlobal' => __(
229 'Following settings will be applied globally and reset to default on server '
230 . 'restart:'
232 /* l10n: %s is FILE or TABLE */
233 'strSetLogOutput' => __('Set log_output to %s'),
234 /* l10n: Enable in this context means setting a status variable to ON */
235 'strEnableVar' => __('Enable %s'),
236 /* l10n: Disable in this context means setting a status variable to OFF */
237 'strDisableVar' => __('Disable %s'),
238 /* l10n: %d seconds */
239 'setSetLongQueryTime' => __('Set long_query_time to %d seconds.'),
240 'strNoSuperUser' => __(
241 'You can\'t change these variables. Please log in as root or contact'
242 . ' your database administrator.'
244 'strChangeSettings' => __('Change settings'),
245 'strCurrentSettings' => __('Current settings'),
247 'strChartTitle' => __('Chart title'),
248 /* l10n: As in differential values */
249 'strDifferential' => __('Differential'),
250 'strDividedBy' => __('Divided by %s'),
251 'strUnit' => __('Unit'),
253 'strFromSlowLog' => __('From slow log'),
254 'strFromGeneralLog' => __('From general log'),
255 'strServerLogError' => __(
256 'The database name is not known for this query in the server\'s logs.'
258 'strAnalysingLogsTitle' => __('Analysing logs'),
259 'strAnalysingLogs' => __('Analysing & loading logs. This may take a while.'),
260 'strCancelRequest' => __('Cancel request'),
261 'strCountColumnExplanation' => __(
262 'This column shows the amount of identical queries that are grouped together. '
263 . 'However only the SQL query itself has been used as a grouping criteria, so '
264 . 'the other attributes of queries, such as start time, may differ.'
266 'strMoreCountColumnExplanation' => __(
267 'Since grouping of INSERTs queries has been selected, INSERT queries into the '
268 . 'same table are also being grouped together, disregarding of the inserted '
269 . 'data.'
271 'strLogDataLoaded' => __('Log data loaded. Queries executed in this time span:'),
273 'strJumpToTable' => __('Jump to Log table'),
274 'strNoDataFoundTitle' => __('No data found'),
275 'strNoDataFound' => __('Log analysed, but no data found in this time span.'),
277 'strAnalyzing' => __('Analyzing…'),
278 'strExplainOutput' => __('Explain output'),
279 'strStatus' => __('Status'),
280 'strTime' => __('Time'),
281 'strTotalTime' => __('Total time:'),
282 'strProfilingResults' => __('Profiling results'),
283 'strTable' => _pgettext('Display format', 'Table'),
284 'strChart' => __('Chart'),
286 'strAliasDatabase' => _pgettext('Alias', 'Database'),
287 'strAliasTable' => _pgettext('Alias', 'Table'),
288 'strAliasColumn' => _pgettext('Alias', 'Column'),
290 /* l10n: A collection of available filters */
291 'strFiltersForLogTable' => __('Log table filter options'),
292 /* l10n: Filter as in "Start Filtering" */
293 'strFilter' => __('Filter'),
294 'strFilterByWordRegexp' => __('Filter queries by word/regexp:'),
295 'strIgnoreWhereAndGroup' => __('Group queries, ignoring variable data in WHERE clauses'),
296 'strSumRows' => __('Sum of grouped rows:'),
297 'strTotal' => __('Total:'),
299 'strLoadingLogs' => __('Loading logs'),
300 'strRefreshFailed' => __('Monitor refresh failed'),
301 'strInvalidResponseExplanation' => __(
302 'While requesting new chart data the server returned an invalid response. This '
303 . 'is most likely because your session expired. Reloading the page and '
304 . 'reentering your credentials should help.'
306 'strReloadPage' => __('Reload page'),
308 'strAffectedRows' => __('Affected rows:'),
310 'strFailedParsingConfig' => __(
311 'Failed parsing config file. It doesn\'t seem to be valid JSON code.'
313 'strFailedBuildingGrid' => __(
314 'Failed building chart grid with imported config. Resetting to default config…'
316 'strImport' => __('Import'),
317 'strImportDialogTitle' => __('Import monitor configuration'),
318 'strImportDialogMessage' => __('Please select the file you want to import.'),
319 'strTableNameDialogMessage' => __('Please enter a valid table name.'),
320 'strDBNameDialogMessage' => __('Please enter a valid database name.'),
321 'strNoImportFile' => __('No files available on server for import!'),
323 'strAnalyzeQuery' => __('Analyse query'),
325 /* For query editor */
326 'strFormatting' => __('Formatting SQL…'),
327 'strNoParam' => __('No parameters found!'),
329 /* For inline query editing */
330 'strGo' => __('Go'),
331 'strCancel' => __('Cancel'),
333 /* For page-related settings */
334 'strPageSettings' => __('Page-related settings'),
335 'strApply' => __('Apply'),
337 /* For Ajax Notifications */
338 'strLoading' => __('Loading…'),
339 'strAbortedRequest' => __('Request aborted!!'),
340 'strProcessingRequest' => __('Processing request'),
341 'strRequestFailed' => __('Request failed!!'),
342 'strErrorProcessingRequest' => __('Error in processing request'),
343 'strErrorCode' => __('Error code: %s'),
344 'strErrorText' => __('Error text: %s'),
345 'strErrorConnection' => __(
346 'It seems that the connection to server has been lost. Please check your ' .
347 'network connectivity and server status.'
349 'strNoDatabasesSelected' => __('No databases selected.'),
350 'strNoAccountSelected' => __('No accounts selected.'),
351 'strDroppingColumn' => __('Dropping column'),
352 'strAddingPrimaryKey' => __('Adding primary key'),
353 'strOK' => __('OK'),
354 'strDismiss' => __('Click to dismiss this notification'),
356 /* For database/operations.js */
357 'strRenamingDatabases' => __('Renaming databases'),
358 'strCopyingDatabase' => __('Copying database'),
359 'strChangingCharset' => __('Changing charset'),
360 'strNo' => __('No'),
362 /* For Foreign key checks */
363 'strForeignKeyCheck' => __('Enable foreign key checks'),
365 /* For db_stucture.js */
366 'strErrorRealRowCount' => __('Failed to get real row count.'),
368 /* For database/search.js */
369 'strSearching' => __('Searching'),
370 'strHideSearchResults' => __('Hide search results'),
371 'strShowSearchResults' => __('Show search results'),
372 'strBrowsing' => __('Browsing'),
373 'strDeleting' => __('Deleting'),
374 'strConfirmDeleteResults' => __('Delete the matches for the %s table?'),
376 /* For db_routines.js */
377 'MissingReturn' => __('The definition of a stored function must contain a RETURN statement!'),
378 'strExport' => __('Export'),
379 'NoExportable' => __('No routine is exportable. Required privileges may be lacking.'),
381 /* For ENUM/SET editor*/
382 'enum_editor' => __('ENUM/SET editor'),
383 'enum_columnVals' => __('Values for column %s'),
384 'enum_newColumnVals' => __('Values for a new column'),
385 'enum_hint' => __('Enter each value in a separate field.'),
386 'enum_addValue' => __('Add %d value(s)'),
388 /* For import.js */
389 'strImportCSV' => __(
390 'Note: If the file contains multiple tables, they will be combined into one.'
393 /* For sql.js */
394 'strHideQueryBox' => __('Hide query box'),
395 'strShowQueryBox' => __('Show query box'),
396 'strEdit' => __('Edit'),
397 'strDelete' => __('Delete'),
398 'strNotValidRowNumber' => __('%d is not valid row number.'),
399 'strBrowseForeignValues' => __('Browse foreign values'),
400 'strNoAutoSavedQuery' => __('No previously auto-saved query is available. Loading default query.'),
401 'strPreviousSaveQuery' => __('You have a previously saved query. Click Get auto-saved query to load the query.'),
402 'strBookmarkVariable' => __('Variable %d:'),
404 /* For Central list of columns */
405 'pickColumn' => __('Pick'),
406 'pickColumnTitle' => __('Column selector'),
407 'searchList' => __('Search this list'),
408 'strEmptyCentralList' => __(
409 'No columns in the central list. Make sure the Central columns list for '
410 . 'database %s has columns that are not present in the current table.'
412 'seeMore' => __('See more'),
413 'confirmTitle' => __('Are you sure?'),
414 'makeConsistentMessage' => __(
415 'This action may change some of the columns definition.<br>Are you sure you '
416 . 'want to continue?'
418 'strContinue' => __('Continue'),
420 /** For normalization */
421 'strAddPrimaryKey' => __('Add primary key'),
422 'strPrimaryKeyAdded' => __('Primary key added.'),
423 'strToNextStep' => __('Taking you to next step…'),
424 'strFinishMsg' => __("The first step of normalization is complete for table '%s'."),
425 'strEndStep' => __('End of step'),
426 'str2NFNormalization' => __('Second step of normalization (2NF)'),
427 'strDone' => __('Done'),
428 'strConfirmPd' => __('Confirm partial dependencies'),
429 'strSelectedPd' => __('Selected partial dependencies are as follows:'),
430 'strPdHintNote' => __(
431 'Note: a, b -> d,f implies values of columns a and b combined together can '
432 . 'determine values of column d and column f.'
434 'strNoPdSelected' => __('No partial dependencies selected!'),
435 'strBack' => __('Back'),
436 'strShowPossiblePd' => __('Show me the possible partial dependencies based on data in the table'),
437 'strHidePd' => __('Hide partial dependencies list'),
438 'strWaitForPd' => __(
439 'Sit tight! It may take few seconds depending on data size and column count of '
440 . 'the table.'
442 'strStep' => __('Step'),
443 'strMoveRepeatingGroup' => '<ol><b>' . __('The following actions will be performed:') . '</b>'
444 . '<li>' . __('DROP columns %s from the table %s') . '</li>'
445 . '<li>' . __('Create the following table') . '</li>',
446 'strNewTablePlaceholder' => 'Enter new table name',
447 'strNewColumnPlaceholder' => 'Enter column name',
448 'str3NFNormalization' => __('Third step of normalization (3NF)'),
449 'strConfirmTd' => __('Confirm transitive dependencies'),
450 'strSelectedTd' => __('Selected dependencies are as follows:'),
451 'strNoTdSelected' => __('No dependencies selected!'),
453 /* For server/variables.js */
454 'strSave' => __('Save'),
456 /* For table/select.js */
457 'strHideSearchCriteria' => __('Hide search criteria'),
458 'strShowSearchCriteria' => __('Show search criteria'),
459 'strRangeSearch' => __('Range search'),
460 'strColumnMax' => __('Column maximum:'),
461 'strColumnMin' => __('Column minimum:'),
462 'strMinValue' => __('Minimum value:'),
463 'strMaxValue' => __('Maximum value:'),
465 /* For table/find_replace.js */
466 'strHideFindNReplaceCriteria' => __('Hide find and replace criteria'),
467 'strShowFindNReplaceCriteria' => __('Show find and replace criteria'),
469 /* For table/zoom_plot_jqplot.js */
470 'strDisplayHelp' => '<ul><li>'
471 . __('Each point represents a data row.')
472 . '</li><li>'
473 . __('Hovering over a point will show its label.')
474 . '</li><li>'
475 . __('To zoom in, select a section of the plot with the mouse.')
476 . '</li><li>'
477 . __('Click reset zoom button to come back to original state.')
478 . '</li><li>'
479 . __('Click a data point to view and possibly edit the data row.')
480 . '</li><li>'
481 . __('The plot can be resized by dragging it along the bottom right corner.')
482 . '</li></ul>',
483 'strHelpTitle' => 'Zoom search instructions',
484 'strInputNull' => '<strong>' . __('Select two columns') . '</strong>',
485 'strSameInputs' => '<strong>'
486 . __('Select two different columns')
487 . '</strong>',
488 'strDataPointContent' => __('Data point content'),
490 /* For table/change.js */
491 'strIgnore' => __('Ignore'),
492 'strCopy' => __('Copy'),
493 'strX' => __('X'),
494 'strY' => __('Y'),
495 'strPoint' => __('Point'),
496 'strPointN' => __('Point %d'),
497 'strLineString' => __('Linestring'),
498 'strPolygon' => __('Polygon'),
499 'strGeometry' => __('Geometry'),
500 'strInnerRing' => __('Inner ring'),
501 'strOuterRing' => __('Outer ring'),
502 'strAddPoint' => __('Add a point'),
503 'strAddInnerRing' => __('Add an inner ring'),
504 'strYes' => __('Yes'),
505 'strCopyEncryptionKey' => __('Do you want to copy encryption key?'),
506 'strEncryptionKey' => __('Encryption key'),
508 /* For Tip to be shown on Time field */
509 'strMysqlAllowedValuesTipTime' => __(
510 'MySQL accepts additional values not selectable by the slider;'
511 . ' key in those values directly if desired'
514 /* For Tip to be shown on Date field */
515 'strMysqlAllowedValuesTipDate' => __(
516 'MySQL accepts additional values not selectable by the datepicker;'
517 . ' key in those values directly if desired'
520 /* For Lock symbol Tooltip */
521 'strLockToolTip' => __(
522 'Indicates that you have made changes to this page;'
523 . ' you will be prompted for confirmation before abandoning changes'
526 /* Designer (js/designer/move.js) */
527 'strSelectReferencedKey' => __('Select referenced key'),
528 'strSelectForeignKey' => __('Select Foreign Key'),
529 'strPleaseSelectPrimaryOrUniqueKey' => __('Please select the primary key or a unique key!'),
530 'strChangeDisplay' => __('Choose column to display'),
531 'strLeavingDesigner' => __(
532 'You haven\'t saved the changes in the layout. They will be lost if you'
533 . ' don\'t save them. Do you want to continue?'
535 'strQueryEmpty' => __('value/subQuery is empty'),
536 'strAddTables' => __('Add tables from other databases'),
537 'strPageName' => __('Page name'),
538 'strSavePage' => __('Save page'),
539 'strSavePageAs' => __('Save page as'),
540 'strOpenPage' => __('Open page'),
541 'strDeletePage' => __('Delete page'),
542 'strUntitled' => __('Untitled'),
543 'strSelectPage' => __('Please select a page to continue'),
544 'strEnterValidPageName' => __('Please enter a valid page name'),
545 'strLeavingPage' => __('Do you want to save the changes to the current page?'),
546 'strSuccessfulPageDelete' => __('Successfully deleted the page'),
547 'strExportRelationalSchema' => __('Export relational schema'),
548 'strModificationSaved' => __('Modifications have been saved'),
550 /* Visual query builder (js/designer/move.js) */
551 'strObjectsCreated' => __('%d object(s) created.'),
552 'strColumnName' => __('Column name'),
553 'strSubmit' => __('Submit'),
555 /* For makegrid.js (column reordering, show/hide column, grid editing) */
556 'strCellEditHint' => __('Press escape to cancel editing.'),
557 'strSaveCellWarning' => __(
558 'You have edited some data and they have not been saved. Are you sure you want '
559 . 'to leave this page before saving the data?'
561 'strColOrderHint' => __('Drag to reorder.'),
562 'strSortHint' => __('Click to sort results by this column.'),
563 'strMultiSortHint' => __(
564 'Shift+Click to add this column to ORDER BY clause or to toggle ASC/DESC.'
565 . '<br>- Ctrl+Click or Alt+Click (Mac: Shift+Option+Click) to remove column '
566 . 'from ORDER BY clause'
568 'strColMarkHint' => __('Click to mark/unmark.'),
569 'strColNameCopyHint' => __('Double-click to copy column name.'),
570 'strColVisibHint' => __(
571 'Click the drop-down arrow<br>to toggle column\'s visibility.'
573 'strShowAllCol' => __('Show all'),
574 'strAlertNonUnique' => __(
575 'This table does not contain a unique column. Features related to the grid '
576 . 'edit, checkbox, Edit, Copy and Delete links may not work after saving.'
578 'strEnterValidHex' => __('Please enter a valid hexadecimal string. Valid characters are 0-9, A-F.'),
579 'strShowAllRowsWarning' => __(
580 'Do you really want to see all of the rows? For a big table this could crash '
581 . 'the browser.'
583 'strOriginalLength' => __('Original length'),
585 /** Drag & Drop sql import messages */
586 'dropImportMessageCancel' => __('cancel'),
587 'dropImportMessageAborted' => __('Aborted'),
588 'dropImportMessageFailed' => __('Failed'),
589 'dropImportMessageSuccess' => __('Success'),
590 'dropImportImportResultHeader' => __('Import status'),
591 'dropImportDropFiles' => __('Drop files here'),
592 'dropImportSelectDB' => __('Select database first'),
594 /* For Print view */
595 'print' => __('Print'),
596 'back' => __('Back'),
598 // this approach does not work when the parameter is changed via user prefs
599 'strGridEditFeatureHint' => $cfg['GridEditing'] === 'double-click'
600 ? __('You can also edit most values<br>by double-clicking directly on them.')
601 : ($cfg['GridEditing'] === 'click'
602 ? __('You can also edit most values<br>by clicking directly on them.')
603 : null),
605 'strGoToLink' => __('Go to link:'),
606 'strColNameCopyTitle' => __('Copy column name.'),
607 'strColNameCopyText' => __('Right-click the column name to copy it to your clipboard.'),
609 /* password generation */
610 'strGeneratePassword' => __('Generate password'),
611 'strGenerate' => __('Generate'),
612 'strChangePassword' => __('Change password'),
614 /* navigation tabs */
615 'strMore' => __('More'),
617 /* navigation panel */
618 'strShowPanel' => __('Show panel'),
619 'strHidePanel' => __('Hide panel'),
620 'strUnhideNavItem' => __('Show hidden navigation tree items.'),
621 'linkWithMain' => __('Link with main panel'),
622 'unlinkWithMain' => __('Unlink from main panel'),
624 /* microhistory */
625 'strInvalidPage' => __('The requested page was not found in the history, it may have expired.'),
627 /* update */
628 'strNewerVersion' => __(
629 'A newer version of phpMyAdmin is available and you should consider upgrading. '
630 . 'The newest version is %s, released on %s.'
632 /* l10n: Latest available phpMyAdmin version */
633 'strLatestAvailable' => __(', latest stable version:'),
634 'strUpToDate' => __('up to date'),
636 'strCreateView' => __('Create view'),
638 /* Error Reporting */
639 'strSendErrorReport' => __('Send error report'),
640 'strSubmitErrorReport' => __('Submit error report'),
641 'strErrorOccurred' => __(
642 'A fatal JavaScript error has occurred. Would you like to send an error report?'
644 'strChangeReportSettings' => __('Change report settings'),
645 'strShowReportDetails' => __('Show report details'),
646 'strTimeOutError' => __(
647 'Your export is incomplete, due to a low execution time limit at the PHP level!'
650 'strTooManyInputs' => __(
651 'Warning: a form on this page has more than %d fields. On submission, '
652 . "some of the fields might be ignored, due to PHP's "
653 . 'max_input_vars configuration.'
656 'phpErrorsFound' => '<div class="alert alert-danger" role="alert">'
657 . __('Some errors have been detected on the server!')
658 . '<br>'
659 . __('Please look at the bottom of this window.')
660 . '<div>'
661 . '<input id="pma_ignore_errors_popup" type="submit" value="'
662 . __('Ignore')
663 . '" class="btn btn-secondary floatright message_errors_found">'
664 . '<input id="pma_ignore_all_errors_popup" type="submit" value="'
665 . __('Ignore All')
666 . '" class="btn btn-secondary floatright message_errors_found">'
667 . '</div></div>',
669 'phpErrorsBeingSubmitted' => '<div class="alert alert-danger" role="alert">'
670 . __('Some errors have been detected on the server!')
671 . '<br>'
672 . __(
673 'As per your settings, they are being submitted currently, please be '
674 . 'patient.'
676 . '<br>'
677 . '<img src="'
678 . $PMA_Theme->getImgPath('ajax_clock_small.gif')
679 . '" width="16" height="16" alt="ajax clock">'
680 . '</div>',
681 'strCopyQueryButtonSuccess' => __('Successfully copied!'),
682 'strCopyQueryButtonFailure' => __('Copying failed!'),
684 // For console
685 'strConsoleRequeryConfirm' => __('Execute this query again?'),
686 'strConsoleDeleteBookmarkConfirm' => __('Do you really want to delete this bookmark?'),
687 'strConsoleDebugError' => __('Some error occurred while getting SQL debug info.'),
688 'strConsoleDebugSummary' => __('%s queries executed %s times in %s seconds.'),
689 'strConsoleDebugArgsSummary' => __('%s argument(s) passed'),
690 'strConsoleDebugShowArgs' => __('Show arguments'),
691 'strConsoleDebugHideArgs' => __('Hide arguments'),
692 'strConsoleDebugTimeTaken' => __('Time taken:'),
693 'strNoLocalStorage' => __('There was a problem accessing your browser storage, some features may not work properly for you. It is likely that the browser doesn\'t support storage or the quota limit has been reached. In Firefox, corrupted storage can also cause such a problem, clearing your "Offline Website Data" might help. In Safari, such problem is commonly caused by "Private Mode Browsing".'),
694 // For modals in /database/structure
695 'strCopyTablesTo' => __('Copy tables to'),
696 'strAddPrefix' => __('Add table prefix'),
697 'strReplacePrefix' => __('Replace table with prefix'),
698 'strCopyPrefix' => __('Copy table with prefix'),
700 /* For password strength simulation */
701 'strExtrWeak' => __('Extremely weak'),
702 'strVeryWeak' => __('Very weak'),
703 'strWeak' => __('Weak'),
704 'strGood' => __('Good'),
705 'strStrong' => __('Strong'),
707 /* U2F errors */
708 'strU2FTimeout' => __('Timed out waiting for security key activation.'),
709 'strU2FError' => __('Failed security key activation (%s).'),
711 /* Designer */
712 'strTableAlreadyExists' => _pgettext('The table already exists in the designer and can not be added once more.', 'Table %s already exists!'),
713 'strHide' => __('Hide'),
714 'strShow' => __('Show'),
715 'strStructure' => __('Structure'),
718 echo 'var Messages = [];' . "\n";
719 foreach ($javascriptMessages as $name => $message) {
720 echo Sanitize::getJsValue('Messages.' . $name, $message);