diff --git a/Documentation.html b/Documentation.html index 0b3bd922c5..6a8d5dcd16 100644 --- a/Documentation.html +++ b/Documentation.html @@ -2143,7 +2143,7 @@ setfacl -d -m "g:www-data:rwx" tmp identify what they mean. -
$cfg['ShowDisplayDir'] boolean
+
$cfg['ShowDisplayDirection'] boolean
Defines whether or not type display direction option is shown when browsing a table. diff --git a/libraries/config.default.php b/libraries/config.default.php index d54dc5a269..5762531d73 100644 --- a/libraries/config.default.php +++ b/libraries/config.default.php @@ -2315,7 +2315,7 @@ $cfg['ShowPropertyComments']= true; /** * shows table display direction. */ -$cfg['ShowDisplayDir'] = false; +$cfg['ShowDisplayDirection'] = false; /** * repeat header names every X cells? (0 = deactivate) diff --git a/libraries/config/messages.inc.php b/libraries/config/messages.inc.php index 0602cae8c1..5d42f89c86 100644 --- a/libraries/config/messages.inc.php +++ b/libraries/config/messages.inc.php @@ -3,9 +3,9 @@ /** * Messages for phpMyAdmin. * - * This file is here for easy transition to Gettext. You should not add any - * new messages here, use instead gettext directly in your template/PHP - * file. + * This file defines variables in a special format suited for the + * configuration subsystem, with $strConfig as a prefix, _desc or _name + * as a suffix, and the directive name in between. * * @package phpMyAdmin */ @@ -450,8 +450,8 @@ $strConfigShowAll_name = __('Allow to display all the rows'); $strConfigShowChgPassword_desc = __('Please note that enabling this has no effect with [kbd]config[/kbd] authentication mode because the password is hard coded in the configuration file; this does not limit the ability to execute the same command directly'); $strConfigShowChgPassword_name = __('Show password change form'); $strConfigShowCreateDb_name = __('Show create database form'); -$strConfigShowDisplayDir_desc = __('Defines whether or not type display direction option is shown when browsing a table'); -$strConfigShowDisplayDir_name = __('Show display direction'); +$strConfigShowDisplayDirection_desc = __('Defines whether or not type display direction option is shown when browsing a table'); +$strConfigShowDisplayDirection_name = __('Show display direction'); $strConfigShowFieldTypesInDataEditView_desc = __('Defines whether or not type fields should be initially displayed in edit/insert mode'); $strConfigShowFieldTypesInDataEditView_name = __('Show field types'); $strConfigShowFunctionFields_desc = __('Display the function fields in edit/insert mode'); diff --git a/libraries/config/setup.forms.php b/libraries/config/setup.forms.php index e1865fa68e..5598b93786 100644 --- a/libraries/config/setup.forms.php +++ b/libraries/config/setup.forms.php @@ -198,7 +198,7 @@ $forms['Main_frame']['Browse'] = array( 'Order', 'BrowsePointerEnable', 'BrowseMarkerEnable', - 'ShowDisplayDir', + 'ShowDisplayDirection', 'RepeatCells', 'LimitChars', 'RowActionLinks', diff --git a/libraries/config/user_preferences.forms.php b/libraries/config/user_preferences.forms.php index f1363b469c..8dc78feaa9 100644 --- a/libraries/config/user_preferences.forms.php +++ b/libraries/config/user_preferences.forms.php @@ -108,7 +108,7 @@ $forms['Main_frame']['Browse'] = array( 'DisplayBinaryAsHex', 'BrowsePointerEnable', 'BrowseMarkerEnable', - 'ShowDisplayDir', + 'ShowDisplayDirection', 'RepeatCells', 'LimitChars', 'RowActionLinks', diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php index a120037ebc..e231b8434d 100644 --- a/libraries/display_tbl.lib.php +++ b/libraries/display_tbl.lib.php @@ -438,7 +438,7 @@ function PMA_displayTableNavigation($pos_next, $pos_prev, $sql_query, $id_for_di