Descriptions.php 74 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Verbose descriptions for settings.
  5. *
  6. * @package PhpMyAdmin
  7. */
  8. namespace PhpMyAdmin\Config;
  9. use PhpMyAdmin\Sanitize;
  10. /**
  11. * Base class for forms, loads default configuration options, checks allowed
  12. * values etc.
  13. *
  14. * @package PhpMyAdmin
  15. */
  16. class Descriptions
  17. {
  18. /**
  19. * Return
  20. * Return name or description for a configuration path.
  21. *
  22. * @param string $path Path of configuration
  23. * @param string $type Type of message, either 'name', 'cmt' or 'desc'
  24. *
  25. * @return string
  26. */
  27. public static function get($path, $type = 'name')
  28. {
  29. $key = str_replace(
  30. array('Servers/1/', '/'),
  31. array('Servers/', '_'),
  32. $path
  33. );
  34. $value = self::getString($key, $type);
  35. /* Fallback to path for name and empty string for description and comment */
  36. if (is_null($value)) {
  37. if ($type == 'name') {
  38. $value = $path;
  39. } else {
  40. $value = '';
  41. }
  42. }
  43. return Sanitize::sanitize($value);
  44. }
  45. /**
  46. * Return name or description for a cleaned up configuration path.
  47. *
  48. * @param string $path Path of configuration
  49. * @param string $type Type of message, either 'name', 'cmt' or 'desc'
  50. *
  51. * @return string|null Null if not found
  52. */
  53. public static function getString($path, $type = 'name')
  54. {
  55. switch ($path . '_' . $type) {
  56. case 'AllowArbitraryServer_desc':
  57. return __('If enabled, user can enter any MySQL server in login form for cookie auth.');
  58. case 'AllowArbitraryServer_name':
  59. return __('Allow login to any MySQL server');
  60. case 'ArbitraryServerRegexp_desc':
  61. return __(
  62. 'Restricts the MySQL servers the user can enter when a login to an arbitrary '
  63. . 'MySQL server is enabled by matching the IP or hostname of the MySQL server ' .
  64. 'to the given regular expression.'
  65. );
  66. case 'ArbitraryServerRegexp_name':
  67. return __('Restrict login to MySQL server');
  68. case 'AllowThirdPartyFraming_desc':
  69. return __(
  70. 'Enabling this allows a page located on a different domain to call phpMyAdmin '
  71. . 'inside a frame, and is a potential [strong]security hole[/strong] allowing '
  72. . 'cross-frame scripting (XSS) attacks.'
  73. );
  74. case 'AllowThirdPartyFraming_name':
  75. return __('Allow third party framing');
  76. case 'AllowUserDropDatabase_name':
  77. return __('Show "Drop database" link to normal users');
  78. case 'blowfish_secret_desc':
  79. return __(
  80. 'Secret passphrase used for encrypting cookies in [kbd]cookie[/kbd] '
  81. . 'authentication.'
  82. );
  83. case 'blowfish_secret_name':
  84. return __('Blowfish secret');
  85. case 'BrowseMarkerEnable_desc':
  86. return __('Highlight selected rows.');
  87. case 'BrowseMarkerEnable_name':
  88. return __('Row marker');
  89. case 'BrowsePointerEnable_desc':
  90. return __('Highlight row pointed by the mouse cursor.');
  91. case 'BrowsePointerEnable_name':
  92. return __('Highlight pointer');
  93. case 'BZipDump_desc':
  94. return __(
  95. 'Enable bzip2 compression for'
  96. . ' import operations.'
  97. );
  98. case 'BZipDump_name':
  99. return __('Bzip2');
  100. case 'CharEditing_desc':
  101. return __(
  102. 'Defines which type of editing controls should be used for CHAR and VARCHAR '
  103. . 'columns; [kbd]input[/kbd] - allows limiting of input length, '
  104. . '[kbd]textarea[/kbd] - allows newlines in columns.'
  105. );
  106. case 'CharEditing_name':
  107. return __('CHAR columns editing');
  108. case 'CodemirrorEnable_desc':
  109. return __(
  110. 'Use user-friendly editor for editing SQL queries '
  111. . '(CodeMirror) with syntax highlighting and '
  112. . 'line numbers.'
  113. );
  114. case 'CodemirrorEnable_name':
  115. return __('Enable CodeMirror');
  116. case 'LintEnable_desc':
  117. return __(
  118. 'Find any errors in the query before executing it.'
  119. . ' Requires CodeMirror to be enabled.'
  120. );
  121. case 'LintEnable_name':
  122. return __('Enable linter');
  123. case 'MinSizeForInputField_desc':
  124. return __(
  125. 'Defines the minimum size for input fields generated for CHAR and VARCHAR '
  126. . 'columns.'
  127. );
  128. case 'MinSizeForInputField_name':
  129. return __('Minimum size for input field');
  130. case 'MaxSizeForInputField_desc':
  131. return __(
  132. 'Defines the maximum size for input fields generated for CHAR and VARCHAR '
  133. . 'columns.'
  134. );
  135. case 'MaxSizeForInputField_name':
  136. return __('Maximum size for input field');
  137. case 'CharTextareaCols_desc':
  138. return __('Number of columns for CHAR/VARCHAR textareas.');
  139. case 'CharTextareaCols_name':
  140. return __('CHAR textarea columns');
  141. case 'CharTextareaRows_desc':
  142. return __('Number of rows for CHAR/VARCHAR textareas.');
  143. case 'CharTextareaRows_name':
  144. return __('CHAR textarea rows');
  145. case 'CheckConfigurationPermissions_name':
  146. return __('Check config file permissions');
  147. case 'CompressOnFly_desc':
  148. return __(
  149. 'Compress gzip exports on the fly without the need for much memory; if '
  150. . 'you encounter problems with created gzip files disable this feature.'
  151. );
  152. case 'CompressOnFly_name':
  153. return __('Compress on the fly');
  154. case 'Confirm_desc':
  155. return __(
  156. 'Whether a warning ("Are your really sure…") should be displayed '
  157. . 'when you\'re about to lose data.'
  158. );
  159. case 'Confirm_name':
  160. return __('Confirm DROP queries');
  161. case 'DBG_sql_desc':
  162. return __('Log SQL queries and their execution time, to be displayed in the console');
  163. case 'DBG_sql_name':
  164. return __('Debug SQL');
  165. case 'DefaultTabDatabase_desc':
  166. return __('Tab that is displayed when entering a database.');
  167. case 'DefaultTabDatabase_name':
  168. return __('Default database tab');
  169. case 'DefaultTabServer_desc':
  170. return __('Tab that is displayed when entering a server.');
  171. case 'DefaultTabServer_name':
  172. return __('Default server tab');
  173. case 'DefaultTabTable_desc':
  174. return __('Tab that is displayed when entering a table.');
  175. case 'DefaultTabTable_name':
  176. return __('Default table tab');
  177. case 'EnableAutocompleteForTablesAndColumns_desc':
  178. return __('Autocomplete of the table and column names in the SQL queries.');
  179. case 'EnableAutocompleteForTablesAndColumns_name':
  180. return __('Enable autocomplete for table and column names');
  181. case 'HideStructureActions_desc':
  182. return __('Whether the table structure actions should be hidden.');
  183. case 'ShowColumnComments_name':
  184. return __('Show column comments');
  185. case 'ShowColumnComments_desc':
  186. return __('Whether column comments should be shown in table structure view');
  187. case 'HideStructureActions_name':
  188. return __('Hide table structure actions');
  189. case 'DefaultTransformations_Hex_name':
  190. return __('Default transformations for Hex');
  191. case 'DefaultTransformations_Hex_desc':
  192. return __('Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.');
  193. case 'DefaultTransformations_Substring_name':
  194. return __('Default transformations for Substring');
  195. case 'DefaultTransformations_Substring_desc':
  196. return __('Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.');
  197. case 'DefaultTransformations_Bool2Text_name':
  198. return __('Default transformations for Bool2Text');
  199. case 'DefaultTransformations_Bool2Text_desc':
  200. return __('Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.');
  201. case 'DefaultTransformations_External_name':
  202. return __('Default transformations for External');
  203. case 'DefaultTransformations_External_desc':
  204. return __('Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.');
  205. case 'DefaultTransformations_PreApPend_name':
  206. return __('Default transformations for PreApPend');
  207. case 'DefaultTransformations_PreApPend_desc':
  208. return __('Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.');
  209. case 'DefaultTransformations_DateFormat_name':
  210. return __('Default transformations for DateFormat');
  211. case 'DefaultTransformations_DateFormat_desc':
  212. return __('Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.');
  213. case 'DefaultTransformations_Inline_name':
  214. return __('Default transformations for Inline');
  215. case 'DefaultTransformations_Inline_desc':
  216. return __('Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.');
  217. case 'DefaultTransformations_TextImageLink_name':
  218. return __('Default transformations for TextImageLink');
  219. case 'DefaultTransformations_TextImageLink_desc':
  220. return __('Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.');
  221. case 'DefaultTransformations_TextLink_name':
  222. return __('Default transformations for TextLink');
  223. case 'DefaultTransformations_TextLink_desc':
  224. return __('Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.');
  225. case 'DisplayServersList_desc':
  226. return __('Show server listing as a list instead of a drop down.');
  227. case 'DisplayServersList_name':
  228. return __('Display servers as a list');
  229. case 'DisableMultiTableMaintenance_desc':
  230. return __(
  231. 'Disable the table maintenance mass operations, like optimizing or repairing '
  232. . 'the selected tables of a database.'
  233. );
  234. case 'DisableMultiTableMaintenance_name':
  235. return __('Disable multi table maintenance');
  236. case 'ExecTimeLimit_desc':
  237. return __(
  238. 'Set the number of seconds a script is allowed to run ([kbd]0[/kbd] for no '
  239. . 'limit).'
  240. );
  241. case 'ExecTimeLimit_name':
  242. return __('Maximum execution time');
  243. case 'Export_lock_tables_name':
  244. return sprintf(
  245. __('Use %s statement'), htmlspecialchars('<code>LOCK TABLES</code>')
  246. );
  247. case 'Export_asfile_name':
  248. return __('Save as file');
  249. case 'Export_charset_name':
  250. return __('Character set of the file');
  251. case 'Export_codegen_format_name':
  252. return __('Format');
  253. case 'Export_compression_name':
  254. return __('Compression');
  255. case 'Export_csv_columns_name':
  256. return __('Put columns names in the first row');
  257. case 'Export_csv_enclosed_name':
  258. return __('Columns enclosed with');
  259. case 'Export_csv_escaped_name':
  260. return __('Columns escaped with');
  261. case 'Export_csv_null_name':
  262. return __('Replace NULL with');
  263. case 'Export_csv_removeCRLF_name':
  264. return __('Remove CRLF characters within columns');
  265. case 'Export_csv_separator_name':
  266. return __('Columns terminated with');
  267. case 'Export_csv_terminated_name':
  268. return __('Lines terminated with');
  269. case 'Export_excel_columns_name':
  270. return __('Put columns names in the first row');
  271. case 'Export_excel_edition_name':
  272. return __('Excel edition');
  273. case 'Export_excel_null_name':
  274. return __('Replace NULL with');
  275. case 'Export_excel_removeCRLF_name':
  276. return __('Remove CRLF characters within columns');
  277. case 'Export_file_template_database_name':
  278. return __('Database name template');
  279. case 'Export_file_template_server_name':
  280. return __('Server name template');
  281. case 'Export_file_template_table_name':
  282. return __('Table name template');
  283. case 'Export_format_name':
  284. return __('Format');
  285. case 'Export_htmlword_columns_name':
  286. return __('Put columns names in the first row');
  287. case 'Export_htmlword_null_name':
  288. return __('Replace NULL with');
  289. case 'Export_htmlword_structure_or_data_name':
  290. return __('Dump table');
  291. case 'Export_latex_caption_name':
  292. return __('Include table caption');
  293. case 'Export_latex_columns_name':
  294. return __('Put columns names in the first row');
  295. case 'Export_latex_comments_name':
  296. return __('Comments');
  297. case 'Export_latex_data_caption_name':
  298. return __('Table caption');
  299. case 'Export_latex_data_continued_caption_name':
  300. return __('Continued table caption');
  301. case 'Export_latex_data_label_name':
  302. return __('Label key');
  303. case 'Export_latex_mime_name':
  304. return __('MIME type');
  305. case 'Export_latex_null_name':
  306. return __('Replace NULL with');
  307. case 'Export_latex_relation_name':
  308. return __('Relationships');
  309. case 'Export_latex_structure_caption_name':
  310. return __('Table caption');
  311. case 'Export_latex_structure_continued_caption_name':
  312. return __('Continued table caption');
  313. case 'Export_latex_structure_label_name':
  314. return __('Label key');
  315. case 'Export_latex_structure_or_data_name':
  316. return __('Dump table');
  317. case 'Export_method_name':
  318. return __('Export method');
  319. case 'Export_ods_columns_name':
  320. return __('Put columns names in the first row');
  321. case 'Export_ods_null_name':
  322. return __('Replace NULL with');
  323. case 'Export_odt_columns_name':
  324. return __('Put columns names in the first row');
  325. case 'Export_odt_comments_name':
  326. return __('Comments');
  327. case 'Export_odt_mime_name':
  328. return __('MIME type');
  329. case 'Export_odt_null_name':
  330. return __('Replace NULL with');
  331. case 'Export_odt_relation_name':
  332. return __('Relationships');
  333. case 'Export_odt_structure_or_data_name':
  334. return __('Dump table');
  335. case 'Export_onserver_name':
  336. return __('Save on server');
  337. case 'Export_onserver_overwrite_name':
  338. return __('Overwrite existing file(s)');
  339. case 'Export_as_separate_files_name':
  340. return __('Export as separate files');
  341. case 'Export_quick_export_onserver_name':
  342. return __('Save on server');
  343. case 'Export_quick_export_onserver_overwrite_name':
  344. return __('Overwrite existing file(s)');
  345. case 'Export_remember_file_template_name':
  346. return __('Remember file name template');
  347. case 'Export_sql_auto_increment_name':
  348. return __('Add AUTO_INCREMENT value');
  349. case 'Export_sql_backquotes_name':
  350. return __('Enclose table and column names with backquotes');
  351. case 'Export_sql_compatibility_name':
  352. return __('SQL compatibility mode');
  353. case 'Export_sql_dates_name':
  354. return __('Creation/Update/Check dates');
  355. case 'Export_sql_delayed_name':
  356. return __('Use delayed inserts');
  357. case 'Export_sql_disable_fk_name':
  358. return __('Disable foreign key checks');
  359. case 'Export_sql_views_as_tables_name':
  360. return __('Export views as tables');
  361. case 'Export_sql_metadata_name':
  362. return __('Export related metadata from phpMyAdmin configuration storage');
  363. case 'Export_sql_create_database_name':
  364. return sprintf(__('Add %s'), 'CREATE DATABASE / USE');
  365. case 'Export_sql_drop_database_name':
  366. return sprintf(__('Add %s'), 'DROP DATABASE');
  367. case 'Export_sql_drop_table_name':
  368. return sprintf(
  369. __('Add %s'), 'DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT / TRIGGER'
  370. );
  371. case 'Export_sql_create_table_name':
  372. return sprintf(__('Add %s'), 'CREATE TABLE');
  373. case 'Export_sql_create_view_name':
  374. return sprintf(__('Add %s'), 'CREATE VIEW');
  375. case 'Export_sql_create_trigger_name':
  376. return sprintf(__('Add %s'), 'CREATE TRIGGER');
  377. case 'Export_sql_hex_for_binary_name':
  378. return __('Use hexadecimal for BINARY & BLOB');
  379. case 'Export_sql_if_not_exists_name':
  380. return __(
  381. 'Add IF NOT EXISTS (less efficient as indexes will be generated during'
  382. . ' table creation)'
  383. );
  384. case 'Export_sql_ignore_name':
  385. return __('Use ignore inserts');
  386. case 'Export_sql_include_comments_name':
  387. return __('Comments');
  388. case 'Export_sql_insert_syntax_name':
  389. return __('Syntax to use when inserting data');
  390. case 'Export_sql_max_query_size_name':
  391. return __('Maximal length of created query');
  392. case 'Export_sql_mime_name':
  393. return __('MIME type');
  394. case 'Export_sql_procedure_function_name':
  395. return sprintf(__('Add %s'), 'CREATE PROCEDURE / FUNCTION / EVENT');
  396. case 'Export_sql_relation_name':
  397. return __('Relationships');
  398. case 'Export_sql_structure_or_data_name':
  399. return __('Dump table');
  400. case 'Export_sql_type_name':
  401. return __('Export type');
  402. case 'Export_sql_use_transaction_name':
  403. return __('Enclose export in a transaction');
  404. case 'Export_sql_utc_time_name':
  405. return __('Export time in UTC');
  406. case 'Export_texytext_columns_name':
  407. return __('Put columns names in the first row');
  408. case 'Export_texytext_null_name':
  409. return __('Replace NULL with');
  410. case 'Export_texytext_structure_or_data_name':
  411. return __('Dump table');
  412. case 'ForeignKeyDropdownOrder_desc':
  413. return __(
  414. 'Sort order for items in a foreign-key dropdown box; [kbd]content[/kbd] is '
  415. . 'the referenced data, [kbd]id[/kbd] is the key value.'
  416. );
  417. case 'ForeignKeyDropdownOrder_name':
  418. return __('Foreign key dropdown order');
  419. case 'ForeignKeyMaxLimit_desc':
  420. return __('A dropdown will be used if fewer items are present.');
  421. case 'ForeignKeyMaxLimit_name':
  422. return __('Foreign key limit');
  423. case 'DefaultForeignKeyChecks_desc':
  424. return __('Default value for foreign key checks checkbox for some queries.');
  425. case 'DefaultForeignKeyChecks_name':
  426. return __('Foreign key checks');
  427. case 'Form_Browse_name':
  428. return __('Browse mode');
  429. case 'Form_Browse_desc':
  430. return __('Customize browse mode.');
  431. case 'Form_CodeGen_name':
  432. return 'CodeGen';
  433. case 'Form_CodeGen_desc':
  434. return __('Customize default options.');
  435. case 'Form_Csv_name':
  436. return __('CSV');
  437. case 'Form_Csv_desc':
  438. return __('Customize default options.');
  439. case 'Form_Developer_name':
  440. return __('Developer');
  441. case 'Form_Developer_desc':
  442. return __('Settings for phpMyAdmin developers.');
  443. case 'Form_Edit_name':
  444. return __('Edit mode');
  445. case 'Form_Edit_desc':
  446. return __('Customize edit mode.');
  447. case 'Form_Export_defaults_name':
  448. return __('Export defaults');
  449. case 'Form_Export_defaults_desc':
  450. return __('Customize default export options.');
  451. case 'Form_General_name':
  452. return __('General');
  453. case 'Form_General_desc':
  454. return __('Set some commonly used options.');
  455. case 'Form_Import_defaults_name':
  456. return __('Import defaults');
  457. case 'Form_Import_defaults_desc':
  458. return __('Customize default common import options.');
  459. case 'Form_Import_export_name':
  460. return __('Import / export');
  461. case 'Form_Import_export_desc':
  462. return __('Set import and export directories and compression options.');
  463. case 'Form_Latex_name':
  464. return __('LaTeX');
  465. case 'Form_Latex_desc':
  466. return __('Customize default options.');
  467. case 'Form_Navi_databases_name':
  468. return __('Databases');
  469. case 'Form_Navi_databases_desc':
  470. return __('Databases display options.');
  471. case 'Form_Navi_panel_name':
  472. return __('Navigation panel');
  473. case 'Form_Navi_panel_desc':
  474. return __('Customize appearance of the navigation panel.');
  475. case 'Form_Navi_tree_name':
  476. return __('Navigation tree');
  477. case 'Form_Navi_tree_desc':
  478. return __('Customize the navigation tree.');
  479. case 'Form_Navi_servers_name':
  480. return __('Servers');
  481. case 'Form_Navi_servers_desc':
  482. return __('Servers display options.');
  483. case 'Form_Navi_tables_name':
  484. return __('Tables');
  485. case 'Form_Navi_tables_desc':
  486. return __('Tables display options.');
  487. case 'Form_Main_panel_name':
  488. return __('Main panel');
  489. case 'Form_Microsoft_Office_name':
  490. return __('Microsoft Office');
  491. case 'Form_Microsoft_Office_desc':
  492. return __('Customize default options.');
  493. case 'Form_Open_Document_name':
  494. return 'OpenDocument';
  495. case 'Form_Open_Document_desc':
  496. return __('Customize default options.');
  497. case 'Form_Other_core_settings_name':
  498. return __('Other core settings');
  499. case 'Form_Other_core_settings_desc':
  500. return __('Settings that didn\'t fit anywhere else.');
  501. case 'Form_Page_titles_name':
  502. return __('Page titles');
  503. case 'Form_Page_titles_desc':
  504. return __(
  505. 'Specify browser\'s title bar text. Refer to '
  506. . '[doc@faq6-27]documentation[/doc] for magic strings that can be used '
  507. . 'to get special values.'
  508. );
  509. case 'Form_Security_name':
  510. return __('Security');
  511. case 'Form_Security_desc':
  512. return __(
  513. 'Please note that phpMyAdmin is just a user interface and its features do not '
  514. . 'limit MySQL.'
  515. );
  516. case 'Form_Server_name':
  517. return __('Basic settings');
  518. case 'Form_Server_auth_name':
  519. return __('Authentication');
  520. case 'Form_Server_auth_desc':
  521. return __('Authentication settings.');
  522. case 'Form_Server_config_name':
  523. return __('Server configuration');
  524. case 'Form_Server_config_desc':
  525. return __(
  526. 'Advanced server configuration, do not change these options unless you know '
  527. . 'what they are for.'
  528. );
  529. case 'Form_Server_desc':
  530. return __('Enter server connection parameters.');
  531. case 'Form_Server_pmadb_name':
  532. return __('Configuration storage');
  533. case 'Form_Server_pmadb_desc':
  534. return __(
  535. 'Configure phpMyAdmin configuration storage to gain access to additional '
  536. . 'features, see [doc@linked-tables]phpMyAdmin configuration storage[/doc] in '
  537. . 'documentation.'
  538. );
  539. case 'Form_Server_tracking_name':
  540. return __('Changes tracking');
  541. case 'Form_Server_tracking_desc':
  542. return __(
  543. 'Tracking of changes made in database. Requires the phpMyAdmin configuration '
  544. . 'storage.'
  545. );
  546. case 'Form_Sql_name':
  547. return __('SQL');
  548. case 'Form_Sql_box_name':
  549. return __('SQL Query box');
  550. case 'Form_Sql_box_desc':
  551. return __('Customize links shown in SQL Query boxes.');
  552. case 'Form_Sql_desc':
  553. return __('Customize default options.');
  554. case 'Form_Sql_queries_name':
  555. return __('SQL queries');
  556. case 'Form_Sql_queries_desc':
  557. return __('SQL queries settings.');
  558. case 'Form_Startup_name':
  559. return __('Startup');
  560. case 'Form_Startup_desc':
  561. return __('Customize startup page.');
  562. case 'Form_DbStructure_name':
  563. return __('Database structure');
  564. case 'Form_DbStructure_desc':
  565. return __('Choose which details to show in the database structure (list of tables).');
  566. case 'Form_TableStructure_name':
  567. return __('Table structure');
  568. case 'Form_TableStructure_desc':
  569. return __('Settings for the table structure (list of columns).');
  570. case 'Form_Tabs_name':
  571. return __('Tabs');
  572. case 'Form_Tabs_desc':
  573. return __('Choose how you want tabs to work.');
  574. case 'Form_DisplayRelationalSchema_name':
  575. return __('Display relational schema');
  576. case 'Form_DisplayRelationalSchema_desc':
  577. return '';
  578. case 'PDFDefaultPageSize_name':
  579. return __('Paper size');
  580. case 'PDFDefaultPageSize_desc':
  581. return '';
  582. case 'Form_Databases_name':
  583. return __('Databases');
  584. case 'Form_Text_fields_name':
  585. return __('Text fields');
  586. case 'Form_Text_fields_desc':
  587. return __('Customize text input fields.');
  588. case 'Form_Texy_name':
  589. return __('Texy! text');
  590. case 'Form_Texy_desc':
  591. return __('Customize default options');
  592. case 'Form_Warnings_name':
  593. return __('Warnings');
  594. case 'Form_Warnings_desc':
  595. return __('Disable some of the warnings shown by phpMyAdmin.');
  596. case 'Form_Console_name':
  597. return __('Console');
  598. case 'GZipDump_desc':
  599. return __(
  600. 'Enable gzip compression for import '
  601. . 'and export operations.'
  602. );
  603. case 'GZipDump_name':
  604. return __('GZip');
  605. case 'IconvExtraParams_name':
  606. return __('Extra parameters for iconv');
  607. case 'IgnoreMultiSubmitErrors_desc':
  608. return __(
  609. 'If enabled, phpMyAdmin continues computing multiple-statement queries even if '
  610. . 'one of the queries failed.'
  611. );
  612. case 'IgnoreMultiSubmitErrors_name':
  613. return __('Ignore multiple statement errors');
  614. case 'Import_allow_interrupt_desc':
  615. return __(
  616. 'Allow interrupt of import in case script detects it is close to time limit. '
  617. . 'This might be a good way to import large files, however it can break '
  618. . 'transactions.'
  619. );
  620. case 'Import_allow_interrupt_name':
  621. return __('Partial import: allow interrupt');
  622. case 'Import_charset_name':
  623. return __('Character set of the file');
  624. case 'Import_csv_col_names_name':
  625. return __('Lines terminated with');
  626. case 'Import_csv_enclosed_name':
  627. return __('Columns enclosed with');
  628. case 'Import_csv_escaped_name':
  629. return __('Columns escaped with');
  630. case 'Import_csv_ignore_name':
  631. return __('Do not abort on INSERT error');
  632. case 'Import_csv_replace_name':
  633. return __('Add ON DUPLICATE KEY UPDATE');
  634. case 'Import_csv_replace_desc':
  635. return __('Update data when duplicate keys found on import');
  636. case 'Import_csv_terminated_name':
  637. return __('Columns terminated with');
  638. case 'Import_format_desc':
  639. return __(
  640. 'Default format; be aware that this list depends on location (database, table) '
  641. . 'and only SQL is always available.'
  642. );
  643. case 'Import_format_name':
  644. return __('Format of imported file');
  645. case 'Import_ldi_enclosed_name':
  646. return __('Columns enclosed with');
  647. case 'Import_ldi_escaped_name':
  648. return __('Columns escaped with');
  649. case 'Import_ldi_ignore_name':
  650. return __('Do not abort on INSERT error');
  651. case 'Import_ldi_local_option_name':
  652. return __('Use LOCAL keyword');
  653. case 'Import_ldi_replace_name':
  654. return __('Add ON DUPLICATE KEY UPDATE');
  655. case 'Import_ldi_replace_desc':
  656. return __('Update data when duplicate keys found on import');
  657. case 'Import_ldi_terminated_name':
  658. return __('Columns terminated with');
  659. case 'Import_ods_col_names_name':
  660. return __('Column names in first row');
  661. case 'Import_ods_empty_rows_name':
  662. return __('Do not import empty rows');
  663. case 'Import_ods_recognize_currency_name':
  664. return __('Import currencies ($5.00 to 5.00)');
  665. case 'Import_ods_recognize_percentages_name':
  666. return __('Import percentages as proper decimals (12.00% to .12)');
  667. case 'Import_skip_queries_desc':
  668. return __('Number of queries to skip from start.');
  669. case 'Import_skip_queries_name':
  670. return __('Partial import: skip queries');
  671. case 'Import_sql_compatibility_name':
  672. return __('SQL compatibility mode');
  673. case 'Import_sql_no_auto_value_on_zero_name':
  674. return __('Do not use AUTO_INCREMENT for zero values');
  675. case 'Import_sql_read_as_multibytes_name':
  676. return __('Read as multibytes');
  677. case 'InitialSlidersState_name':
  678. return __('Initial state for sliders');
  679. case 'InsertRows_desc':
  680. return __('How many rows can be inserted at one time.');
  681. case 'InsertRows_name':
  682. return __('Number of inserted rows');
  683. case 'LimitChars_desc':
  684. return __('Maximum number of characters shown in any non-numeric column on browse view.');
  685. case 'LimitChars_name':
  686. return __('Limit column characters');
  687. case 'LoginCookieDeleteAll_desc':
  688. return __(
  689. 'If TRUE, logout deletes cookies for all servers; when set to FALSE, logout '
  690. . 'only occurs for the current server. Setting this to FALSE makes it easy to '
  691. . 'forget to log out from other servers when connected to multiple servers.'
  692. );
  693. case 'LoginCookieDeleteAll_name':
  694. return __('Delete all cookies on logout');
  695. case 'LoginCookieRecall_desc':
  696. return __(
  697. 'Define whether the previous login should be recalled or not in '
  698. . '[kbd]cookie[/kbd] authentication mode.'
  699. );
  700. case 'LoginCookieRecall_name':
  701. return __('Recall user name');
  702. case 'LoginCookieStore_desc':
  703. return __(
  704. 'Defines how long (in seconds) a login cookie should be stored in browser. '
  705. . 'The default of 0 means that it will be kept for the existing session only, '
  706. . 'and will be deleted as soon as you close the browser window. This is '
  707. . 'recommended for non-trusted environments.'
  708. );
  709. case 'LoginCookieStore_name':
  710. return __('Login cookie store');
  711. case 'LoginCookieValidity_desc':
  712. return __('Define how long (in seconds) a login cookie is valid.');
  713. case 'LoginCookieValidity_name':
  714. return __('Login cookie validity');
  715. case 'LongtextDoubleTextarea_desc':
  716. return __('Double size of textarea for LONGTEXT columns.');
  717. case 'LongtextDoubleTextarea_name':
  718. return __('Bigger textarea for LONGTEXT');
  719. case 'MaxCharactersInDisplayedSQL_desc':
  720. return __('Maximum number of characters used when a SQL query is displayed.');
  721. case 'MaxCharactersInDisplayedSQL_name':
  722. return __('Maximum displayed SQL length');
  723. case 'MaxDbList_cmt':
  724. return __('Users cannot set a higher value');
  725. case 'MaxDbList_desc':
  726. return __('Maximum number of databases displayed in database list.');
  727. case 'MaxDbList_name':
  728. return __('Maximum databases');
  729. case 'FirstLevelNavigationItems_desc':
  730. return __(
  731. 'The number of items that can be displayed on each page on the first level'
  732. . ' of the navigation tree.'
  733. );
  734. case 'FirstLevelNavigationItems_name':
  735. return __('Maximum items on first level');
  736. case 'MaxNavigationItems_desc':
  737. return __('The number of items that can be displayed on each page of the navigation tree.');
  738. case 'MaxNavigationItems_name':
  739. return __('Maximum items in branch');
  740. case 'MaxRows_desc':
  741. return __(
  742. 'Number of rows displayed when browsing a result set. If the result set '
  743. . 'contains more rows, "Previous" and "Next" links will be '
  744. . 'shown.'
  745. );
  746. case 'MaxRows_name':
  747. return __('Maximum number of rows to display');
  748. case 'MaxTableList_cmt':
  749. return __('Users cannot set a higher value');
  750. case 'MaxTableList_desc':
  751. return __('Maximum number of tables displayed in table list.');
  752. case 'MaxTableList_name':
  753. return __('Maximum tables');
  754. case 'MemoryLimit_desc':
  755. return __(
  756. 'The number of bytes a script is allowed to allocate, eg. [kbd]32M[/kbd] '
  757. . '([kbd]-1[/kbd] for no limit and [kbd]0[/kbd] for no change).'
  758. );
  759. case 'MemoryLimit_name':
  760. return __('Memory limit');
  761. case 'ShowDatabasesNavigationAsTree_desc':
  762. return __('In the navigation panel, replaces the database tree with a selector');
  763. case 'ShowDatabasesNavigationAsTree_name':
  764. return __('Show databases navigation as tree');
  765. case 'NavigationWidth_name':
  766. return __('Navigation panel width');
  767. case 'NavigationWidth_desc':
  768. return __('Set to 0 to collapse navigation panel.');
  769. case 'NavigationLinkWithMainPanel_desc':
  770. return __('Link with main panel by highlighting the current database or table.');
  771. case 'NavigationLinkWithMainPanel_name':
  772. return __('Link with main panel');
  773. case 'NavigationDisplayLogo_desc':
  774. return __('Show logo in navigation panel.');
  775. case 'NavigationDisplayLogo_name':
  776. return __('Display logo');
  777. case 'NavigationLogoLink_desc':
  778. return __('URL where logo in the navigation panel will point to.');
  779. case 'NavigationLogoLink_name':
  780. return __('Logo link URL');
  781. case 'NavigationLogoLinkWindow_desc':
  782. return __(
  783. 'Open the linked page in the main window ([kbd]main[/kbd]) or in a new one '
  784. . '([kbd]new[/kbd]).'
  785. );
  786. case 'NavigationLogoLinkWindow_name':
  787. return __('Logo link target');
  788. case 'NavigationDisplayServers_desc':
  789. return __('Display server choice at the top of the navigation panel.');
  790. case 'NavigationDisplayServers_name':
  791. return __('Display servers selection');
  792. case 'NavigationTreeDefaultTabTable_name':
  793. return __('Target for quick access icon');
  794. case 'NavigationTreeDefaultTabTable2_name':
  795. return __('Target for second quick access icon');
  796. case 'NavigationTreeDisplayItemFilterMinimum_desc':
  797. return __(
  798. 'Defines the minimum number of items (tables, views, routines and events) to '
  799. . 'display a filter box.'
  800. );
  801. case 'NavigationTreeDisplayItemFilterMinimum_name':
  802. return __('Minimum number of items to display the filter box');
  803. case 'NavigationTreeDisplayDbFilterMinimum_name':
  804. return __('Minimum number of databases to display the database filter box');
  805. case 'NavigationTreeEnableGrouping_desc':
  806. return __(
  807. 'Group items in the navigation tree (determined by the separator defined in ' .
  808. 'the Databases and Tables tabs above).'
  809. );
  810. case 'NavigationTreeEnableGrouping_name':
  811. return __('Group items in the tree');
  812. case 'NavigationTreeDbSeparator_desc':
  813. return __('String that separates databases into different tree levels.');
  814. case 'NavigationTreeDbSeparator_name':
  815. return __('Database tree separator');
  816. case 'NavigationTreeTableSeparator_desc':
  817. return __('String that separates tables into different tree levels.');
  818. case 'NavigationTreeTableSeparator_name':
  819. return __('Table tree separator');
  820. case 'NavigationTreeTableLevel_name':
  821. return __('Maximum table tree depth');
  822. case 'NavigationTreePointerEnable_desc':
  823. return __('Highlight server under the mouse cursor.');
  824. case 'NavigationTreePointerEnable_name':
  825. return __('Enable highlighting');
  826. case 'NavigationTreeEnableExpansion_desc':
  827. return __('Whether to offer the possibility of tree expansion in the navigation panel.');
  828. case 'NavigationTreeEnableExpansion_name':
  829. return __('Enable navigation tree expansion');
  830. case 'NavigationTreeShowTables_name':
  831. return __('Show tables in tree');
  832. case 'NavigationTreeShowTables_desc':
  833. return __('Whether to show tables under database in the navigation tree');
  834. case 'NavigationTreeShowViews_name':
  835. return __('Show views in tree');
  836. case 'NavigationTreeShowViews_desc':
  837. return __('Whether to show views under database in the navigation tree');
  838. case 'NavigationTreeShowFunctions_name':
  839. return __('Show functions in tree');
  840. case 'NavigationTreeShowFunctions_desc':
  841. return __('Whether to show functions under database in the navigation tree');
  842. case 'NavigationTreeShowProcedures_name':
  843. return __('Show procedures in tree');
  844. case 'NavigationTreeShowProcedures_desc':
  845. return __('Whether to show procedures under database in the navigation tree');
  846. case 'NavigationTreeShowEvents_name':
  847. return __('Show events in tree');
  848. case 'NavigationTreeShowEvents_desc':
  849. return __('Whether to show events under database in the navigation tree');
  850. case 'NumRecentTables_desc':
  851. return __('Maximum number of recently used tables; set 0 to disable.');
  852. case 'NumFavoriteTables_desc':
  853. return __('Maximum number of favorite tables; set 0 to disable.');
  854. case 'NumRecentTables_name':
  855. return __('Recently used tables');
  856. case 'NumFavoriteTables_name':
  857. return __('Favorite tables');
  858. case 'RowActionLinks_desc':
  859. return __('These are Edit, Copy and Delete links.');
  860. case 'RowActionLinks_name':
  861. return __('Where to show the table row links');
  862. case 'RowActionLinksWithoutUnique_desc':
  863. return __('Whether to show row links even in the absence of a unique key.');
  864. case 'RowActionLinksWithoutUnique_name':
  865. return __('Show row links anyway');
  866. case 'DisableShortcutKeys_name':
  867. return __('Disable shortcut keys');
  868. case 'DisableShortcutKeys_desc':
  869. return __('Disable shortcut keys');
  870. case 'NaturalOrder_desc':
  871. return __('Use natural order for sorting table and database names.');
  872. case 'NaturalOrder_name':
  873. return __('Natural order');
  874. case 'TableNavigationLinksMode_desc':
  875. return __('Use only icons, only text or both.');
  876. case 'TableNavigationLinksMode_name':
  877. return __('Table navigation bar');
  878. case 'OBGzip_desc':
  879. return __('Use GZip output buffering for increased speed in HTTP transfers.');
  880. case 'OBGzip_name':
  881. return __('GZip output buffering');
  882. case 'Order_desc':
  883. return __(
  884. '[kbd]SMART[/kbd] - i.e. descending order for columns of type TIME, DATE, '
  885. . 'DATETIME and TIMESTAMP, ascending order otherwise.'
  886. );
  887. case 'Order_name':
  888. return __('Default sorting order');
  889. case 'PersistentConnections_desc':
  890. return __('Use persistent connections to MySQL databases.');
  891. case 'PersistentConnections_name':
  892. return __('Persistent connections');
  893. case 'PmaNoRelation_DisableWarning_desc':
  894. return __(
  895. 'Disable the default warning that is displayed on the database details '
  896. . 'Structure page if any of the required tables for the phpMyAdmin '
  897. . 'configuration storage could not be found.'
  898. );
  899. case 'PmaNoRelation_DisableWarning_name':
  900. return __('Missing phpMyAdmin configuration storage tables');
  901. case 'ReservedWordDisableWarning_desc':
  902. return __(
  903. 'Disable the default warning that is displayed on the Structure page if column '
  904. . 'names in a table are reserved MySQL words.'
  905. );
  906. case 'ReservedWordDisableWarning_name':
  907. return __('MySQL reserved word warning');
  908. case 'TabsMode_desc':
  909. return __('Use only icons, only text or both.');
  910. case 'TabsMode_name':
  911. return __('How to display the menu tabs');
  912. case 'ActionLinksMode_desc':
  913. return __('Use only icons, only text or both.');
  914. case 'ActionLinksMode_name':
  915. return __('How to display various action links');
  916. case 'ProtectBinary_desc':
  917. return __('Disallow BLOB and BINARY columns from editing.');
  918. case 'ProtectBinary_name':
  919. return __('Protect binary columns');
  920. case 'QueryHistoryDB_desc':
  921. return __(
  922. 'Enable if you want DB-based query history (requires phpMyAdmin configuration '
  923. . 'storage). If disabled, this utilizes JS-routines to display query history '
  924. . '(lost by window close).'
  925. );
  926. case 'QueryHistoryDB_name':
  927. return __('Permanent query history');
  928. case 'QueryHistoryMax_cmt':
  929. return __('Users cannot set a higher value');
  930. case 'QueryHistoryMax_desc':
  931. return __('How many queries are kept in history.');
  932. case 'QueryHistoryMax_name':
  933. return __('Query history length');
  934. case 'RecodingEngine_desc':
  935. return __('Select which functions will be used for character set conversion.');
  936. case 'RecodingEngine_name':
  937. return __('Recoding engine');
  938. case 'RememberSorting_desc':
  939. return __('When browsing tables, the sorting of each table is remembered.');
  940. case 'RememberSorting_name':
  941. return __('Remember table\'s sorting');
  942. case 'TablePrimaryKeyOrder_desc':
  943. return __('Default sort order for tables with a primary key.');
  944. case 'TablePrimaryKeyOrder_name':
  945. return __('Primary key default sort order');
  946. case 'RepeatCells_desc':
  947. return __('Repeat the headers every X cells, [kbd]0[/kbd] deactivates this feature.');
  948. case 'RepeatCells_name':
  949. return __('Repeat headers');
  950. case 'GridEditing_name':
  951. return __('Grid editing: trigger action');
  952. case 'RelationalDisplay_name':
  953. return __('Relational display');
  954. case 'RelationalDisplay_desc':
  955. return __('For display Options');
  956. case 'SaveCellsAtOnce_name':
  957. return __('Grid editing: save all edited cells at once');
  958. case 'SaveDir_desc':
  959. return __('Directory where exports can be saved on server.');
  960. case 'SaveDir_name':
  961. return __('Save directory');
  962. case 'Servers_AllowDeny_order_desc':
  963. return __('Leave blank if not used.');
  964. case 'Servers_AllowDeny_order_name':
  965. return __('Host authorization order');
  966. case 'Servers_AllowDeny_rules_desc':
  967. return __('Leave blank for defaults.');
  968. case 'Servers_AllowDeny_rules_name':
  969. return __('Host authorization rules');
  970. case 'Servers_AllowNoPassword_name':
  971. return __('Allow logins without a password');
  972. case 'Servers_AllowRoot_name':
  973. return __('Allow root login');
  974. case 'Servers_SessionTimeZone_name':
  975. return __('Session timezone');
  976. case 'Servers_SessionTimeZone_desc':
  977. return __(
  978. 'Sets the effective timezone; possibly different than the one from your '
  979. . 'database server'
  980. );
  981. case 'Servers_auth_http_realm_desc':
  982. return __('HTTP Basic Auth Realm name to display when doing HTTP Auth.');
  983. case 'Servers_auth_http_realm_name':
  984. return __('HTTP Realm');
  985. case 'Servers_auth_type_desc':
  986. return __('Authentication method to use.');
  987. case 'Servers_auth_type_name':
  988. return __('Authentication type');
  989. case 'Servers_bookmarktable_desc':
  990. return __(
  991. 'Leave blank for no [doc@bookmarks@]bookmark[/doc] '
  992. . 'support, suggested: [kbd]pma__bookmark[/kbd]'
  993. );
  994. case 'Servers_bookmarktable_name':
  995. return __('Bookmark table');
  996. case 'Servers_column_info_desc':
  997. return __(
  998. 'Leave blank for no column comments/mime types, suggested: '
  999. . '[kbd]pma__column_info[/kbd].'
  1000. );
  1001. case 'Servers_column_info_name':
  1002. return __('Column information table');
  1003. case 'Servers_compress_desc':
  1004. return __('Compress connection to MySQL server.');
  1005. case 'Servers_compress_name':
  1006. return __('Compress connection');
  1007. case 'Servers_controlpass_name':
  1008. return __('Control user password');
  1009. case 'Servers_controluser_desc':
  1010. return __(
  1011. 'A special MySQL user configured with limited permissions, more information '
  1012. . 'available on [doc@linked-tables]documentation[/doc].'
  1013. );
  1014. case 'Servers_controluser_name':
  1015. return __('Control user');
  1016. case 'Servers_controlhost_desc':
  1017. return __(
  1018. 'An alternate host to hold the configuration storage; leave blank to use the '
  1019. . 'already defined host.'
  1020. );
  1021. case 'Servers_controlhost_name':
  1022. return __('Control host');
  1023. case 'Servers_controlport_desc':
  1024. return __(
  1025. 'An alternate port to connect to the host that holds the configuration storage; '
  1026. . 'leave blank to use the default port, or the already defined port, if the '
  1027. . 'controlhost equals host.'
  1028. );
  1029. case 'Servers_controlport_name':
  1030. return __('Control port');
  1031. case 'Servers_hide_db_desc':
  1032. return __('Hide databases matching regular expression (PCRE).');
  1033. case 'Servers_DisableIS_desc':
  1034. return __(
  1035. 'More information on [a@https://github.com/phpmyadmin/phpmyadmin/issues/8970]phpMyAdmin '
  1036. . 'issue tracker[/a] and [a@https://bugs.mysql.com/19588]MySQL Bugs[/a]'
  1037. );
  1038. case 'Servers_DisableIS_name':
  1039. return __('Disable use of INFORMATION_SCHEMA');
  1040. case 'Servers_hide_db_name':
  1041. return __('Hide databases');
  1042. case 'Servers_history_desc':
  1043. return __(
  1044. 'Leave blank for no SQL query history support, suggested: '
  1045. . '[kbd]pma__history[/kbd].'
  1046. );
  1047. case 'Servers_history_name':
  1048. return __('SQL query history table');
  1049. case 'Servers_host_desc':
  1050. return __('Hostname where MySQL server is running.');
  1051. case 'Servers_host_name':
  1052. return __('Server hostname');
  1053. case 'Servers_LogoutURL_name':
  1054. return __('Logout URL');
  1055. case 'Servers_MaxTableUiprefs_desc':
  1056. return __(
  1057. 'Limits number of table preferences which are stored in database, the oldest '
  1058. . 'records are automatically removed.'
  1059. );
  1060. case 'Servers_MaxTableUiprefs_name':
  1061. return __('Maximal number of table preferences to store');
  1062. case 'Servers_savedsearches_name':
  1063. return __('QBE saved searches table');
  1064. case 'Servers_savedsearches_desc':
  1065. return __(
  1066. 'Leave blank for no QBE saved searches support, suggested: '
  1067. . '[kbd]pma__savedsearches[/kbd].'
  1068. );
  1069. case 'Servers_export_templates_name':
  1070. return __('Export templates table');
  1071. case 'Servers_export_templates_desc':
  1072. return __(
  1073. 'Leave blank for no export template support, suggested: '
  1074. . '[kbd]pma__export_templates[/kbd].'
  1075. );
  1076. case 'Servers_central_columns_name':
  1077. return __('Central columns table');
  1078. case 'Servers_central_columns_desc':
  1079. return __(
  1080. 'Leave blank for no central columns support, suggested: '
  1081. . '[kbd]pma__central_columns[/kbd].'
  1082. );
  1083. case 'Servers_only_db_desc':
  1084. return __(
  1085. 'You can use MySQL wildcard characters (% and _), escape them if you want to '
  1086. . 'use their literal instances, i.e. use [kbd]\'my\_db\'[/kbd] and not '
  1087. . '[kbd]\'my_db\'[/kbd].'
  1088. );
  1089. case 'Servers_only_db_name':
  1090. return __('Show only listed databases');
  1091. case 'Servers_password_desc':
  1092. return __('Leave empty if not using config auth.');
  1093. case 'Servers_password_name':
  1094. return __('Password for config auth');
  1095. case 'Servers_pdf_pages_desc':
  1096. return __('Leave blank for no PDF schema support, suggested: [kbd]pma__pdf_pages[/kbd].');
  1097. case 'Servers_pdf_pages_name':
  1098. return __('PDF schema: pages table');
  1099. case 'Servers_pmadb_desc':
  1100. return __(
  1101. 'Database used for relations, bookmarks, and PDF features. See '
  1102. . '[doc@linked-tables]pmadb[/doc] for complete information. '
  1103. . 'Leave blank for no support. Suggested: [kbd]phpmyadmin[/kbd].'
  1104. );
  1105. case 'Servers_pmadb_name':
  1106. return __('Database name');
  1107. case 'Servers_port_desc':
  1108. return __('Port on which MySQL server is listening, leave empty for default.');
  1109. case 'Servers_port_name':
  1110. return __('Server port');
  1111. case 'Servers_recent_desc':
  1112. return __(
  1113. 'Leave blank for no "persistent" recently used tables across sessions, '
  1114. . 'suggested: [kbd]pma__recent[/kbd].'
  1115. );
  1116. case 'Servers_recent_name':
  1117. return __('Recently used table');
  1118. case 'Servers_favorite_desc':
  1119. return __(
  1120. 'Leave blank for no "persistent" favorite tables across sessions, '
  1121. . 'suggested: [kbd]pma__favorite[/kbd].'
  1122. );
  1123. case 'Servers_favorite_name':
  1124. return __('Favorites table');
  1125. case 'Servers_relation_desc':
  1126. return __(
  1127. 'Leave blank for no '
  1128. . '[doc@relations@]relation-links[/doc] support, '
  1129. . 'suggested: [kbd]pma__relation[/kbd].'
  1130. );
  1131. case 'Servers_relation_name':
  1132. return __('Relation table');
  1133. case 'Servers_SignonSession_desc':
  1134. return __(
  1135. 'See [doc@authentication-modes]authentication '
  1136. . 'types[/doc] for an example.'
  1137. );
  1138. case 'Servers_SignonSession_name':
  1139. return __('Signon session name');
  1140. case 'Servers_SignonURL_name':
  1141. return __('Signon URL');
  1142. case 'Servers_socket_desc':
  1143. return __('Socket on which MySQL server is listening, leave empty for default.');
  1144. case 'Servers_socket_name':
  1145. return __('Server socket');
  1146. case 'Servers_ssl_desc':
  1147. return __('Enable SSL for connection to MySQL server.');
  1148. case 'Servers_ssl_name':
  1149. return __('Use SSL');
  1150. case 'Servers_table_coords_desc':
  1151. return __('Leave blank for no PDF schema support, suggested: [kbd]pma__table_coords[/kbd].');
  1152. case 'Servers_table_coords_name':
  1153. return __('Designer and PDF schema: table coordinates');
  1154. case 'Servers_table_info_desc':
  1155. return __(
  1156. 'Table to describe the display columns, leave blank for no support; '
  1157. . 'suggested: [kbd]pma__table_info[/kbd].'
  1158. );
  1159. case 'Servers_table_info_name':
  1160. return __('Display columns table');
  1161. case 'Servers_table_uiprefs_desc':
  1162. return __(
  1163. 'Leave blank for no "persistent" tables\' UI preferences across sessions, '
  1164. . 'suggested: [kbd]pma__table_uiprefs[/kbd].'
  1165. );
  1166. case 'Servers_table_uiprefs_name':
  1167. return __('UI preferences table');
  1168. case 'Servers_tracking_add_drop_database_desc':
  1169. return __(
  1170. 'Whether a DROP DATABASE IF EXISTS statement will be added as first line to '
  1171. . 'the log when creating a database.'
  1172. );
  1173. case 'Servers_tracking_add_drop_database_name':
  1174. return __('Add DROP DATABASE');
  1175. case 'Servers_tracking_add_drop_table_desc':
  1176. return __(
  1177. 'Whether a DROP TABLE IF EXISTS statement will be added as first line to the '
  1178. . 'log when creating a table.'
  1179. );
  1180. case 'Servers_tracking_add_drop_table_name':
  1181. return __('Add DROP TABLE');
  1182. case 'Servers_tracking_add_drop_view_desc':
  1183. return __(
  1184. 'Whether a DROP VIEW IF EXISTS statement will be added as first line to the '
  1185. . 'log when creating a view.'
  1186. );
  1187. case 'Servers_tracking_add_drop_view_name':
  1188. return __('Add DROP VIEW');
  1189. case 'Servers_tracking_default_statements_desc':
  1190. return __('Defines the list of statements the auto-creation uses for new versions.');
  1191. case 'Servers_tracking_default_statements_name':
  1192. return __('Statements to track');
  1193. case 'Servers_tracking_desc':
  1194. return __(
  1195. 'Leave blank for no SQL query tracking support, suggested: '
  1196. . '[kbd]pma__tracking[/kbd].'
  1197. );
  1198. case 'Servers_tracking_name':
  1199. return __('SQL query tracking table');
  1200. case 'Servers_tracking_version_auto_create_desc':
  1201. return __(
  1202. 'Whether the tracking mechanism creates versions for tables and views '
  1203. . 'automatically.'
  1204. );
  1205. case 'Servers_tracking_version_auto_create_name':
  1206. return __('Automatically create versions');
  1207. case 'Servers_userconfig_desc':
  1208. return __(
  1209. 'Leave blank for no user preferences storage in database, suggested: '
  1210. . '[kbd]pma__userconfig[/kbd].'
  1211. );
  1212. case 'Servers_userconfig_name':
  1213. return __('User preferences storage table');
  1214. case 'Servers_users_desc':
  1215. return __(
  1216. 'Both this table and the user groups table are required to enable the ' .
  1217. 'configurable menus feature; leaving either one of them blank will disable ' .
  1218. 'this feature, suggested: [kbd]pma__users[/kbd].'
  1219. );
  1220. case 'Servers_users_name':
  1221. return __('Users table');
  1222. case 'Servers_usergroups_desc':
  1223. return __(
  1224. 'Both this table and the users table are required to enable the configurable ' .
  1225. 'menus feature; leaving either one of them blank will disable this feature, ' .
  1226. 'suggested: [kbd]pma__usergroups[/kbd].'
  1227. );
  1228. case 'Servers_usergroups_name':
  1229. return __('User groups table');
  1230. case 'Servers_navigationhiding_desc':
  1231. return __(
  1232. 'Leave blank to disable the feature to hide and show navigation items, ' .
  1233. 'suggested: [kbd]pma__navigationhiding[/kbd].'
  1234. );
  1235. case 'Servers_navigationhiding_name':
  1236. return __('Hidden navigation items table');
  1237. case 'Servers_user_desc':
  1238. return __('Leave empty if not using config auth.');
  1239. case 'Servers_user_name':
  1240. return __('User for config auth');
  1241. case 'Servers_verbose_desc':
  1242. return __(
  1243. 'A user-friendly description of this server. Leave blank to display the ' .
  1244. 'hostname instead.'
  1245. );
  1246. case 'Servers_verbose_name':
  1247. return __('Verbose name of this server');
  1248. case 'ShowAll_desc':
  1249. return __('Whether a user should be displayed a "show all (rows)" button.');
  1250. case 'ShowAll_name':
  1251. return __('Allow to display all the rows');
  1252. case 'ShowChgPassword_desc':
  1253. return __(
  1254. 'Please note that enabling this has no effect with [kbd]config[/kbd] ' .
  1255. 'authentication mode because the password is hard coded in the configuration ' .
  1256. 'file; this does not limit the ability to execute the same command directly.'
  1257. );
  1258. case 'ShowChgPassword_name':
  1259. return __('Show password change form');
  1260. case 'ShowCreateDb_name':
  1261. return __('Show create database form');
  1262. case 'ShowDbStructureComment_desc':
  1263. return __('Show or hide a column displaying the comments for all tables.');
  1264. case 'ShowDbStructureComment_name':
  1265. return __('Show table comments');
  1266. case 'ShowDbStructureCreation_desc':
  1267. return __('Show or hide a column displaying the Creation timestamp for all tables.');
  1268. case 'ShowDbStructureCreation_name':
  1269. return __('Show creation timestamp');
  1270. case 'ShowDbStructureLastUpdate_desc':
  1271. return __('Show or hide a column displaying the Last update timestamp for all tables.');
  1272. case 'ShowDbStructureLastUpdate_name':
  1273. return __('Show last update timestamp');
  1274. case 'ShowDbStructureLastCheck_desc':
  1275. return __('Show or hide a column displaying the Last check timestamp for all tables.');
  1276. case 'ShowDbStructureLastCheck_name':
  1277. return __('Show last check timestamp');
  1278. case 'ShowDbStructureCharset_desc':
  1279. return __('Show or hide a column displaying the charset for all tables.');
  1280. case 'ShowDbStructureCharset_name':
  1281. return __('Show table charset');
  1282. case 'ShowFieldTypesInDataEditView_desc':
  1283. return __(
  1284. 'Defines whether or not type fields should be initially displayed in ' .
  1285. 'edit/insert mode.'
  1286. );
  1287. case 'ShowFieldTypesInDataEditView_name':
  1288. return __('Show field types');
  1289. case 'ShowFunctionFields_desc':
  1290. return __('Display the function fields in edit/insert mode.');
  1291. case 'ShowFunctionFields_name':
  1292. return __('Show function fields');
  1293. case 'ShowHint_desc':
  1294. return __('Whether to show hint or not.');
  1295. case 'ShowHint_name':
  1296. return __('Show hint');
  1297. case 'ShowPhpInfo_desc':
  1298. return __(
  1299. 'Shows link to [a@https://php.net/manual/function.phpinfo.php]phpinfo()[/a] ' .
  1300. 'output.'
  1301. );
  1302. case 'ShowPhpInfo_name':
  1303. return __('Show phpinfo() link');
  1304. case 'ShowServerInfo_name':
  1305. return __('Show detailed MySQL server information');
  1306. case 'ShowSQL_desc':
  1307. return __('Defines whether SQL queries generated by phpMyAdmin should be displayed.');
  1308. case 'ShowSQL_name':
  1309. return __('Show SQL queries');
  1310. case 'RetainQueryBox_desc':
  1311. return __('Defines whether the query box should stay on-screen after its submission.');
  1312. case 'RetainQueryBox_name':
  1313. return __('Retain query box');
  1314. case 'ShowStats_desc':
  1315. return __('Allow to display database and table statistics (eg. space usage).');
  1316. case 'ShowStats_name':
  1317. return __('Show statistics');
  1318. case 'SkipLockedTables_desc':
  1319. return __('Mark used tables and make it possible to show databases with locked tables.');
  1320. case 'SkipLockedTables_name':
  1321. return __('Skip locked tables');
  1322. case 'SQLQuery_Edit_name':
  1323. return __('Edit');
  1324. case 'SQLQuery_Explain_name':
  1325. return __('Explain SQL');
  1326. case 'SQLQuery_Refresh_name':
  1327. return __('Refresh');
  1328. case 'SQLQuery_ShowAsPHP_name':
  1329. return __('Create PHP code');
  1330. case 'SuhosinDisableWarning_desc':
  1331. return __(
  1332. 'Disable the default warning that is displayed on the main page if Suhosin is ' .
  1333. 'detected.'
  1334. );
  1335. case 'SuhosinDisableWarning_name':
  1336. return __('Suhosin warning');
  1337. case 'LoginCookieValidityDisableWarning_desc':
  1338. return __(
  1339. 'Disable the default warning that is displayed on the main page if the value ' .
  1340. 'of the PHP setting session.gc_maxlifetime is less than the value of ' .
  1341. '`LoginCookieValidity`.'
  1342. );
  1343. case 'LoginCookieValidityDisableWarning_name':
  1344. return __('Login cookie validity warning');
  1345. case 'TextareaCols_desc':
  1346. return __(
  1347. 'Textarea size (columns) in edit mode, this value will be emphasized for SQL ' .
  1348. 'query textareas (*2).'
  1349. );
  1350. case 'TextareaCols_name':
  1351. return __('Textarea columns');
  1352. case 'TextareaRows_desc':
  1353. return __(
  1354. 'Textarea size (rows) in edit mode, this value will be emphasized for SQL ' .
  1355. 'query textareas (*2).'
  1356. );
  1357. case 'TextareaRows_name':
  1358. return __('Textarea rows');
  1359. case 'TitleDatabase_desc':
  1360. return __('Title of browser window when a database is selected.');
  1361. case 'TitleDatabase_name':
  1362. return __('Database');
  1363. case 'TitleDefault_desc':
  1364. return __('Title of browser window when nothing is selected.');
  1365. case 'TitleDefault_name':
  1366. return __('Default title');
  1367. case 'TitleServer_desc':
  1368. return __('Title of browser window when a server is selected.');
  1369. case 'TitleServer_name':
  1370. return __('Server');
  1371. case 'TitleTable_desc':
  1372. return __('Title of browser window when a table is selected.');
  1373. case 'TitleTable_name':
  1374. return __('Table');
  1375. case 'TrustedProxies_desc':
  1376. return __(
  1377. 'Input proxies as [kbd]IP: trusted HTTP header[/kbd]. The following example ' .
  1378. 'specifies that phpMyAdmin should trust a HTTP_X_FORWARDED_FOR ' .
  1379. '(X-Forwarded-For) header coming from the proxy 1.2.3.4:[br][kbd]1.2.3.4: ' .
  1380. 'HTTP_X_FORWARDED_FOR[/kbd].'
  1381. );
  1382. case 'TrustedProxies_name':
  1383. return __('List of trusted proxies for IP allow/deny');
  1384. case 'UploadDir_desc':
  1385. return __('Directory on server where you can upload files for import.');
  1386. case 'UploadDir_name':
  1387. return __('Upload directory');
  1388. case 'UseDbSearch_desc':
  1389. return __('Allow for searching inside the entire database.');
  1390. case 'UseDbSearch_name':
  1391. return __('Use database search');
  1392. case 'UserprefsDeveloperTab_desc':
  1393. return __(
  1394. 'When disabled, users cannot set any of the options below, regardless of the ' .
  1395. 'checkbox on the right.'
  1396. );
  1397. case 'UserprefsDeveloperTab_name':
  1398. return __('Enable the Developer tab in settings');
  1399. case 'VersionCheck_desc':
  1400. return __('Enables check for latest version on main phpMyAdmin page.');
  1401. case 'VersionCheck_name':
  1402. return __('Version check');
  1403. case 'ProxyUrl_desc':
  1404. return __(
  1405. 'The url of the proxy to be used when retrieving the information about the ' .
  1406. 'latest version of phpMyAdmin or when submitting error reports. You need this ' .
  1407. 'if the server where phpMyAdmin is installed does not have direct access to ' .
  1408. 'the internet. The format is: "hostname:portnumber".'
  1409. );
  1410. case 'ProxyUrl_name':
  1411. return __('Proxy url');
  1412. case 'ProxyUser_desc':
  1413. return __(
  1414. 'The username for authenticating with the proxy. By default, no ' .
  1415. 'authentication is performed. If a username is supplied, Basic ' .
  1416. 'Authentication will be performed. No other types of authentication are ' .
  1417. 'currently supported.'
  1418. );
  1419. case 'ProxyUser_name':
  1420. return __('Proxy username');
  1421. case 'ProxyPass_desc':
  1422. return __('The password for authenticating with the proxy.');
  1423. case 'ProxyPass_name':
  1424. return __('Proxy password');
  1425. case 'ZipDump_desc':
  1426. return __('Enable ZIP compression for import and export operations.');
  1427. case 'ZipDump_name':
  1428. return __('ZIP');
  1429. case 'CaptchaLoginPublicKey_desc':
  1430. return __('Enter your public key for your domain reCaptcha service.');
  1431. case 'CaptchaLoginPublicKey_name':
  1432. return __('Public key for reCaptcha');
  1433. case 'CaptchaLoginPrivateKey_desc':
  1434. return __('Enter your private key for your domain reCaptcha service.');
  1435. case 'CaptchaLoginPrivateKey_name':
  1436. return __('Private key for reCaptcha');
  1437. case 'SendErrorReports_desc':
  1438. return __('Choose the default action when sending error reports.');
  1439. case 'SendErrorReports_name':
  1440. return __('Send error reports');
  1441. case 'ConsoleEnterExecutes_desc':
  1442. return __(
  1443. 'Queries are executed by pressing Enter (instead of Ctrl+Enter). New lines ' .
  1444. 'will be inserted with Shift+Enter.'
  1445. );
  1446. case 'ConsoleEnterExecutes_name':
  1447. return __('Enter executes queries in console');
  1448. case 'ZeroConf_desc':
  1449. return __(
  1450. 'Enable Zero Configuration mode which lets you setup phpMyAdmin '
  1451. . 'configuration storage tables automatically.'
  1452. );
  1453. case 'ZeroConf_name':
  1454. return __('Enable Zero Configuration mode');
  1455. case 'Console_StartHistory_name':
  1456. return __('Show query history at start');
  1457. case 'Console_AlwaysExpand_name':
  1458. return __('Always expand query messages');
  1459. case 'Console_CurrentQuery_name':
  1460. return __('Show current browsing query');
  1461. case 'Console_EnterExecutes_name':
  1462. return __('Execute queries on Enter and insert new line with Shift + Enter');
  1463. case 'Console_DarkTheme_name':
  1464. return __('Switch to dark theme');
  1465. case 'Console_Height_name':
  1466. return __('Console height');
  1467. case 'Console_Mode_name':
  1468. return __('Console mode');
  1469. case 'Console_GroupQueries_name':
  1470. return __('Group queries');
  1471. case 'Console_Order_name':
  1472. return __('Order');
  1473. case 'Console_OrderBy_name':
  1474. return __('Order by');
  1475. case 'FontSize_name':
  1476. return __('Font size');
  1477. case 'DefaultConnectionCollation_name':
  1478. return __('Server connection collation');
  1479. }
  1480. return null;
  1481. }
  1482. }