From 71d2cff966c1412c867b92ee6336fcb3d47b455f Mon Sep 17 00:00:00 2001 From: LNDDYL Date: Fri, 15 May 2015 03:53:53 +0200 Subject: [PATCH 1/2] Translated using Weblate (Chinese (Taiwan)) Currently translated at 95.2% (2892 of 3035 strings) [CI skip] --- po/zh_TW.po | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/po/zh_TW.po b/po/zh_TW.po index b3f7ef7980..c7245f3ec8 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -4,14 +4,14 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.4.6-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2015-05-05 15:46-0400\n" -"PO-Revision-Date: 2015-04-23 12:44+0200\n" -"Last-Translator: Albert Song \n" -"Language-Team: Chinese (Taiwan) \n" +"PO-Revision-Date: 2015-05-15 03:53+0200\n" +"Last-Translator: LNDDYL \n" +"Language-Team: Chinese (Taiwan) " +"\n" +"Language: zh_TW\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: zh_TW\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 2.3-dev\n" @@ -15329,7 +15329,7 @@ msgid "Your InnoDB buffer pool is fairly small." msgstr "您的 InnoDB 緩衝池過小。" #: libraries/advisory_rules.txt:454 -#, fuzzy, php-format +#, php-format #| msgid "" #| "The InnoDB buffer pool has a profound impact on performance for InnoDB " #| "tables. Assign all your remaining memory to this buffer. For database " @@ -15353,12 +15353,10 @@ msgid "" "\"http://www.percona.com/blog/2007/11/03/choosing-innodb_buffer_pool_size/" "\">this article" msgstr "" -"InnoDB 緩衝池對 InnoDB 資料表的性能有重大影響,請將您剩餘的記憶體分配給此緩衝" -"區。如果資料庫伺服器僅有 InnoDB 作為儲存引擎,並沒有運行的其他服務 (如網頁伺" -"服器),您可以將高達 80%% 的可用記憶體分配給它。如果情況並非如此,您需要仔細評" -"估其他服務和非 InnoDB 資料表的記憶體消耗狀況,並相對應地設定此變數。如果將它" -"設置得太高,您的系統將會開始記憶體和磁碟的切換,因而大大降低性能。請參考 這篇文章" #: libraries/advisory_rules.txt:455 From 279439b08a671e8cfa4ec69890690a09b20ba79a Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Fri, 15 May 2015 15:04:21 +0530 Subject: [PATCH 2/2] Include token in the error messages Signed-off-by: Madhura Jayaratne --- libraries/config/ServerConfigChecks.class.php | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/libraries/config/ServerConfigChecks.class.php b/libraries/config/ServerConfigChecks.class.php index 5315797083..6deac3d8a7 100644 --- a/libraries/config/ServerConfigChecks.class.php +++ b/libraries/config/ServerConfigChecks.class.php @@ -371,38 +371,38 @@ class ServerConfigChecks $sAllowArbitraryServerWarn = __('This %soption%s should be disabled as it allows attackers to bruteforce login to any MySQL server. If you feel this is necessary, use %srestrict login to MySQL server%s or %strusted proxies list%s. However, IP-based protection with trusted proxies list may not be reliable if your IP belongs to an ISP where thousands of users, including you, are connected to.'); $sAllowArbitraryServerWarn = sprintf( $sAllowArbitraryServerWarn, - '[a@?page=form&formset=Features#tab_Security]', + '[a@?page=form' . PMA_URL_getCommon(array(), 'html', '&') . '&formset=Features#tab_Security]', '[/a]', - '[a@?page=form&formset=Features#tab_Security]', + '[a@?page=form' . PMA_URL_getCommon(array(), 'html', '&') . '&formset=Features#tab_Security]', '[/a]', - '[a@?page=form&formset=Features#tab_Security]', + '[a@?page=form' . PMA_URL_getCommon(array(), 'html', '&') . '&formset=Features#tab_Security]', '[/a]' ); $sBlowfishSecretMsg = __('You didn\'t have blowfish secret set and have enabled [kbd]cookie[/kbd] authentication, so a key was automatically generated for you. It is used to encrypt cookies; you don\'t need to remember it.'); $sBZipDumpWarning = __('%sBzip2 compression and decompression%s requires functions (%s) which are unavailable on this system.'); $sBZipDumpWarning = sprintf( $sBZipDumpWarning, - '[a@?page=form&formset=Features#tab_Import_export]', + '[a@?page=form' . PMA_URL_getCommon(array(), 'html', '&') . '&formset=Features#tab_Import_export]', '[/a]', '%s' ); $sDirectoryNotice = __('This value should be double checked to ensure that this directory is neither world accessible nor readable or writable by other users on your server.'); $sForceSSLNotice = __('This %soption%s should be enabled if your web server supports it.'); $sForceSSLNotice = sprintf( $sForceSSLNotice, - '[a@?page=form&formset=Features#tab_Security]', + '[a@?page=form' . PMA_URL_getCommon(array(), 'html', '&') . '&formset=Features#tab_Security]', '[/a]' ); $sGZipDumpWarning = __('%sGZip compression and decompression%s requires functions (%s) which are unavailable on this system.'); $sGZipDumpWarning = sprintf( $sGZipDumpWarning, - '[a@?page=form&formset=Features#tab_Import_export]', + '[a@?page=form' . PMA_URL_getCommon(array(), 'html', '&') . '&formset=Features#tab_Import_export]', '[/a]', '%s' ); $sLoginCookieValidityWarn = __('%sLogin cookie validity%s greater than %ssession.gc_maxlifetime%s may cause random session invalidation (currently session.gc_maxlifetime is %d).'); $sLoginCookieValidityWarn = sprintf( $sLoginCookieValidityWarn, - '[a@?page=form&formset=Features#tab_Security]', + '[a@?page=form' . PMA_URL_getCommon(array(), 'html', '&') . '&formset=Features#tab_Security]', '[/a]', '[a@' . PMA_getPHPDocLink( 'session.configuration.php#ini.session.gc-maxlifetime' @@ -413,41 +413,42 @@ class ServerConfigChecks $sLoginCookieValidityWarn2 = __('%sLogin cookie validity%s should be set to 1800 seconds (30 minutes) at most. Values larger than 1800 may pose a security risk such as impersonation.'); $sLoginCookieValidityWarn2 = sprintf( $sLoginCookieValidityWarn2, - '[a@?page=form&formset=Features#tab_Security]', + '[a@?page=form' . PMA_URL_getCommon(array(), 'html', '&') . '&formset=Features#tab_Security]', '[/a]' ); $sLoginCookieValidityWarn3 = __('If using [kbd]cookie[/kbd] authentication and %sLogin cookie store%s is not 0, %sLogin cookie validity%s must be set to a value less or equal to it.'); $sLoginCookieValidityWarn3 = sprintf( $sLoginCookieValidityWarn3, - '[a@?page=form&formset=Features#tab_Security]', - '[/a]', '[a@?page=form&formset=Features#tab_Security]', + '[a@?page=form' . PMA_URL_getCommon(array(), 'html', '&') . '&formset=Features#tab_Security]', + '[/a]', + '[a@?page=form' . PMA_URL_getCommon(array(), 'html', '&') . '&formset=Features#tab_Security]', '[/a]' ); $sSecurityInfoMsg = __('If you feel this is necessary, use additional protection settings - %shost authentication%s settings and %strusted proxies list%s. However, IP-based protection may not be reliable if your IP belongs to an ISP where thousands of users, including you, are connected to.'); $sSecurityInfoMsg = sprintf( $sSecurityInfoMsg, - '[a@?page=servers&mode=edit&id=%1$d#tab_Server_config]', + '[a@?page=servers' . PMA_URL_getCommon(array(), 'html', '&') . '&mode=edit&id=%1$d#tab_Server_config]', '[/a]', - '[a@?page=form&formset=Features#tab_Security]', + '[a@?page=form' . PMA_URL_getCommon(array(), 'html', '&') . '&formset=Features#tab_Security]', '[/a]' ); $sServerAuthConfigMsg = __('You set the [kbd]config[/kbd] authentication type and included username and password for auto-login, which is not a desirable option for live hosts. Anyone who knows or guesses your phpMyAdmin URL can directly access your phpMyAdmin panel. Set %sauthentication type%s to [kbd]cookie[/kbd] or [kbd]http[/kbd].'); $sServerAuthConfigMsg = sprintf( $sServerAuthConfigMsg, - '[a@?page=servers&mode=edit&id=%1$d#tab_Server]', + '[a@?page=servers' . PMA_URL_getCommon(array(), 'html', '&') . '&mode=edit&id=%1$d#tab_Server]', '[/a]' ); $sZipDumpExportWarn = __('%sZip compression%s requires functions (%s) which are unavailable on this system.'); $sZipDumpExportWarn = sprintf( $sZipDumpExportWarn, - '[a@?page=form&formset=Features#tab_Import_export]', + '[a@?page=form' . PMA_URL_getCommon(array(), 'html', '&') . '&formset=Features#tab_Import_export]', '[/a]', '%s' ); $sZipDumpImportWarn = __('%sZip decompression%s requires functions (%s) which are unavailable on this system.'); $sZipDumpImportWarn = sprintf( $sZipDumpImportWarn, - '[a@?page=form&formset=Features#tab_Import_export]', + '[a@?page=form' . PMA_URL_getCommon(array(), 'html', '&') . '&formset=Features#tab_Import_export]', '[/a]', '%s' );