Move MySQL manual language to proper place.
This commit is contained in:
@@ -346,8 +346,6 @@ function PMA_formatSql($parsed_sql, $unparsed_sql = '')
|
||||
* @uses $cfg['MySQLManualType']
|
||||
* @uses $cfg['MySQLManualBase']
|
||||
* @uses $cfg['ReplaceHelpImg']
|
||||
* @uses $GLOBALS['mysql_5_1_doc_lang']
|
||||
* @uses $GLOBALS['mysql_5_0_doc_lang']
|
||||
* @uses $GLOBALS['strDocu']
|
||||
* @uses $GLOBALS['pmaThemeImage']
|
||||
* @uses PMA_MYSQL_INT_VERSION
|
||||
@@ -409,14 +407,12 @@ function PMA_showMySQLDocu($chapter, $link, $big_icon = false, $anchor = '', $ju
|
||||
if (defined('PMA_MYSQL_INT_VERSION')) {
|
||||
if (PMA_MYSQL_INT_VERSION >= 50100) {
|
||||
$mysql = '5.1';
|
||||
if (!empty($GLOBALS['mysql_5_1_doc_lang'])) {
|
||||
$lang = $GLOBALS['mysql_5_1_doc_lang'];
|
||||
}
|
||||
/* l10n: Language to use for MySQL 5.1 documentation */
|
||||
$lang = _pgettext('$mysql_5_1_doc_lang', 'en');
|
||||
} elseif (PMA_MYSQL_INT_VERSION >= 50000) {
|
||||
$mysql = '5.0';
|
||||
if (!empty($GLOBALS['mysql_5_0_doc_lang'])) {
|
||||
$lang = $GLOBALS['mysql_5_0_doc_lang'];
|
||||
}
|
||||
/* l10n: Language to use for MySQL 5.0 documentation */
|
||||
$lang = _pgettext('$mysql_5_0_doc_lang', 'en');
|
||||
}
|
||||
}
|
||||
$url = $cfg['MySQLManualBase'] . '/' . $mysql . '/' . $lang . '/' . $link . '.html';
|
||||
|
@@ -20,13 +20,6 @@ $number_decimal_separator = __('.');
|
||||
// shortcuts for Byte, Kilo, Mega, Giga, Tera, Peta, Exa
|
||||
$byteUnits = array(__('B'), __('KiB'), __('MiB'), __('GiB'), __('TiB'), __('PiB'), __('EiB'));
|
||||
|
||||
// MySQL manual language definition, this is optional, en will be used
|
||||
// if not defined
|
||||
/* l10n: Language to use for MySQL 5.0 documentation */
|
||||
$mysql_5_0_doc_lang = _pgettext('$mysql_5_0_doc_lang', 'en');
|
||||
/* l10n: Language to use for MySQL 5.1 documentation */
|
||||
$mysql_5_1_doc_lang = _pgettext('$mysql_5_1_doc_lang', 'en');
|
||||
|
||||
$day_of_week = array(__('Sun'), __('Mon'), __('Tue'), __('Wed'), __('Thu'), __('Fri'), __('Sat'));
|
||||
$month = array(__('Jan'), __('Feb'), __('Mar'), __('Apr'), __('May'), __('Jun'), __('Jul'), __('Aug'), __('Sep'), __('Oct'), __('Nov'), __('Dec'));
|
||||
/* l10n: See http://www.php.net/manual/en/function.strftime.php to define the format string */
|
||||
|
3202
po/be@latin.po
3202
po/be@latin.po
File diff suppressed because it is too large
Load Diff
3274
po/en_GB.po
3274
po/en_GB.po
File diff suppressed because it is too large
Load Diff
3194
po/phpmyadmin.pot
3194
po/phpmyadmin.pot
File diff suppressed because it is too large
Load Diff
3206
po/pt_BR.po
3206
po/pt_BR.po
File diff suppressed because it is too large
Load Diff
3202
po/sr@latin.po
3202
po/sr@latin.po
File diff suppressed because it is too large
Load Diff
3202
po/uz@latin.po
3202
po/uz@latin.po
File diff suppressed because it is too large
Load Diff
3194
po/zh_CN.po
3194
po/zh_CN.po
File diff suppressed because it is too large
Load Diff
3200
po/zh_TW.po
3200
po/zh_TW.po
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user