From 252302673da838acb7ea545c5b945037fce9ae22 Mon Sep 17 00:00:00 2001 From: Hongtyu Bhe Date: Mon, 12 Jun 2023 12:49:04 +0200 Subject: [PATCH] Translate using Weblate (Chinese (Simplified)) Currently translated at 100.0% (18 of 18 strings) Translate using Weblate (Chinese (Simplified)) Currently translated at 100.0% (33 of 33 strings) Co-authored-by: Hongtyu Bhe Translate-URL: https://hosted.weblate.org/projects/home-manager/cli/zh_Hans/ Translate-URL: https://hosted.weblate.org/projects/home-manager/modules/zh_Hans/ Translation: Home Manager/Home Manager CLI Translation: Home Manager/Home Manager Modules --- home-manager/po/zh_Hans.po | 13 +++++++------ modules/po/zh_Hans.po | 28 ++++++++++++++++++++-------- 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/home-manager/po/zh_Hans.po b/home-manager/po/zh_Hans.po index 124a07388..a9572f674 100644 --- a/home-manager/po/zh_Hans.po +++ b/home-manager/po/zh_Hans.po @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: Home Manager\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n" -"PO-Revision-Date: 2023-06-07 07:51+0000\n" -"Last-Translator: Sam Chu \n" +"PO-Revision-Date: 2023-06-12 10:49+0000\n" +"Last-Translator: Hongtyu Bhe \n" "Language-Team: Chinese (Simplified) \n" "Language: zh_Hans\n" @@ -31,6 +31,8 @@ msgid "" "Keeping your Home Manager %s in %s is deprecated,\n" "please move it to %s" msgstr "" +"需要确保 Home Manager 在 %s 中,%s 已废弃。\n" +"请手动移动到 %s" #: home-manager/home-manager:99 msgid "No configuration file found. Please create one at %s" @@ -38,7 +40,7 @@ msgstr "未找到配置文件。请在 %s 处创建一份" #: home-manager/home-manager:136 msgid "Could not find suitable profile directory, tried %s and %s" -msgstr "" +msgstr "在 %s 以及 %s 中未能找到合适的档案目录" #. translators: Here "flake" is a noun that refers to the Nix Flakes feature. #: home-manager/home-manager:191 @@ -63,9 +65,8 @@ msgid "Creating %s..." msgstr "正在创建 %s ..." #: home-manager/home-manager:427 -#, fuzzy msgid "Creating initial Home Manager generation..." -msgstr "正在创建初始 Home Manager 生成 ..." +msgstr "正在创建 Home Manager 初始化配置生成 ..." #. translators: The "%s" specifier will be replaced by a file path. #: home-manager/home-manager:432 @@ -151,7 +152,7 @@ msgstr "似乎没有安装 home-manager 软件包。" #. translators: Here "flake" is a noun that refers to the Nix Flakes feature. #: home-manager/home-manager:702 msgid "Sorry, this command is not yet supported in flake setup" -msgstr "" +msgstr "抱歉,当前命令暂不支持在 flake 配置中使用" #: home-manager/home-manager:739 msgid "Unknown argument %s" diff --git a/modules/po/zh_Hans.po b/modules/po/zh_Hans.po index 0b1f4d96a..5c98b9808 100644 --- a/modules/po/zh_Hans.po +++ b/modules/po/zh_Hans.po @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: Home Manager Modules\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" "POT-Creation-Date: 2023-05-27 09:08+0200\n" -"PO-Revision-Date: 2022-05-16 13:18+0000\n" -"Last-Translator: Yubo-Cao \n" +"PO-Revision-Date: 2023-06-12 10:49+0000\n" +"Last-Translator: Hongtyu Bhe \n" "Language-Team: Chinese (Simplified) \n" "Language: zh_Hans\n" @@ -17,11 +17,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.13-dev\n" +"X-Generator: Weblate 4.18-dev\n" #: modules/files.nix:234 msgid "Creating home file links in %s" -msgstr "正在 %s 中创建家目录文件链接" +msgstr "正在 %s 中创建 Home 目录文件链接" #: modules/files.nix:247 msgid "Cleaning up orphan links from %s" @@ -69,11 +69,11 @@ msgstr "正在激活 %s" #: modules/lib-bash/activation-init.sh:22 msgid "Migrating profile from %s to %s" -msgstr "" +msgstr "将从%s向%s迁移配置档案" #: modules/lib-bash/activation-init.sh:53 msgid "Could not find suitable profile directory, tried %s and %s" -msgstr "" +msgstr "在 %s 以及 %s 中未能找到合适的档案目录" #: modules/lib-bash/activation-init.sh:81 msgid "Sanity checking oldGenNum and oldGenPath" @@ -94,14 +94,26 @@ msgid "" "\n" "and trying home-manager switch again. Good luck!" msgstr "" +"上一次生成序号和路径存在冲突!\n" +"两者需要同时为空或者设置,但目前状态是\n" +"\n" +" '%s' 和 '%s'\n" +"\n" +"但如果你不介意丢失上次生成结果,\n" +"最简单的解决方案是运行\n" +"\n" +" rm %s/home-manager*\n" +" rm %s/current-home\n" +"\n" +"然后再次尝试执行 home-manager switch。祝你一把过!" #: modules/lib-bash/activation-init.sh:95 msgid "Error: USER is set to \"%s\" but we expect \"%s\"" -msgstr "" +msgstr "错误: USER 被配置为 \"%s\" 但我们预期它是 \"%s\"" #: modules/lib-bash/activation-init.sh:104 msgid "Error: HOME is set to \"%s\" but we expect \"%s\"" -msgstr "" +msgstr "错误: HOME 目前设置了 \"%s\" 但我们需要它是 \"%s\"" #: modules/lib-bash/activation-init.sh:119 msgid "Starting Home Manager activation"