# Chinese translations for aosc-postgresql-preinst package
# aosc-postgresql-preinst 软件包的简体中文翻译.
# Copyright (C) 2025 AOSC OS Maintainers <maintainers@aosc.io>
# This file is distributed under the same license as the aosc-postgresql-preinst package.
# 老嘟嘟 <cyan@cyano.uk>, 2025.
#
msgid ""
msgstr ""
"Project-Id-Version: aosc-postgresql-preinst 0.1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-03-16 15:14+0800\n"
"PO-Revision-Date: 2025-05-09 00:00+0800\n"
"Last-Translator: 老嘟嘟 <cyan@cyano.uk>\n"
"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: preinst.2:25
msgid "OK"
msgstr "确认"

#: preinst.2:27
msgid "Cursor keys to scroll, Enter to acknowledge"
msgstr "使用光标键滚动，回车键确认"

#: preinst.2:35
msgid "ATTENTION - POSTGRESQL PACKAGE TRANSITION"
msgstr "注意：PostgreSQL 软件包打包方式出现变动"

#: preinst.2:37
#, sh-format
msgid ""
"The \\`postgresql' package no longer holds the PostgreSQL server itself,\n"
"and now  automatically  depend  on  the  latest  major release, so the\n"
"previously installed  PostgreSQL  release  can still serve connections,\n"
"and migration to the new major release can be easily done.\n"
"\n"
"We now ship officially supported PostgreSQL releases under the names\n"
"like \\`postgresql-VERSION', for example \\`postgresql-$PGMAJOR'.\n"
"\n"
"Executable names now have version on them, for example \\`psql-$PGMAJOR',\n"
"\\`pg_dump-$PGMAJOR', \\`pg_ctl-$PGMAJOR' and so on. Systemd service names "
"also\n"
"have version on them, for example, to start PostgreSQL $PGMAJOR:\n"
"\n"
"  sudo systemctl start postgresqld-$PGMAJOR.service\n"
"\n"
"The executables without version on them point to their corresponding\n"
"executables of the currently latest release, for example, \\`psql' points\n"
"to \\`psql-$PGMAJOR'. There are no versioned systemd service name.\n"
"\n"
"If you are using the PostgreSQL from AOSC OS to serve data, please note\n"
"that the currently installed PostgreSQL $OLDMAJOR must be stopped and "
"removed\n"
"in order to continue the transition (your data will not be removed).\n"
"After the transition, you must install the old release in order to\n"
"either continue using without migration, or migrate to PostgreSQL $PGMAJOR:\n"
"\n"
"  sudo oma install postgresql-$OLDMAJOR\n"
"\n"
"To continue using PostgreSQL $OLDMAJOR, run the following command:\n"
"\n"
"  sudo systemctl start postgresqld-$OLDMAJOR.service\n"
"\n"
"Or, after performing the migration, you can remove the old release and\n"
"use the new server:\n"
"\n"
"  systemctl start postgresql-$PGMAJOR\n"
"  sudo oma remove postgresql-$OLDMAJOR\n"
msgstr ""
"postgresql 软件包不再包含 PostgreSQL 服务器软件，取而代之的是依赖当前\n"
"最新大版本的元包 (Metapackage)。这样做可以在未来升级大版本时保持旧版的\n"
"服务器正常运行，同时也方便用户从旧版迁移到新版本。\n"
"\n"
"我们目前按照 “postgresql-大版本” 的包名发布所有受支持版本的 PostgreSQL\n"
"服务器软件，例如 “postgresql-$PGMAJOR”。\n"
"\n"
"可执行程序名也将带有版本后缀，如 “psql-$PGMAJOR”、“pg_dump-$PGMAJOR” 及 "
"“pgctl-$PGMAJOR”\n"
"等等。同样地，Systemd 服务名也将带有版本后缀，例如启动 PostgreSQL $PGMAJOR\n"
"需要执行如下命令：\n"
"\n"
"  sudo systemctl start postgresqld-$PGMAJOR.service\n"
"\n"
"不带版本后缀的程序名将指向最新版本所对应的可执行程序，例如 “psql” 即\n"
"指向 “psql-$PGMAJOR”。不存在没有版本后缀的 Systemd 服务名。\n"
"\n"
"如果您正在使用安同 OS 发布的 PostgreSQL 提供数据库服务，请务必注意：\n"
"当前安装的 PostgreSQL 服务器必须先停止并卸载（您的数据不会被删除），\n"
"才能完成此次升级。此次升级完毕后，您需要手动安装旧版才能继续提供数据库\n"
"服务，以及将数据迁移到 PostgreSQL $PGMAJOR：\n"
"\n"
"  sudo oma install postgresql-$OLDMAJOR\n"
"\n"
"如果您打算继续用 PostgreSQL $OLDMAJOR 提供数据库服务，您可以运行如下命令：\n"
"\n"
"  sudo systemctl start postgresql-$OLDMAJOR.service\n"
"\n"
"如果您打算将旧版数据迁移到新版本，在完成迁移后，您可以运行如下命令卸载\n"
"旧版的服务器并用新版提供服务：\n"
"\n"
"  sudo systemctl start postgresql-$PGMAJOR\n"
"  sudo oma remove postgresql-$OLDMAJOR\n"

#: preinst.2:75
msgid ""
"The old PostgreSQL server which is installed before this transition\n"
"is still running.\n"
"\n"
"Due to the package scheme transition, it is required to shut down the\n"
"running old server in order to prevent damage of the data and to aid\n"
"the migration to the later release.\n"
"\n"
"Please shut down any services that uses the PostgreSQL on your system\n"
"now, and press Enter to shut down the PostgreSQL server."
msgstr ""
"我们检测到升级前安装的 PostgreSQL 服务器仍在运行。\n"
"\n"
"由于打包方式发生变化，为了保证数据完整及方便数据迁移，必须停止旧版的\n"
"服务器才能继续升级。\n"
"\n"
"请先停止任何与该数据库建立连接的服务或程序，然后按回车键停止该服务器。"

#: preinst.2:88
#, sh-format
msgid ""
"The new major release of PostgreSQL ($PGMAJOR) is installed on your\n"
"system. PostgreSQL $OLDMAJOR will be kept installed on your system until\n"
"the next major release. You can run \\`oma hold postgresql-$OLDMAJOR' to\n"
"prevent it from being automatically removed.\n"
msgstr ""
"已成功安装新大版本的 PostgreSQL ($PGMAJOR)。PostgreSQL $OLDMAJOR 将一直留在\n"
"系统中，直到下一个大版本发布之后。您可以运行 “oma hold postgresql-"
"$OLDMAJOR”\n"
"来避免 PostgreSQL $OLDMAJOR 在更新时被自动移除。\n"

#: preinst.2:94
msgid "Pending Removal of Older Releases of PostgreSQL"
msgstr "旧版 PostgreSQL 将从软件源移除"

#: preinst.2:96
msgid ""
"PostgreSQL releases from 13 to 16 will be removed from the AOSC OS\n"
"package repository during our next PostgreSQL updating survey.\n"
"\n"
"If you are still running these PostgreSQL releases, please migrate to\n"
"the latest PostgreSQL release before May 2026.\n"
msgstr ""
"PostgreSQL 版本 13 到 16 将在下一期 PostgreSQL 升级维护期间从 AOSC OS\n"
"软件源移除。\n"
"\n"
"如果您依旧在使用这些版本的 PostgreSQL 服务器，请您在 2026 年五月前将\n"
"您的数据库迁移至最新版本。\n"

#: preinst.2:104
#, sh-format
msgid ""
"To migrate from a previous PostgreSQL release, you can use either\n"
"\\`pg_upgrade' or \\`pg_dump'. Refer the following link to learn more\n"
"about migration:\n"
"\n"
"  $DOCURL\n"
msgstr ""
"您可以使用 “pg_upgrade” 或 “pg_dump” 工具迁移旧版的 PostgreSQL 数据。\n"
"您可以浏览以下链接获得关于迁移数据到新大版本的信息：\n"
"\n"
"  $DOCURL\n"

#: preinst.2:112
msgid ""
"Due to the transition, this upgrade must be manually performed.\n"
"Rejecting upgrade."
msgstr ""
"由于打包方式出现变化，此次升级必须由人工介入。\n"
"将拒绝此次升级。"

#: preinst.2:115 preinst.2:221 preinst.2:232
msgid "The upgrade is interrupted."
msgstr "升级过程被中断。"

#: preinst.2:117
msgid "Please run 'oma fix-broken -n' to try again."
msgstr "请运行 “oma fix-broken -n” 命令来重试。"
