@@ -21,12 +21,12 @@ msgstr "配置"
21
21
22
22
#: ../../configuration.rst:6
23
23
msgid ""
24
- "pycsw's runtime configuration is defined by ``default.cfg ``. pycsw ships with "
25
- "a `sample configuration`_ (``default-sample.cfg ``). Copy the file to ``default."
26
- "cfg `` and edit the following:"
24
+ "pycsw's runtime configuration is defined by ``default.yml ``. pycsw ships with "
25
+ "a `sample configuration`_ (``default-sample.yml ``). Copy the file to ``default."
26
+ .yml `` and edit the following:"
27
27
msgstr ""
28
- "pycsw 的运行配置写为此格式 ``default.cfg `` 。 pycsw 还有一个示例配置 "
29
- "( ``default-sample.cfg `` )。 将文件复制到 ``default.cfg `` 并编辑以下内容:"
28
+ "pycsw 的运行配置写为此格式 ``default.yml `` 。 pycsw 还有一个示例配置 "
29
+ "( ``default-sample.yml `` )。 将文件复制到 ``default.yml `` 并编辑以下内容:"
30
30
31
31
#: ../../configuration.rst:8
32
32
msgid "**[server]**"
@@ -446,21 +446,21 @@ msgstr "备用配置"
446
446
447
447
#: ../../configuration.rst:109
448
448
msgid ""
449
- "By default, pycsw loads ``default.cfg `` at runtime. To load an alternate "
449
+ "By default, pycsw loads ``default.yml `` at runtime. To load an alternate "
450
450
"configuration, modify ``csw.py`` to point to the desired configuration. "
451
451
"Alternatively, pycsw supports explicitly specifiying a configuration by "
452
- "appending ``config=/path/to/default.cfg `` to the base URL of the service (e.g. "
452
+ "appending ``config=/path/to/default.yml `` to the base URL of the service (e.g. "
453
453
"``http://localhost/pycsw/csw.py?config=tests/suites/default/default."
454
- "cfg &service=CSW&version=2.0.2&request=GetCapabilities``). When the ``config`` "
454
+ .yml &service=CSW&version=2.0.2&request=GetCapabilities``). When the ``config`` "
455
455
"parameter is passed by a CSW client, pycsw will override the default "
456
456
"configuration location and subsequent settings with those of the specified "
457
457
"configuration."
458
458
msgstr ""
459
- "默认情况下,pycsw在运行时加载的是 ``default.cfg `` 。要加载备用配置,请修改 "
459
+ "默认情况下,pycsw在运行时加载的是 ``default.yml `` 。要加载备用配置,请修改 "
460
460
"``csw.py`` 以指向所需的配置。另外,pycsw还可以通过附加 ``config=/path/to/"
461
- "default.cfg `` 到服务器的基础URL来显式定义配置,例如 ``http://localhost/pycsw/"
461
+ "default.yml `` 到服务器的基础URL来显式定义配置,例如 ``http://localhost/pycsw/"
462
462
"csw.py?config=tests/suites/default/default."
463
- "cfg &service=CSW&version=2.0.2&request=GetCapabilities`` 。当 ``config`` 参数通过"
463
+ .yml &service=CSW&version=2.0.2&request=GetCapabilities`` 。当 ``config`` 参数通过"
464
464
"CSW客户端时,pycsw就会覆盖默认的配置所在地址,并且用这些指定的配置来完成接下来的"
465
465
"一系列设置。"
466
466
@@ -502,11 +502,11 @@ msgstr "配置文件位置"
502
502
#: ../../configuration.rst:129
503
503
msgid ""
504
504
"One option is using Apache's ``Alias`` and ``SetEnvIf`` directives. For "
505
- "example, given the base URL ``http://localhost/pycsw/csw.py?config=foo.cfg ``, "
505
+ "example, given the base URL ``http://localhost/pycsw/csw.py?config=foo.yml ``, "
506
506
"set the following in your Apache configuration:"
507
507
msgstr ""
508
508
"有一种选择是使用 Apache 的 ``Alias`` 和 ``SetEnvIf`` 指令。 例如,可以指定基 "
509
- "URL ``http://localhost/pycsw/csw.py?config=foo.cfg `` ,在 Apache 的 ``httpd."
509
+ "URL ``http://localhost/pycsw/csw.py?config=foo.yml `` ,在 Apache 的 ``httpd."
510
510
"conf`` 下配置以下指令:"
511
511
512
512
#: ../../configuration.rst:138
0 commit comments