The following commit has been merged in the master branch: commit 835d52339e77f2780af0400d33adc3d79e8e3c57 Merge: 29ec025ac78a1e768b2e84df61df4783bdb6872a 8a62ef403067b455f5f893ef5aa2f4b02171eaab Author: Michal Čihař michal@cihar.com Date: Wed Feb 24 09:53:51 2010 +0100
Merge branch 'master' of git://phpmyadmin.git.sourceforge.net/gitroot/phpmyadmin/localized_docs
diff --combined po/zh_CN.po index 43d203f,8262483..2caa71d --- a/po/zh_CN.po +++ b/po/zh_CN.po @@@ -8,13 -8,13 +8,13 @@@ msgstr " "Project-Id-Version: phpMyAdmin-docs VERSION\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2010-01-25 13:26+0100\n" -"PO-Revision-Date: 2010-02-22 13:52+0200\n" +"PO-Revision-Date: 2010-02-24 10:50+0200\n" "Last-Translator: shanyan baishui Siramizu@gmail.com\n" "Language-Team: none\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" + "Language: zh_CN\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Pootle 2.0.1\n"
@@@ -29,8 -29,8 +29,8 @@@ msgid " "<a href="http://www.phpmyadmin.net/%5C%22%3Ephp<span class="myadmin">MyAdmin</" "span></a> 3.4.0-dev Documentation" msgstr "" - "<a href="http://www.phpmyadmin.net/%5C%22%3Ephp<span " - "class="myadmin">MyAdmin</span></a> 3.4.0-dev 文档" + "<a href="http://www.phpmyadmin.net/%5C%22%3Ephp<span class="myadmin">MyAdmin</" + "span></a> 3.4.0-dev 文档"
#. type: Content of: <html><body><ul><li> #: ../phpMyAdmin/Documentation.html:28 ../phpMyAdmin/translators.html:29 @@@ -118,7 -118,8 +118,8 @@@ msgstr " #. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:49 msgid "<a href="http://wiki.phpmyadmin.net%5C%22%3E Official phpMyAdmin wiki</a>" - msgstr "<a href="http://wiki.phpmyadmin.net%5C%22%3E phpMyAdmin 官方维基 (wiki,英语)</a>" + msgstr "" + "<a href="http://wiki.phpmyadmin.net%5C%22%3E phpMyAdmin 官方维基 (wiki,英语)</a>"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:51 @@@ -162,9 -163,9 +163,9 @@@ msgid " ""#faq1_31">see <abbr title="Frequently Asked Questions">FAQ</abbr> 1.31</" "a>) and the Standard PHP Library (SPL) extension." msgstr "" - "开启 <tt>会话 (session)</tt> (<a href="#faq1_31">参见 <abbr title="常见问题 " - "(Frequently Asked Questions)">FAQ</abbr> 1.31</a>) 和 标准 PHP 库 (SPL) 扩展的 PHP " - "5.2.0 或更高版本。" + "开启 <tt>会话 (session)</tt> (<a href="#faq1_31">参见 <abbr title="常见问" + "题 (Frequently Asked Questions)">FAQ</abbr> 1.31</a>) 和 标准 PHP 库 (SPL) " + "扩展的 PHP 5.2.0 或更高版本。"
#. type: Content of: <html><body><div><ul><li><ul><li> #: ../phpMyAdmin/Documentation.html:70 @@@ -177,14 -178,18 +178,18 @@@ msgstr "要支持上传 zip 文件,� msgid "" "For proper support of multibyte strings (eg. UTF-8, which is currently " "default), you should install mbstring and ctype extensions." - msgstr "要更好的支持多字节字符串 (如 UTF-8 编码的文字, 当前默认编码),需要 mbstring 和 ctype 扩展。" + msgstr "" + "要更好的支持多字节字符串 (如 UTF-8 编码的文字, 当前默认编码),需要 mbstring " + "和 ctype 扩展。"
#. type: Content of: <html><body><div><ul><li><ul><li> #: ../phpMyAdmin/Documentation.html:75 msgid "" "You need GD2 support in PHP to display inline thumbnails of JPEGs ("" "image/jpeg: inline") with their original aspect ratio" - msgstr "要支持内联 JPEG 图像的等比缩略图 ("image/jpeg: inline"),需要 GD2 扩展" + msgstr "" + "要支持内联 JPEG 图像的等比缩略图 ("image/jpeg: inline"),需要 GD2 " + "扩展"
#. type: Content of: <html><body><div><ul><li><ul><li> #: ../phpMyAdmin/Documentation.html:78 @@@ -195,9 -200,10 +200,10 @@@ msgid " "<b>required</b> for 64–bit machines. Not using mcrypt will cause " "phpMyAdmin to load pages significantly slower." msgstr "" - "当使用 "cookie" <a href="#authentication_modes">认证</a>时,我们强烈建议大部分用户使用 " - "<a href="http://www.php.net/mcrypt%5C%22%3E<tt>mcrypt (外链,英语)</tt></a> " - "扩展,在64位计算机中,该扩展是<b>必须</b>的。不使用 mcrypt 扩展可能导致打开 phpMyAdmin 页面时变得很慢。" + "当使用 "cookie" <a href="#authentication_modes">认证</a>时,我们" + "强烈建议大部分用户使用 <a href="http://www.php.net/mcrypt%5C%22%3E<tt>mcrypt (外" + "链,英语)</tt></a> 扩展,在64位计算机中,该扩展是<b>必须</b>的。不使用 " + "mcrypt 扩展可能导致打开 phpMyAdmin 页面时变得很慢。"
#. type: Content of: <html><body><div><ul><li><ul><li> #: ../phpMyAdmin/Documentation.html:85 @@@ -205,8 -211,8 +211,8 @@@ msgid " "To support upload progress bars, see <a href="#faq2_9"> <abbr title=" ""Frequently Asked Questions">FAQ</abbr> 2.9</a>." msgstr "" - "要支持上传进度条,参见 <a href="#faq2_9"> <abbr title="常见问题 (Frequently Asked " - "Questions)">FAQ</abbr> 2.9</a>。" + "要支持上传进度条,参见 <a href="#faq2_9"> <abbr title="常见问题 " + "(Frequently Asked Questions)">FAQ</abbr> 2.9</a>。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:89 @@@ -231,8 -237,9 +237,9 @@@ msgid " "MySQL user who can read/write only the desired database. It's up to you to " "look up the appropriate part in the MySQL manual." msgstr "" - "在有超级用户的情况下,phpMyAdmin 可以像管理一个数据库一样管理整个 MySQL 服务器。要实现这些功能你需要正确设置 MySQL " - "用户能够读/写的数据库。你可以在 MySQL 手册中找到相关内容。" + "在有超级用户的情况下,phpMyAdmin 可以像管理一个数据库一样管理整个 MySQL 服务" + "器。要实现这些功能你需要正确设置 MySQL 用户能够读/写的数据库。你可以在 MySQL " + "手册中找到相关内容。"
#. type: Content of: <html><body><div><h3> #: ../phpMyAdmin/Documentation.html:102 @@@ -263,8 -270,8 +270,8 @@@ msgid " "execute, edit and bookmark any <abbr title="structured query language" "">SQL</abbr>-statement, even batch-queries" msgstr "" - "运行、编辑一条或多条任意 <abbr title="结构化查询语言 (structured query language)">SQL</abbr> " - "语句,并加入书签" + "运行、编辑一条或多条任意 <abbr title="结构化查询语言 (structured query " + "language)">SQL</abbr> 语句,并加入书签"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:112 @@@ -288,14 -295,15 +295,15 @@@ msgid " "abbr>, <abbr title="Microsoft Excel 97-2003 and Excel 2007">Excel</abbr> " "and L<sup>A</sup>T<sub><big>E</big></sub>X formats" msgstr "" - "导出<a href="#footnote_1"><sup>1</sup></a>数据为多种格式: <abbr title="逗号分隔文件 (Comma " - "Separated Values)">CSV</abbr>,<abbr title="可扩展标记语言 (Extensible Markup " - "Language)">XML</abbr>,<abbr title="便携式文档格式 (Portable Document " - "Format)">PDF</abbr>,<abbr title="国际标准化组织 (International Standards " - "Organisation)">ISO</abbr>/<abbr title="国际电工委员会 (International " - "Electrotechnical Commission)">IEC</abbr> 26300 - 开放文本文档和表格,<abbr " - "title="Microsoft Word 2000">Word</abbr>,<abbr title="Microsoft Excel 97-2003 " - "和 Excel 2007">Excel</abbr> 和 L<sup>A</sup>T<sub><big>E</big></sub>X 格式" + "导出<a href="#footnote_1"><sup>1</sup></a>数据为多种格式: <abbr title="逗" + "号分隔文件 (Comma Separated Values)">CSV</abbr>,<abbr title="可扩展标记语" + "言 (Extensible Markup Language)">XML</abbr>,<abbr title="便携式文档格式 " + "(Portable Document Format)">PDF</abbr>,<abbr title="国际标准化组织 " + "(International Standards Organisation)">ISO</abbr>/<abbr title="国际电工委" + "员会 (International Electrotechnical Commission)">IEC</abbr> 26300 - 开放文" + "本文档和表格,<abbr title="Microsoft Word 2000">Word</abbr>,<abbr title=" + ""Microsoft Excel 97-2003 和 Excel 2007">Excel</abbr> 和 L<sup>A</" + "sup>T<sub><big>E</big></sub>X 格式"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:125 @@@ -306,11 -314,11 +314,11 @@@ msgid " ""Comma Separated Values">CSV</abbr>, and <abbr title="Server Query " "Language">SQL</abbr> files" msgstr "" - "从 <abbr title="Microsoft Excel 97-2003 和 Excel 2007">Microsoft " - "Excel</abbr>,开放表格,<abbr title="可扩展标记语言 (Extensible Markup " - "Language)">XML</abbr>,<abbr title="逗号分隔文件 (Comma Separated " - "Values)">CSV</abbr> 和 <abbr title="服务器查询语言 (Server Query " - "Language)">SQL</abbr> 文件中导入数据和 MySQL 结构" + "从 <abbr title="Microsoft Excel 97-2003 和 Excel 2007">Microsoft Excel</" + "abbr>,开放表格,<abbr title="可扩展标记语言 (Extensible Markup Language)" + "">XML</abbr>,<abbr title="逗号分隔文件 (Comma Separated Values)">CSV</" + "abbr> 和 <abbr title="服务器查询语言 (Server Query Language)">SQL</abbr> 文" + "件中导入数据和 MySQL 结构"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:126 @@@ -340,7 -348,8 +348,8 @@@ msgid " "create <abbr title="Portable Document Format">PDF</abbr> graphics of your " "Database layout" msgstr "" - "创建 <abbr title="便携式文档格式 (Portable Document Format)">PDF</abbr> 格式的数据库布局图" + "创建 <abbr title="便携式文档格式 (Portable Document Format)">PDF</abbr> 格" + "式的数据库布局图"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:133 @@@ -352,7 -361,9 +361,9 @@@ msgstr "对全部或部分数据库的� msgid "" "transform stored data into any format using a set of predefined functions, " "like displaying BLOB-data as image or download-link" - msgstr "通过预定义函数转换现有数据为任意格式,如显示二进制大对象 (BLOB) 数据为图像或下载链接" + msgstr "" + "通过预定义函数转换现有数据为任意格式,如显示二进制大对象 (BLOB) 数据为图像或" + "下载链接"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:137 @@@ -365,8 -376,8 +376,8 @@@ msgid " "support InnoDB tables and foreign keys <a href="#faq3_6">(see <abbr title=" ""Frequently Asked Questions">FAQ</abbr> 3.6)</a>" msgstr "" - "支持 InnoDB 数据表和外键 <a href="#faq3_6">(参见 <abbr title="常见问题 (Frequently Asked " - "Questions)">FAQ</abbr> 3.6)</a>" + "支持 InnoDB 数据表和外键 <a href="#faq3_6">(参见 <abbr title="常见问题 " + "(Frequently Asked Questions)">FAQ</abbr> 3.6)</a>"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:140 @@@ -374,14 -385,16 +385,16 @@@ msgid " "support mysqli, the improved MySQL extension <a href="#faq1_17"> (see " "<abbr title="Frequently Asked Questions">FAQ</abbr> 1.17)</a>" msgstr "" - "支持改进的 MySQL 扩展 mysqli <a href="#faq1_17"> (参见 <abbr title="常见问题 (Frequently " - "Asked Questions)">FAQ</abbr> 1.17)</a>" + "支持改进的 MySQL 扩展 mysqli <a href="#faq1_17"> (参见 <abbr title="常见问" + "题 (Frequently Asked Questions)">FAQ</abbr> 1.17)</a>"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:142 msgid "" "communicate in <a href="./translators.html">57 different languages</a>" - msgstr "支持 <a href="./translators.html">57 种不同的语言 (链接到译者页面,英语)</a>" + msgstr "" + "支持 <a href="./translators.html">57 种不同的语言 (链接到译者页面,英语)</" + "a>"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:144 @@@ -390,8 -403,8 +403,8 @@@ msgid " "href="#faq9_1">(see <abbr title="Frequently Asked Questions">FAQ</abbr> " "9.1)</a>" msgstr "" - "同步当前或远程服务器上的任意两个数据库 <a href="#faq9_1">(参见 <abbr title="常见问题 (Frequently " - "Asked Questions)">FAQ</abbr> 9.1)</a>" + "同步当前或远程服务器上的任意两个数据库 <a href="#faq9_1">(参见 <abbr title=" + ""常见问题 (Frequently Asked Questions)">FAQ</abbr> 9.1)</a>"
#. type: Content of: <html><body><div><h4> #: ../phpMyAdmin/Documentation.html:150 @@@ -407,9 -420,10 +420,10 @@@ msgid " "management on its own (other than allowing one to manipulate the MySQL user " "account information); all users must be valid MySQL users." msgstr "" - "很多人难以理解 phpMyAdmin 用户的概念。当一个用户登录到 phpMyAdmin 的时候,用户名和密码是被直接发送到 MySQL " - "的。phpMyAdmin 本身并没有任何用户管理行为 (有 MySQL 管理权限的用户可以通过 phpMyAdmin 管理其他的 MySQL " - "用户),所有用户必须是有效的 MySQL 用户。" + "很多人难以理解 phpMyAdmin 用户的概念。当一个用户登录到 phpMyAdmin 的时候,用" + "户名和密码是被直接发送到 MySQL 的。phpMyAdmin 本身并没有任何用户管理行为 (有 " + "MySQL 管理权限的用户可以通过 phpMyAdmin 管理其他的 MySQL 用户),所有用户必须" + "是有效的 MySQL 用户。"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:159 @@@ -421,9 -435,9 +435,9 @@@ msgid " "<tt>php.ini</tt>." msgstr "" "<sup>1)</sup> 若 PHP 有 zlib (<tt>--with-zlib</tt>) 和/或 bzip2 (<tt>--with-" - "bz2</tt>) 扩展 (可能还需要修改 <tt>php.ini</tt>)。phpMyAdmin 在转储和导出 <abbr " - "title="逗号分隔文件 (comma separated values)">CSV</abbr> 时可压缩成 (zip、gzip -RFC " - "1952- 或 bzip2 格式)。" + "bz2</tt>) 扩展 (可能还需要修改 <tt>php.ini</tt>)。phpMyAdmin 在转储和导出 " + "<abbr title="逗号分隔文件 (comma separated values)">CSV</abbr> 时可压缩成 " + "(zip、gzip -RFC 1952- 或 bzip2 格式)。"
#. type: Content of: <html><body><div><h2> #: ../phpMyAdmin/Documentation.html:166 @@@ -464,7 -478,8 +478,8 @@@ msgid " "be used for this." msgstr "" "phpMyAdmin 不会在 MySQL 数据库服务器上应用任何特殊的安全措施。正确设置 MySQL " - "数据库的权限是系统管理员应该做的。phpMyAdmin 的 "权限" 页面可以帮助系统管理员设置权限。" + "数据库的权限是系统管理员应该做的。phpMyAdmin 的 "权限" 页面可以帮助" + "系统管理员设置权限。"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:183 @@@ -503,9 -518,10 +518,10 @@@ msgid " "contain all languages and all character sets. We'll assume you chose a kit " "whose name looks like <tt>phpMyAdmin-x.x.x-all-languages.tar.gz</tt>." msgstr "" - "从 phpmyadmin.net 下载页选择一个合适的版本。有些版本只有英语,有些只使用 UTF-8 编码且包含了所有语言 " - "(适用于大多数情况),还有些包含了所有语言和所有编码。现在我们假设你选择的是一个像 <tt>phpMyAdmin-x.x.x-all-" - "languages.tar.gz</tt> 这样名字的版本。" + "从 phpmyadmin.net 下载页选择一个合适的版本。有些版本只有英语,有些只使用 UTF-" + "8 编码且包含了所有语言 (适用于大多数情况),还有些包含了所有语言和所有编码。现" + "在我们假设你选择的是一个像 <tt>phpMyAdmin-x.x.x-all-languages.tar.gz</tt> 这" + "样名字的版本。"
#. type: Content of: <html><body><div><ol><li> #: ../phpMyAdmin/Documentation.html:201 @@@ -516,9 -532,10 +532,10 @@@ msgid " "the files in a directory on your local machine, and, after step 4, transfer " "the directory on your web server using, for example, ftp." msgstr "" - "解开这个压缩包 (连同子目录一起解压): 在你网站服务器的文档根目录执行 <tt>tar -xzvf phpMyAdmin_x.x.x-all-" - "languages.tar.gz</tt> 。如果你没有直接的访问服务器的权限,先把这些文件解压到你自己的电脑上,等完成第 4 步之后,再通过 ftp " - "等方式上传到你的网站服务器上。" + "解开这个压缩包 (连同子目录一起解压): 在你网站服务器的文档根目录执行 <tt>tar -" + "xzvf phpMyAdmin_x.x.x-all-languages.tar.gz</tt> 。如果你没有直接的访问服务器" + "的权限,先把这些文件解压到你自己的电脑上,等完成第 4 步之后,再通过 ftp 等方" + "式上传到你的网站服务器上。"
#. type: Content of: <html><body><div><ol><li> #: ../phpMyAdmin/Documentation.html:206 @@@ -530,10 -547,10 +547,10 @@@ msgid " ""><abbr title="Frequently Asked Questions">FAQ</abbr> 1.26</a> for " "suggestions." msgstr "" - "确保所有的脚本都有正确的所有者 (如果 PHP 运行于安全模式,所有者的不同可能会导致问题)。参见 <a href="#faq4_2"><abbr " - "title="常见问题 (Frequently Asked Questions)">FAQ</abbr> 4.2</a> 和 <a " - "href="#faq1_26"><abbr title="常见问题 (Frequently Asked Questions)">FAQ</abbr> " - "1.26</a>。" + "确保所有的脚本都有正确的所有者 (如果 PHP 运行于安全模式,所有者的不同可能会导" + "致问题)。参见 <a href="#faq4_2"><abbr title="常见问题 (Frequently Asked " + "Questions)">FAQ</abbr> 4.2</a> 和 <a href="#faq1_26"><abbr title="常见问" + "题 (Frequently Asked Questions)">FAQ</abbr> 1.26</a>。"
#. type: Content of: <html><body><div><ol><li> #: ../phpMyAdmin/Documentation.html:213 @@@ -544,9 -561,6 +561,9 @@@ msgid " "graphical installation. Creating a <tt>config.inc.php</tt> is still a quick " "way to get started and needed for some advanced features." msgstr "" +"现在你需要做一些设置。通常我们会手动编辑一份 <tt>config.inc.php</tt> " +"的副本,但现在我们为那些喜欢使用图形界面安装的用户提供了一个向导式的安装脚本。手动创建 <tt>config.inc.php</tt> " +"仍然是一个快速安装的方法,而且一些高级功能也需要手动编辑。"
#. type: Content of: <html><body><div><ol><li><ul><li> #: ../phpMyAdmin/Documentation.html:218 @@@ -561,11 -575,6 +578,11 @@@ msgid " "tt>. You'll need a few directives to get going, a simple configuration may " "look like this:" msgstr "" +"要手动创建 <tt>config.inc.php</tt>,首先你要有一个文本编辑器 (你可以复制 phpMyAdmin 主目录 (顶层,包含 " +"<tt>index.php</tt> 的目录) 的 <tt>config.sample.inc.php</tt> " +"获得包含最小配置的配置文件。phpMyAdmin 首先会加载 <tt>libraries/config.default.php</tt> " +"中的默认设置,然后再用 <tt>config.inc.php</tt> 中的设置覆盖。如果默认值就是你所需要的,那就不用在 " +"<tt>config.inc.php</tt> 里面再写一遍了。一个简单的设置如下:"
#. type: Content of: <html><body><div><ol><li><ul><li><pre> #: ../phpMyAdmin/Documentation.html:230 @@@ -579,18 -588,11 +596,18 @@@ msgid " "$cfg['Servers'][$i]['auth_type'] = 'cookie';\n" "?>\n" msgstr "" +"<?php\n" +"$cfg['blowfish_secret'] = 'ba17c1ec07d65003'; // 此值可任意修改\n" +"\n" +"$i=0;\n" +"$i++;\n" +"$cfg['Servers'][$i]['auth_type'] = 'cookie';\n" +"?>\n"
#. type: Content of: <html><body><div><ol><li><ul><li> #: ../phpMyAdmin/Documentation.html:238 msgid "Or, if you prefer to not be prompted every time you log in:" -msgstr "" +msgstr "或者,如果你不想每次都登录:"
#. type: Content of: <html><body><div><ol><li><ul><li><pre> #: ../phpMyAdmin/Documentation.html:240 @@@ -605,21 -607,13 +622,21 @@@ msgid " "$cfg['Servers'][$i]['auth_type'] = 'config';\n" "?>\n" msgstr "" +"<?php\n" +"\n" +"$i=0;\n" +"$i++;\n" +"$cfg['Servers'][$i]['user'] = 'root';\n" +"$cfg['Servers'][$i]['password'] = 'cbb74bc'; // 这里填写你的密码\n" +"$cfg['Servers'][$i]['auth_type'] = 'config';\n" +"?>\n"
#. type: Content of: <html><body><div><ol><li><ul><li> #: ../phpMyAdmin/Documentation.html:249 msgid "" "For a full explanation of possible configuration values, see the <a href=" ""#config">Configuration Section</a> of this document." -msgstr "" +msgstr "完整的设置说明请参见本文档的 <a href="#config">设置</a> 一节。"
#. type: Content of: <html><body><div><ol><li><ul><li> #: ../phpMyAdmin/Documentation.html:251 @@@ -629,9 -623,6 +646,9 @@@ msgid " "<tt>config</tt> in the phpMyAdmin directory. This is a security measure. On " "a Linux/Unix system you can use the following commands:" msgstr "" +"不想手动编辑 <tt>config.inc.php</tt> 的话,你可以使用 <a href="setup/">安装脚本</a> " +"来代替。为了安全,首先你要在 phpMyAdmin 目录下创建一个 <tt>config</tt> 文件夹。在 Linux/Unix " +"系统上你可以使用以下命令:"
#. type: Content of: <html><body><div><ol><li><ul><li><pre> #: ../phpMyAdmin/Documentation.html:258 @@@ -641,14 -632,11 +658,14 @@@ msgid " "mkdir config # create directory for saving\n" "chmod o+rw config # give it world writable permissions\n" msgstr "" +"cd phpMyAdmin\n" +"mkdir config # 创建保存配置文件的目录\n" +"chmod o+rw config # 授予所有人对这个目录的写入权限\n"
#. type: Content of: <html><body><div><ol><li><ul><li> #: ../phpMyAdmin/Documentation.html:262 msgid "And to edit an existing configuration, copy it over first:" -msgstr "" +msgstr "如果要修改一个现有的配置文件,先将其复制到目录中:"
#. type: Content of: <html><body><div><ol><li><ul><li><pre> #: ../phpMyAdmin/Documentation.html:264 @@@ -657,8 -645,6 +674,8 @@@ msgid " "cp config.inc.php config/ # copy current configuration for editing\n" "chmod o+w config/config.inc.php # give it world writable permissions\n" msgstr "" +"cp config.inc.php config/ # 复制当前的配置文件以编辑\n" +"chmod o+w config/config.inc.php # 授予所有人对这个文件的写入权限\n"
#. type: Content of: <html><body><div><ol><li><ul><li> #: ../phpMyAdmin/Documentation.html:267 @@@ -666,7 -652,7 +683,7 @@@ msgid " "On other platforms, simply create the folder and ensure that your web server " "has read and write access to it. <a href="#faq1_26">FAQ 1.26</a> can help " "with this." -msgstr "" +msgstr "在其他平台上, 创建目录并确保网站服务器可以读写即可。参见 <a href="#faq1_26">FAQ 1.26</a>。"
#. type: Content of: <html><body><div><ol><li><ul><li> #: ../phpMyAdmin/Documentation.html:271 @@@ -681,17 -667,13 +698,17 @@@ msgid " "tt> link to save the config file locally and upload (via FTP or some similar " "means) to the proper location." msgstr "" +"接下来,在浏览器中打开 <tt><a href="setup/">setup/</a></tt>。要注意的是,<strong>在点 <i>设置</i> " +"区域的 <tt>保存</tt>之前,所有修改不会被保存</strong>。通常安装脚本都可以保存新的 config.inc.php 到 " +"<tt>config/</tt> 目录,但在有些权限不正确的服务器上你会看到 "无法加载或保存配置" 的错误提示。请确保 " +"<tt>config/</tt> 目录存在并有正确的权限,或使用 <tt>下载</tt> 把配置文件下载下来再通过 FTP 等方式上传到正确的位置。"
#. type: Content of: <html><body><div><ol><li><ul><li> #: ../phpMyAdmin/Documentation.html:282 msgid "" "Once the file has been saved, it must be moved out of the <tt> config/</tt> " "directory and the permissions must be reset, again as a security measure:" -msgstr "" +msgstr "为了安全,在保存之后,就要把配置文件移出 <tt>config/</tt> 目录并且重新设置权限:"
#. type: Content of: <html><body><div><ol><li><ul><li><pre> #: ../phpMyAdmin/Documentation.html:286 @@@ -701,9 -683,6 +718,9 @@@ msgid " "chmod o-rw config.inc.php # remove world read and write permissions\n" "rm -rf config # remove not needed directory\n" msgstr "" +"mv config/config.inc.php . # 移动配置文件到当前目录\n" +"chmod o-rw config.inc.php # 撤销所有人对配置文件的读写权限\n" +"rm -rf config # 删除不需要的目录\n"
#. type: Content of: <html><body><div><ol><li><ul><li> #: ../phpMyAdmin/Documentation.html:290 @@@ -711,7 -690,7 +728,7 @@@ msgid " "Now the file is ready to be used. You can choose to review or edit the file " "with your favorite editor, if you prefer to set some advanced options which " "the setup script does not provide." -msgstr "" +msgstr "现在配置文件保存好了。如果你要检查当前设置或者要设置一些安装脚本中没有提供的高级功能,你可以用你最喜欢的编辑器来编辑它。"
#. type: Content of: <html><body><div><ol><li> #: ../phpMyAdmin/Documentation.html:293 @@@ -727,12 -706,6 +744,12 @@@ msgid " "especially <a href="#faq4_4"> <abbr title="Frequently Asked Questions" "">FAQ</abbr> 4.4</a>." msgstr "" +"如果使用 "config" <tt>认证</tt>,你应该保护好 phpMyAdmin 的安装目录,因为 config " +"认证不会要求用户输入密码。我们建议使用其他认证,如在 <a href="#glossary"><i>.htaccess</i></a> 文件中设置 " +"HTTP 认证或修改设置让 phpMyAdmin 使用 cookie/http <tt>认证</tt>。更多信息参见 <abbr title="常见问题 " +"(Frequently Asked Questions)">FAQ</abbr> 中的 <a href="#faqmultiuser">多用户</a> " +"一节,特别要注意 <a href="#faq4_4"> <abbr title="常见问题 (Frequently Asked " +"Questions)">FAQ</abbr> 4.4</a> 中所提到的问题。"
#. type: Content of: <html><body><div><ol><li> #: ../phpMyAdmin/Documentation.html:305 @@@ -742,9 -715,6 +759,9 @@@ msgid " "or a login dialog if using <abbr title="HyperText Transfer Protocol">HTTP</" "abbr> or cookie authentication mode." msgstr "" +"在浏览器中打开 <a href="index.php">phpMyAdmin 主目录</a>。现在 phpMyAdmin " +"应该显示一个欢迎页面和你的数据库,如果使用 <abbr title="超文本转移协议 (HyperText Transfer " +"Protocol)">HTTP</abbr> 或 cookie 认证,则将显示一个登录对话框。"
#. type: Content of: <html><body><div><ol><li> #: ../phpMyAdmin/Documentation.html:310 @@@ -756,8 -726,6 +773,8 @@@ msgid " "cross side scripting vulnerabilities that might happen to be found in that " "code." msgstr "" +"你应该在你的网站服务器中设置禁止对 <tt>./libraries</tt> 和 <tt>./setup/lib</tt> 这两个子目录的访问。在 " +"Apache 中你可以通过 .htaccess 文件设置,其他网站服务器请自行设置。通过设置来预防可能的路径泄露以及跨占脚本攻击,加强服务器的安全性。"
#. type: Content of: <html><body><div><ol><li> #: ../phpMyAdmin/Documentation.html:317 @@@ -769,14 -737,11 +786,14 @@@ msgid " "code> file which can help you achieve this in <code>contrib</code> directory " "in phpMyAdmin." msgstr "" +"禁止搜索引擎访问公开的 phpMyAdmin 是个好方法,因为这对它们没有任何用处。你可以使用网站服务器根目录的 " +"<code>robots.txt</code> 文件或直接从网站服务器设置中限制其访问。你可以在 <code>contrib</code> 目录下找到 " +"<code>.htaccess</code> 文件的范例。"
#. type: Content of: <html><body><div><h3> #: ../phpMyAdmin/Documentation.html:326 msgid "Linked-tables infrastructure" -msgstr "" +msgstr "链接表的附加功能"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:328 @@@ -789,11 -754,6 +806,11 @@@ msgid " "multi-user installation (this database would then be accessed by the " "controluser, so no other user should have rights to it)." msgstr "" +"若要开启一些新功能 (如: 书签、注释、<abbr title="结构化查询语言 (structured query " +"language)">SQL</abbr> 查询历史、结构追踪、生成 <abbr title="便携式文档格式 (Portable Document " +"Format)">PDF</abbr> " +"、内容转换等),你需要创建一些特殊的数据表。这些表可以放在你自己的数据库里,也可以在一个多用户的服务器上创建一个独立的数据库 " +"(这个数据库将通过其对应的帐号访问,所以不应该给其他用户访问这个数据库的权限)。"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:337 @@@ -803,9 -763,6 +820,9 @@@ msgid " "pay special attention to <a href="#faq1_23"> <abbr title="Frequently " "Asked Questions">FAQ</abbr> 1.23</a>)." msgstr "" +"你可以在 <tt>./scripts/</tt> 目录下找到 <i>create_tables.sql</i> 文件 (如果你使用的是 Windows " +"服务器,请特别注意在 <a href="#faq1_23"> <abbr title="常见问题 (Frequently Asked " +"Questions)">FAQ</abbr> 1.23</a> 中所提到的问题)。"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:342 @@@ -813,8 -770,6 +830,8 @@@ msgid " "If you already had this infrastructure and upgraded to MySQL 4.1.2 or newer, " "please use <i>./scripts/upgrade_tables_mysql_4_1_2+.sql</i>." msgstr "" +"如果以前就使用过该功能并升级过 MySQL 到 4.1.2 或更高版本,请使用 " +"<i>./scripts/upgrade_tables_mysql_4_1_2+.sql</i> 。"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:345 @@@ -824,8 -779,6 +841,8 @@@ msgid " "and tables, and that the script may need some tuning, depending on the " "database name." msgstr "" +"你可以使用 phpMyAdmin 来创建这些数据表。但请注意,你可能需要特殊 (管理员) " +"权限来创建数据库和数据表,而且可能还需要根据实际所使用的数据修改这个脚本中数据库的名字。"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:350 @@@ -837,15 -790,11 +854,15 @@@ msgid " "the proper rights to those tables (see section <a href=" ""#authentication_modes">Using authentication modes</a> below)." msgstr "" +"在导入 <i>./scripts/create_tables.sql</i> 文件之后,就可以根据数据表的名字修改 " +"<i>./config.inc.php</i> 配置文件。需要使用到的配置可以在 <a href="#config">设置</a> " +"一节中找到。同时还要有一个在那些表上具有相应权限的控制用户 (参见下面的 <a " +"href="#authentication_modes">使用认证</a> 一节)。"
#. type: Content of: <html><body><div><h3> #: ../phpMyAdmin/Documentation.html:357 msgid "Upgrading from an older version" -msgstr "" +msgstr "从旧版本升级"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:359 @@@ -858,9 -807,6 +875,9 @@@ msgid " "with PHP 6, remove a <tt>set_magic_quotes_runtime(0);</tt> statement that " "you might find near the end of your configuration file." msgstr "" +"只需复制旧版本的 <i>./config.inc.php</i> 到新版本即可。当某些选项被改变或取消时,也可能需要做一些修改,特别是 " +"<tt>$cfg['AttributeTypes']</tt> 的定义被修改了,所以你最好将它从你的配置文件中删除,使用默认值。为了兼容 PHP " +"6,还需要删除可能出现在配置文件的末尾的 <tt>set_magic_quotes_runtime(0);</tt> 语句。"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:367 @@@ -869,8 -815,6 +886,8 @@@ msgid " "over <tt>config.inc.php</tt> because the default configuration file is " "version-specific." msgstr "" +"<strong>请勿</strong>复制 <tt>libraries/config.default.php</tt> 为 " +"<tt>config.inc.php</tt> 因为默认配置是仅对当前版本有效的。"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:371 @@@ -880,13 -824,11 +897,13 @@@ msgid " "you should run the SQL script found in <tt>scripts/upgrade_tables_mysql_4_1_2" "+.sql</tt>." msgstr "" +"如果你把 MySQL 服务器从 4.1.2 之前的版本升级到了 4.1.2 或更高版本,并且使用了链接表的附加功能,你还要运行 SQL 脚本 " +"<tt>scripts/upgrade_tables_mysql_4_1_2+.sql</tt> 。"
#. type: Content of: <html><body><div><h3> #: ../phpMyAdmin/Documentation.html:376 msgid "Using authentication modes" -msgstr "" +msgstr "使用认证"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:378 @@@ -896,8 -838,6 +913,8 @@@ msgid " "where you want to give users access to their own database and don't want " "them to play around with others." msgstr "" +"在<b>多用户环境</b>中,我们推荐使用 <abbr title="超文本转移协议 (HyperText Transfer " +"Protocol)">HTTP</abbr> 和 cookie 认证,这样用户仅可以看到并管理自己的数据库。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:382 @@@ -906,8 -846,6 +923,8 @@@ msgid " "about cookies, at least till version 6, and PHP 4.1.1 is also a bit buggy in " "this area!" msgstr "" +"目前已知微软的 IE6 (Internet Explorer,或更低版本) 在处理 cookies 上存在很严重的问题,而 PHP 4.1.1 " +"在该方面也存在一些严重问题!"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:385 @@@ -916,8 -854,6 +933,8 @@@ msgid " "title="HyperText Transfer Protocol">HTTP</abbr> or cookie mode so that " "your user/password pair are not in clear in the configuration file." msgstr "" +"即使在<b>单用户环境</b>中使用 <abbr title="超文本转移协议 (HyperText Transfer " +"Protocol)">HTTP</abbr> 或 cookie 认证,用户名和密码也不会被保存在配置文件中。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:390 @@@ -927,28 -863,25 +944,28 @@@ msgid " "need to be set in the phpMyAdmin configuration file (except possibly for the " "<a href="#controluser">controluser</a>)." msgstr "" +"<abbr title="超文本转移协议 (HyperText Transfer Protocol)">HTTP</abbr> 和 cookie " +"认证更加安全: 除了可能需要的 <a href="#controluser">控制用户</a>,MySQL 登录信息不会被保存在 phpMyAdmin " +"的配置文件中。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:394 msgid "" "However, keep in mind that the password travels in plain text, unless you " "are using the HTTPS protocol." -msgstr "" +msgstr "不论如何,如果你不使用 HTTPS 协议,密码将总是以明文传输。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:396 msgid "" "In cookie mode, the password is stored, encrypted with the blowfish " "algorithm, in a temporary cookie." -msgstr "" +msgstr "当使用 cookie 认证时,密码将经过 blowfish 算法加密并保存在一个临时 cookie 中。"
#. type: Content of: <html><body><div><ul> #: ../phpMyAdmin/Documentation.html:399 msgid "<a name="pmausr"></a>" -msgstr "" +msgstr "<a name="pmausr"></a>"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:401 @@@ -956,8 -889,6 +973,8 @@@ msgid " "Note: starting with phpMyAdmin 2.6.1, this section is only applicable if " "your MySQL server is running with <tt>--skip-show-database</tt>." msgstr "" +"注意: 自 phpMyAdmin 2.6.1 起,本节仅适用于运行在 <tt>--skip-show-database</tt> 模式下的 MySQL " +"服务器。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:404 @@@ -969,11 -900,6 +986,11 @@@ msgid " "<i>`mysql`.`tables_priv` (all columns except `Grantor` and `Timestamp`)</i> " "tables." msgstr "" +"当使用 '<abbr title="超文本转移协议 (HyperText Transfer Protocol)">HTTP</abbr>' 和 " +"'cookie' 认证时,phpMyAdmin 需要一个在 <i>`mysql`.`user` (除 `Password` " +"之外的所有字段)</i>、<i>`mysql`.`db` (所有字段)</i>、<i>`mysql`.`host` (所有字段)</i> 和 " +"<i>`mysql`.`tables_priv` (除 `Grantor` 和 `Timestamp` 之外的所有字段)</i> " +"数据表中<b>仅</b>具有 <tt>SELECT</tt> 权限的控制用户。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:409 @@@ -984,11 -910,6 +1001,11 @@@ msgid " "['controluser']</a></tt> and <tt><a href="#cfg_Servers_controlpass" class=" ""configrule"> $cfg['Servers'][$i]['controlpass']</a></tt> settings." msgstr "" +"你必须在 <tt>config.inc.php</tt> 中的 <tt><a href="#cfg_Servers_controluser" " +"class="configrule"> $cfg['Servers'][$i]['controluser']</a></tt> 和 <tt><a " +"href="#cfg_Servers_controlpass" class="configrule"> " +"$cfg['Servers'][$i]['controlpass']</a></tt> 设置中设置好<a " +"href="#controluser">控制用户</a>。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:416 @@@ -998,16 -919,13 +1015,16 @@@ msgid " "example: use something else in your file!</b> Input these statements from " "the phpMyAdmin SQL Query window or mysql command–line client." msgstr "" +"下例演示了如何使用 <tt>pma</tt> 作为控制用户以及 <tt>pmapass</tt> 作为控制用户的密码,需要注意的是: " +"<b>这仅仅是个示范,请在你的配置文件中使用不同的用户名和密码!</b>在 phpMyAdmin SQL 查询窗口或 MySQL " +"命令行客户端中输入下列命令。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:421 msgid "" "Of course you have to replace <tt>localhost</tt> with the webserver's host " "if it's not the same as the MySQL server's one." -msgstr "" +msgstr "如果网站服务器和 MySQL 服务器并不在同一台服务器上,你要将 <tt>localhost</tt> 换成正确的地址。"
#. type: Content of: <html><body><div><ul><li><pre> #: ../phpMyAdmin/Documentation.html:425 @@@ -1026,37 -944,24 +1043,37 @@@ msgid " "GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv)\n" " ON mysql.tables_priv TO 'pma'@'localhost';" msgstr "" +"GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY 'pmapass';\n" +"GRANT SELECT (\n" +" Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv,\n" +" Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv,\n" +" File_priv, Grant_priv, References_priv, Index_priv, Alter_priv,\n" +" Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv,\n" +" Execute_priv, Repl_slave_priv, Repl_client_priv\n" +" ) ON mysql.user TO 'pma'@'localhost';\n" +"GRANT SELECT ON mysql.db TO 'pma'@'localhost';\n" +"GRANT SELECT ON mysql.host TO 'pma'@'localhost';\n" +"GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv)\n" +" ON mysql.tables_priv TO 'pma'@'localhost';"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:438 msgid "If you want to use the many new relation and bookmark features:" -msgstr "" +msgstr "如果你想使用书签以及相关的新功能,还要执行:"
#. type: Content of: <html><body><div><ul><li><pre> #: ../phpMyAdmin/Documentation.html:441 #, no-wrap msgid "GRANT SELECT, INSERT, UPDATE, DELETE ON <pma_db>.* TO 'pma'@'localhost';\n" -msgstr "" +msgstr "GRANT SELECT, INSERT, UPDATE, DELETE ON <pma_db>.* TO " +"'pma'@'localhost';\n"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:444 msgid "" "(this of course requires that your <a href="#linked-tables">linked-tables " "infrastructure</a> be set up)." -msgstr "" +msgstr "(需要设置好<a href="#linked-tables">链接表的附加功能</a>)。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:447 @@@ -1066,29 -971,26 +1083,29 @@@ msgid " "to an ordinary user, unless you understand the impact of those privileges " "(for example, you are creating a superuser)." msgstr "" +"每一个<i>真实的</i>用户应在特定的数据库上具有一定的权限。除非你很明白这些权限的作用 " +"(例如,需要创建一个超级用户),否则不应轻易授予普通用户任何全局权限。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:451 msgid "" "For example, to grant the user <i>real_user</i> with all privileges on the " "database <i>user_base</i>:" -msgstr "" +msgstr "如,授予用户 <i>real_user</i> 对数据库 <i>user_base</i> 的所有权限:"
#. type: Content of: <html><body><div><ul><li><pre> #: ../phpMyAdmin/Documentation.html:455 #, no-wrap msgid "GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost IDENTIFIED BY 'real_password';\n" -msgstr "" +msgstr "GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost IDENTIFIED BY " +"'real_password';\n"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:458 msgid "" "What the user may now do is controlled entirely by the MySQL user management " "system." -msgstr "" +msgstr "现在这个用户可以做什么已经完全被 MySQL 用户管理系统控制了。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:460 @@@ -1097,15 -999,12 +1114,15 @@@ msgid " "authentication mode, you don't need to fill the user/password fields inside " "the <a href="#cfg_Servers" class="configrule">$cfg['Servers']</a> array." msgstr "" +"<abbr title="超文本转移协议 (HyperText Transfer Protocol)">HTTP</abbr> 和 cookie " +"认证不需要填写 <a href="#cfg_Servers" class="configrule">$cfg['Servers']</a> " +"数组中的用户/密码一栏。"
#. type: Content of: <html><body><div><h4> #: ../phpMyAdmin/Documentation.html:466 msgid "" "'<abbr title="HyperText Transfer Protocol">HTTP</abbr>' authentication mode" -msgstr "" +msgstr "'<abbr title="超文本转移协议 (HyperText Transfer Protocol)">HTTP</abbr>' 认证"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:468 @@@ -1113,8 -1012,6 +1130,8 @@@ msgid " "Uses <abbr title="HyperText Transfer Protocol">HTTP</abbr> Basic " "authentication method and allows you to log in as any valid MySQL user." msgstr "" +"通过 <abbr title="超文本转移协议 (HyperText Transfer Protocol)">HTTP</abbr> " +"基本认证可以使用任何合法的 MySQL 用户登录。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:470 @@@ -1136,14 -1033,11 +1153,14 @@@ msgid " "with '<abbr title="HyperText Transfer Protocol">HTTP</abbr>' " "authentication mode." msgstr "" +"参见 <a href="#faq4_4"> <abbr title="常见问题 (Frequently Asked " +"Questions)">FAQ</abbr> 4.4</a> 关于不要同时使用 <i>.htaccess</i> 和 '<abbr " +"title="超文本转移协议 (HyperText Transfer Protocol)">HTTP</abbr>' 认证的问题。"
#. type: Content of: <html><body><div><h4> #: ../phpMyAdmin/Documentation.html:486 msgid "'cookie' authentication mode" -msgstr "" +msgstr "'cookie' 认证"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:488 @@@ -1152,23 -1046,20 +1169,23 @@@ msgid " "Transfer Protocol">HTTP</abbr> authentication (for example, if you're " "running <abbr title="Internet Information Services">IIS</abbr>)." msgstr "" +"可用它来代替 <abbr title="超文本转移协议 (HyperText Transfer Protocol)">HTTP</abbr> 认证 " +"(如,使用 <abbr title="Internet 信息服务 (Internet Information Services)">IIS</abbr> " +"作为网站服务器时)。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:492 msgid "" "Obviously, the user must enable cookies in the browser, but this is now a " "requirement for all authentication modes." -msgstr "" +msgstr "当然,用户必须开启浏览器的 cookies 支持,不过现在所有的认证方式都需要 cookies 。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:494 msgid "" "With this mode, the user can truly log out of phpMyAdmin and log in back " "with the same username." -msgstr "" +msgstr "使用该认证时,用户可以真正的退出 phpMyAdmin 并用相同的用户名再次登录。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:496 @@@ -1176,8 -1067,6 +1193,8 @@@ msgid " "If you want to log in to arbitrary server see <a href="#AllowArbitraryServer" "" class="configrule"> $cfg['AllowArbitraryServer']</a> directive." msgstr "" +"如果想登录到任意服务器,参见 <a href="#AllowArbitraryServer" class="configrule"> " +"$cfg['AllowArbitraryServer']</a> 指令。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:499 @@@ -1185,35 -1074,35 +1202,35 @@@ msgid " "As mentioned in the <a href="#require">requirements</a> section, having " "the <tt>mcrypt</tt> extension will speed up access considerably, but is not " "required." -msgstr "" +msgstr "在<a href="#require">环境需求</a>一节中我们提到过,可选的 <tt>mcrypt</tt> 扩展可以显著提高访问速度。"
#. type: Content of: <html><body><div><h4> #: ../phpMyAdmin/Documentation.html:504 msgid "'signon' authentication mode" -msgstr "" +msgstr "'signon' 认证"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:506 msgid "" "This mode is a convenient way of using credentials from another application " "to authenticate to phpMyAdmin." -msgstr "" +msgstr "使用该认证时,用户可以通过第三方应用程序来登录到 phpMyAdmin 。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:508 msgid "The other application has to store login information into session data." -msgstr "" +msgstr "第三方应用程序需要在会话数据中保存登录信息。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:510 msgid "" "More details in the <a href="#cfg_Servers_auth_type">auth_type</a> section." -msgstr "" +msgstr "更多详情请参见<a href="#cfg_Servers_auth_type">认证</a>一节。"
#. type: Content of: <html><body><div><h4> #: ../phpMyAdmin/Documentation.html:513 msgid "'config' authentication mode" -msgstr "" +msgstr "'config' 认证"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:515 @@@ -1224,10 -1113,6 +1241,10 @@@ msgid " "['password']</a> fields (and as a result, anyone who can read your config." "inc.php can discover your username and password)." msgstr "" +"该认证是最不安全的,因为它需要在配置文件中填写 <a href="#servers_user" class="configrule"> " +"$cfg['Servers'][$i]['user']</a> 和 <a href="#servers_user" " +"class="configrule"> $cfg['Servers'][$i]['password']</a> 设置 (这将导致任何可以读取 " +"config.inc.php 的人都能获得你的用户名和密码)。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:522 @@@ -1236,8 -1121,6 +1253,8 @@@ msgid " "href="#servers_only_db" class="configrule"> $cfg['Servers'][$i]" "['only_db']</a> might be enough." msgstr "" +"但你不需要在这里设置"控制用户": 使用 <a href="#servers_only_db" " +"class="configrule"> $cfg['Servers'][$i]['only_db']</a> 也许就足够了。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:525 @@@ -1246,9 -1129,6 +1263,9 @@@ msgid " "">ISP</abbr> <abbr title="Frequently Asked Questions">FAQ</abbr></a> " "section, there is an entry explaining how to protect your configuration file." msgstr "" +"在 <a href="#faqmultiuser"> <abbr title="互联网服务提供商 (Internet service " +"provider)">ISP</abbr> <abbr title="常见问题 (Frequently Asked " +"Questions)">FAQ</abbr></a> 一节中将会说明如何保护你的配置文件。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:529 @@@ -1259,10 -1139,6 +1276,10 @@@ msgid " ""#servers_allowdeny_rules" class="configrule"> $cfg['Servers'][$i]" "['AllowDeny']['rules']</a> configuration directives." msgstr "" +"为了让该认证更加安全,你还可以考虑使用主机认证 <a href="#servers_allowdeny_order" " +"class="configrule"> $cfg['Servers'][$i]['AllowDeny']['order']</a> 和 <a " +"href="#servers_allowdeny_rules" class="configrule"> " +"$cfg['Servers'][$i]['AllowDeny']['rules']</a> 指令。"
#. type: Content of: <html><body><div><ul><li> #: ../phpMyAdmin/Documentation.html:536 @@@ -1275,22 -1151,18 +1292,22 @@@ msgid " "suffice (both of which are beyond the scope of this manual but easily " "searchable with Google)." msgstr "" +"与 cookie 和 http 认证不同,在首次访问 phpMyAdmin 时 config " +"认证不会要求用户登录。这将导致任意用户都能访问。我们建议使用其他方式进行限制,如要求 HTTP 认证设置的 <a " +"href="#glossary">.htaccess</a> 文件或者从路由器/防火墙禁止访问 (上述方法均不属于本手册的范围,但可以通过 Google " +"等搜索引擎很容易的找到)。"
#. type: Content of: <html><body><div><h4> #: ../phpMyAdmin/Documentation.html:544 msgid "Swekey authentication" -msgstr "" +msgstr "Swekey 认证"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:546 msgid "" "The Swekey is a low cost authentication USB key that can be used in web " "applications." -msgstr "" +msgstr "Swekey 是可用于网站应用程序上的廉价 USB 证书。"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:548 @@@ -1300,19 -1172,17 +1317,19 @@@ msgid " "cookie authentication mode only). Swekey Authentication is disabled by " "default." msgstr "" +"当开启 Swekey 认证时,需要在进入 phpMyAdmin 的登录页面前插入 Swekey (目前仅支持 cookie 认证)。Swekey " +"认证默认为关闭。"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:552 msgid "To enable it, add the following line to <tt>config.inc.php</tt>:" -msgstr "" +msgstr "在 <tt>config.inc.php</tt> 中添加如下内容可启用 Swekey 认证:"
#. type: Content of: <html><body><div><pre> #: ../phpMyAdmin/Documentation.html:555 #, no-wrap msgid "$cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey.conf';\n" -msgstr "" +msgstr "$cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey.conf';\n"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:558 @@@ -1323,9 -1193,6 +1340,9 @@@ msgid " "etc</tt>). A self documented sample file is provided in the <tt>contrib</tt> " "directory. Feel free to use it with your own users' information." msgstr "" +"然后你要创建用来保存每个用户 Swekey 标识的文件 <tt>swekey.conf</tt> 。这个文件不应该放在网站服务器的文档根目录 " +"(在例子中,我们把它放在了 <tt>/etc</tt>) 。在 <tt>contrib</tt> " +"目录下可以找到一个带有说明的范例文件。欢迎使用你自己的用户信息。"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:563 @@@ -1334,14 -1201,11 +1351,14 @@@ msgid " "net/auth_key">http://phpmyadmin.net/auth_key</a> since this link provides " "funding for phpMyAdmin." msgstr "" +"如果你想购买 Swekey 请访问 <a " +"href="http://phpmyadmin.net/auth_key%5C%22%3Ehttp://phpmyadmin.net/auth_key " +"(外链,英语)</a>,通过此链接购买 phpMyAdmin 将会得到捐助。"
#. type: Content of: <html><body><div><h3> #: ../phpMyAdmin/Documentation.html:568 ../phpMyAdmin/Documentation.html:3115 msgid "Configuration" -msgstr "" +msgstr "设置"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:570 @@@ -1363,9 -1227,6 +1380,9 @@@ msgid " "one. This file only needs to contain the parameters you want to change from " "their corresponding default value in <tt>libraries/config.default.php</tt>." msgstr "" +"<span class="important">注意:</span> 几乎所有设置都在 <tt>config.inc.php</tt> " +"文件中定义。如果此文件不存在,请参考<a href="#setup">快速安装</a>一节创建该文件。你只需要设置不同于 " +"<tt>libraries/config.default.php</tt> 中所定义的默认值的设置。"
#. type: Content of: <html><body><div><p> #: ../phpMyAdmin/Documentation.html:584 @@@ -1375,14 -1236,11 +1392,14 @@@ msgid " "footer.inc.php</i> and <i>config.header.inc.php</i> files to add your site " "specific code to be included on start and end of each page." msgstr "" +"与设计相关的参数 (如颜色) 是通过 <tt>themes/主题名/layout.inc.php</tt> 定义的。你可能还需要创建 " +"<i>config.footer.inc.php</i> 和 <i>config.header.inc.php</i> " +"文件用来添加你的代码到每一页的页眉和页脚。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:589 msgid "$cfg['PmaAbsoluteUri'] string" -msgstr "" +msgstr "$cfg['PmaAbsoluteUri'] 字符串"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:590 @@@ -1394,11 -1252,6 +1411,11 @@@ msgid " "web servers are case–sensitive. Don’t forget the trailing slash " "at the end." msgstr "" +"在这里设置 phpMyAdmin 安装目录的完整 <abbr title="统一资源定位符 (Uniform Resource " +"Locator)">URL</abbr> 。如, " +"<tt>http://www.your_web.net/path_to_your_phpMyAdmin_directory/</tt> " +"。注意在有些网站服务器上 <abbr title="统一资源定位符 (Uniform Resource Locator)">URL</abbr> " +"是区分大小写的。不要忘了最后的斜杠。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:597 @@@ -1414,16 -1267,11 +1431,16 @@@ msgid " "your path, please post a bug report on our bug tracker so we can improve the " "code." msgstr "" +"自 2.3.0 起,我们建议将本设置留空。大多数情况下 phpMyAdmin 能正确地自动识别。使用端口转发的用户需要设置 PmaAbsoluteUri " +"(<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=134" +"0187&group_id=23067&atid=377409">详细信息 " +"(外链,英语)</a>)。通过浏览一张数据表、编辑并保存一条记录可以测试出自动识别是否有问题。如果有问题 phpMyAdmin " +"会有错误信息。如果你收到了必须设置或自动识别失败的错误,请给我们提交一份缺陷 (bug) 报告以便我们能改进这个功能。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:607 msgid "$cfg['PmaNoRelation_DisableWarning'] boolean" -msgstr "" +msgstr "$cfg['PmaNoRelation_DisableWarning'] 布尔"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:608 @@@ -1432,8 -1280,6 +1449,8 @@@ msgid " "master / foreign – tables (see <a href="#pmadb" class="configrule">" "$cfg['Servers'][$i]['pmadb']</a>)." msgstr "" +"自 2.3.0 起 phpMyAdmin 提供了一系列关于主/外表的功能 (参见 <a href="#pmadb" " +"class="configrule">$cfg['Servers'][$i]['pmadb']</a>)。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:612 @@@ -1442,32 -1288,30 +1459,32 @@@ msgid " ""Structure" page of one database where you would like to use it. " "You will find a link that will analyze why those features have been disabled." msgstr "" +"如果你尝试使用这些功能但无法正常使用,请在你想使用该功能的数据库中打开"结构"页。你会看到一个可以告诉你为什么这些功能无法使用的链接" +"。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:616 msgid "" "If you do not want to use those features set this variable to <tt>TRUE</tt> " "to stop this message from appearing." -msgstr "" +msgstr "如果你不想使用那些功能,将此值设为 <tt>TRUE</tt> 即可隐藏那些提示信息。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:619 msgid "$cfg['SuhosinDisableWarning'] boolean" -msgstr "" +msgstr "$cfg['SuhosinDisableWarning'] 布尔"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:620 msgid "" "A warning is displayed on the main page if Suhosin is detected. You can set " "this parameter to <tt>TRUE</tt> to stop this message from appearing." -msgstr "" +msgstr "设为 <tt>TRUE</tt> 可在检测到 Suhosin 时不显示警告。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:624 msgid "$cfg['McryptDisableWarning'] boolean" -msgstr "" +msgstr "$cfg['McryptDisableWarning'] 布尔"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:625 @@@ -1475,12 -1319,12 +1492,12 @@@ msgid " "Disable the default warning that is displayed if mcrypt is missing for " "cookie authentication. You can set this parameter to <tt>TRUE</tt> to stop " "this message from appearing." -msgstr "" +msgstr "设为 <tt>TRUE</tt> 可在使用 cookie 认证但没有 mcrypt 扩展时不显示警告。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:630 msgid "$cfg['AllowThirdPartyFraming'] boolean" -msgstr "" +msgstr "$cfg['AllowThirdPartyFraming'] 布尔"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:631 @@@ -1488,19 -1332,19 +1505,19 @@@ msgid " "Setting this to <tt>true</tt> allows a page located on a different domain to " "call phpMyAdmin inside a frame, and is a potential security hole allowing " "cross-frame scripting attacks." -msgstr "" +msgstr "设为 <tt>true</tt> 将允许 phpMyAdmin 被不同域名的框架所调用,这个潜在的安全漏洞可能导致跨框架脚本攻击。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:635 msgid "$cfg['blowfish_secret'] string" -msgstr "" +msgstr "$cfg['blowfish_secret'] 字符串"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:636 msgid "" "The "cookie" auth_type uses blowfish algorithm to encrypt the " "password." -msgstr "" +msgstr ""cookie" 认证使用 blowfish 算法加密用户的密码。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:638 @@@ -1510,7 -1354,6 +1527,7 @@@ msgid " "algorithm: you won’t be prompted for this passphrase. There is no " "maximum length for this secret." msgstr "" +"若要使用 "cookie" 认证,需要设置一个随机的密钥。这是 blowfish 算法内部使用的,以后也不会向你询问。字数不限。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:643 @@@ -1518,12 -1361,12 +1535,12 @@@ msgid " "Since version 3.1.0 phpMyAdmin can generate this on the fly, but it makes a " "bit weaker security as this generated secret is stored in session and " "furthermore it makes impossible to recall user name from cookie." -msgstr "" +msgstr "自 3.1.0 起 phpMyAdmin 能在线生成,但因为密钥被保存在会话中,所以安全性相对较低,并且无法显示上次登录的用户名。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:648 msgid "$cfg['Servers'] array" -msgstr "" +msgstr "$cfg['Servers'] 数组"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:649 @@@ -1540,18 -1383,11 +1557,18 @@@ msgid " "<tt>./config.inc.php</tt>, copy that block or needed parts (you don't have " "to define all settings, just those you need to change)." msgstr "" +"自 1.4.2 起,phpMyAdmin 支持管理多个 MySQL 服务器。因此加入了 <a href="#cfg_Servers" " +"class="configrule">$cfg['Servers']</a> 数组来保存不同服务器的登录信息。第一个 <a " +"href="#cfg_Servers_host" class="configrule">$cfg['Servers'][$i]['host']</a> " +"包含第一个服务器的主机名,第二个 <a href="#cfg_Servers_host" " +"class="configrule">$cfg['Servers'][$i]['host']</a> 包含第二个服务器的主机名,以此类推。在 " +"<tt>./libraries/config.default.php</tt> 中有一节服务器的配置,你可以将它多次复制到 " +"<tt>./config.inc.php</tt> 中,完全复制或仅复制需要的部分 (要修改的部分)。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:663 msgid "$cfg['Servers'][$i]['host'] string" -msgstr "" +msgstr "$cfg['Servers'][$i]['host'] 字符串"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:664 @@@ -1559,13 -1395,11 +1576,13 @@@ msgid " "The hostname or <abbr title="Internet Protocol">IP</abbr> address of your " "$i-th MySQL-server. E.g. localhost." msgstr "" +"第 $i 个 MySQL 服务器的主机名或 <abbr title="互联网协议 (Internet Protocol)">IP</abbr> 地址。如 " +"localhost 。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:667 msgid "$cfg['Servers'][$i]['port'] string" -msgstr "" +msgstr "$cfg['Servers'][$i]['port'] 字符串"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:668 @@@ -1577,20 -1411,16 +1594,20 @@@ msgid " "hostname in <a href="#cfg_Servers_host" class="configrule">$cfg" "['Servers'][$i]['host']</a>." msgstr "" +"第 $i 个 MySQL 服务器的端口号。留空为默认即 3306 。如果使用 "localhost" 作为主机名,MySQL " +"将忽略端口号转而使用套接字连接,所以如果你想连接到非默认端口,请将 <a href="#cfg_Servers_host" " +"class="configrule">$cfg['Servers'][$i]['host']</a> 设为 "127.0.0.1" " +"或者真实的主机名。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:676 msgid "$cfg['Servers'][$i]['socket'] string" -msgstr "" +msgstr "$cfg['Servers'][$i]['socket'] 字符串"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:677 msgid "The path to the socket to use. Leave blank for default." -msgstr "" +msgstr "套接字的路径。留空为默认。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:678 @@@ -1599,22 -1429,21 +1616,22 @@@ msgid " "the <tt>mysql</tt> command–line client, issue the <tt>status</tt> " "command. Among the resulting information displayed will be the socket used." msgstr "" +"要知道正确的套接字,可以查看 MySQL 的配置或者在 <tt>mysql</tt> 客户端命令行中执行 <tt>status</tt> 命令。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:682 msgid "$cfg['Servers'][$i]['ssl'] boolean" -msgstr "" +msgstr "$cfg['Servers'][$i]['ssl'] 布尔"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:683 msgid "Whether to enable SSL for connection to MySQL server." -msgstr "" +msgstr "设置连接到 MySQL 服务器时是否使用 SSL 安全连接。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:686 msgid "$cfg['Servers'][$i]['connect_type'] string" -msgstr "" +msgstr "$cfg['Servers'][$i]['connect_type'] 字符串"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:687 @@@ -1624,32 -1453,30 +1641,32 @@@ msgid " "guaranteed to be available on all MySQL servers, while sockets are not " "supported on some platforms." msgstr "" +"设置怎样连接到 MySQL 服务器。可选 <tt>'socket'</tt> 和 <tt>'tcp'</tt> 。默认为 'tcp',所有 MySQL " +"服务器都可以使用,而套接字在有些平台上不可用。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:692 msgid "" "To use the socket mode, your MySQL server must be on the same machine as the " "Web server." -msgstr "" +msgstr "要使用套接字连接,MySQL 服务器必须和网站服务器在同一台服务器上。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:695 msgid "$cfg['Servers'][$i]['extension'] string" -msgstr "" +msgstr "$cfg['Servers'][$i]['extension'] 字符串"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:696 msgid "What php MySQL extension to use for the connection. Valid options are:" -msgstr "" +msgstr "设置使用什么 PHP 扩展连接到 MySQL。可供选择的有:"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:699 msgid "" "<tt><i>mysql</i></tt> : The classic MySQL extension. This is the recommended " "and default method at this time." -msgstr "" +msgstr "<tt><i>mysql</i></tt> : 经典 MySQL 扩展。目前推荐以及默认的扩展。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:703 @@@ -1658,25 -1485,23 +1675,25 @@@ msgid " "available with php 5.0.0 and is the recommended way to connect to a server " "running MySQL 4.1.x or newer." msgstr "" +"<tt><i>mysqli</i></tt> : 改进的 MySQL 扩展。该扩展自 PHP 5.0.0 起可用,并且推荐用于连接到 4.1.x " +"或更高版本的 MySQL 。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:708 msgid "$cfg['Servers'][$i]['compress'] boolean" -msgstr "" +msgstr "$cfg['Servers'][$i]['compress'] 布尔"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:709 msgid "" "Whether to use a compressed protocol for the MySQL server connection or not " "(experimental)." -msgstr "" +msgstr "设置是否使用压缩协议连接到 MySQL 服务器 (试验性的)。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:711 msgid "This feature requires PHP >= 4.3.0." -msgstr "" +msgstr "此功能需要 PHP 4.3.0 或更高版本。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:714 @@@ -1684,8 -1509,6 +1701,8 @@@ msgid " "<span id="cfg_Servers_controluser">$cfg['Servers'][$i]['controluser']</" "span> string" msgstr "" +"<span id="cfg_Servers_controluser">$cfg['Servers'][$i]['controluser']</span> " +"字符串"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:715 @@@ -1693,8 -1516,6 +1710,8 @@@ msgid " "<span id="cfg_Servers_controlpass">$cfg['Servers'][$i]['controlpass']</" "span> string" msgstr "" +"<span id="cfg_Servers_controlpass">$cfg['Servers'][$i]['controlpass']</span> " +"字符串"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:717 @@@ -1706,10 -1527,6 +1723,10 @@@ msgid " "installation (<abbr title="HyperText Transfer Protocol">HTTP</abbr> or " "cookie authentication mode)." msgstr "" +"这个特殊的帐号有两种不同的用途: 1、为链接表的附加功能提供支持 (参见 <a href="#pmadb" " +"class="configrule">$cfg['Servers'][$i]['pmadb']</a>)。2、在 4.1.2 及更低版本或运行于 <tt" +">--skip-show-database</tt> 模式的 MySQL 服务器上使用多用户安装提供支持 (<abbr title="超文本转移协议 " +"(HyperText Transfer Protocol)">HTTP</abbr> 或 cookie 认证)。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:725 @@@ -1723,25 -1540,20 +1740,25 @@@ msgid " "i>tables. This account is used to check what databases the user will see at " "login." msgstr "" +"当使用 <abbr title="超文本转移协议 (HyperText Transfer Protocol)">HTTP</abbr> 或 cookie " +"认证时 (自 2.2.1 起也包括 'config' 认证),你需要提供一个在 <i>mysql.user (除了 " +""Password" 之外的所有字段)</i>、<i>mysql.db (所有字段)</i> 和 " +"<i>mysql.tables_priv (除了 "Grantor" 和 "Timestamp" " +"之外的所有字段) </i> 表上具有 <tt>SELECT</tt> 权限的 MySQL 帐号,以便检查用户可以看到哪些数据库。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:734 ../phpMyAdmin/Documentation.html:771 msgid "" "Please see the <a href="#setup">install section</a> on "Using " "authentication modes" for more information." -msgstr "" +msgstr "详细信息请参见<a href="#setup">安装</a>一节中的"使用认证"。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:737 msgid "" "In phpMyAdmin versions before 2.2.5, those were called "stduser/" "stdpass"." -msgstr "" +msgstr "在 2.2.5 前,这两个设置名分别为 "stduser/stdpass" 。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:740 @@@ -1749,8 -1561,6 +1766,8 @@@ msgid " "$cfg['Servers'][$i]['auth_type'] string <tt>['<abbr title="HyperText " "Transfer Protocol">HTTP</abbr>'|'http'|'cookie'|'config'|'signon']</tt>" msgstr "" +"$cfg['Servers'][$i]['auth_type'] 字符串 <tt>['<abbr title="超文本转移协议 (HyperText " +"Transfer Protocol)">HTTP</abbr>'|'http'|'cookie'|'config'|'signon']</tt>"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:742 @@@ -1758,8 -1568,6 +1775,8 @@@ msgid " "Whether config or cookie or <abbr title="HyperText Transfer Protocol" "">HTTP</abbr> or signon authentication should be used for this server." msgstr "" +"设置服务器使用 config、cookie、<abbr title="超文本转移协议 (HyperText Transfer " +"Protocol)">HTTP</abbr> 还是 signon 认证。"
#. type: Content of: <html><body><div><dl><dd><ul><li> #: ../phpMyAdmin/Documentation.html:745 @@@ -1767,8 -1575,6 +1784,8 @@@ msgid " "'config' authentication (<tt>$auth_type = 'config'</tt>) is the " "plain old way: username and password are stored in <i>config.inc.php</i>." msgstr "" +"'config' 认证 (<tt>$auth_type = 'config'</tt>) 是最经典的方法: 用户名和密码被保存在 " +"<i>config.inc.php</i> 中。"
#. type: Content of: <html><body><div><dl><dd><ul><li> #: ../phpMyAdmin/Documentation.html:748 @@@ -1780,10 -1586,6 +1797,10 @@@ msgid " "in in arbitrary server if <tt><a href="#AllowArbitraryServer" class=" ""configrule">$cfg['AllowArbitraryServer']</a></tt> enabled." msgstr "" +"'cookie' 认证 (<tt>$auth_type = 'cookie'</tt>) 自 2.2.3 起允许在 cookies " +"的支持下使用任意有效的 MySQL 用户登录。会话中的用户名和密码被保存在 cookies 中,会话结束后密码将被删除。若启用 <tt><a " +"href="#AllowArbitraryServer" " +"class="configrule">$cfg['AllowArbitraryServer']</a></tt> 则可登录到任意服务器。"
#. type: Content of: <html><body><div><dl><dd><ul><li> #: ../phpMyAdmin/Documentation.html:756 @@@ -1794,10 -1596,6 +1811,10 @@@ msgid " "Protocol">HTTP</abbr>'</tt>) as introduced in 1.3.0 allows you to log in as " "any valid MySQL user via HTTP-Auth." msgstr "" +"'<abbr title="超文本转移协议 (HyperText Transfer Protocol)">HTTP</abbr>' 认证 " +"(旧版本中曾被称为 'advanced' 认证,也可写作 'http') (<tt>$auth_type = '<abbr " +"title="超文本转移协议 (HyperText Transfer Protocol)">HTTP</abbr>'</tt>) 自 1.3.0 " +"起允许通过任意有效的 MySQL 用户登录。"
#. type: Content of: <html><body><div><dl><dd><ul><li> #: ../phpMyAdmin/Documentation.html:759 @@@ -1810,11 -1608,6 +1827,11 @@@ msgid " "class="configrule">session name</a> and <a href="#cfg_Servers_SignonURL" " "class="configrule">signon URL</a> to use this authentication method." msgstr "" +"'signon' 认证 (<tt>$auth_type = 'signon'</tt>) 自 2.10.0 起允许通过预定义的 " +"PHP 会话数据登录。这在通过单点登录整合第三方应用程序时很有用。这个文件演示了如何记录 signon 的会话: " +"<code>scripts/signon.php</code>,你还需要设置<a href="#cfg_Servers_SignonSession" " +"class="configrule">会话名</a>和<a href="#cfg_Servers_SignonURL" " +"class="configrule">登录 URL</a> 。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:775 @@@ -1822,20 -1615,18 +1839,20 @@@ msgid " "<span id="cfg_Servers_auth_swekey_config">$cfg['Servers'][$i]" "['auth_swekey_config']</span> string" msgstr "" +"<span id="cfg_Servers_auth_swekey_config">$cfg['Servers'][$i]['auth_swekey_c" +"onfig']</span> 字符串"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:778 msgid "" "The name of the file containing <a href="#swekey">Swekey</a> ids and login " "names for hardware authentication. Leave empty to deactivate this feature." -msgstr "" +msgstr "包含用于硬件认证的 <a href="#swekey">Swekey</a> 标识和登录名的文件名。不使用请留空。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:782 msgid "<span id="cfg_Servers_user">$cfg['Servers'][$i]['user']</span> string" -msgstr "" +msgstr "<span id="cfg_Servers_user">$cfg['Servers'][$i]['user']</span> 字符串"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:783 @@@ -1843,7 -1634,6 +1860,7 @@@ msgid " "<span id="cfg_Servers_password">$cfg['Servers'][$i]['password']</span> " "string" msgstr "" +"<span id="cfg_Servers_password">$cfg['Servers'][$i]['password']</span> 字符串"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:786 @@@ -1853,8 -1643,6 +1870,8 @@@ msgid " "is not needed when <abbr title="HyperText Transfer Protocol">HTTP</abbr> " "or cookie authentication is used and should be empty." msgstr "" +"使用 'config' 认证时用来连接到 MySQL 服务器的用户名和密码。使用 <abbr title="超文本转移协议 (HyperText " +"Transfer Protocol)">HTTP</abbr> 或 cookie 认证时请留空,不需要填写。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:791 @@@ -1862,8 -1650,6 +1879,8 @@@ msgid " "<span id="cfg_Servers_nopassword">$cfg['Servers'][$i]['nopassword']</span> " "boolean" msgstr "" +"<span id="cfg_Servers_nopassword">$cfg['Servers'][$i]['nopassword']</span> " +"布尔"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:795 @@@ -1874,8 -1660,6 +1891,8 @@@ msgid " "password for connecting to MySQL. Password login is still tried first, but " "as fallback, no password method is tried." msgstr "" +"设置使用密码登录失败时是否允许尝试使用空密码登录。可与 http 认证同时使用,或通过其他方式完成认证使得 phpMyAdmin " +"取得用户名及空密码来连接到 MySQL 。然而总是会先尝试使用密码登录的。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:802 @@@ -1883,8 -1667,6 +1900,8 @@@ msgid " "<span id="cfg_Servers_only_db">$cfg['Servers'][$i]['only_db']</span> " "string or array" msgstr "" +"<span id="cfg_Servers_only_db">$cfg['Servers'][$i]['only_db']</span> 字符串 或 " +"数组"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:805 @@@ -1895,9 -1677,6 +1912,9 @@@ msgid " ""): if you want to use literal instances of these characters, escape " "them (I.E. use <tt>'my\_db'</tt> and not <tt>'my_db'</tt>)." msgstr "" +"设置一个 (或一组) 数据库名,用户只能看到这些数据库。自 2.2.1 起,数据库名可以包含 MySQL 通配符 ("_" 和 " +""%"): 如果你想使用这些字符本身,请转义它们 (即: 要使用 <tt>'my\_db'</tt> 来表示 " +"<tt>'my_db'</tt>)。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:811 @@@ -1909,9 -1688,6 +1926,9 @@@ msgid " "will be displayed but <span class="important">not that all other databases " "can't be used.</span>" msgstr "" +"此设置可有效降低服务器的负载,因为不需要向 MySQL 发送构建可用数据库列表的请求。但<span class="important">它并不能取代 " +"MySQL 数据库服务器的权限规则</span>。这仅意味着这些数据库被显示出来而已,而<span " +"class="important">不是说没有显示出来的数据库都不能用。</span>"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:819 @@@ -1919,8 -1695,6 +1936,8 @@@ msgid " "An example of using more that one database: <tt>$cfg['Servers'][$i]" "['only_db'] = array('db1', 'db2');</tt>" msgstr "" +"设置使用多个数据库的例子: <tt>$cfg['Servers'][$i]['only_db'] = array('数据库名1', " +"'数据库名2');</tt>"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:823 @@@ -1928,7 -1702,7 +1945,7 @@@ msgid " "As of phpMyAdmin 2.5.5 the order inside the array is used for sorting the " "databases in the left frame, so that you can individually arrange your " "databases." -msgstr "" +msgstr "自 2.5.5 起,数组中所列出数据库的顺序也被用于在左侧框架排序,所以你可以用它来设置数据库显示的顺序。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:825 @@@ -1939,16 -1713,12 +1956,16 @@@ msgid " "phpMyAdmin that it should display db3 and db4 on top, and the rest in " "alphabetic order." msgstr "" +"若希望让部分数据库置顶显示,不需要列出所有数据库,用: <tt>$cfg['Servers'][$i]['only_db'] = " +"array('要置顶的数据库1', '要置顶的数据库2', '*');</tt> 即可,phpMyAdmin 就会将 要置顶的数据库1 和 " +"要置顶的数据库2 置顶显示,而其他数据库还按字母顺序排列。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:831 msgid "" "<span id="cfg_Servers_hide_db">$cfg['Servers'][$i]['hide_db']</span> string" msgstr "" +"<span id="cfg_Servers_hide_db">$cfg['Servers'][$i]['hide_db']</span> 字符串"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:833 @@@ -1957,33 -1727,29 +1974,33 @@@ msgid " "listing, but a user is still able to access them (using, for example, the " "SQL query area). To limit access, use the MySQL privilege system." msgstr "" +"隐藏数据库的正则表达式。这仅仅将数据库从列表中隐藏,用户仍然可以直接访问 (如通过 SQL 查询)。要彻底限制访问,请使用 MySQL 权限系统。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:837 msgid "" "For example, to hide all databases starting with the letter "a", use" -msgstr "" +msgstr "例如,要隐藏所有以字母 "a" 开头的数据库,用"
#. type: Content of: <html><body><div><dl><dd><pre> #: ../phpMyAdmin/Documentation.html:838 #, no-wrap msgid "$cfg['Servers'][$i]['hide_db'] = '^a';" -msgstr "" +msgstr "$cfg['Servers'][$i]['hide_db'] = '^a';"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:839 msgid "and to hide both "db1" and "db2" use" -msgstr "" +msgstr "要隐藏数据库 "数据库1" 和 "数据库2" ,用"
+# using chinese as database name is ok, but should make sure config file encoding is utf-8 #. type: Content of: <html><body><div><dl><dd><pre> #: ../phpMyAdmin/Documentation.html:840 #, no-wrap msgid "$cfg['Servers'][$i]['hide_db'] = '(db1|db2)';" msgstr "" +"$cfg['Servers'][$i]['hide_db'] = '(数据库1|数据库2)';// 译者注: 上例中也可使用中文,需注意配置文件编码应为 " +"UTF-8"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:841 @@@ -1992,14 -1758,11 +2009,14 @@@ msgid " "php.net/manual/en/reference.pcre.pattern.syntax.php"> PCRE pattern syntax</" "a> portion of the PHP reference manual." msgstr "" +"可以在 PHP 手册的 <a " +"href="http://php.net/manual/en/reference.pcre.pattern.syntax.php%5C%22%3EPerl " +"兼容正则表达式的语法 (外链,英语)</a> 一节中找到更多关于正则表达式的信息。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:846 msgid "$cfg['Servers'][$i]['verbose'] string" -msgstr "" +msgstr "$cfg['Servers'][$i]['verbose'] 字符串"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:847 @@@ -2010,19 -1773,17 +2027,19 @@@ msgid " "on your system, for example. For HTTP auth, all non-US-ASCII characters will " "be stripped." msgstr "" +"仅在通过 phpMyAdmin 管理多个服务器时有用。主页的下拉菜单中将用此值代替主机名。如果你想只显示系统中部分数据库时也有用,如,使用 HTTP " +"认证时,所有非 ASCII 字符都将被删除。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:854 msgid "" "<span id="cfg_Servers_pmadb">$cfg['Servers'][$i]['pmadb']</span> string" -msgstr "" +msgstr "<span id="cfg_Servers_pmadb">$cfg['Servers'][$i]['pmadb']</span> 字符串"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:856 msgid "The name of the database containing the linked-tables infrastructure." -msgstr "" +msgstr "包含链接表的附加功能数据的数据库名。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:859 @@@ -2030,7 -1791,7 +2047,7 @@@ msgid " "See the <a href="#linked-tables">Linked-tables infrastructure</a> section " "in this document to see the benefits of this infrastructure, and for a quick " "way of creating this database and the needed tables." -msgstr "" +msgstr "参见本文档中<a href="#linked-tables">链接表的附加功能</a>一节了解其好处以及如何快速创建该数据库和需要的数据表。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:864 @@@ -2041,9 -1802,6 +2058,9 @@@ msgid " "user installation, set this parameter to the name of your central database " "containing the linked-tables infrastructure." msgstr "" +"如果此 phpMyAdmin 只有你自己使用,你可以用你当前的数据库来保存这些特殊的数据表,这种情况下,你可以在 " +"<tt>$cfg['Servers'][$i]['pmadb']</tt> 中填写当前数据库的名字。若此 phpMyAdmin " +"作为多用户使用,请设为包含链接表的附加功能数据表的专用数据库。"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:872 @@@ -2051,16 -1809,13 +2068,16 @@@ msgid " "<span id="cfg_Servers_bookmarktable">$cfg['Servers'][$i]['bookmarktable']</" "span> string" msgstr "" +"<span " +"id="cfg_Servers_bookmarktable">$cfg['Servers'][$i]['bookmarktable']</span> " +"字符串"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:874 msgid "" "Since release 2.2.0 phpMyAdmin allows users to bookmark queries. This can be " "useful for queries you often run." -msgstr "" +msgstr "自 2.2.0 起 phpMyAdmin 允许用户将查询加入书签。你可以将经常要执行的语句加入书签。"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:877 ../phpMyAdmin/Documentation.html:912 @@@ -2068,7 -1823,7 +2085,7 @@@ #: ../phpMyAdmin/Documentation.html:1034 ../phpMyAdmin/Documentation.html:1065 #: ../phpMyAdmin/Documentation.html:1137 msgid "To allow the usage of this functionality:" -msgstr "" +msgstr "要启用此功能:"
#. type: Content of: <html><body><div><dl><dd><ul><li> #: ../phpMyAdmin/Documentation.html:878 ../phpMyAdmin/Documentation.html:914 @@@ -2077,12 -1832,12 +2094,12 @@@ #: ../phpMyAdmin/Documentation.html:1068 ../phpMyAdmin/Documentation.html:1139 msgid "" "set up <a href="#pmadb">pmadb</a> and the linked-tables infrastructure" -msgstr "" +msgstr "设置好 <a href="#pmadb">pmadb</a> 和链接表的附加功能"
#. type: Content of: <html><body><div><dl><dd><ul><li> #: ../phpMyAdmin/Documentation.html:879 msgid "enter the table name in <tt>$cfg['Servers'][$i]['bookmarktable']</tt>" -msgstr "" +msgstr "在 <tt>$cfg['Servers'][$i]['bookmarktable']</tt> 中设置要使用的数据表名"
#. type: Content of: <html><body><div><dl><dt> #: ../phpMyAdmin/Documentation.html:885 @@@ -2090,7 -1845,6 +2107,7 @@@ msgid " "<span id="cfg_Servers_relation">$cfg['Servers'][$i]['relation']</span> " "string" msgstr "" +"<span id="cfg_Servers_relation">$cfg['Servers'][$i]['relation']</span> 字符串"
#. type: Content of: <html><body><div><dl><dd> #: ../phpMyAdmin/Documentation.html:887 @@@ -2099,15 -1853,13 +2116,15 @@@ msgid " "field is a key in another table (a foreign key). phpMyAdmin currently uses " "this to" msgstr "" +"自 2.2.4 起你可以在 'relation' 表的支持下画出一张表中的一个字段 (另一张表的外键) 与另一张表的关系。目前 phpMyAdmin " +"用它来"
#. type: Content of: <html><body><div><dl><dd><ul><li> #: ../phpMyAdmin/Documentation.html:890 msgid "" "make clickable, when you browse the master table, the data values that point " "to the foreign table;" -msgstr "" +msgstr "使外键数据可点击,浏览主表时可通过点击数据值转到外表;"
#. type: Content of: <html><body><div><dl><dd><ul><li> #: ../phpMyAdmin/Documentation.html:892