# Simplified Chinese message translation file for pg_test_fsync
# Copyright (C) 2026 PostgreSQL Global Development Group
# This file is distributed under the same license as the PostgreSQL package.
#
# Jie Zhang <zhangjie2@fujitsu.com>, 2019.
# Ruohang Feng (vonng@pigsty) <rh@vonng.com>, 2026.
#
msgid ""
msgstr ""
"Project-Id-Version: pg_test_fsync (PostgreSQL) 19\n"
"Report-Msgid-Bugs-To: pgsql-bugs@lists.postgresql.org\n"
"POT-Creation-Date: 2026-11-03 15:54+0000\n"
"PO-Revision-Date: 2026-11-04 08:45+0800\n"
"Last-Translator: Ruohang Feng <rh@vonng.com>\n"
"Language-Team: Chinese (Simplified) <pgsql-translators@postgresql.org>\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"

#: ../../../src/common/logging.c:293 ../../../src/common/logging.c:295
#, c-format
msgid "error: "
msgstr "错误: "

#: ../../../src/common/logging.c:302 ../../../src/common/logging.c:304
#, c-format
msgid "warning: "
msgstr "警告: "

#: ../../../src/common/logging.c:315 ../../../src/common/logging.c:317
#, c-format
msgid "detail: "
msgstr "详情: "

#: ../../../src/common/logging.c:324 ../../../src/common/logging.c:326
#, c-format
msgid "hint: "
msgstr "提示: "

#: ../../common/fe_memutils.c:41 ../../common/fe_memutils.c:81
#: ../../common/fe_memutils.c:104 ../../common/fe_memutils.c:167
#, c-format
msgid "out of memory\n"
msgstr "内存不足\n"

#: ../../common/fe_memutils.c:98 ../../common/fe_memutils.c:159
#, c-format
msgid "cannot duplicate null pointer (internal error)\n"
msgstr "不能复制空指针（内部错误）\n"

#: ../../common/fe_memutils.c:209
#, c-format
msgid "invalid memory allocation request size %zu + %zu\n"
msgstr "无效的内存分配请求大小 %zu + %zu\n"

#: ../../common/fe_memutils.c:228
#, c-format
msgid "invalid memory allocation request size %zu * %zu\n"
msgstr "无效的内存分配请求大小 %zu * %zu\n"

#. translator: maintain alignment with NA_FORMAT
#: pg_test_fsync.c:37
#, c-format
msgid "%13.3f ops/sec  %6.0f usecs/op\n"
msgstr "%13.3f ops/sec  %6.0f usecs/op\n"

#: pg_test_fsync.c:54
#, c-format
msgid "could not create thread for alarm"
msgstr "无法创建定时通知线程"

#: pg_test_fsync.c:98
#, c-format
msgid "%s: %m"
msgstr "%s: %m"

#: pg_test_fsync.c:161
#, c-format
msgid "Usage: %s [-f FILENAME] [-s SECS-PER-TEST]\n"
msgstr "用法: %s [-f 文件名] [-s 每次测试的秒数]\n"

#: pg_test_fsync.c:187
#, c-format
msgid "invalid argument for option %s"
msgstr "选项 %s 的参数无效"

#: pg_test_fsync.c:188 pg_test_fsync.c:200 pg_test_fsync.c:209
#, c-format
msgid "Try \"%s --help\" for more information."
msgstr "运行 \"%s --help\" 获取更多信息。"

#: pg_test_fsync.c:194
#, c-format
msgid "%s must be in range %u..%u"
msgstr "%s 必须位于 %u..%u 的范围内"

#: pg_test_fsync.c:207
#, c-format
msgid "too many command-line arguments (first is \"%s\")"
msgstr "命令行参数过多（第一个多余参数是 \"%s\"）"

#: pg_test_fsync.c:213
#, c-format
msgid "%u second per test\n"
msgid_plural "%u seconds per test\n"
msgstr[0] "每次测试 %u 秒\n"

#: pg_test_fsync.c:218
#, c-format
msgid "O_DIRECT supported on this platform for open_datasync and open_sync.\n"
msgstr "此平台支持为 open_datasync 和 open_sync 使用 O_DIRECT。\n"

#: pg_test_fsync.c:220
#, c-format
msgid "F_NOCACHE supported on this platform for open_datasync and open_sync.\n"
msgstr "此平台支持为 open_datasync 和 open_sync 使用 F_NOCACHE。\n"

#: pg_test_fsync.c:222
#, c-format
msgid "Direct I/O is not supported on this platform.\n"
msgstr "此平台不支持直接 I/O。\n"

#: pg_test_fsync.c:245 pg_test_fsync.c:335 pg_test_fsync.c:357
#: pg_test_fsync.c:381 pg_test_fsync.c:525 pg_test_fsync.c:537
#: pg_test_fsync.c:553 pg_test_fsync.c:559 pg_test_fsync.c:581
msgid "could not open output file"
msgstr "无法打开输出文件"

#: pg_test_fsync.c:249 pg_test_fsync.c:319 pg_test_fsync.c:344
#: pg_test_fsync.c:366 pg_test_fsync.c:390 pg_test_fsync.c:429
#: pg_test_fsync.c:488 pg_test_fsync.c:527 pg_test_fsync.c:555
#: pg_test_fsync.c:586
msgid "write failed"
msgstr "写入失败"

#: pg_test_fsync.c:253 pg_test_fsync.c:368 pg_test_fsync.c:392
#: pg_test_fsync.c:529 pg_test_fsync.c:561
msgid "fsync failed"
msgstr "fsync 失败"

#: pg_test_fsync.c:292
#, c-format
msgid ""
"\n"
"Compare file sync methods using one %dkB write:\n"
msgstr ""
"\n"
"通过一次 %d kB 的写入比较文件同步方法:\n"

#: pg_test_fsync.c:294
#, c-format
msgid ""
"\n"
"Compare file sync methods using two %dkB writes:\n"
msgstr ""
"\n"
"通过两次 %d kB 的写入比较文件同步方法:\n"

#: pg_test_fsync.c:295
#, c-format
msgid ""
"(in \"wal_sync_method\" preference order, except fdatasync is Linux's "
"default)\n"
msgstr ""
"（按 \"wal_sync_method\" 的优先顺序排列，但 Linux 默认使用 fdatasync）\n"

#: pg_test_fsync.c:306 pg_test_fsync.c:409 pg_test_fsync.c:476
msgid "n/a*"
msgstr "n/a*"

#: pg_test_fsync.c:325 pg_test_fsync.c:397 pg_test_fsync.c:435
#: pg_test_fsync.c:494
msgid "n/a"
msgstr "n/a"

#: pg_test_fsync.c:440
#, c-format
msgid ""
"* This file system and its mount options do not support direct\n"
"  I/O, e.g. ext4 in journaled mode.\n"
msgstr ""
"* 此文件系统及其挂载选项不支持直接 I/O，例如，使用 journaled 模式的 ext4。\n"

#: pg_test_fsync.c:448
#, c-format
msgid ""
"\n"
"Compare open_sync with different write sizes:\n"
msgstr ""
"\n"
"比较不同写入大小情况下的 open_sync:\n"

#: pg_test_fsync.c:449
#, c-format
msgid ""
"(This is designed to compare the cost of writing 16kB in different write\n"
"open_sync sizes.)\n"
msgstr ""
"（此测试用于比较采用不同单次写入大小时，以 open_sync 写入 16 kB 数据的开"
"销。）\n"

#: pg_test_fsync.c:452
msgid " 1 * 16kB open_sync write"
msgstr " 1 * 16kB open_sync 写入"

#: pg_test_fsync.c:453
msgid " 2 *  8kB open_sync writes"
msgstr " 2 *  8kB open_sync 写入"

#: pg_test_fsync.c:454
msgid " 4 *  4kB open_sync writes"
msgstr " 4 *  4kB open_sync 写入"

#: pg_test_fsync.c:455
msgid " 8 *  2kB open_sync writes"
msgstr " 8 *  2kB open_sync 写入"

#: pg_test_fsync.c:456
msgid "16 *  1kB open_sync writes"
msgstr "16 *  1kB open_sync 写入"

#: pg_test_fsync.c:510
#, c-format
msgid ""
"\n"
"Test if fsync on non-write file descriptor is honored:\n"
msgstr ""
"\n"
"测试未用于写入的文件描述符上的 fsync 是否生效:\n"

#: pg_test_fsync.c:511
#, c-format
msgid ""
"(If the times are similar, fsync() can sync data written on a different\n"
"descriptor.)\n"
msgstr ""
"（如果耗时相近，说明 fsync() 可以同步通过其他文件描述符写入的数据。）\n"

#: pg_test_fsync.c:576
#, c-format
msgid ""
"\n"
"Non-sync'ed %dkB writes:\n"
msgstr ""
"\n"
"不执行同步的 %d kB 写入:\n"

#, c-format
#~ msgid "Try \"%s --help\" for more information.\n"
#~ msgstr "请用 \"%s --help\" 获取更多的信息.\n"
