Merge branch 'QA_4_1' of github.com:phpmyadmin/phpmyadmin into QA_4_1

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2014-01-01 18:43:11 +05:30
commit ca692d7f33
3 changed files with 17 additions and 9 deletions

View File

@ -3,8 +3,8 @@ phpMyAdmin - ChangeLog
4.1.4.0 (not yet released)
- bug #3840 (additional fix) When exporting to gzip format, the data is compressed 2 times
- bug #4209 Missing compression in one case
- bug #4208 Can't browse tables after sorting on columns with fieldnames that have a '-'
4.1.3.0 (2013-12-31)
- bug #3938 PDFDefaultPageSize doc and easy configurability
- bug #4198 Hovering over pie chart gives fatal JS error

View File

@ -300,9 +300,17 @@ function PMA_isGzHandlerEnabled()
*/
function PMA_gzencodeNeeded()
{
/*
* We should gzencode only if the function exists
* but we don't want to compress twice, therefore
* gzencode only if transparent compression is not enabled
* and gz compression was not asked via $cfg['OBGzip']
* but transparent compression does not apply when saving to server
*/
if (@function_exists('gzencode')
&& ! @ini_get('zlib.output_compression')
&& ! PMA_isGzHandlerEnabled()
&& ((! @ini_get('zlib.output_compression')
&& ! PMA_isGzHandlerEnabled())
|| $GLOBALS['save_on_server'])
) {
return true;
} else {

View File

@ -4,16 +4,16 @@ msgstr ""
"Project-Id-Version: phpMyAdmin 4.1.3-dev\n"
"Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2013-12-27 10:57-0500\n"
"PO-Revision-Date: 2013-09-26 20:35+0200\n"
"Last-Translator: Hao Luo <haoluo.ca@gmail.com>\n"
"Language-Team: Simplified Chinese <http://l10n.cihar.com/projects/phpmyadmin/"
"master/zh_CN/>\n"
"PO-Revision-Date: 2014-01-01 09:31+0200\n"
"Last-Translator: zz zz <tczzjin@gmail.com>\n"
"Language-Team: Simplified Chinese "
"<http://l10n.cihar.com/projects/phpmyadmin/4-1/zh_CN/>\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 1.7-dev\n"
"X-Generator: Weblate 1.9-dev\n"
#: changelog.php:36 license.php:28
#, php-format
@ -411,7 +411,7 @@ msgstr ""
#: error_report.php:37 error_report.php:54 error_report.php:65
#: error_report.php:81
msgid "You may want to refresh the page."
msgstr ""
msgstr "您需要刷新当前页面。"
#: error_report.php:45
msgid ""