Translation update done using Pootle.
[phpmyadmin.git] / js / messages.php
blob7b1056325875725e3f5c773206c89ae7962e49b8
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Exporting of translated messages from PHP to Javascript
6 * @package PhpMyAdmin
7 */
9 chdir('..');
11 // Send correct type:
12 header('Content-Type: text/javascript; charset=UTF-8');
14 // Cache output in client - the nocache query parameter makes sure that this
15 // file is reloaded when config changes
16 header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT');
18 // Avoid loading the full common.inc.php because this would add many
19 // non-js-compatible stuff like DOCTYPE
20 define('PMA_MINIMUM_COMMON', true);
21 require_once './libraries/common.inc.php';
22 // Close session early as we won't write anything there
23 session_write_close();
24 // But this one is needed for PMA_escapeJsString()
25 require_once './libraries/js_escape.lib.php';
27 $js_messages['strNoDropDatabases'] = $cfg['AllowUserDropDatabase'] ? '' : __('"DROP DATABASE" statements are disabled.');
29 /* For confirmations */
30 $js_messages['strDoYouReally'] = __('Do you really want to ');
31 $js_messages['strDropDatabaseStrongWarning'] = __('You are about to DESTROY a complete database!');
32 $js_messages['strDropTableStrongWarning'] = __('You are about to DESTROY a complete table!');
33 $js_messages['strTruncateTableStrongWarning'] = __('You are about to TRUNCATE a complete table!');
34 $js_messages['strDeleteTrackingData'] = __('Delete tracking data for this table');
35 $js_messages['strDeletingTrackingData'] = __('Deleting tracking data');
36 $js_messages['strDroppingPrimaryKeyIndex'] = __('Dropping Primary Key/Index');
37 $js_messages['strOperationTakesLongTime'] = __('This operation could take a long time. Proceed anyway?');
39 /* For blobstreaming */
40 $js_messages['strBLOBRepositoryDisableStrongWarning'] = __('You are about to DISABLE a BLOB Repository!');
41 $js_messages['strBLOBRepositoryDisableAreYouSure'] = sprintf(__('Are you sure you want to disable all BLOB references for database %s?'), PMA_escapeJsString($GLOBALS['db']));
43 /* For indexes */
44 $js_messages['strFormEmpty'] = __('Missing value in the form!');
45 $js_messages['strNotNumber'] = __('This is not a number!');
46 $js_messages['strAddIndex'] = __('Add Index');
47 $js_messages['strEditIndex'] = __('Edit Index');
48 $js_messages['strAddToIndex'] = __('Add %d column(s) to index');
50 /* Charts */
51 /* l10n: Default description for the y-Axis of Charts */
52 $js_messages['strTotalCount'] = __('Total count');
54 /* For server_privileges.js */
55 $js_messages['strHostEmpty'] = __('The host name is empty!');
56 $js_messages['strUserEmpty'] = __('The user name is empty!');
57 $js_messages['strPasswordEmpty'] = __('The password is empty!');
58 $js_messages['strPasswordNotSame'] = __('The passwords aren\'t the same!');
59 $js_messages['strAddUser'] = __('Add user');
60 $js_messages['strReloadingPrivileges'] = __('Reloading Privileges');
61 $js_messages['strRemovingSelectedUsers'] = __('Removing Selected Users');
62 $js_messages['strClose'] = __('Close');
64 /* for server_status.js */
65 $js_messages['strEdit'] = __('Edit');
66 $js_messages['strLiveTrafficChart'] = __('Live traffic chart');
67 $js_messages['strLiveConnChart'] = __('Live conn./process chart');
68 $js_messages['strLiveQueryChart'] = __('Live query chart');
70 $js_messages['strStaticData'] = __('Static data');
71 /* l10n: Total number of queries */
72 $js_messages['strTotal'] = __('Total');
73 /* l10n: Other, small valued, queries */
74 $js_messages['strOther'] = __('Other');
75 /* l10n: Thousands separator */
76 $js_messages['strThousandsSeperator'] = __(',');
77 /* l10n: Decimal separator */
78 $js_messages['strDecimalSeperator'] = __('.');
80 $js_messages['strChartKBSent'] = __('KiB sent since last refresh');
81 $js_messages['strChartKBReceived'] = __('KiB received since last refresh');
82 $js_messages['strChartServerTraffic'] = __('Server traffic (in KiB)');
83 $js_messages['strChartConnections'] = __('Connections since last refresh');
84 $js_messages['strChartProcesses'] = __('Processes');
85 $js_messages['strChartConnectionsTitle'] = __('Connections / Processes');
86 /* l10n: Questions is the name of a MySQL Status variable */
87 $js_messages['strChartIssuedQueries'] = __('Questions since last refresh');
88 /* l10n: Questions is the name of a MySQL Status variable */
89 $js_messages['strChartIssuedQueriesTitle'] = __('Questions (executed statements by the server)');
91 $js_messages['strChartQueryPie'] = __('Query statistics');
93 /* server status monitor */
94 $js_messages['strIncompatibleMonitorConfig'] = __('Local monitor configuration incompatible');
95 $js_messages['strIncompatibleMonitorConfigDescription'] = __('The chart arrangement configuration in your browsers local storage is not compatible anymore to the newer version of the monitor dialog. It is very likely that your current configuration will not work anymore. Please reset your configuration to default in the <i>Settings</i> menu.');
97 $js_messages['strQueryCacheEfficiency'] = __('Query cache efficiency');
98 $js_messages['strQueryCacheUsage'] = __('Query cache usage');
99 $js_messages['strQueryCacheUsed'] = __('Query cache used');
101 $js_messages['strSystemCPUUsage'] = __('System CPU Usage');
102 $js_messages['strSystemMemory'] = __('System memory');
103 $js_messages['strSystemSwap'] = __('System swap');
104 $js_messages['strMiB'] = __('MiB');
105 $js_messages['strKiB'] = __('KiB');
107 $js_messages['strAverageLoad'] = __('Average load');
108 $js_messages['strTotalMemory'] = __('Total memory');
109 $js_messages['strCachedMemory'] = __('Cached memory');
110 $js_messages['strBufferedMemory'] = __('Buffered memory');
111 $js_messages['strFreeMemory'] = __('Free memory');
112 $js_messages['strUsedMemory'] = __('Used memory');
114 $js_messages['strTotalSwap'] = __('Total Swap');
115 $js_messages['strCachedSwap'] = __('Cached Swap');
116 $js_messages['strUsedSwap'] = __('Used Swap');
117 $js_messages['strFreeSwap'] = __('Free Swap');
119 $js_messages['strBytesSent'] = __('Bytes sent');
120 $js_messages['strBytesReceived'] = __('Bytes received');
121 $js_messages['strConnections'] = __('Connections');
122 $js_messages['strProcesses'] = __('Processes');
124 /* summary row */
125 $js_messages['strB'] = __('B');
126 $js_messages['strKiB'] = __('KiB');
127 $js_messages['strMiB'] = __('MiB');
128 $js_messages['strGiB'] = __('GiB');
129 $js_messages['strTiB'] = __('TiB');
130 $js_messages['strPiB'] = __('PiB');
131 $js_messages['strEiB'] = __('EiB');
132 $js_messages['strTables'] = __('%d table(s)');
134 /* l10n: Questions is the name of a MySQL Status variable */
135 $js_messages['strQuestions'] = __('Questions');
136 $js_messages['strTraffic'] = __('Traffic');
137 $js_messages['strSettings'] = __('Settings');
138 $js_messages['strRemoveChart'] = __('Remove chart');
139 $js_messages['strEditChart'] = __('Edit title and labels');
140 $js_messages['strAddChart'] = __('Add chart to grid');
141 $js_messages['strClose'] = __('Close');
142 $js_messages['strAddOneSeriesWarning'] = __('Please add at least one variable to the series');
143 $js_messages['strNone'] = __('None');
144 $js_messages['strResumeMonitor'] = __('Resume monitor');
145 $js_messages['strPauseMonitor'] = __('Pause monitor');
146 /* Monitor: Instructions Dialog */
147 $js_messages['strBothLogOn'] = __('general_log and slow_query_log are enabled.');
148 $js_messages['strGenLogOn'] = __('general_log is enabled.');
149 $js_messages['strSlowLogOn'] = __('slow_query_log is enabled.');
150 $js_messages['strBothLogOff'] = __('slow_query_log and general_log are disabled.');
151 $js_messages['strLogOutNotTable'] = __('log_output is not set to TABLE.');
152 $js_messages['strLogOutIsTable'] = __('log_output is set to TABLE.');
153 $js_messages['strSmallerLongQueryTimeAdvice'] = __('slow_query_log is enabled, but the server logs only queries that take longer than %d seconds. It is advisable to set this long_query_time 0-2 seconds, depending on your system.');
154 $js_messages['strLongQueryTimeSet'] = __('long_query_time is set to %d second(s).');
155 $js_messages['strSettingsAppliedGlobal'] = __('Following settings will be applied globally and reset to default on server restart:');
156 /* l10n: %s is FILE or TABLE */
157 $js_messages['strSetLogOutput'] = __('Set log_output to %s');
158 /* l10n: Enable in this context means setting a status variable to ON */
159 $js_messages['strEnableVar'] = __('Enable %s');
160 /* l10n: Disable in this context means setting a status variable to OFF */
161 $js_messages['strDisableVar'] = __('Disable %s');
162 /* l10n: %d seconds */
163 $js_messages['setSetLongQueryTime'] = __('Set long_query_time to %ds');
164 $js_messages['strNoSuperUser'] = __('You can\'t change these variables. Please log in as root or contact your database administrator.');
165 $js_messages['strChangeSettings'] = __('Change settings');
166 $js_messages['strCurrentSettings'] = __('Current settings');
168 $js_messages['strChartTitle'] = __('Chart Title');
169 /* l10n: As in differential values */
170 $js_messages['strDifferential'] = __('Differential');
171 $js_messages['strDividedBy'] = __('Divided by %s');
172 $js_messages['strUnit'] = __('Unit');
174 $js_messages['strFromSlowLog'] = __('From slow log');
175 $js_messages['strFromGeneralLog'] = __('From general log');
176 $js_messages['strAnalysingLogs'] = __('Analysing & loading logs. This may take a while.');
177 $js_messages['strCancelRequest'] = __('Cancel request');
178 $js_messages['strCountColumnExplanation'] = __('This column shows the amount of identical queries that are grouped together. However only the SQL query itself has been used as a grouping criteria, so the other attributes of queries, such as start time, may differ.');
179 $js_messages['strMoreCountColumnExplanation'] = __('Since grouping of INSERTs queries has been selected, INSERT queries into the same table are also being grouped together, disregarding of the inserted data.');
180 $js_messages['strLogDataLoaded'] = __('Log data loaded. Queries executed in this time span:');
182 $js_messages['strJumpToTable'] = __('Jump to Log table');
183 $js_messages['strNoDataFound'] = __('Log analysed, but no data found in this time span.');
185 $js_messages['strAnalyzing'] = __('Analyzing...');
186 $js_messages['strExplainOutput'] = __('Explain output');
187 $js_messages['strStatus'] = __('Status');
188 $js_messages['strTime'] = __('Time');
189 $js_messages['strTotalTime'] = __('Total time:');
190 $js_messages['strProfilingResults'] = __('Profiling results');
191 $js_messages['strTable'] = _pgettext('Display format', 'Table');
192 $js_messages['strChart'] = __('Chart');
194 /* l10n: A collection of available filters */
195 $js_messages['strFiltersForLogTable'] = __('Log table filter options');
196 /* l10n: Filter as in "Start Filtering" */
197 $js_messages['strFilter'] = __('Filter');
198 $js_messages['strFilterByWordRegexp'] = __('Filter queries by word/regexp:');
199 $js_messages['strIgnoreWhereAndGroup'] = __('Group queries, ignoring variable data in WHERE clauses');
200 $js_messages['strSumRows'] = __('Sum of grouped rows:');
201 $js_messages['strTotal'] = __('Total:');
203 $js_messages['strLoadingLogs'] = __('Loading logs');
204 $js_messages['strRefreshFailed'] = __('Monitor refresh failed');
205 $js_messages['strInvalidResponseExplanation'] = __('While requesting new chart data the server returned an invalid response. This is most likely because your session expired. Reloading the page and reentering your credentials should help.');
206 $js_messages['strReloadPage'] = __('Reload page');
208 $js_messages['strAffectedRows'] = __('Affected rows:');
210 $js_messages['strFailedParsingConfig'] = __('Failed parsing config file. It doesn\'t seem to be valid JSON code.');
211 $js_messages['strFailedBuildingGrid'] = __('Failed building chart grid with imported config. Resetting to default config...');
212 $js_messages['strImport'] = __('Import');
214 $js_messages['strAnalyzeQuery'] = __('Analyse Query');
216 /* Server status advisor */
218 $js_messages['strAdvisorSystem'] = __('Advisor system');
219 $js_messages['strPerformanceIssues'] = __('Possible performance issues');
220 $js_messages['strIssuse'] = __('Issue');
221 $js_messages['strRecommendation'] = __('Recommendation');
222 $js_messages['strRuleDetails'] = __('Rule details');
223 $js_messages['strJustification'] = __('Justification');
224 $js_messages['strFormula'] = __('Used variable / formula');
225 $js_messages['strTest'] = __('Test');
228 /* For inline query editing */
229 $js_messages['strGo'] = __('Go');
230 $js_messages['strCancel'] = __('Cancel');
232 /* For Ajax Notifications */
233 $js_messages['strLoading'] = __('Loading');
234 $js_messages['strProcessingRequest'] = __('Processing Request');
235 $js_messages['strErrorProcessingRequest'] = __('Error in Processing Request');
236 $js_messages['strDroppingColumn'] = __('Dropping Column');
237 $js_messages['strAddingPrimaryKey'] = __('Adding Primary Key');
238 $js_messages['strOK'] = __('OK');
239 $js_messages['strDismiss'] = __('Click to dismiss this notification');
241 /* For db_operations.js */
242 $js_messages['strRenamingDatabases'] = __('Renaming Databases');
243 $js_messages['strReloadDatabase'] = __('Reload Database');
244 $js_messages['strCopyingDatabase'] = __('Copying Database');
245 $js_messages['strChangingCharset'] = __('Changing Charset');
246 $js_messages['strTableMustHaveAtleastOneColumn'] = __('Table must have at least one column');
247 $js_messages['strYes'] = __('Yes');
248 $js_messages['strNo'] = __('No');
250 /* For db_stucture.js */
251 $js_messages['strInsertTable'] = __('Insert Table');
252 $js_messages['strHideIndexes'] = __('Hide indexes');
253 $js_messages['strShowIndexes'] = __('Show indexes');
255 /* For db_search.js */
256 $js_messages['strSearching'] = __('Searching');
257 $js_messages['strHideSearchResults'] = __('Hide search results');
258 $js_messages['strShowSearchResults'] = __('Show search results');
259 $js_messages['strBrowsing'] = __('Browsing');
260 $js_messages['strDeleting'] = __('Deleting');
262 /* For db_routines.js */
263 $js_messages['MissingReturn'] = __('The definition of a stored function must contain a RETURN statement!');
265 /* For ENUM/SET editor*/
266 $js_messages['enum_editor'] = __('ENUM/SET editor');
267 $js_messages['enum_columnVals'] =__('Values for column %s');
268 $js_messages['enum_newColumnVals'] = __('Values for a new column');
269 $js_messages['enum_hint'] =__('Enter each value in a separate field');
270 $js_messages['enum_addValue'] =__('Add %d value(s)');
272 /* For import.js */
273 $js_messages['strImportCSV'] = __('Note: If the file contains multiple tables, they will be combined into one');
275 /* For sql.js */
276 $js_messages['strHideQueryBox'] = __('Hide query box');
277 $js_messages['strShowQueryBox'] = __('Show query box');
278 $js_messages['strEdit'] = __('Edit');
279 $js_messages['strNoRowSelected'] = __('No rows selected');
280 $js_messages['strChangeTbl'] = __('Change');
281 $js_messages['strQueryExecutionTime'] = __('Query execution time');
283 /* For server_variables.js */
284 $js_messages['strSave'] = __('Save');
286 /* For tbl_select.js */
287 $js_messages['strHideSearchCriteria'] = __('Hide search criteria');
288 $js_messages['strShowSearchCriteria'] = __('Show search criteria');
290 /* For tbl_zoom_plot.js */
291 $js_messages['strZoomSearch'] = __('Zoom Search');
292 $js_messages['strDisplayHelp'] = '<ul><li>'
293 . __('Each point represents a data row.')
294 . '</li><li>'
295 . __('Hovering over a point will show its label.')
296 . '</li><li>'
297 . __('Use mousewheel to zoom in or out of the plot.')
298 . '</li><li>'
299 . __('Click and drag the mouse to navigate the plot.')
300 . '</li><li>'
301 . __('Click reset zoom link to come back to original state.')
302 . '</li><li>'
303 . __('Click a data point to view and possibly edit the data row.')
304 . '</li><li>'
305 . __('The plot can be resized by dragging it along the bottom right corner.')
306 . '</li><li>'
307 . __('Strings are converted into integer for plotting')
308 . '</li></ul>';
309 $js_messages['strInputNull'] = '<strong>' . __('Select two columns') . '</strong>';
310 $js_messages['strSameInputs'] = '<strong>' . __('Select two different columns') . '</strong>';
311 $js_messages['strQueryResults'] = __('Query results');
312 $js_messages['strDataPointContent'] = __('Data point content');
314 /* For tbl_change.js */
315 $js_messages['strIgnore'] = __('Ignore');
316 $js_messages['strCopy'] = __('Copy');
317 $js_messages['strX'] = __('X');
318 $js_messages['strY'] = __('Y');
319 $js_messages['strPoint'] = __('Point');
320 $js_messages['strPointN'] = __('Point %d');
321 $js_messages['strLineString'] = __('Linestring');
322 $js_messages['strPolygon'] = __('Polygon');
323 $js_messages['strGeometry'] = __('Geometry');
324 $js_messages['strInnerRing'] = __('Inner Ring');
325 $js_messages['strOuterRing'] = __('Outer Ring');
326 $js_messages['strAddPoint'] = __('Add a point');
327 $js_messages['strAddInnerRing'] = __('Add an inner ring');
328 $js_messages['strAddPolygon'] = __('Add a polygon');
330 /* For tbl_structure.js */
331 $js_messages['strAddColumns'] = __('Add columns');
333 /* Designer (js/pmd/move.js) */
334 $js_messages['strSelectReferencedKey'] = __('Select referenced key');
335 $js_messages['strSelectForeignKey'] = __('Select Foreign Key');
336 $js_messages['strPleaseSelectPrimaryOrUniqueKey'] = __('Please select the primary key or a unique key');
337 $js_messages['strChangeDisplay'] = __('Choose column to display');
338 $js_messages['strLeavingDesigner'] = __('You haven\'t saved the changes in the layout. They will be lost if you don\'t save them. Do you want to continue?');
340 /* Visual query builder (js/pmd/move.js) */
341 $js_messages['strAddOption'] = __('Add an option for column ');
343 /* For makegrid.js (column reordering, show/hide column, grid editing) */
344 $js_messages['strCellEditHint'] = __('Press escape to cancel editing');
345 $js_messages['strSaveCellWarning'] = __('You have edited some data and they have not been saved. Are you sure you want to leave this page before saving the data?');
346 $js_messages['strColOrderHint'] = __('Drag to reorder');
347 $js_messages['strSortHint'] = __('Click to sort');
348 $js_messages['strColMarkHint'] = __('Click to mark/unmark');
349 $js_messages['strColVisibHint'] = __('Click the drop-down arrow<br />to toggle column\'s visibility');
350 $js_messages['strShowAllCol'] = __('Show all');
351 $js_messages['strAlertNonUnique'] = __('This table does not contain a unique column. Features related to the grid edit, checkbox, Edit, Copy and Delete links may not work after saving.');
352 $js_messages['strGridEditFeatureHint'] = __('You can also edit most columns<br />by clicking directly on their content.');
353 $js_messages['strGoToLink'] = __('Go to link');
355 /* password generation */
356 $js_messages['strGeneratePassword'] = __('Generate password');
357 $js_messages['strGenerate'] = __('Generate');
358 $js_messages['strChangePassword'] = __('Change Password');
360 /* navigation tabs */
361 $js_messages['strMore'] = __('More');
363 /* update */
364 $js_messages['strNewerVersion'] = __('A newer version of phpMyAdmin is available and you should consider upgrading. The newest version is %s, released on %s.');
365 /* l10n: Latest available phpMyAdmin version */
366 $js_messages['strLatestAvailable'] = __(', latest stable version:');
367 $js_messages['strUpToDate'] = __('up to date');
370 echo "var PMA_messages = new Array();\n";
371 foreach ($js_messages as $name => $js_message) {
372 PMA_printJsValue("PMA_messages['" . $name . "']", $js_message);
375 /* Calendar */
376 echo "var themeCalendarImage = '" . $GLOBALS['pmaThemeImage'] . 'b_calendar.png' . "';\n";
378 /* Image path */
379 echo "var pmaThemeImage = '" . $GLOBALS['pmaThemeImage'] . "';\n";
381 /* Version */
382 echo "var pmaversion = '" . PMA_VERSION . "';\n";
384 echo "if ($.datepicker) {\n";
385 /* l10n: Display text for calendar close link */
386 PMA_printJsValue("$.datepicker.regional['']['closeText']", __('Done'));
387 /* l10n: Display text for previous month link in calendar */
388 PMA_printJsValue(
389 "$.datepicker.regional['']['prevText']",
390 _pgettext('Previous month', 'Prev')
392 /* l10n: Display text for next month link in calendar */
393 PMA_printJsValue(
394 "$.datepicker.regional['']['nextText']",
395 _pgettext('Next month', 'Next')
397 /* l10n: Display text for current month link in calendar */
398 PMA_printJsValue("$.datepicker.regional['']['currentText']", __('Today'));
399 PMA_printJsValue("$.datepicker.regional['']['monthNames']",
400 array(
401 __('January'),
402 __('February'),
403 __('March'),
404 __('April'),
405 __('May'),
406 __('June'),
407 __('July'),
408 __('August'),
409 __('September'),
410 __('October'),
411 __('November'),
412 __('December')));
413 PMA_printJsValue("$.datepicker.regional['']['monthNamesShort']",
414 array(
415 /* l10n: Short month name */
416 __('Jan'),
417 /* l10n: Short month name */
418 __('Feb'),
419 /* l10n: Short month name */
420 __('Mar'),
421 /* l10n: Short month name */
422 __('Apr'),
423 /* l10n: Short month name */
424 _pgettext('Short month name', 'May'),
425 /* l10n: Short month name */
426 __('Jun'),
427 /* l10n: Short month name */
428 __('Jul'),
429 /* l10n: Short month name */
430 __('Aug'),
431 /* l10n: Short month name */
432 __('Sep'),
433 /* l10n: Short month name */
434 __('Oct'),
435 /* l10n: Short month name */
436 __('Nov'),
437 /* l10n: Short month name */
438 __('Dec')));
439 PMA_printJsValue("$.datepicker.regional['']['dayNames']",
440 array(
441 __('Sunday'),
442 __('Monday'),
443 __('Tuesday'),
444 __('Wednesday'),
445 __('Thursday'),
446 __('Friday'),
447 __('Saturday')));
448 PMA_printJsValue("$.datepicker.regional['']['dayNamesShort']",
449 array(
450 /* l10n: Short week day name */
451 __('Sun'),
452 /* l10n: Short week day name */
453 __('Mon'),
454 /* l10n: Short week day name */
455 __('Tue'),
456 /* l10n: Short week day name */
457 __('Wed'),
458 /* l10n: Short week day name */
459 __('Thu'),
460 /* l10n: Short week day name */
461 __('Fri'),
462 /* l10n: Short week day name */
463 __('Sat')));
464 PMA_printJsValue("$.datepicker.regional['']['dayNamesMin']",
465 array(
466 /* l10n: Minimal week day name */
467 __('Su'),
468 /* l10n: Minimal week day name */
469 __('Mo'),
470 /* l10n: Minimal week day name */
471 __('Tu'),
472 /* l10n: Minimal week day name */
473 __('We'),
474 /* l10n: Minimal week day name */
475 __('Th'),
476 /* l10n: Minimal week day name */
477 __('Fr'),
478 /* l10n: Minimal week day name */
479 __('Sa')));
480 /* l10n: Column header for week of the year in calendar */
481 PMA_printJsValue("$.datepicker.regional['']['weekHeader']", __('Wk'));
483 /* l10n: Month-year order for calendar, use either "calendar-month-year" or "calendar-year-month". */
484 PMA_printJsValue("$.datepicker.regional['']['showMonthAfterYear']", (__('calendar-month-year') == 'calendar-year-month'));
485 /* l10n: Year suffix for calendar, "none" is empty. */
486 $year_suffix = _pgettext('Year suffix', 'none');
487 PMA_printJsValue("$.datepicker.regional['']['yearSuffix']", ($year_suffix == 'none' ? '' : $year_suffix));
489 $.extend($.datepicker._defaults, $.datepicker.regional['']);
490 } /* if ($.datepicker) */
492 <?php
493 echo "if ($.timepicker) {\n";
494 PMA_printJsValue("$.timepicker.regional['']['timeText']", __('Time'));
495 PMA_printJsValue("$.timepicker.regional['']['hourText']", __('Hour'));
496 PMA_printJsValue("$.timepicker.regional['']['minuteText']", __('Minute'));
497 PMA_printJsValue("$.timepicker.regional['']['secondText']", __('Second'));
499 $.extend($.timepicker._defaults, $.timepicker.regional['']);
500 } /* if ($.timepicker) */